:root {
    --teal-deep: #0E5C56;
    --teal-ink: #0A2E2B;
    --gold: #C8932A;
    --terracotta: #B5502F;
    --maroon: #7A1F2B;
    --cream: #F6EFE2;
    --ivory: #FFFDF8;
    --ink: #1F2A28;
    --ink-soft: #4A5C58;
    --line: #E3D8C2;
    --r-card: 14px;
    --r-pill: 999px;
    --shadow: 0 6px 24px rgba(10, 46, 43, 0.10);
    --header-h: 102px;
    --header-h-compact: 70px;
    --header-h-stack: 158px;
    --header-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-duration: 0.35s;
    --tabbar-h: 52px;

    /* Hero banner sizing */
    --hero-banner-height-max: 432px;
    --hero-banner-height: var(--hero-banner-height-max);
    --hero-banner-min-height: 140px;
    --hero-banner-fluid-height: 32vw;

    /* Bootstrap token overrides — skeleton only, design stays ours */
    --bs-primary: #0E5C56;
    --bs-primary-rgb: 14, 92, 86;
    --bs-secondary: #C8932A;
    --bs-body-font-family: 'Karla', sans-serif;
    --bs-body-color: #1F2A28;
    --bs-body-bg: #F6EFE2;
    --bs-link-color: #0E5C56;
    --bs-link-hover-color: #B5502F;
    --bs-border-color: #E3D8C2;
    --bs-border-radius: 14px;
    --bs-border-radius-sm: 8px;
    --bs-border-radius-lg: 14px;
    --bs-border-radius-pill: 999px;
}

@property --header-scrolled {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

@supports (animation-timeline: scroll()) {
    @media (min-width: 992px) {
        html {
            animation: site-header-scroll linear both;
            animation-timeline: scroll(root block);
            animation-range: 24px 25px;
        }

        @keyframes site-header-scroll {
            from {
                --header-scrolled: 0;
            }
            to {
                --header-scrolled: 1;
            }
        }
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-offset: var(--header-h-stack);
    }
}

@media (min-width: 992px) {
    :root {
        --header-offset: calc(
            var(--header-h) * (1 - var(--header-scrolled)) +
            var(--header-h-compact) * var(--header-scrolled)
        );
    }
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    margin: 0;
    padding-top: var(--header-offset);
    transition: padding-top var(--header-duration) var(--header-ease);
    overflow-x: hidden;
    overflow-x: clip;
    background-color: var(--cream);
    background-image: radial-gradient(ellipse 100% 60% at 50% -10%, rgba(14, 92, 86, 0.06), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, #F0E8D8 100%);
    color: var(--ink);
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body.has-tabbar {
    padding-bottom: var(--tabbar-h);
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    margin: 0;
    font-weight: 600;
    color: var(--teal-ink);
}

a {
    color: var(--teal-deep);
    text-decoration: none;
}

a:hover {
    color: var(--terracotta);
}

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

button, input, select, textarea {
    font-family: inherit;
}

:focus-visible:not(input):not(select):not(textarea):not(.form-control):not(.form-select) {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.wrap,
.container.site-container {
    max-width: 1180px;
}

@media (min-width: 1200px) {
    .container.site-container {
        max-width: 1180px;
    }
}

/* Bootstrap form overrides */
.form-control,
.form-select {
    border: 1.5px solid var(--line);
    border-radius: var(--r-card);
    padding: 12px 14px;
    font-size: 15px;
    background: var(--ivory);
    color: var(--ink);
}

.form-control:focus,
.form-select:focus,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: none;
    border-color: var(--teal-deep);
    box-shadow: 0 0 0 3px rgba(200, 147, 42, 0.22);
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--ink);
}

main {
    flex: 1;
}

/* ---- Typography ---- */
.eyebrow {
    font-family: 'Karla', sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--terracotta);
    font-weight: 700;
}

.section-head {
    margin-bottom: 36px;
}

.section-head h2 {
    font-size: 30px;
    margin-top: 8px;
    line-height: 1.2;
}

.section-head p {
    color: var(--ink-soft);
    max-width: 640px;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.65;
}

.section-head .eyebrow + h2 {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.section-head .eyebrow + h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--teal-deep));
    border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: var(--r-pill);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn:focus,
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 147, 42, 0.35);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--teal-deep);
    border: 1.5px solid var(--teal-deep);
    color: var(--ivory);
    --bs-btn-bg: var(--teal-deep);
    --bs-btn-border-color: var(--teal-deep);
    --bs-btn-color: var(--ivory);
    --bs-btn-hover-bg: #0b524c;
    --bs-btn-hover-border-color: #0b524c;
    --bs-btn-hover-color: var(--ivory);
    --bs-btn-active-bg: #094842;
    --bs-btn-active-border-color: #094842;
    --bs-btn-active-color: var(--ivory);
}

.btn-primary:hover {
    background-color: #0b524c;
    border-color: #0b524c;
    color: var(--ivory);
    opacity: 1;
}

.btn-gold {
    background-color: var(--gold);
    border: 1.5px solid var(--gold);
    color: var(--teal-ink);
    --bs-btn-bg: var(--gold);
    --bs-btn-border-color: var(--gold);
    --bs-btn-color: var(--teal-ink);
    --bs-btn-hover-bg: #b88325;
    --bs-btn-hover-border-color: #b88325;
    --bs-btn-hover-color: var(--teal-ink);
    --bs-btn-active-bg: #a87722;
    --bs-btn-active-border-color: #a87722;
    --bs-btn-active-color: var(--teal-ink);
}

.btn-gold:hover {
    background-color: #b88325;
    border-color: #b88325;
    color: var(--teal-ink);
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--teal-deep);
    color: var(--teal-deep);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--teal-deep);
    --bs-btn-color: var(--teal-deep);
    --bs-btn-hover-bg: rgba(14, 92, 86, 0.08);
    --bs-btn-hover-border-color: var(--teal-deep);
    --bs-btn-hover-color: var(--teal-deep);
}

.btn-outline:hover {
    background-color: rgba(14, 92, 86, 0.08);
    border-color: var(--teal-deep);
    color: var(--teal-deep);
    opacity: 1;
}

.btn-text {
    background: none;
    color: var(--teal-deep);
    padding: 8px 0;
    border: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, gap 0.2s ease;
}

.btn-text:hover {
    color: var(--terracotta);
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 12.5px;
}

.btn-block {
    width: 100%;
}

/* ---- Badges ---- */
.badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 9px;
    border-radius: 6px;
    text-transform: uppercase;
}

.badge-new {
    background: var(--maroon);
    color: #fff;
}

.badge-sale {
    background: var(--terracotta);
    color: #fff;
}

.badge-out {
    background: #8b8378;
    color: #fff;
}

.badge-soon {
    background: var(--gold);
    color: var(--teal-ink);
}

.badge-processing {
    background: var(--gold);
    color: var(--teal-ink);
}

.badge-shipped {
    background: var(--teal-deep);
    color: var(--ivory);
}

.badge-delivered {
    background: var(--teal-ink);
    color: var(--ivory);
}

/* ---- Girih divider ---- */
.girih {
    height: 46px;
    margin: 0;
    background-image: linear-gradient(45deg, var(--teal-deep) 25%, transparent 25.5%, transparent 75%, var(--teal-deep) 75.5%),
    linear-gradient(-45deg, var(--teal-deep) 25%, transparent 25.5%, transparent 75%, var(--teal-deep) 75.5%);
    background-size: 23px 23px;
    opacity: 0.9;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

/* ---- Forms ---- */
.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    background: var(--ivory);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
    outline: none;
    border-color: var(--teal-deep);
    box-shadow: 0 0 0 3px rgba(200, 147, 42, 0.22);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .field-row.cols-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--teal-deep);
}

/* ---- Spec table ---- */
table.spec {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table.spec tr {
    border-bottom: 1px solid var(--line);
}

table.spec td {
    padding: 10px 4px;
    color: var(--ink-soft);
}

table.spec td:first-child {
    color: var(--ink);
    font-weight: 700;
    width: 160px;
}

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--teal-ink);
    border-bottom: 1px solid rgba(255, 255, 255, calc(0.08 + 0.06 * var(--header-scrolled)));
    box-shadow: 0 calc(8px + 4px * var(--header-scrolled)) calc(32px + 8px * var(--header-scrolled)) rgba(10, 46, 43, calc(0.22 + 0.10 * var(--header-scrolled)));
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header .site-navbar {
    --bs-navbar-color: rgba(255, 253, 248, 0.88);
    --bs-navbar-hover-color: var(--ivory);
    --bs-navbar-active-color: var(--gold);
    --bs-navbar-toggler-border-color: transparent;
    min-height: calc(
        var(--header-h) * (1 - var(--header-scrolled)) +
        var(--header-h-compact) * var(--header-scrolled)
    );
    padding-block: calc(22px - 10px * var(--header-scrolled));
    gap: 12px;
    transition: min-height var(--header-duration) var(--header-ease),
    padding var(--header-duration) var(--header-ease);
}

@media (min-width: 992px) {
    .site-header .site-navbar {
        display: grid;
        grid-template-columns: 240px minmax(200px, 420px) 1fr auto;
        grid-template-rows: auto;
        align-items: center;
        column-gap: 16px;
        row-gap: 0;
        flex-wrap: nowrap;
        transition: min-height var(--header-duration) var(--header-ease),
        padding var(--header-duration) var(--header-ease);
    }

    .site-header .brand {
        grid-column: 1;
        grid-row: 1;
        width: 240px;
        min-width: 240px;
        max-width: 240px;
        margin: 0 !important;
        align-self: center;
    }

    .site-header .header-search {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: none;
        min-width: 0;
        flex: none;
        margin: 0;
        align-self: center;
    }

    .site-header .site-nav-collapse {
        grid-column: 3;
        grid-row: 1;
        padding-top: 0;
        flex-grow: 0;
        margin-left: 0 !important;
        height: 42px;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        align-self: center;
        width: 100%;
    }

    .site-header .site-nav-links {
        margin-left: auto;
        justify-content: flex-end;
        align-items: center;
    }

    .site-header .header-utilities {
        grid-column: 4;
        grid-row: 1;
        height: 42px;
        align-self: center;
    }
}

.site-header .site-nav-toggle:focus {
    box-shadow: 0 0 0 2px rgba(200, 147, 42, 0.55);
}

.site-header .site-nav-links {
    gap: 6px;
}

.site-header .nav-link {
    color: rgba(255, 253, 248, 0.88);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 9px 14px !important;
    border-radius: var(--r-pill);
    border-bottom: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.show {
    color: var(--ivory);
    background: rgba(255, 255, 255, 0.1);
}

.site-header .nav-link.active {
    color: var(--gold);
    background: rgba(200, 147, 42, 0.18);
}

.site-header .dropdown-toggle::after {
    margin-left: 0.35em;
    vertical-align: 0.15em;
    opacity: 0.7;
    transition: transform 0.25s ease;
}

.site-header .nav-dropdown-hover:hover .dropdown-toggle::after,
.site-header .nav-dropdown-hover:focus-within .dropdown-toggle::after {
    transform: rotate(180deg);
}

.site-header .dropdown-toggle:focus {
    outline: none;
    box-shadow: none;
}

.site-header .dropdown-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.site-header .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(227, 216, 194, 0.85);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(10, 46, 43, 0.14);
    padding: 10px;
    min-width: 240px;
    margin-top: 10px !important;
}

.site-header .dropdown-menu-categories {
    min-width: 260px;
}

@media (min-width: 992px) {
    .site-header .nav-dropdown-hover {
        position: relative;
    }

    .site-header .nav-dropdown-hover::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 14px;
    }

    .site-header .nav-dropdown-hover .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px) scale(0.97);
        transform-origin: top center;
        transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.28s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu,
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .site-header .nav-dropdown-hover .dropdown-menu > li {
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity 0.22s ease,
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li,
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li {
        opacity: 1;
        transform: translateX(0);
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(1),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(1) {
        transition-delay: 0.04s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(2),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(2) {
        transition-delay: 0.07s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(3),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(3) {
        transition-delay: 0.10s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(4),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(4) {
        transition-delay: 0.13s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(5),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(5) {
        transition-delay: 0.16s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(6),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(6) {
        transition-delay: 0.19s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(7),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(7) {
        transition-delay: 0.22s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(8),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(8) {
        transition-delay: 0.25s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(9),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(9) {
        transition-delay: 0.28s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(10),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(10) {
        transition-delay: 0.31s;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li:nth-child(11),
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li:nth-child(11) {
        transition-delay: 0.34s;
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        transition: none;
    }

    .site-header .site-navbar,
    .site-header .mobile-search-bar,
    .site-header .brand-logo {
        transition: none !important;
    }

    .site-header .nav-dropdown-hover .dropdown-menu,
    .site-header .nav-dropdown-hover .dropdown-menu > li,
    .site-header .dropdown-toggle::after {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }

    .site-header .nav-dropdown-hover:hover .dropdown-menu > li,
    .site-header .nav-dropdown-hover:focus-within .dropdown-menu > li {
        opacity: 1;
    }
}

.site-header .dropdown-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 8px 12px 6px;
}

.site-header .dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 12px;
    color: var(--ink);
    border-radius: 10px;
    transition: background 0.18s ease, color 0.18s ease;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
    background: rgba(14, 92, 86, 0.09);
    color: var(--teal-deep);
}

.site-header .dropdown-item:active {
    background: rgba(14, 92, 86, 0.14);
    color: var(--teal-ink);
}

.site-header .dropdown-item-all:hover,
.site-header .dropdown-item-all:focus {
    background: rgba(200, 147, 42, 0.14);
    color: var(--teal-ink);
}

.site-header .dropdown-item-all {
    font-weight: 700;
    color: var(--teal-deep);
}

.site-header .dropdown-divider {
    margin: 8px 4px;
    border-color: var(--line);
}

.site-header .site-nav-collapse {
    padding-top: 8px;
}

@media (max-width: 991.98px) {
    .site-header .site-nav-links {
        padding: 8px 0 4px;
        gap: 2px;
    }

    .site-header .nav-link {
        padding: 12px 14px !important;
    }

    .site-header .dropdown-menu {
        background: #ffffff;
        margin-left: 8px;
        margin-right: 8px;
    }
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand:hover {
    opacity: 0.92;
}

.brand-logo {
    display: block;
    height: calc(52px - 10px * var(--header-scrolled));
    width: auto;
    max-width: 210px;
    object-fit: contain;
    object-position: left center;
    transition: height var(--header-duration) var(--header-ease);
}

@media (min-width: 992px) {
    .brand-logo {
        height: calc(58px - 12px * var(--header-scrolled));
        max-width: 100%;
    }
}

.header-utilities {
    gap: 8px;
}

.header-search {
    display: none;
    flex: 1 1 auto;
    max-width: min(420px, 36vw);
    min-width: 180px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    background: rgba(255, 253, 248, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--r-pill);
    padding: 0 14px;
    align-items: center;
    gap: 10px;
    margin-right: 12px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(10, 46, 43, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:focus-within {
    border-color: rgba(200, 147, 42, 0.55);
    box-shadow: 0 0 0 3px rgba(200, 147, 42, 0.18);
}

.header-search input {
    border: none;
    background: transparent;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: var(--ink);
    padding: 0;
    outline: none;
}

.header-search input::placeholder {
    color: var(--ink-soft);
}

.header-search svg {
    flex-shrink: 0;
    color: var(--teal-deep);
    opacity: 0.65;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ivory);
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.icon-btn:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(200, 147, 42, 0.35);
}

.icon-btn:active {
    transform: scale(0.96);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--gold);
    color: var(--teal-ink);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--r-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--teal-ink);
    box-shadow: 0 2px 6px rgba(10, 46, 43, 0.2);
}

.cart-badge:empty,
.cart-badge[data-count="0"] {
    display: none;
}

/* Mobile search bar */
.mobile-search-bar {
    padding: 0 0 calc(14px - 4px * var(--header-scrolled));
    transition: padding var(--header-duration) var(--header-ease);
}

.mobile-search-bar .search-wrap {
    background: rgba(255, 253, 248, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r-pill);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: inset 0 1px 2px rgba(10, 46, 43, 0.05);
}

.mobile-search-bar .search-wrap:focus-within {
    border-color: rgba(200, 147, 42, 0.45);
    box-shadow: 0 0 0 3px rgba(200, 147, 42, 0.15);
}

.mobile-search-bar input {
    border: none;
    background: transparent;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    outline: none;
    color: var(--ink);
}

.mobile-search-bar svg {
    color: var(--teal-deep);
    opacity: 0.65;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .mobile-search-bar {
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile-search-bar {
        display: none;
    }

    .header-search {
        display: flex;
    }
}

/* ---- Bottom tab bar (mobile) ---- */
.tabbar {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: var(--tabbar-h);
    background: var(--ivory);
    border-top: 1px solid var(--line);
    padding: 2px 4px calc(2px + env(safe-area-inset-bottom));
    z-index: 100;
    box-shadow: 0 -4px 16px rgba(10, 46, 43, 0.08);
}

.tabbar a {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 10px;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 4px 6px;
    font-weight: 500;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

.tabbar a.active {
    color: var(--teal-deep);
    font-weight: 700;
    background: transparent;
}

.tabbar a.active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 42px;
    background: rgba(14, 92, 86, 0.1);
    border-radius: 10px;
    z-index: -1;
    pointer-events: none;
}

.tabbar svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 992px) {
    .tabbar {
        display: none;
    }

    body.has-tabbar {
        padding-bottom: 0;
    }
}

/* ---- Mobile nav sidebar (offcanvas) ---- */
@media (max-width: 991.98px) {
    .mobile-nav-sidebar {
        width: 82.5vw;
        max-width: 82.5vw;
        background: var(--ivory);
        --bs-offcanvas-border-width: 0;
        border: none !important;
        border-right: 1px solid var(--line) !important;
        border-radius: 0 !important;
        z-index: 1055;
        display: flex;
        flex-direction: column;
        top: 0 !important;
        left: 0;
        height: 100% !important;
        max-height: 100dvh;
        overflow: hidden;
    }

    .mobile-nav-sidebar__header {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 18px 20px;
        border-bottom: 1px solid var(--line);
        background: var(--teal-ink);
    }

    .offcanvas-backdrop {
        --bs-backdrop-opacity: 1;
        background-color: rgba(10, 46, 43, 0.58) !important;
        z-index: 1050;
    }

    .offcanvas-backdrop.show {
        opacity: 1 !important;
    }

    .mobile-nav-sidebar__brand {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .mobile-nav-sidebar__brand .brand-logo {
        height: 40px;
        max-width: 160px;
        filter: brightness(1.05);
    }

    .mobile-nav-sidebar__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: var(--ivory);
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .mobile-nav-sidebar__close:hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(200, 147, 42, 0.4);
        color: var(--gold);
    }

    .mobile-nav-sidebar .offcanvas-body,
    .mobile-nav-sidebar__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 8px 0;
    }

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

    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        color: var(--ink);
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        font-family: inherit;
        text-align: left;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        background: rgba(14, 92, 86, 0.08);
        color: var(--teal-deep);
    }

    .mobile-nav-link.active {
        box-shadow: inset 3px 0 0 var(--gold);
    }

    .mobile-nav-chevron {
        flex-shrink: 0;
        transition: transform 0.25s ease;
    }

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

    .mobile-nav-sub {
        padding: 4px 0 8px;
        background: rgba(246, 239, 226, 0.65);
    }

    .mobile-nav-sublink {
        display: block;
        padding: 10px 20px 10px 32px;
        font-size: 14px;
        font-weight: 500;
        color: var(--ink-soft);
        text-decoration: none;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .mobile-nav-sublink:hover {
        color: var(--teal-deep);
        background: rgba(14, 92, 86, 0.06);
    }

    .mobile-nav-sublink--all {
        font-weight: 700;
        color: var(--teal-deep);
        margin-top: 4px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
    }

    .mobile-nav-sidebar__actions {
        flex-shrink: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: var(--ivory);
        border-top: 1px solid var(--line);
        box-shadow: 0 -4px 16px rgba(10, 46, 43, 0.06);
    }

    .mobile-nav-sidebar__btn {
        width: 100%;
        justify-content: center;
        min-width: 0;
        padding: 9px 10px;
        font-size: 13px;
        line-height: 1.2;
    }
}

@media (min-width: 992px) {
    .mobile-nav-sidebar {
        display: none !important;
    }
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
    background: var(--teal-ink);
    color: #BFD3CD;
    padding: 40px 0 24px;
    margin-top: auto;
}

.footer-grid.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.footer-grid:not(.row) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-grid:not(.row) {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    display: inline-block;
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: var(--ivory);
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-brand:hover {
    color: var(--gold);
}

.footer-brand + p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--gold);
    font-family: 'Karla', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: #BFD3CD;
    font-size: 14px;
    padding: 5px 0;
    text-decoration: none;
}

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

.footer-policies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
}

.footer-policies a {
    color: #BFD3CD;
    font-size: 13px;
    text-decoration: none;
}

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

.footer-bottom a {
    color: #BFD3CD;
    font-size: 13px;
    text-decoration: none;
}

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

/* ---- Policy pages ---- */
.policy-prose {
    width: 100%;
    max-width: none;
}

.policy-intro {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 28px;
}

.policy-section {
    padding-top: 8px;
    margin-bottom: 28px;
}

.policy-section:last-of-type {
    margin-bottom: 0;
}

.policy-section h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--teal-ink);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.policy-subheading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--teal-ink);
    margin: 18px 0 10px;
}

.policy-subheading:first-of-type {
    margin-top: 0;
}

.policy-section p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 14px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-lead p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 14px;
}

.policy-lead {
    margin-bottom: 28px;
}

.policy-officer {
    margin: 16px 0 0;
    font-style: normal;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
}

.policy-officer a {
    color: var(--teal-deep);
    font-weight: 600;
    text-decoration: none;
}

.policy-officer a:hover {
    color: var(--terracotta);
}

.policy-section a {
    color: var(--teal-deep);
    font-weight: 600;
    text-decoration: none;
}

.policy-section a:hover {
    color: var(--terracotta);
}

.policy-contact {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.policy-contact p {
    margin: 0;
    font-size: 15px;
    color: var(--ink-soft);
}

.policy-contact a {
    color: var(--teal-deep);
    font-weight: 600;
    text-decoration: none;
}

.policy-contact a:hover {
    color: var(--terracotta);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.page-breadcrumb {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.page-breadcrumb a {
    color: var(--ink-soft);
}

.page-breadcrumb b {
    color: var(--teal-deep);
}

.contact-hours {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 10px;
    line-height: 1.6;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.pcard {
    background: var(--ivory);
    border-radius: 16px;
    border: 1px solid rgba(227, 216, 194, 0.9);
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(10, 46, 43, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pcard:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 92, 86, 0.22);
    box-shadow: 0 10px 12px rgba(10, 46, 43, 0.11);
}

.pcard .arch {
    height: 320px;
    position: relative;
    display: block;
    background: linear-gradient(165deg, #EDE6D6 0%, var(--cream) 100%);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.pcard .arch.has-cover {
    background: linear-gradient(165deg, #EDE6D6 0%, var(--cream) 100%);
}

.pcard .arch-media {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 12px 8px;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.pcard:hover .arch-media {
    transform: scale(1.06);
}

.pcard .arch-media svg {
    width: 48%;
    opacity: 0.7;
}

.pcard .arch .cover-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 8px 16px rgba(10, 46, 43, 0.12));
    transition: filter 0.35s ease;
}

.pcard:hover .arch .cover-img {
    filter: drop-shadow(0 12px 24px rgba(10, 46, 43, 0.18));
}

.pcard .badge-wrap {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
}

.pcard .badge-wrap .badge {
    border-radius: var(--r-pill);
    font-size: 9.5px;
    padding: 5px 10px;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 10px rgba(10, 46, 43, 0.15);
}

.pcard .save {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--ink-soft);
    cursor: pointer;
    z-index: 3;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.pcard .save:hover {
    color: var(--maroon);
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.95);
}

.pcard .save.saved {
    color: var(--maroon);
}

.pcard .body {
    padding: 16px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 132px;
}

.pcard-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 18px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.pcard .cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal-deep);
    font-weight: 700;
}

.stock-chip {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: var(--r-pill);
    flex-shrink: 0;
}

.stock-chip.low {
    background: rgba(181, 80, 47, 0.12);
    color: var(--terracotta);
}

.stock-chip.none {
    background: rgba(139, 131, 120, 0.15);
    color: #8b8378;
}

.pcard .title {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    min-height: calc(1.35em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.pcard .title a {
    color: var(--teal-ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pcard .title a:hover {
    color: var(--teal-deep);
}

.pcard-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
}

.pcard .price {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--terracotta);
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
    min-width: 0;
}

.pcard .price .old {
    font-family: 'Karla', sans-serif;
    color: var(--ink-soft);
    font-weight: 400;
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 6px;
    white-space: nowrap;
}

.pcard-add {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--gold);
    color: var(--teal-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(200, 147, 42, 0.35);
}

.pcard-add:hover:not(:disabled) {
    background: #d4a030;
    transform: scale(1.06);
}

.pcard-add.added {
    background: var(--teal-deep);
    color: var(--ivory);
    box-shadow: 0 2px 8px rgba(14, 92, 86, 0.3);
}

.pcard-add:disabled {
    background: var(--line);
    color: var(--ink-soft);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.65;
}

@media (prefers-reduced-motion: reduce) {
    .pcard,
    .pcard .arch-media,
    .pcard .arch .cover-img,
    .pcard .save,
    .pcard-add {
        transition: none;
    }

    .pcard:hover {
        transform: none;
    }

    .pcard:hover .arch-media {
        transform: none;
    }
}

/* Content panels */
.content-panel {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 22px 20px;
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
}

/* Product rails — no outer card; product .pcard keeps its own styling */
.rail {
    margin-bottom: 36px;
    overflow: visible;
}

.rail:last-child {
    margin-bottom: 0;
}

.rail-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.rail-head h3 {
    font-size: 22px;
    line-height: 1.25;
    position: relative;
    padding-left: 14px;
}

.rail-head h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    bottom: 0.12em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--teal-deep) 100%);
}

.rail-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Product grid — Bootstrap row/col skeleton; legacy grid fallback */
.grid-cards:not(.row) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.grid-cards.row {
    display: flex;
    flex-wrap: wrap;
}

.grid-cards.row .pcard {
    height: 100%;
}

@media (min-width: 480px) {
    .grid-cards:not(.row) {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 18px;
    }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider-section {
    padding: 20px 0 36px;
    background: transparent;
}

.hero-carousel {
    overflow: hidden;
    border-radius: var(--r-card);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.hero-slide-frame {
    width: 100%;
    margin: 0;
    line-height: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(var(--hero-banner-min-height), var(--hero-banner-fluid-height), var(--hero-banner-height));
    max-height: var(--hero-banner-height);
}

.hero-slide-frame img {
    display: block;
    max-width: 100%;
    max-height: var(--hero-banner-height);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.owl-carousel .owl-stage-outer {
    padding: 16px 0;
}

.hero-slider-section .owl-carousel .owl-stage-outer {
    padding: 0;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
    background: var(--cream);
    border-top: 1px solid var(--line);
    padding: 40px 0;
}

.trust-strip-grid.row {
    display: flex;
    flex-wrap: wrap;
}

.trust-strip-grid:not(.row) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .trust-strip-grid:not(.row) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 22px 20px;
    height: 100%;
    box-shadow: 0 2px 14px rgba(10, 46, 43, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trust-item:hover {
    border-color: rgba(14, 92, 86, 0.25);
    box-shadow: 0 6px 22px rgba(10, 46, 43, 0.09);
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(14, 92, 86, 0.12), rgba(200, 147, 42, 0.14));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal-deep);
    font-size: 20px;
}

.trust-item h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--teal-ink);
}

.trust-item p {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.55;
}

.trust-item p a {
    color: var(--teal-deep);
    font-weight: 600;
    text-decoration: none;
}

.trust-item p a:hover {
    color: var(--terracotta);
}

/* ============================================
   PAGE SECTIONS
   ============================================ */
.page-section {
    padding: 44px 0;
}

.page-section-flush {
    padding-top: 32px;
}

.page-section + .page-section {
    border-top: none;
}

/* Elevated ivory content surface — used across all inner pages */
.page-section-surface,
.page-section.catalog-section {
    padding: 48px 0 52px;
    background: var(--ivory);
    border-top: 3px solid var(--gold);
    box-shadow: 0 -8px 32px rgba(10, 46, 43, 0.04);
    overflow: visible;
}

.page-section-surface + .page-section-surface,
.page-section.catalog-section + .page-section-surface {
    border-top: 1px solid var(--line);
    box-shadow: none;
    padding-top: 44px;
}

.page-header {
    margin-bottom: 32px;
}

.page-header .page-title,
.page-header .eyebrow + h1 {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    position: relative;
    margin-bottom: 10px;
}

.page-header .page-title::after,
.page-header .eyebrow + h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--teal-deep));
    border-radius: 2px;
}

.page-header.text-center .page-title::after,
.page-header.text-center .eyebrow + h1::after {
    left: 50%;
    transform: translateX(-50%);
}

.page-header.text-center .page-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.page-header .page-breadcrumb + .page-title {
    margin-top: 8px;
}

.section-divider {
    height: 1px;
    border: none;
    margin: 36px 0;
    background: linear-gradient(90deg, transparent, var(--line) 15%, var(--gold) 50%, var(--line) 85%, transparent);
}

.content-panel--lg {
    padding: 28px 24px;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.panel-heading h2,
.panel-heading h3 {
    font-size: 22px;
    line-height: 1.25;
    position: relative;
    padding-left: 14px;
    margin: 0;
}

.panel-heading h2::before,
.panel-heading h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    bottom: 0.12em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--teal-deep) 100%);
}

.prose p {
    color: var(--ink-soft);
    margin: 14px 0;
    line-height: 1.65;
    font-size: 16px;
}

.prose h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.page-banner {
    position: relative;
    width: 100%;
    background: var(--teal-ink);
    color: var(--ivory);
    padding: 28px 0 36px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-banner__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.page-banner__glow--gold {
    width: min(420px, 55vw);
    height: min(420px, 55vw);
    top: -55%;
    left: -8%;
    background: radial-gradient(circle, rgba(200, 147, 42, 0.2) 0%, transparent 68%);
}

.page-banner__glow--terra {
    width: min(360px, 48vw);
    height: min(360px, 48vw);
    bottom: -60%;
    right: -6%;
    background: radial-gradient(circle, rgba(181, 80, 47, 0.16) 0%, transparent 70%);
}

.page-banner .container.site-container {
    position: relative;
    z-index: 1;
}

.page-banner__breadcrumb {
    margin-bottom: 14px;
}

.breadcrumb-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb-trail li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 253, 248, 0.62);
}

.breadcrumb-trail li + li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 11px;
    border-right: 1.5px solid rgba(255, 253, 248, 0.35);
    border-bottom: 1.5px solid rgba(255, 253, 248, 0.35);
    transform: rotate(-45deg);
    flex-shrink: 0;
}

.breadcrumb-trail a {
    color: rgba(255, 253, 248, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
    color: var(--gold);
}

.breadcrumb-trail li[aria-current="page"] {
    color: var(--gold);
    font-weight: 600;
}

.page-banner__title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 10px;
    color: var(--ivory);
    max-width: none;
}

.page-banner__subtitle {
    margin: 0;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(217, 230, 226, 0.9);
}

@media (min-width: 768px) {
    .page-banner {
        padding: 36px 0 44px;
    }

    .page-banner__title {
        max-width: none;
    }
}

.page-title {
    font-size: 34px;
    margin-bottom: 10px;
    line-height: 1.15;
}

.page-subtitle {
    color: var(--ink-soft);
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.65;
    max-width: 640px;
}

.page-header .page-subtitle {
    margin-top: 10px;
}

.twocol.row {
    display: flex;
    flex-wrap: wrap;
}

.twocol:not(.row) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .twocol:not(.row) {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.about-image {
    border-radius: var(--r-card);
    background: linear-gradient(160deg, var(--teal-deep), var(--teal-ink));
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.about-image svg {
    width: 50%;
    opacity: 0.8;
}

/* ---- About page (Hindi content) ---- */
.about-prose {
    width: 100%;
    font-family: 'Noto Sans Devanagari', 'Karla', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
    text-align: justify;
}

.about-prose p {
    margin: 0 0 16px;
}

.about-prose__lead {
    text-align: center;
    font-size: 1.35rem;
    color: var(--teal-deep);
    margin-bottom: 20px !important;
}

.about-prose__list {
    margin: 0 0 20px;
    padding-left: 1.25rem;
}

.about-prose__list li {
    margin-bottom: 10px;
}

.about-heading {
    display: inline;
}

.about-heading--red,
.about-heading--red strong {
    color: var(--maroon);
}

.about-heading--blue,
.about-heading--blue strong {
    color: #3366cc;
}

.about-heading--green,
.about-heading--green strong {
    color: #339966;
}

.about-heading--lg {
    display: block;
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 28px 0 16px !important;
}

.about-emphasis {
    color: var(--maroon);
}

.about-row {
    margin-bottom: 8px;
}

.about-row--spaced {
    margin-top: 28px;
}

.about-figure {
    margin: 0;
    border-radius: var(--r-card);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.08);
    background: #fff;
}

.about-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.about-closing {
    margin-top: 8px !important;
}

.about-cta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    text-align: center;
}

@media (max-width: 767.98px) {
    .about-prose {
        font-size: 16px;
        line-height: 1.7;
    }

    .about-figure {
        max-width: 280px;
        margin-inline: auto;
    }

    .about-row--spaced {
        margin-top: 20px;
    }
}

/* ============================================
   PRODUCTS LISTING
   ============================================ */
.products-layout.row {
    display: flex;
    flex-wrap: wrap;
}

.products-layout .grid-cards:not(.row) {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .products-layout .grid-cards:not(.row) {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.filters-panel {
    background: var(--ivory);
    border-radius: var(--r-card);
    padding: 22px 20px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
}

@media (min-width: 992px) {
    .filters-aside .filters-panel {
        position: sticky;
        top: calc(var(--header-offset, var(--header-h)) + 16px);
        align-self: start;
    }
}

.filters-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--ivory);
    border: 1.5px solid var(--line);
    border-radius: var(--r-card);
    padding: 14px 18px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    color: var(--ink);
}

@media (min-width: 992px) {
    .filters-toggle {
        display: none !important;
    }
}

.filters-body {
    margin-top: 0;
}

.filters-panel--drawer {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.fitem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 0;
    font-size: 13.5px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    cursor: pointer;
}

a.fitem {
    text-decoration: none;
}

.fitem--last {
    border-bottom: none;
}

.fitem:hover,
.fitem.active {
    color: var(--teal-deep);
    font-weight: 700;
}

.fitem .count {
    flex-shrink: 0;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 400;
}

.fitem.active .count {
    font-weight: 400;
}

@media (max-width: 991.98px) {
    .filters-aside {
        margin-bottom: 0;
    }

    .filters-offcanvas {
        width: 82.5vw;
        max-width: 82.5vw;
        background: var(--ivory);
        --bs-offcanvas-border-width: 0;
        border: none !important;
        border-right: 1px solid var(--line) !important;
        box-shadow: 4px 0 28px rgba(10, 46, 43, 0.18);
        z-index: 1055;
        display: flex;
        flex-direction: column;
        top: 0 !important;
        left: 0;
        height: 100% !important;
        max-height: 100dvh;
        overflow: hidden;
    }

    .filters-offcanvas .offcanvas-header.filters-offcanvas__header {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 18px 20px;
        padding-top: calc(18px + env(safe-area-inset-top, 0px));
        margin: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: var(--teal-ink);
    }

    .filters-offcanvas__title {
        font-family: 'Fraunces', serif;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--ivory);
        margin: 0;
        line-height: 1.2;
    }

    .filters-offcanvas__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: var(--ivory);
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .filters-offcanvas__close:hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(200, 147, 42, 0.4);
        color: var(--gold);
    }

    .filters-offcanvas .offcanvas-body {
        flex: 1 1 auto;
        min-height: 0;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filters-offcanvas .filters-panel--drawer {
        min-height: 100%;
    }

    .filters-offcanvas .filters-body {
        padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .filters-offcanvas .filters-panel--drawer h4 {
        font-family: 'Fraunces', serif;
        font-size: 15px;
        font-weight: 600;
        color: var(--teal-ink);
        margin: 0 0 12px;
    }

    .filters-offcanvas .filters-panel--drawer h4 + h4 {
        margin-top: 28px;
        padding-top: 4px;
    }

    .filters-offcanvas .fitem {
        padding: 13px 0;
        font-size: 14px;
    }

    .filters-offcanvas .fitem.active {
        color: var(--teal-deep);
    }

    .filters-offcanvas .price-filter {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin-top: 4px;
    }

    .filters-offcanvas .checkbox-label {
        padding: 11px 0;
        font-size: 14px;
    }
}

.filters-panel h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

.filters-panel h4 + h4 {
    margin-top: 20px;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.toolbar .count {
    font-size: 13.5px;
    color: var(--ink-soft);
}

.toolbar select {
    font-size: 13.5px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    padding: 8px 16px;
    color: var(--ink);
    cursor: pointer;
}

.pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.pager button,
.pager span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--ivory);
    color: var(--ink-soft);
    border: 1px solid var(--line);
    cursor: pointer;
}

.pager button.active,
.pager span.active {
    background: var(--teal-deep);
    color: var(--ivory);
    border-color: var(--teal-deep);
}

.pager button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.bi::before, [class*=" bi-"]::before, [class^=bi-]::before {
    font-weight: 600 !important;
}

.rail-carousel {
    position: relative;
}

.owl-theme .owl-nav {
    position: absolute;
    top: 30%;
    transform: translateY(-30%);
    left: 0;
    width: 100%;
    margin: 0 !important;
}

.owl-next {
    right: 3px;
}

.owl-prev, .owl-next {
    width: 40px !important;
    height: 40px;
    position: absolute;
    top: 0;
    display: block !important;
    background: var(--gold) !important;
    color: #f5e3b8 !important;
    border-radius: var(--r-card) !important;
    line-height: 40px !important;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: #869791;
    color: #fbf7ef !important;
    text-decoration: none;
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.crumb {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 18px;
    padding-top: 24px;
}

.crumb a {
    color: var(--ink-soft);
}

.crumb b {
    color: var(--teal-deep);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 992px) {
    .detail-grid {
        display: contents;
    }

    .product-detail-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        column-gap: 48px;
        align-items: start;
    }

    .detail-gallery {
        grid-column: 1;
        grid-row: 1 / -1;
        position: sticky;
        /*top: calc(var(--header-offset, var(--header-h)) + 20px);*/
        align-self: start;
        z-index: 2;
    }

    .detail-info {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .product-detail-card > .detail-tabs-section {
        grid-column: span 2;
        grid-row: 2;
        min-width: 0;
    }
}

.product-detail-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 24px 20px 28px;
    box-shadow: 0 4px 24px rgba(10, 46, 43, 0.08);
}

@media (min-width: 768px) {
    .product-detail-card {
        padding: 32px 32px 36px;
    }
}

.detail-gallery {
    position: relative;
    width: 100%;
}

.detail-gallery-carousel,
.detail-gallery-carousel .owl-stage-outer,
.detail-gallery-carousel .owl-item,
.detail-gallery-carousel .detail-gallery__slide {
    width: 100%;
}

.detail-gallery__slide,
.detail-gallery__frame,
.gallery .main {
    min-height: 280px;
    height: auto;
    max-height: none;
    border-radius: var(--r-card);
    background: linear-gradient(160deg, var(--teal-deep), var(--teal-ink));
    border: 1px solid rgba(227, 216, 194, 0.8);
    box-shadow: 0 8px 28px rgba(10, 46, 43, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.detail-gallery__slide.has-cover,
.detail-gallery__frame.has-cover,
.gallery .main.has-cover {
    aspect-ratio: auto;
    min-height: 0;
    background: var(--cream);
}

.detail-gallery__slide.has-cover .cover-img-lg,
.detail-gallery__frame.has-cover .cover-img-lg,
.gallery .main.has-cover .cover-img-lg {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    object-position: center;
    padding: 12px;
}

.detail-gallery__slide svg,
.detail-gallery__frame svg,
.gallery .main svg {
    width: 50%;
    opacity: 0.9;
}

.detail-gallery-thumbs {
    margin-top: 14px;
    text-align: left;
}

.detail-gallery-thumbs .owl-stage-outer {
    text-align: left;
}

.detail-gallery__thumb-item {
    display: flex;
    width: 64px;
}

.detail-gallery__thumbs,
.gallery .thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.detail-gallery__thumb-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-gallery__thumb,
.gallery .thumbs button {
    width: 64px;
    height: 82px;
    border-radius: 10px;
    background: var(--cream);
    opacity: 0.65;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 4px;
    overflow: hidden;
    transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-gallery__thumb .thumb-img,
.gallery .thumbs button .thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-gallery__thumb:not(:has(img)),
.gallery .thumbs button:not(:has(img)) {
    background: linear-gradient(160deg, var(--teal-deep), var(--teal-ink));
}

.detail-gallery__thumb.active,
.detail-gallery__thumb:hover,
.gallery .thumbs button.active,
.gallery .thumbs button:hover {
    opacity: 1;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 147, 42, 0.18);
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.detail-category,
.dcat {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.detail-category:hover {
    color: var(--teal-deep);
}

.detail-title,
.dtitle {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.65rem, 3.5vw, 2.15rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--teal-ink);
    margin: 0 0 14px;
}

.detail-meta,
.dmeta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.detail-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.detail-meta__dot {
    color: var(--line);
}

.detail-sku,
.dmeta .sku {
    font-family: 'Karla', monospace;
    font-size: 12px;
    letter-spacing: 0.02em;
}

.detail-stock {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--r-pill);
}

.detail-stock--in {
    background: rgba(14, 92, 86, 0.1);
    color: var(--teal-deep);
}

.detail-stock--low {
    background: rgba(200, 147, 42, 0.15);
    color: #8a6418;
}

.detail-stock--none {
    background: rgba(122, 31, 43, 0.1);
    color: var(--maroon);
}

.stars {
    color: var(--gold);
    letter-spacing: 1px;
}

.detail-price-block,
.dprice {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.detail-price {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--terracotta);
    line-height: 1;
}

.detail-price-old,
.dprice .old {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    color: var(--ink-soft);
    text-decoration: line-through;
    font-weight: 400;
}

.detail-save-badge,
.dprice .save-pct {
    font-family: 'Karla', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--maroon);
    color: #fff;
    padding: 5px 10px;
    border-radius: var(--r-pill);
}

.detail-purchase {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

@media (min-width: 480px) {
    .detail-purchase {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }
}

.detail-qty,
.detail-purchase .qty {
    margin-top: 0;
    flex-shrink: 0;
}

.detail-purchase .qty button {
    width: 36px;
    height: 36px;
    font-size: 15px;
}

.detail-purchase .qty .val {
    width: 40px;
    font-size: 14px;
}

.qty {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: var(--r-pill);
    width: fit-content;
    overflow: hidden;
    margin-top: 20px;
    background: #fff;
}

.qty button {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--ivory);
    font-size: 16px;
    cursor: pointer;
    color: var(--teal-deep);
    transition: background 0.2s ease;
}

.qty button:hover {
    background: var(--cream);
}

.qty .val {
    width: 46px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}

.detail-actions,
.dactions {
    display: flex;
    flex: 1;
    min-width: min(100%, 260px);
    gap: 10px;
    margin-top: 0;
    flex-wrap: wrap;
}

.detail-add-btn {
    flex: 1;
    min-width: 160px;
    padding: 10px 22px !important;
    font-size: 14px;
    border-radius: var(--r-pill);
    line-height: 1.2;
}

.detail-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: var(--r-pill);
    white-space: nowrap;
    line-height: 1.2;
}

.detail-save-btn svg {
    width: 16px;
    height: 16px;
}

.detail-save-btn.saved {
    color: var(--maroon);
    border-color: rgba(122, 31, 43, 0.35);
    background: rgba(122, 31, 43, 0.06);
}

.detail-save-btn.saved svg {
    fill: var(--maroon);
    stroke: var(--maroon);
}

.detail-trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 640px) {
    .detail-trust-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

.detail-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--ivory);
    border: 1px solid rgba(227, 216, 194, 0.8);
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ink-soft);
}

.detail-trust-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(14, 92, 86, 0.08);
    color: var(--teal-deep);
}


.detail-tabs-section {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.tabs,
.detail-tabs.nav-tabs {
    display: flex;
    gap: 8px 28px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
    --bs-nav-tabs-border-width: 0;
    --bs-nav-tabs-border-color: transparent;
    --bs-nav-tabs-border-radius: 0;
    --bs-nav-tabs-link-hover-border-color: transparent;
    --bs-nav-tabs-link-active-color: var(--teal-deep);
    --bs-nav-tabs-link-active-bg: transparent;
    --bs-nav-tabs-link-active-border-color: transparent;
}

.detail-tabs.nav-tabs .nav-item {
    margin-bottom: 0;
}

.tabs button,
.detail-tabs.nav-tabs .nav-link {
    padding: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-soft);
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    border-radius: 0;
    font-family: 'Karla', sans-serif;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.tabs button:hover,
.detail-tabs.nav-tabs .nav-link:hover,
.detail-tabs.nav-tabs .nav-link:focus {
    color: var(--teal-deep);
    border-color: transparent;
    border-bottom-color: transparent;
    isolation: auto;
}

.tabs button.active,
.detail-tabs.nav-tabs .nav-link.active {
    color: var(--teal-deep);
    border-bottom-color: var(--gold);
    background: transparent;
}

.detail-tab-panels {
    padding-top: 24px;
}

.tab-panel p,
.detail-tab-panel p {
    font-family: 'Karla', sans-serif;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.75;
    margin: 0 0 16px;
}

.detail-prose p:last-child {
    margin-bottom: 0;
}

.detail-quote {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    color: var(--teal-ink);
    font-style: italic;
    padding-left: 16px;
    border-left: 3px solid var(--gold);
}

.detail-spec,
table.spec {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.detail-spec th,
.detail-spec td,
table.spec td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.detail-spec th {
    width: 38%;
    font-weight: 600;
    color: var(--ink);
    background: var(--ivory);
}

.detail-spec td {
    color: var(--ink-soft);
}

.detail-spec tr:last-child th,
.detail-spec tr:last-child td,
table.spec tr:last-child td {
    border-bottom: none;
}

.detail-reviews {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
}

.detail-reviews__heading {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--teal-ink);
    margin: 0 0 16px;
    padding-left: 14px;
    position: relative;
}

.detail-reviews__heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    bottom: 0.12em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), var(--teal-deep));
}

.detail-reviews-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.detail-reviews__heading--inline {
    margin: 0;
}

.detail-review-toggle {
    border-radius: var(--r-pill);
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.detail-review-form-wrap {
    max-width: 640px;
    padding: 22px 24px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    margin-bottom: 8px;
    overflow: hidden;
}

.detail-review-form-wrap[hidden] {
    display: none !important;
}

.detail-review-form-wrap.is-open {
    animation: reviewFormOpen 0.28s ease;
}

@keyframes reviewFormOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-review-form-wrap.is-open {
        animation: none;
    }
}

.detail-review-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.detail-review-submit {
    border-radius: var(--r-pill);
    padding: 10px 22px;
    font-size: 14px;
}

.detail-review-cancel {
    border-radius: var(--r-pill);
    padding: 10px 18px;
    font-size: 14px;
}

.detail-review-form__title {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--teal-ink);
    margin: 0 0 18px;
}

.detail-review-form .field {
    margin-bottom: 16px;
}

.detail-review-form textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.review-stars-input {
    display: inline-flex;
    gap: 4px;
    margin-top: 6px;
}

.review-stars-input button {
    border: none;
    background: none;
    padding: 2px 4px;
    font-size: 22px;
    line-height: 1;
    color: #d4cfc4;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.review-stars-input button:hover,
.review-stars-input button.is-active {
    color: var(--gold);
}

.review-stars-input button:hover {
    transform: scale(1.08);
}

.detail-review-form__success {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-deep);
}

.detail-review-toast {
    margin: 0 0 14px;
}

.detail-review--new {
    animation: reviewFadeIn 0.4s ease;
}

@keyframes reviewFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-review--new {
        animation: none;
    }
}

.detail-review {
    padding: 18px 20px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.detail-review__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.detail-review__head strong {
    color: var(--teal-ink);
    font-size: 14px;
}

.detail-review p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.related-products-wrap {
    padding-top: 4px;
}

/* ============================================
   CART
   ============================================ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.cart-layout[hidden] {
    display: none !important;
}

@media (min-width: 768px) {
    .cart-layout {
        grid-template-columns: minmax(0, 1.75fr) minmax(300px, 400px);
        gap: 28px;
    }

    .cart-main {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .cart-aside {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        align-self: start;
        position: sticky;
        top: calc(var(--header-offset, var(--header-h)) + 16px);
        z-index: 5;
    }
}

@media (min-width: 992px) {
    .cart-layout {
        gap: 32px;
    }
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px 20px;
    align-items: center;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(10, 46, 43, 0.05);
}

@media (min-width: 768px) {
    .cart-item-card {
        grid-template-columns: 100px minmax(0, 1fr) auto;
        padding: 20px 24px;
    }
}

.cart-item-card__thumb {
    width: 88px;
    height: 108px;
    border-radius: 10px;
    background: linear-gradient(160deg, var(--teal-deep), var(--teal-ink));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(227, 216, 194, 0.7);
}

@media (min-width: 768px) {
    .cart-item-card__thumb {
        width: 100px;
        height: 120px;
        grid-row: 1;
    }
}

.cart-item-card__thumb.has-cover {
    background: var(--cream);
}

.cart-item-card__thumb .cart-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.cart-item-card__info {
    min-width: 0;
}

.cart-item-card__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.35;
}

.cart-item-card__title a {
    color: var(--teal-ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-item-card__title a:hover {
    color: var(--terracotta);
}

.cart-item-card__price {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--terracotta);
}

.cart-item-card__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

@media (min-width: 768px) {
    .cart-item-card__actions {
        grid-column: 3;
        grid-row: 1;
        align-items: flex-end;
        justify-self: end;
        min-width: 120px;
    }
}

.cart-qty {
    margin-top: 0;
}

.cart-qty .qty-plus {
    background: var(--teal-deep);
    color: var(--ivory);
}

.cart-qty .qty-plus:hover {
    background: #0b524c;
}

.cart-item-card__subtotal {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--teal-ink);
}

.cart-remove-link {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Karla', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--terracotta);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.cart-remove-link:hover {
    color: var(--maroon);
    opacity: 0.9;
}

.cart-aside {
    width: 100%;
}

.cart-aside .summary-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 24px 24px;
    border: 1px solid rgba(227, 216, 194, 0.85);
    box-shadow: 0 1px 2px rgba(10, 46, 43, 0.04),
    0 8px 28px rgba(10, 46, 43, 0.08);
    width: 100%;
}

.cart-aside .summary-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 22px;
    padding: 0 0 14px;
    color: var(--teal-ink);
    border-bottom: 1px solid var(--line);
    position: relative;
}

.cart-aside .summary-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal-deep));
}

.cart-aside .summary-card h3::before {
    display: none;
}

.coupon-block {
    margin-bottom: 22px;
    padding: 14px;
    background: var(--ivory);
    border: 1px solid rgba(227, 216, 194, 0.7);
    border-radius: 12px;
}

.coupon-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.coupon-input-group {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--line);
    background: #fff;
    box-shadow: 0 1px 3px rgba(10, 46, 43, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coupon-input-group:focus-within {
    border-color: var(--teal-deep);
    box-shadow: 0 0 0 3px rgba(200, 147, 42, 0.22);
}

.coupon-input-group .form-control {
    flex: 1;
    flex-shrink: 0;
    min-width: 0;
    border: none;
    border-radius: 0;
    padding: 11px 14px;
    font-size: 14px;
    background: #fff;
    box-shadow: none;
}

.coupon-input-group .form-control:focus,
.coupon-input-group .form-control:focus-visible {
    outline: none;
    border: none;
    box-shadow: none;
}

.coupon-apply {
    flex-shrink: 0;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    background: linear-gradient(180deg, var(--teal-deep) 0%, var(--teal-ink) 100%);
    color: var(--ivory);
    font-family: 'Karla', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0 20px;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.coupon-apply:hover {
    filter: brightness(1.08);
}

.coupon-apply:active {
    transform: scale(0.98);
}

.cart-aside .summary-rows {
    margin-bottom: 22px;
    padding: 4px 0;
}

.cart-aside .summary-row {
    padding: 10px 0;
    font-size: 14px;
    color: var(--ink-soft);
}

.cart-aside .summary-row span:last-child {
    font-weight: 600;
    color: var(--ink);
}

.cart-aside .summary-row.total {
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 18px;
    font-size: 17px;
    font-weight: 700;
    color: var(--teal-ink);
}

.cart-aside .summary-row.total span:last-child {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--terracotta);
}

.cart-aside .summary-note {
    font-size: 12px;
    color: var(--teal-deep);
    font-weight: 600;
    padding: 8px 12px;
    margin: 2px 0 4px;
    background: rgba(14, 92, 86, 0.07);
    border-radius: 8px;
    justify-content: center;
}

.cart-aside .summary-note:empty {
    display: none;
    padding: 0;
    margin: 0;
}

.summary-checkout {
    margin-top: 0;
    margin-bottom: 10px;
    padding: 14px 20px;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(200, 147, 42, 0.35);
}

.summary-checkout:hover {
    box-shadow: 0 6px 18px rgba(200, 147, 42, 0.42);
}

.btn-cart-continue {
    background: #fff;
    color: var(--ink-soft);
    border: 1.5px solid var(--line);
    font-weight: 600;
    padding: 13px 20px;
}

.btn-cart-continue:hover {
    background: var(--ivory);
    border-color: rgba(14, 92, 86, 0.25);
    color: var(--teal-deep);
    opacity: 1;
}

.summary-note {
    font-size: 12.5px;
    color: var(--teal-deep);
    font-weight: 600;
    padding-top: 0;
    padding-bottom: 0;
}

.summary-card {
    background: var(--ivory);
    border-radius: var(--r-card);
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
    width: 100%;
}

.summary-card h3 {
    font-size: 18px;
    margin-bottom: 18px;
    padding-left: 14px;
    position: relative;
}

.summary-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    bottom: 0.1em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), var(--teal-deep));
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--ink-soft);
}

.summary-row.total {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}

.summary-row.total span:last-child {
    font-family: 'Fraunces', serif;
    color: var(--terracotta);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
}

.empty-state svg {
    margin: 0 auto 20px;
    color: var(--line);
}

.empty-state h2 {
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--ink-soft);
    margin-bottom: 24px;
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 992px) {
    .checkout-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 32px;
    }

    .checkout-main {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .checkout-aside {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        align-self: start;
        position: sticky;
        top: calc(var(--header-offset, var(--header-h)) + 16px);
        z-index: 5;
    }
}

.checkout-aside {
    width: 100%;
}

.checkout-main-panel {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
}

.checkout-main-panel h2 {
    font-size: 20px;
    margin-bottom: 18px;
    padding-left: 14px;
    position: relative;
}

.checkout-main-panel h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), var(--teal-deep));
}

.step-indicator {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--line);
}

.step {
    flex: 1;
    text-align: center;
    padding-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    position: relative;
}

.step.active {
    color: var(--teal-deep);
}

.step.done {
    color: var(--teal-deep);
}

.step::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
}

.step.active::after,
.step.done::after {
    background: var(--gold);
}

.step-num {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--line);
    color: var(--ink-soft);
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-bottom: 6px;
    margin-right: 6px;
}

.step.active .step-num,
.step.done .step-num {
    background: var(--teal-deep);
    color: var(--ivory);
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

.step-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.address-picker {
    margin-bottom: 8px;
}

.address-picker__heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 14px;
}

.address-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.address-card {
    display: block;
    position: relative;
    margin: 0;
    cursor: pointer;
}

.address-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.address-card__body {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.address-card:hover .address-card__body {
    border-color: rgba(14, 92, 86, 0.35);
    box-shadow: 0 4px 16px rgba(10, 46, 43, 0.06);
}

.address-card.is-selected .address-card__body,
.address-card:has(input:checked) .address-card__body {
    border-color: var(--teal-deep);
    background: rgba(14, 92, 86, 0.04);
    box-shadow: 0 0 0 3px rgba(14, 92, 86, 0.1);
}

.address-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: rgba(14, 92, 86, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.address-card__label {
    display: block;
    font-size: 15px;
    color: var(--teal-ink);
    margin-bottom: 6px;
}

.address-card__name {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.address-card__lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.address-card--new {
    width: 100%;
    border: 1.5px dashed rgba(14, 92, 86, 0.35);
    border-radius: 12px;
    background: transparent;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--teal-deep);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.address-card--new:hover {
    border-color: var(--teal-deep);
    background: rgba(14, 92, 86, 0.05);
}

.address-card--new.is-active {
    border-style: solid;
    border-color: var(--teal-deep);
    background: rgba(14, 92, 86, 0.08);
    color: var(--teal-ink);
}

.address-card__plus {
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
}

.address-form-wrap {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.address-form-wrap[hidden] {
    display: none !important;
}

.address-form-title {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--teal-ink);
    margin: 0 0 16px;
}

.address-save-label {
    margin-top: 6px;
    font-size: 14px;
    color: var(--ink-soft);
}

.review-shipping {
    margin-bottom: 24px;
}

.review-shipping-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 20px;
}

.review-shipping-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--teal-ink);
    margin: 0 0 10px;
}

.review-shipping-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.review-shipping-email {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--teal-deep);
    font-weight: 600;
}

.payment-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 480px) {
    .payment-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.payment-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-card);
    padding: 18px;
    cursor: pointer;
    text-align: center;
    background: var(--ivory);
    transition: border-color 0.2s;
}

.payment-card:has(input:checked) {
    border-color: var(--teal-deep);
    background: var(--cream);
}

.payment-card input {
    display: none;
}

.payment-card .icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.payment-card .label {
    font-weight: 700;
    font-size: 14px;
}

.review-items {
    margin-bottom: 20px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.review-item span:last-child {
    font-family: 'Fraunces', serif;
    font-weight: 600;
}

/* ============================================
   ORDER CONFIRMATION
   ============================================ */
.confirm-box {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 28px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
}

.confirm-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--teal-deep);
    color: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
}

.confirm-box h1 {
    margin-bottom: 10px;
}

.confirm-box .order-num {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: var(--teal-deep);
    margin-bottom: 24px;
}

.confirm-summary {
    background: var(--ivory);
    border-radius: var(--r-card);
    padding: 24px;
    text-align: left;
    margin: 28px 0;
    box-shadow: var(--shadow);
}

/* ============================================
   ACCOUNT
   ============================================ */
.account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

@media (min-width: 1024px) {
    .account-layout {
        grid-template-columns: 260px 1fr;
        gap: 48px;
    }
}

.account-sidebar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    border-radius: var(--r-card);
    padding: 20px 16px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
}

.account-sidebar a {
    display: block;
    padding: 13px 16px;
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
    color: var(--ink);
    border-radius: var(--r-pill);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.account-sidebar a:hover:not(.active):not(.logout) {
    background: var(--cream);
    color: var(--teal-deep);
}

.account-sidebar a.active {
    background: var(--teal-deep);
    color: var(--ivory);
}

.account-sidebar a.logout {
    color: var(--terracotta);
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    border-radius: 0;
}

.account-sidebar a.logout:hover {
    color: var(--maroon);
    background: transparent;
}

.account-main {
    min-width: 0;
}

.account-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 24px 28px;
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
}

.account-card__title {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--teal-ink);
    margin: 0 0 18px;
    padding-left: 14px;
    position: relative;
}

.account-card__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    bottom: 0.12em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), var(--teal-deep));
}

.account-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--ink-soft);
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-card {
    background: #ffffff;
    border-radius: var(--r-card);
    padding: 20px 22px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}

@media (min-width: 640px) {
    .order-card {
        grid-template-columns: minmax(0, 1.4fr) auto auto auto;
        gap: 20px;
    }
}

.order-card__id {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--teal-ink);
    line-height: 1.3;
}

.order-card__date {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 4px;
}

.order-card__total {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--terracotta);
    white-space: nowrap;
}

.order-card .badge {
    border-radius: var(--r-pill);
    padding: 6px 14px;
    font-size: 10px;
    white-space: nowrap;
}

.order-card .btn-outline.btn-sm {
    justify-self: start;
    border-radius: var(--r-pill);
    min-width: 72px;
}

.account-cta {
    margin-top: 24px;
}

.order-detail-back {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-deep);
    text-decoration: none;
    margin-bottom: 10px;
}

.order-detail-back:hover {
    color: var(--terracotta);
}

.order-detail-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.order-detail-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 600;
    color: var(--teal-ink);
    margin: 0 0 6px;
}

.order-detail-meta {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 992px) {
    .order-detail-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(280px, 360px);
        gap: 28px;
    }
}

.order-detail-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.order-item:first-child {
    padding-top: 0;
}

.order-item__thumb {
    width: 64px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.order-item__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.order-item__thumb--placeholder svg {
    width: 100%;
    height: 100%;
}

.order-item__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

.order-item__meta {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 4px;
}

.order-item__price {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--terracotta);
    white-space: nowrap;
}

.order-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    color: var(--ink-soft);
}

.order-summary-row span:last-child {
    color: var(--ink);
    font-weight: 600;
}

.order-summary-row--total {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 16px;
}

.order-summary-row--total span:last-child {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: var(--terracotta);
}

.order-detail-address p {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.order-detail-address__name {
    font-weight: 700;
    color: var(--ink) !important;
    margin-bottom: 8px !important;
}

.order-detail-tracking {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--teal-ink);
}

.order-detail-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.account-address-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.account-address-item__body {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 20px 22px;
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
}

.account-address-item__label {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--teal-ink);
    margin: 0 0 8px;
}

.account-address-item__name {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.account-address-item__lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.account-address-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.account-address-form-wrap {
    margin-top: 8px;
}

.account-address-form-wrap[hidden] {
    display: none !important;
}

.account-details-form .field {
    margin-bottom: 16px;
}

.account-details-form .field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .account-details-form .field-row.cols-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.account-details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.account-card + .account-card {
    margin-top: 24px;
}

.orders-table {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.order-row {
    display: none;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .auth-layout {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.auth-page.page-section-surface {
    padding-top: 56px;
    padding-bottom: 64px;
}

.auth-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    align-items: stretch;
}

@media (min-width: 992px) {
    .auth-split {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }
}

.auth-visual {
    position: relative;
    margin: 0;
    min-height: 240px;
    overflow: hidden;
    border-radius: var(--r-card);
}

.auth-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 992px) {
    .auth-visual {
        min-height: 420px;
    }

    .auth-visual img {
        position: absolute;
        inset: 0;
        min-height: 0;
    }
}

.auth-visual__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 32px 28px 36px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 46, 43, 0.55) 35%, rgba(10, 46, 43, 0.88) 100%);
    color: var(--ivory);
}

@media (min-width: 992px) {
    .auth-visual__caption {
        padding: 40px 48px 48px;
    }
}

.auth-visual__caption h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--ivory);
}

.auth-visual__caption p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 253, 248, 0.9);
    max-width: 40ch;
}

.auth-form {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    padding: 28px 24px 32px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: 0 4px 24px rgba(10, 46, 43, 0.08);
}

@media (min-width: 992px) {
    .auth-form {
        padding: 32px 36px 36px;
        justify-content: flex-start;
    }
}

.auth-form__inner {
    width: 100%;
    max-width: none;
}

.auth-form__title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--teal-ink);
    margin: 0 0 8px;
    padding-left: 14px;
    position: relative;
}

.auth-form__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    bottom: 0.1em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), var(--teal-deep));
}

.auth-form__lead {
    color: var(--ink-soft);
    font-size: 14px;
    margin: 0 0 24px;
    padding-left: 14px;
}

.auth-note {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0 0 20px;
    padding: 12px 14px;
    background: rgba(14, 92, 86, 0.06);
    border-radius: 8px;
    border-left: 3px solid var(--teal-deep);
    line-height: 1.5;
}

.auth-note-success {
    color: #166534;
    background: rgba(34, 197, 94, 0.08);
    border-left: 3px solid #22c55e;
}

.auth-note-danger {
    color: #991b1b;
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid #ef4444;
}

.auth-note-warning {
    color: #92400e;
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid #f59e0b;
}

.auth-note-info {
    color: #1e40af;
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid #3b82f6;
}

/* Legacy panel class — kept for any older markup */
.auth-panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 28px;
    box-shadow: 0 4px 24px rgba(10, 46, 43, 0.08);
}

.auth-panel h2 {
    font-size: 22px;
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
}

.auth-panel h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    bottom: 0.12em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--gold), var(--teal-deep));
}

.auth-panel > p {
    color: var(--ink-soft);
    font-size: 14px;
    margin-bottom: 20px;
}

.lost-pw {
    font-size: 13px;
    margin-top: 12px;
    display: inline-block;
    color: var(--teal-deep);
    transition: color 0.2s ease;
}

.lost-pw:hover {
    color: var(--terracotta);
    opacity: 1;
}

.auth-submit {
    margin-top: 12px;
}

.auth-switch {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
}

.auth-switch a {
    font-weight: 700;
    color: var(--teal-deep);
    text-decoration: none;
}

.auth-switch a:hover {
    color: var(--terracotta);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-cards.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-cards:not(.row) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .contact-cards:not(.row) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: var(--ivory);
    border-radius: var(--r-card);
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    border-color: rgba(14, 92, 86, 0.25);
    box-shadow: 0 6px 22px rgba(10, 46, 43, 0.09);
}

.contact-card .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(14, 92, 86, 0.12), rgba(200, 147, 42, 0.14));
    color: var(--teal-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
}

.contact-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0;
}

.contact-layout.row {
    display: flex;
    flex-wrap: wrap;
}

.contact-layout:not(.row) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .contact-layout:not(.row) {
        grid-template-columns: 1fr 1fr;
    }
}

.map-placeholder {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(10, 46, 43, 0.06);
    overflow: hidden;
}

.map-placeholder iframe{
    height: 100% !important;
}

    /* ============================================
       404
       ============================================ */
.error-page {
    padding: 64px 0;
}

.error-page .content-panel {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 28px;
}

.error-code {
    font-family: 'Fraunces', serif;
    font-size: 96px;
    color: var(--teal-deep);
    line-height: 1;
    opacity: 0.3;
}

.error-page h1 {
    margin: 10px 0;
}

.error-page p {
    color: var(--ink-soft);
    margin-bottom: 28px;
}

.error-search {
    max-width: 400px;
    margin: 0 auto 24px;
    display: flex;
    gap: 10px;
}

.error-search input {
    flex: 1;
}

/* ---- Search results ---- */
.search-page-form {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
    padding: 8px 8px 8px 18px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: 0 2px 12px rgba(10, 46, 43, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-page-form:focus-within {
    border-color: var(--teal-deep);
    box-shadow: 0 0 0 3px rgba(200, 147, 42, 0.22);
}

.search-page-form svg {
    flex-shrink: 0;
    align-self: center;
    color: var(--teal-deep);
    opacity: 0.65;
}

.search-page-form .form-control {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 12px 0;
    box-shadow: none;
}

.search-page-form .form-control:focus,
.search-page-form .form-control:focus-visible {
    border: none;
    box-shadow: none;
}

.search-page-form .btn {
    flex-shrink: 0;
    border-radius: var(--r-pill);
    padding-left: 24px;
    padding-right: 24px;
}

.search-empty {
    text-align: center;
    padding: 48px 24px 32px;
    margin-bottom: 8px;
}

.search-empty__icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.55;
}

.search-empty h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    color: var(--teal-ink);
    margin: 0 0 10px;
}

.search-empty p {
    color: var(--ink-soft);
    font-size: 15px;
    max-width: 42ch;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.search-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (max-width: 575px) {
    .search-page-form {
        flex-wrap: wrap;
        border-radius: var(--r-card);
        padding: 14px;
    }

    .search-page-form svg {
        display: none;
    }

    .search-page-form .form-control {
        width: 100%;
        padding: 10px 4px;
    }

    .search-page-form .btn {
        width: 100%;
    }
}

/* ============================================
   MOBILE RESPONSIVE POLISH
   ============================================ */
@media (max-width: 991.98px) {
    .tabbar a {
        font-size: 10px;
        padding: 4px 6px;
        min-width: 0;
    }

    .tabbar svg {
        width: 20px;
        height: 20px;
    }

    /* Fixed mobile header — no shrink on scroll, seamless join to page banner */
    .site-header {
        border-bottom: none !important;
        box-shadow: none !important;
    }

    .site-header .container.site-container {
        border-bottom: none;
    }

    .site-header .mobile-search-bar {
        border-bottom: none;
    }

    main > .page-banner:first-child {
        margin-top: -1px;
        border-top: none;
    }

    .page-banner {
        border-bottom: none;
    }

    .site-header .site-navbar,
    .site-header .brand-logo,
    .site-header .mobile-search-bar {
        transition: none !important;
    }

    body.has-mobile-checkout-bar.has-tabbar,
    body.has-mobile-detail-bar.has-tabbar {
        padding-bottom: calc(var(--tabbar-h) + 68px);
    }

    .cart-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .checkout-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .checkout-aside {
        order: -1;
    }

    .checkout-aside .summary-card {
        padding: 18px 20px;
    }

    .checkout-aside .summary-card h3 {
        font-size: 18px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .checkout-aside .summary-row {
        padding: 8px 0;
        font-size: 14px;
    }

    .checkout-aside .summary-trust {
        margin-top: 8px;
        font-size: 12px;
    }

    .account-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px;
        overflow: visible;
        max-width: 100%;
    }

    .account-sidebar::-webkit-scrollbar {
        display: none;
    }

    .account-sidebar a {
        flex: unset;
        padding: 10px 12px;
        white-space: normal;
        text-align: center;
        font-size: 12px;
        line-height: 1.25;
    }

    .account-sidebar a.logout {
        grid-column: 1 / -1;
        margin-top: 4px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
        border-left: none;
        border-radius: 0;
        padding-left: 12px;
    }

    #account-sidebar {
        min-width: 0;
        max-width: 100%;
    }

    .account-layout {
        min-width: 0;
    }

    .account-card {
        padding: 20px 18px;
    }

    .order-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 12px;
        padding: 16px;
    }

    .order-card__info {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .order-card__id {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .order-card .badge {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: start;
        width: auto;
        max-width: 100%;
    }

    .order-card__total {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
    }

    .order-card .btn-outline.btn-sm {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        align-self: center;
    }

    .auth-page.page-section-surface {
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .auth-visual {
        min-height: 200px;
    }

    .auth-visual img {
        min-height: 200px;
    }

    .auth-visual__caption {
        padding: 24px 20px 28px;
    }

    .auth-form {
        padding: 22px 18px 26px;
    }

    /* Product detail — full-width gallery, no side gap on image card */
    .page-section-surface:has(#product-detail),
    .page-section-surface:has(.product-detail-card) {
        padding-top: 0;
    }

    .page-section-surface:has(#product-detail) > .container.site-container,
    .page-section-surface:has(.product-detail-card) > .container.site-container {
        padding-left: 0;
        padding-right: 0;
    }

    .product-detail-card {
        padding: 0 0 24px;
        border: none;
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
    }

    .detail-grid {
        gap: 0;
    }

    .detail-gallery,
    .detail-info {
        min-width: 0;
    }

    .detail-gallery {
        width: 100%;
        background: #ffffff;
    }

    .detail-gallery__slide,
    .detail-gallery__frame,
    .gallery .main {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        max-height: none;
        aspect-ratio: auto;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        box-shadow: none;
    }

    .detail-gallery-carousel .detail-gallery__slide.has-cover {
        width: 70%;
        max-width: 70%;
        margin-inline: auto;
        background: #ffffff;
        border: none;
    }

    .detail-gallery__slide.has-cover .cover-img-lg,
    .detail-gallery__frame.has-cover .cover-img-lg,
    .gallery .main.has-cover .cover-img-lg {
        width: 100%;
        height: auto;
        max-height: none;
        padding: 12px 0;
    }

    .detail-gallery-thumbs,
    .detail-gallery__thumbs {
        margin-top: 0;
        padding: 14px 16px 0;
    }

    .detail-info {
        padding: 20px 16px 0;
        background: #ffffff;
    }

    .detail-tabs-section {
        margin-top: 0;
        padding: 22px 16px 0;
        background: #ffffff;
        border-top: 1px solid var(--line);
    }

    .detail-purchase {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .detail-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    .detail-add-btn,
    .detail-save-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    :root {
        --hero-banner-height: min(var(--hero-banner-height-max), 52vw);
        --hero-banner-min-height: 120px;
        --hero-banner-fluid-height: 28vw;
    }

    .page-section-surface,
    .page-section.catalog-section {
        padding: 32px 0 40px;
    }

    .page-banner {
        padding: 22px 0 28px;
    }

    .page-banner__title {
        font-size: clamp(1.45rem, 5vw, 1.85rem);
        line-height: 1.2;
    }

    .page-banner__subtitle {
        font-size: 14px;
    }

    .breadcrumb-trail {
        font-size: 12px;
    }

    .pcard .arch {
        height: 220px;
    }

    .pcard .body {
        padding: 12px 12px 14px;
    }

    .pcard .title {
        font-size: 14px;
        line-height: 1.35;
    }

    .pcard-add {
        padding: 9px 12px;
        font-size: 12px;
    }

    .hero-slider-section {
        padding: 12px 0 20px;
    }

    .detail-gallery__slide,
    .detail-gallery__frame,
    .gallery .main {
        min-height: 0;
    }

    .detail-gallery__slide.has-cover .cover-img-lg,
    .detail-gallery__frame.has-cover .cover-img-lg,
    .gallery .main.has-cover .cover-img-lg {
        padding: 12px 0;
    }


    .detail-info {
        padding-inline: 14px;
    }

    .detail-gallery-thumbs,
    .detail-gallery__thumbs {
        padding-inline: 14px;
    }

    .detail-tabs-section {
        padding-inline: 14px;
    }

    .detail-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0 22px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

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

    .detail-tabs.nav-tabs .nav-link {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 13px;
    }

    .detail-trust-list li {
        padding: 10px 12px;
        font-size: 12px;
    }

    .cart-item-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px 14px;
        padding: 14px 16px;
    }

    .cart-item-card__thumb {
        width: 72px;
        height: 90px;
    }

    .cart-item-card__title {
        font-size: 15px;
    }

    .cart-item-card__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .cart-aside .summary-card {
        padding: 20px 18px;
    }

    .checkout-main-panel {
        padding: 20px 16px;
    }

    .step-indicator {
        margin-bottom: 24px;
    }

    .step {
        font-size: 11px;
        padding-bottom: 10px;
    }

    .step-num {
        width: 26px;
        height: 26px;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .toolbar select {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    :root {
        --header-h: 88px;
        --header-h-compact: 88px;
        --header-h-stack: 144px;
    }

    .site-header .site-navbar {
        padding-block: 14px;
        gap: 8px;
    }

    .brand-logo {
        height: 44px;
        max-width: 168px;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .pcard .arch {
        height: 200px;
    }

    .detail-purchase {
        gap: 12px;
    }

    .detail-actions {
        gap: 8px;
    }

    .detail-add-btn,
    .detail-save-btn {
        padding-inline: 12px !important;
        font-size: 13px;
    }

    .coupon-input-group {
        border-radius: 12px;
    }

    .coupon-input-group .form-control {
        padding: 12px 14px;
    }

    .coupon-apply {
        width: 70px;
        padding: 12px 16px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .auth-split {
        gap: 20px;
    }

    .auth-visual__caption h2 {
        font-size: 1.35rem;
    }

    .order-detail-header {
        flex-direction: column;
        gap: 12px;
    }

    .field-row.cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Sticky mobile checkout bar (cart) */
.mobile-checkout-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--tabbar-h);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: var(--ivory);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(10, 46, 43, 0.1);
}

.mobile-checkout-bar[hidden] {
    display: none !important;
}

.mobile-checkout-bar__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mobile-checkout-bar__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.mobile-checkout-bar__total {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--terracotta);
    line-height: 1.1;
}

.mobile-checkout-bar__btn {
    flex-shrink: 0;
    padding: 11px 22px !important;
    font-size: 14px;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .mobile-checkout-bar {
        display: none !important;
    }
}

/* Sticky mobile product detail bar */
.mobile-detail-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--tabbar-h);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--ivory);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(10, 46, 43, 0.1);
    transform: translate3d(0, 100%, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    visibility 0s linear 0.32s;
}

.mobile-detail-bar.is-visible {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    visibility 0s linear 0s;
}

.mobile-detail-bar__info {
    flex: 1;
    min-width: 0;
}

.mobile-detail-bar__title {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--teal-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-detail-bar__price {
    margin: 2px 0 0;
    font-family: 'Fraunces', serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--terracotta);
}

.mobile-detail-bar__btn {
    flex-shrink: 0;
    padding: 10px 18px !important;
    font-size: 13px;
    white-space: nowrap;
    border-radius: var(--r-pill);
}

@media (min-width: 992px) {
    .mobile-detail-bar {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-detail-bar {
        transition: none;
    }

    .mobile-detail-bar.is-visible {
        transition: none;
    }
}

/* ---- Utility ---- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

.mt-0 {
    margin-top: 0;
}
