/**
 * A!Tuoi Theme Styles
 *
 * Base, header, footer and shared components.
 * Home: home.css · Shop: woocommerce.css · Contact: contact.css
 *
 * @package WEB99
 * @version 2.0.0
 */

/* ========================================
   Design tokens
   ======================================== */
:root {
    /* Brand: black logo, ivory surfaces, champagne gold accent */
    --ink: #141414;
    --ink-soft: #2b2a28;
    --text: #3d3a36;
    --muted: #8a847c;
    --line: #e7e1d8;
    --line-soft: #f0ebe4;
    --bg: #ffffff;
    --ivory: #faf8f5;
    --sand: #f3eee7;
    --gold: #b39062;
    --gold-dark: #8f6f45;
    --gold-soft: #efe6d8;
    --danger: #9b2c2c;
    --success: #2f6b4f;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius: 2px;
    --shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
    --shadow-sm: 0 6px 20px rgba(20, 20, 20, 0.06);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --section-space: clamp(3.5rem, 7vw, 6.5rem);

    /* Bootstrap overrides */
    --bs-body-font-family: var(--font-sans);
    --bs-body-font-size: 0.9375rem;
    --bs-body-line-height: 1.75;
    --bs-body-color: var(--text);
    --bs-body-bg: var(--bg);
    --bs-emphasis-color: var(--ink);
    --bs-heading-color: var(--ink);
    --bs-link-color: var(--ink);
    --bs-link-color-rgb: 20, 20, 20;
    --bs-link-hover-color: var(--gold-dark);
    --bs-link-hover-color-rgb: 143, 111, 69;
    --bs-border-color: var(--line);
    --bs-border-radius: var(--radius);
    --bs-secondary-color: var(--muted);
}

/* Bootstrap dropdowns: theme colors instead of the default blue */
.dropdown-menu {
    --bs-dropdown-link-hover-bg: var(--ivory);
    --bs-dropdown-link-hover-color: var(--gold-dark);
    --bs-dropdown-link-active-bg: var(--ivory);
    --bs-dropdown-link-active-color: var(--gold-dark);
}

/* ========================================
   Base
   ======================================== */
body {
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--ink);
    letter-spacing: -0.01em;
}

strong, b {
    font-weight: 500;
}

a {
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--gold-soft);
    color: var(--ink);
}

.section-pad {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

/* Blog / search listings: tighter than full sections */
.section-pad--list {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    margin-bottom: 0;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.link-arrow:hover {
    color: var(--gold-dark);
}

.link-arrow i {
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover i {
    transform: translateX(3px);
}

/* Accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--ink);
    color: #fff;
    padding: 0.75rem 1.25rem;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    color: #fff;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: 3px;
}

/* ========================================
   Buttons & forms
   ======================================== */
.btn {
    --bs-btn-padding-x: 1.75rem;
    --bs-btn-padding-y: 0.85rem;
    --bs-btn-font-size: 0.75rem;
    --bs-btn-font-weight: 500;
    --bs-btn-border-radius: 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
}

.btn-lg {
    --bs-btn-padding-x: 2.25rem;
    --bs-btn-padding-y: 1rem;
    --bs-btn-font-size: 0.78rem;
}

.btn-dark {
    --bs-btn-bg: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--gold-dark);
    --bs-btn-hover-border-color: var(--gold-dark);
    --bs-btn-active-bg: var(--gold-dark);
    --bs-btn-active-border-color: var(--gold-dark);
}

.btn-outline-dark {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: var(--ink);
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-hover-border-color: var(--ink);
}

.btn-light {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-color: var(--ink);
    --bs-btn-hover-bg: var(--ink);
    --bs-btn-hover-border-color: var(--ink);
    --bs-btn-hover-color: #fff;
}

/* Hover shine: a soft light sweep across the button, like light on polished metal.
   Uses ::before because WooCommerce uses ::after for its loading / added icons. */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.product-card .button,
.mini-cart .button {
    position: relative;
    overflow: hidden;
}

.btn::before,
.woocommerce a.button::before,
.woocommerce button.button::before,
.product-card .button::before,
.mini-cart .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: left 0.75s var(--ease);
}

.btn:hover::before,
.woocommerce a.button:hover::before,
.woocommerce button.button:not(:disabled):hover::before,
.product-card .button:hover::before,
.mini-cart .button:hover::before {
    left: 130%;
}

@media (prefers-reduced-motion: reduce) {
    .btn::before,
    .woocommerce a.button::before,
    .woocommerce button.button::before,
    .product-card .button::before,
    .mini-cart .button::before {
        display: none;
    }
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
    border: 1px solid var(--line);
    border-radius: 0;
    background-color: #fff;
    color: var(--ink);
    font-weight: 300;
    padding: 0.75rem 1rem;
    transition: border-color 0.25s var(--ease);
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--ink);
    box-shadow: none;
    outline: none;
}

.form-label,
label {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--ink);
}

.required {
    color: var(--gold-dark);
}

/* AJAX form feedback (contact page + home bespoke form) */
.contact-form__message {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    border-left: 2px solid var(--gold);
    background: #fff;
}

.contact-form__message.is-error {
    border-left-color: var(--danger);
    color: var(--danger);
}

.contact-form__message.is-success {
    border-left-color: var(--success);
    color: var(--success);
}


/* ========================================
   Top bar
   ======================================== */
.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 36px;
}

.topbar__text {
    margin: 0;
    text-align: center;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
    .topbar {
        font-size: 0.625rem;
        letter-spacing: 0.1em;
    }

    .topbar .container {
        min-height: 30px;
    }
}

.topbar__menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar__menu a {
    color: rgba(255, 255, 255, 0.78);
}

.topbar__menu a:hover {
    color: #fff;
}

@media (min-width: 992px) {
    .topbar .container {
        justify-content: space-between;
    }

    .topbar__menu {
        display: flex;
        gap: 1.75rem;
    }
}

/* ========================================
   Header
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s var(--ease);
}

.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .admin-bar .site-header {
        top: 0;
    }
}

.site-header.is-scrolled {
    box-shadow: 0 8px 30px rgba(20, 20, 20, 0.06);
}

/* Mobile: the bottom nav is already fixed, so the header scrolls away (tablet+ keeps it sticky) */
@media (max-width: 767.98px) {
    .site-header,
    .admin-bar .site-header {
        position: relative;
        top: auto; /* the admin-bar offsets would push a non-sticky header down */
    }

    .site-header.is-scrolled {
        box-shadow: none;
    }
}

.header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
    transition: min-height 0.3s var(--ease);
}

@media (min-width: 992px) {
    .header-main {
        min-height: 92px;
    }

    .site-header.is-scrolled .header-main {
        min-height: 72px;
    }
}

.header-main__left,
.header-main__right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-main__right {
    justify-content: flex-end;
}

.site-logo {
    display: inline-block;
    line-height: 0;
}

.site-logo-img {
    width: auto;
    max-height: 46px;
    transition: max-height 0.3s var(--ease);
}

@media (min-width: 992px) {
    .site-logo-img {
        max-height: 60px;
    }

    .site-header.is-scrolled .site-logo-img {
        max-height: 48px;
    }
}

.header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 1.3rem;
}

.header-icon:hover {
    color: var(--gold-dark);
}

/* Account dropdown (logged in) */
.header-account__menu {
    min-width: 240px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.header-account__user {
    display: flex;
    flex-direction: column;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--line-soft);
    background: var(--ivory);
    line-height: 1.4;
}

.header-account__user strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

.header-account__user span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--muted);
}

.header-account__menu ul {
    padding: 0.35rem 0;
}

.header-account__menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    color: var(--text);
}

.header-account__menu .dropdown-item .bi {
    width: 1.25rem;
    font-size: 1.15rem;
    color: var(--muted);
}

.header-account__menu .dropdown-item:hover .bi {
    color: var(--gold-dark);
}

.header-account__logout {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--line-soft);
}

/* Desktop: also opens on hover (menu sits flush under the icon so the pointer can reach it) */
@media (hover: hover) and (min-width: 992px) {
    .header-account:hover > .dropdown-menu {
        display: block;
        top: 100%;
        right: 0;
        left: auto;
        margin-top: 0;
    }
}

.header-cart-count {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--gold);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
}

.header-cart-count.is-empty {
    display: none;
}

.header-hotline {
    align-items: center;
    gap: 0.6rem;
    margin-right: 0.75rem;
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.header-hotline i {
    font-size: 1.1rem;
}

.header-hotline small {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.2;
}

/* Search form */
.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form__input {
    width: 100%;
    padding-right: 2.75rem !important;
}

.search-form__submit {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2.75rem;
    border: 0;
    background: none;
    color: var(--ink);
}

.header-search {
    width: min(100%, 270px);
}

.header-search .search-form__input {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 2.25rem 0.5rem 0;
    font-size: 0.8125rem;
    background: transparent;
}

.header-search .search-form__input:focus {
    border-bottom-color: var(--ink);
}

.header-search .search-form__submit {
    width: 2rem;
}

/* Primary navigation
   Spacing and tracking tighten on narrower desktops (or browser zoom 125-150%) so the menu stays on one line */
.header-nav {
    border-top: 1px solid var(--line-soft);
}

@media (max-width: 1399.98px) {
    .main-menu {
        --menu-gap: 0.8rem;
        --menu-tracking: 0.12em;
    }
}

@media (max-width: 1199.98px) {
    .main-menu {
        --menu-gap: 0.55rem;
        --menu-tracking: 0.08em;
        --menu-size: 0.7rem;
    }
}

.main-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > .nav-link {
    display: block;
    padding: 1.05rem var(--menu-gap, 1.15rem);
    font-size: var(--menu-size, 0.75rem);
    font-weight: 500;
    letter-spacing: var(--menu-tracking, 0.16em);
    white-space: nowrap;
    text-transform: uppercase;
    color: var(--ink);
    position: relative;
}

.main-menu > li > .nav-link::after {
    content: '';
    position: absolute;
    left: var(--menu-gap, 1.15rem);
    right: var(--menu-gap, 1.15rem);
    bottom: 0.75rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.main-menu > li:hover > .nav-link::after,
.main-menu > li.current-menu-item > .nav-link::after,
.main-menu > li.current-menu-ancestor > .nav-link::after {
    transform: scaleX(1);
}

.main-menu .bi-chevron-down {
    font-size: 0.6rem;
    vertical-align: 1px;
}

.main-menu .dropdown-toggle-btn {
    display: none;
}

.main-menu .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    margin: 0;
    padding: 0.75rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: var(--shadow);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.main-menu .dropdown-menu .dropdown-menu {
    top: -0.75rem;
    left: 100%;
}

.main-menu li:hover > .dropdown-menu,
.main-menu li:focus-within > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.main-menu .dropdown-item {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--text);
    white-space: nowrap;
}

.main-menu .dropdown-item:hover,
.main-menu .dropdown-item:focus,
.main-menu .dropdown-item:active,
.main-menu .dropdown-item.active {
    background: var(--ivory);
    color: var(--gold-dark);
}

/* Mobile menu */
.mobile-menu {
    --bs-offcanvas-width: min(88vw, 360px);
}

.mobile-menu .offcanvas-header {
    border-bottom: 1px solid var(--line);
}

.mobile-menu .site-logo-img {
    max-height: 40px;
}

.mobile-nav {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.mobile-nav li {
    position: relative;
    border-bottom: 1px solid var(--line-soft);
}

.mobile-nav .nav-link {
    display: block;
    padding: 0.9rem 3rem 0.9rem 0;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
}

.mobile-nav .nav-link .bi-chevron-down {
    display: none;
}

.mobile-nav .dropdown-toggle-btn {
    position: absolute;
    top: 0.35rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: none;
    color: var(--ink);
}

.mobile-nav .dropdown-toggle-btn i {
    display: inline-block;
    transition: transform 0.25s var(--ease);
}

.mobile-nav .dropdown-toggle-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.mobile-nav .dropdown-menu {
    position: static;
    display: none;
    float: none;
    margin: 0 0 0.75rem;
    padding: 0 0 0 1rem;
    border: 0;
    border-left: 1px solid var(--line);
    box-shadow: none;
    background: none;
    list-style: none;
}

.mobile-nav .dropdown-menu.show {
    display: block;
}

.mobile-nav .dropdown-menu li {
    border: 0;
}

/* No Bootstrap blue highlight when tapping sub-menu links */
.mobile-nav .dropdown-item,
.mobile-nav .dropdown-item:hover,
.mobile-nav .dropdown-item:focus,
.mobile-nav .dropdown-item:active,
.mobile-nav .dropdown-item.active {
    background: none;
    color: var(--text);
}

.mobile-nav .dropdown-menu .dropdown-item:active,
.mobile-nav .dropdown-menu .dropdown-item.active,
.mobile-nav .current-menu-item > .nav-link {
    color: var(--ink);
    font-weight: 500;
}

.mobile-nav .dropdown-menu .nav-link {
    padding: 0.5rem 3rem 0.5rem 0;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.875rem;
}

/* ========================================
   Page hero & breadcrumb
   ======================================== */
.page-hero {
    background: var(--ivory);
    border-bottom: 1px solid var(--line-soft);
    padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
    text-align: center;
}

.page-hero__title {
    font-size: clamp(1.7rem, 3.7vw, 2.65rem);
    margin: 0.5rem 0 0;
}

.page-hero__desc {
    max-width: 640px;
    margin: 1rem auto 0;
    color: var(--muted);
}

.page-hero__desc p:last-child {
    margin-bottom: 0;
}

.breadcrumb-nav,
.rank-math-breadcrumb {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.breadcrumb-nav .breadcrumb {
    --bs-breadcrumb-divider: '/';
    --bs-breadcrumb-divider-color: var(--line);
    --bs-breadcrumb-item-active-color: var(--ink);
    --bs-breadcrumb-margin-bottom: 0;
    justify-content: center;
}

.breadcrumb-nav a,
.rank-math-breadcrumb a {
    color: var(--muted);
}

.breadcrumb-nav a:hover,
.rank-math-breadcrumb a:hover {
    color: var(--ink);
}

.rank-math-breadcrumb p {
    margin: 0;
}

.rank-math-breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--line);
}

/* ========================================
   Section heading & tabs
   ======================================== */
.section-heading {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading--center {
    text-align: center;
}

.section-heading--center .section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    margin: 1.25rem auto 0;
    background: var(--gold);
}

.section-title__link {
    color: inherit;
}

.section-title__link:hover {
    color: var(--gold-dark);
}

.section-heading--between {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-tabs {
    position: relative;
    justify-content: center;
    gap: 0.25rem 2rem;
    margin: -1rem 0 2.5rem;
    border: 0;
}

.section-tabs .nav-link {
    padding: 0.4rem 0;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.section-tabs .nav-link:hover {
    color: var(--ink);
}

.section-tabs .nav-link.active {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

/* Tabs already underline the heading: drop the gold ornament so the two lines don't stack */
.section-heading:has(+ .section-tabs) .section-title::after {
    display: none;
}

/* Mobile: one row, centered when it fits, swipeable when it doesn't */
@media (max-width: 767.98px) {
    .section-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0 1.5rem;
        margin: -0.75rem calc(var(--bs-gutter-x, 1.5rem) * -0.5) 2rem;
        padding: 0 calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .section-tabs::-webkit-scrollbar {
        display: none;
    }

    /* Auto margins center the row without clipping its start when it overflows */
    .section-tabs .nav-item:first-child {
        margin-left: auto;
    }

    .section-tabs .nav-item:last-child {
        margin-right: auto;
    }

    .section-tabs .nav-link {
        white-space: nowrap;
        font-size: 0.6875rem;
        letter-spacing: 0.14em;
    }
}

/* ========================================
   Shared components
   ======================================== */

/* Service promises */
.usp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.usp-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
}

.usp-text strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.02em;
}

.usp-text small {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
}

.usp-list--strip {
    grid-template-columns: repeat(2, 1fr);
}

.usp-list--strip .usp-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold-soft);
    border-radius: 50%;
    font-size: 1.2rem;
}

/* Mobile: icon on top, centered text, 2×2 cells split by hairlines */
@media (max-width: 767.98px) {
    .usp-list--strip {
        gap: 0;
    }

    .usp-list--strip .usp-item {
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.6rem;
        padding: 1.1rem 0.75rem;
        text-align: center;
    }

    .usp-list--strip .usp-item:nth-child(odd) {
        border-right: 1px solid var(--line-soft);
    }

    .usp-list--strip .usp-item:nth-child(n + 3) {
        border-top: 1px solid var(--line-soft);
    }

    .usp-list--strip .usp-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .usp-list--strip .usp-text strong {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .usp-list--strip .usp-text small {
        font-size: 0.7rem;
        line-height: 1.5;
        margin-top: 0.15rem;
    }
}

@media (min-width: 992px) {
    .usp-list--strip {
        grid-template-columns: repeat(4, 1fr);
    }

    .usp-list--strip .usp-item {
        justify-content: center;
    }
}

.usp-list--compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.usp-list--compact .usp-icon {
    font-size: 1.1rem;
}

/* Contact buttons */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.contact-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: all 0.25s var(--ease);
}

.contact-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.contact-btn i {
    font-size: 0.95rem;
}

.contact-buttons--stacked {
    flex-direction: column;
}

.contact-buttons--light .contact-btn,
.contact-buttons--footer .contact-btn {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.contact-buttons--light .contact-btn:hover,
.contact-buttons--footer .contact-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.contact-buttons--footer .contact-btn--phone {
    display: none;
}

.web99-icon-zalo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3em 0.6em;
    border: 1px solid currentColor;
    border-radius: 0.45em;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
}

/* Social icons */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    font-size: 0.95rem;
}

.social-icons a:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.social-icons--footer a {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.social-icons--footer a:hover {
    color: var(--gold);
}

/* Share links */
.share-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

.share-links__label {
    margin-right: 0.5rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.share-links a,
.share-links button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 0.95rem;
}

.share-links a:hover,
.share-links button:hover {
    color: var(--gold-dark);
}

/* Post card */
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* "Read more" lines up at the bottom whatever the title length */
.post-card__body .link-arrow {
    margin-top: auto;
    align-self: flex-start;
}

.post-card__media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--sand);
}

.post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.post-card:hover .post-card__img {
    transform: scale(1.04);
}

.post-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
}

.post-card__body {
    padding-top: 1.25rem;
}

.post-card__meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.post-card__meta > * + *::before {
    content: '·';
    margin-right: 0.75rem;
}

.post-card__title {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.post-card__title a {
    color: var(--ink);
}

.post-card__title a:hover {
    color: var(--gold-dark);
}

.post-card__excerpt {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Pagination: blog and search (shop pagination lives in woocommerce.css) */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.6rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 0.8125rem;
    line-height: 1;
    transition: all 0.2s var(--ease);
}

.nav-links .page-numbers.current {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.nav-links a.page-numbers:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.nav-links .page-numbers.dots {
    min-width: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: calc(1.25rem + 4px);
    bottom: 1.25rem;
    z-index: 1020;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    background: var(--ink);
    color: #fff;
}

body.has-sticky-atc .back-to-top {
    bottom: 5.5rem;
}

/* ========================================
   Mobile bottom navigation
   ======================================== */
:root {
    --bottom-nav-h: 0px;
}

@media (max-width: 991.98px) {
    :root {
        --bottom-nav-h: calc(60px + env(safe-area-inset-bottom, 0px));
    }

    body {
        padding-bottom: var(--bottom-nav-h);
    }

    .back-to-top {
        bottom: calc(var(--bottom-nav-h) + 0.75rem);
        right: calc(0.75rem + 4px);
        width: 40px;
        height: 40px;
    }

    body.has-sticky-atc .back-to-top {
        bottom: calc(var(--bottom-nav-h) + 4.75rem);
    }
}

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    height: var(--bottom-nav-h);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(20, 20, 20, 0.05);
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.bottom-nav__item > i,
.bottom-nav__icon {
    position: relative;
    font-size: 1.2rem;
    line-height: 1;
}

.bottom-nav__item .web99-icon-zalo {
    padding: 0.3em 0.5em;
    font-size: 0.55rem;
}

.bottom-nav__item:hover,
.bottom-nav__item:focus-visible,
.bottom-nav__item.is-active {
    color: var(--ink);
}

.bottom-nav__item.is-active span:last-child {
    font-weight: 500;
}

.bottom-nav .header-cart-count {
    top: -6px;
    right: -10px;
}

/* ========================================
   Floating quick contact (Messenger, Zalo, Call)
   ======================================== */
.quick-contact {
    --qc-size: 52px;
    position: fixed;
    right: 1.25rem;
    bottom: 13rem; /* well above the back-to-top button and the sticky add-to-cart bar */
    z-index: 1029;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    transition: bottom 0.3s var(--ease);
}

@media (max-width: 991.98px) {
    .quick-contact {
        --qc-size: 48px;
        right: 0.75rem;
        bottom: calc(var(--bottom-nav-h) + 10rem);
    }

}

/* Toggle button with a soft gold pulse */
.quick-contact__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--qc-size);
    height: var(--qc-size);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.25);
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.quick-contact__toggle:hover {
    background: var(--gold-dark);
}

.quick-contact__toggle::before,
.quick-contact__toggle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--gold);
    animation: web99-qc-pulse 2.4s var(--ease) infinite;
    pointer-events: none;
}

.quick-contact__toggle::after {
    animation-delay: 1.2s;
}

.quick-contact.is-open .quick-contact__toggle::before,
.quick-contact.is-open .quick-contact__toggle::after {
    animation: none;
    opacity: 0;
}

@keyframes web99-qc-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

.quick-contact__icon-close {
    display: none;
    font-size: 1.1rem;
}

.quick-contact.is-open .quick-contact__icon-open {
    display: none;
}

.quick-contact.is-open .quick-contact__icon-close {
    display: inline;
}

/* Channel buttons fan out above the toggle */
.quick-contact__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.quick-contact.is-open .quick-contact__list {
    pointer-events: auto;
}

.quick-contact__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--qc-size);
    height: var(--qc-size);
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 6px 18px rgba(20, 20, 20, 0.2);
    opacity: 0;
    transform: translateY(16px) scale(0.6);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}

.quick-contact__item:hover {
    color: #fff;
}

.quick-contact.is-open .quick-contact__item {
    opacity: 1;
    transform: none;
}

/* Stagger: the button closest to the toggle appears first */
.quick-contact.is-open .quick-contact__item:nth-last-child(2) {
    transition-delay: 0.05s;
}

.quick-contact.is-open .quick-contact__item:nth-last-child(3) {
    transition-delay: 0.1s;
}

.quick-contact__item--messenger {
    background: linear-gradient(135deg, #00b2ff 0%, #006aff 55%, #a033ff 100%);
}

.quick-contact__item--zalo {
    background: #0068ff;
}

.quick-contact__item--call {
    background: var(--gold);
}

.quick-contact__zalo {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
}

/* Label pill on hover (desktop) */
.quick-contact__label {
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    padding: 0.4rem 0.8rem;
    background: var(--ink);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(6px, -50%);
    transition: all 0.2s var(--ease);
    pointer-events: none;
}

@media (hover: hover) {
    .quick-contact__item:hover .quick-contact__label,
    .quick-contact__item:focus-visible .quick-contact__label {
        opacity: 1;
        visibility: visible;
        transform: translate(0, -50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-contact__toggle::before,
    .quick-contact__toggle::after {
        animation: none;
        opacity: 0;
    }
}

/* ========================================
   Content typography
   ======================================== */
.page-content-narrow {
    max-width: 780px;
    margin: 0 auto;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.85;
}

.entry-content > * + * {
    margin-top: 1.25rem;
}

.entry-content h2 {
    font-size: 1.65rem;
    margin-top: 2.5rem;
}

.entry-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
}

.entry-content a {
    color: var(--gold-dark);
    border-bottom: 1px solid var(--gold-soft);
}

.entry-content a:hover {
    border-color: var(--gold-dark);
}

.entry-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content blockquote {
    margin: 2rem 0;
    padding: 0.5rem 0 0.5rem 1.5rem;
    border-left: 1px solid var(--gold);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--ink);
}

/* Tables written in post/page content (WooCommerce tables have their own styles) */
.entry-content table:not(.shop_table) {
    width: 100%;
    border-collapse: collapse;
}

.entry-content table:not(.shop_table) th,
.entry-content table:not(.shop_table) td {
    padding: 0.75rem;
    border: 1px solid var(--line);
}

.entry-content table:not(.shop_table) th {
    background: var(--ivory);
    font-weight: 500;
}

.alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption-text {
    font-size: 0.8125rem;
    color: var(--muted);
    text-align: center;
}

/* ========================================
   Single post
   ======================================== */
.single-post__header {
    padding: clamp(1.5rem, 3vw, 2.25rem) 0 2rem;
    text-align: center;
}

.single-post__header .breadcrumb-nav {
    margin-bottom: 1.5rem;
}

.single-post__title {
    max-width: 860px;
    margin: 0 auto;
    font-size: clamp(1.7rem, 3.7vw, 2.65rem);
}

.single-post__meta {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.single-post__thumb {
    max-width: 1080px;
    margin: 0 auto 3rem;
}

.single-post__thumb img {
    width: 100%;
}

.single-post__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 3rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.post-tags a {
    display: inline-block;
    margin: 0 0.4rem 0.4rem 0;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--line);
    font-size: 0.75rem;
    color: var(--text);
}

.post-tags a:hover {
    border-color: var(--ink);
}

/* Breathing room between the comment form and the related posts band */
.single-post {
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.related-posts {
    background: var(--ivory);
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

/* Comments */
.comments-area {
    margin-top: 3rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .children {
    list-style: none;
    padding-left: 2rem;
}

.comment-body {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line-soft);
}


/* Sidebar widgets */
.widget {
    margin-bottom: 2.5rem;
}

.widget-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding-bottom: 0.9rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 0.4rem 0;
}

.widget ul li a {
    color: var(--text);
}

.widget ul li a:hover {
    color: var(--gold-dark);
}

/* Blog sidebar stays in view while reading */
@media (min-width: 992px) {
    .widget-area {
        position: sticky;
        top: 150px;
    }
}

/* Image banner (core "Image" widget) */
.widget_media_image a {
    display: block;
    overflow: hidden;
}

.widget_media_image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1s var(--ease);
}

.widget_media_image a:hover img {
    transform: scale(1.04);
}

.widget_media_image .wp-caption {
    width: 100% !important;
    margin: 0;
}

/* Bespoke request widget */
.bespoke-widget {
    padding: 2rem 1.75rem;
    border: 1px solid var(--line-soft);
    background: var(--ivory);
    text-align: center;
}

.bespoke-widget__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 1.1rem;
}

.bespoke-widget__title {
    margin: 1rem 0 0.5rem;
    font-size: 1.3rem;
}

.bespoke-widget__text {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted);
}

.bespoke-form--light {
    text-align: left;
}

.bespoke-form--light .form-control {
    background: #fff;
    font-size: 0.875rem;
}

.bespoke-widget .bespoke__alt {
    margin: 1rem 0 0;
    font-size: 0.75rem;
    color: var(--muted);
}

.bespoke-widget .bespoke__alt a {
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.bespoke-widget .bespoke__alt a:hover {
    color: var(--gold-dark);
    border-color: var(--gold-dark);
}

.bespoke-widget .bespoke__alt span {
    margin: 0 0.3rem;
}

/* ========================================
   No results & 404
   ======================================== */
.no-results {
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
}

.no-results__icon {
    font-size: 2rem;
    color: var(--gold);
}

.no-results__title {
    margin: 1rem 0;
    font-size: 1.65rem;
}

.no-results__search {
    margin-top: 1.5rem;
}

.error-404 {
    padding: clamp(4rem, 9vw, 7rem) 0;
    text-align: center;
    background: var(--ivory);
}

.error-404 .container {
    max-width: 620px;
}

.error-404__code {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(4.1rem, 11.5vw, 6.95rem);
    line-height: 1;
    color: var(--gold);
}

.error-404__title {
    font-size: 1.85rem;
    margin: 1rem 0;
}

.error-404__search {
    margin: 2rem auto;
    max-width: 420px;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
}

/* The row's negative top margin (Bootstrap gutter) would leak out and pull the footer up;
   the columns' own gutter already gives the top spacing */
.site-footer__top {
    margin-top: 0;
    padding: 1rem 0 3rem;
}

.site-footer__logo .site-logo-img {
    max-height: 56px;
    filter: brightness(0) invert(1);
}

.site-footer__about {
    margin: 1.5rem 0;
    max-width: 360px;
    line-height: 1.85;
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li + li {
    margin-top: 0.7rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact li {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.footer-contact i {
    color: var(--gold);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__bottom a:hover {
    color: var(--gold);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ========================================
   Print
   ======================================== */
@media print {
    .topbar,
    .site-header,
    .site-footer,
    .back-to-top,
    .sticky-atc,
    .mini-cart {
        display: none !important;
    }
}
