:root {
    --brand-primary: #e57661;
    --brand-primary-dark: #c95f44;
    --brand-accent: #c69a3d;
    --ink: #221d1b;
    --ink-soft: #6f6560;
    --line: #e8e1d9;
    --surface: #ffffff;
    --surface-alt: #f8f4ef;
    --footer-bg: #221d1b;
    --footer-ink: #cfc6bf;
    --radius-sm: 4px;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", -apple-system, Segoe UI, Roboto, sans-serif;
    --header-h: 64px;
    --topbar-h: 38px;
}

:root[data-theme="dark"] {
    --ink: #f2ece6;
    --ink-soft: #b9afa7;
    --line: #3a332f;
    --surface: #1c1815;
    --surface-alt: #242019;
    --footer-bg: #141110;
    --footer-ink: #b9afa7;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface-alt);
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
button {
    font-family: inherit;
    cursor: pointer;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
}
@media (min-width: 1150px) {
    .container {
        padding: 0 40px;
    }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.scroll-thin {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) var(--surface-alt);
}
.scroll-thin::-webkit-scrollbar {
    width: 6px;
}
.scroll-thin::-webkit-scrollbar-track {
    background: var(--surface-alt);
}
.scroll-thin::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 10px;
}
.scroll-thin::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary-dark);
}

#site-topbar {
    background: var(--brand-primary);
    color: #fff;
    font-size: 13px;
    height: var(--topbar-h);
}
.topbar__inner {
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar__social {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.topbar__social a {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    transition: background 0.2s ease;
}
.topbar__social a:hover {
    background: rgba(255, 255, 255, 0.32);
}
.topbar__message {
    flex: 1;
    position: relative;
    height: 18px;
    overflow: hidden;
}
.topbar__message-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}
.topbar__message-item.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.topbar__message-item i {
    margin-right: 6px;
}
.topbar__track {
    flex-shrink: 0;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.topbar__track:hover {
    color: var(--brand-accent);
}

@media (max-width: 640px) {
    .topbar__social {
        display: none;
    }
    .topbar__message {
        text-align: left;
        font-size: 12px;
    }
}

#site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 0 0 rgba(34, 29, 27, 0);
    transition: box-shadow 0.2s ease;
}
#site-header.is-scrolled {
    box-shadow: 0 6px 20px rgba(34, 29, 27, 0.1);
}
.header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    color: var(--brand-primary);
}
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-logo__image {
    display: block;
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}
.site-logo i {
    font-size: 18px;
    color: var(--brand-accent);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}
.nav-menu > li {
    position: relative;
}
.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    padding: 22px 0;
    color: var(--ink);
    transition: color 0.2s ease;
}
.nav-menu > li > a i {
    font-size: 11px;
    margin-top: 1px;
    color: var(--ink-soft);
}
.nav-menu > li:hover > a,
.nav-menu > li > a.is-active {
    color: var(--brand-primary);
}
.nav-menu__icon-link {
    gap: 8px !important;
}
.nav-menu__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.has-dropdown .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 210px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 28px rgba(34, 29, 27, 0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
    z-index: 20;
}
.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.nav-dropdown li a {
    display: block;
    padding: 9px 20px;
    font-size: 14px;
    color: var(--ink-soft);
}
.nav-dropdown li a:hover {
    background: var(--surface-alt);
    color: var(--brand-primary);
}

.has-megamenu {
    position: relative;
}
.mega-menu {
    position: fixed;
    left: 0;
    width: 100%;
    background: #f8f5f5;
    border-top: 2px solid var(--brand-primary);
    border-bottom: 2px solid var(--brand-primary);
    box-shadow: 0 24px 48px rgba(34, 29, 27, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 600;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.mega-menu.is-open {
    visibility: visible;
    pointer-events: auto;
}
.mega-menu__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 20px 30px;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.3fr 1fr 1.3fr;
    gap: 30px;
}
.mega-menu__col h5 {
    font-size: 11px;
    line-height: 15px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--ink);
    margin: 0 0 10px;
    font-weight: 700;
}
.mega-menu__col ul li {
    margin-bottom: 9px;
}
.mega-menu__col ul li a {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 500;
    color: #121212;
    transition: color 0.15s ease;
}
.mega-menu__col ul li a:hover {
    color: var(--brand-primary);
}
.mega-menu__col ul li a.mega-menu__viewall {
    color: var(--brand-primary);
    font-weight: 600;
}
.mega-menu__item-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mega-menu__featured h5 {
    color: var(--ink);
}
.mega-menu__products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.mega-menu__product {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    text-align: left;
    background: var(--surface);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.mega-menu__product:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 6px 16px rgba(34, 29, 27, 0.08);
}
.mega-menu__product img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    margin-bottom: 10px;
    background: var(--surface-alt);
    border-radius: 6px;
    padding: 8px;
}
.mega-menu__product-name {
    font-size: 12.5px;
    color: #121212;
    margin: 0 0 5px;
    line-height: 1.35;
    font-weight: 500;
}
.mega-menu__product-price {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-primary);
}
.mega-menu__product-price del {
    color: var(--ink-soft);
    font-weight: 400;
    margin-left: 5px;
}

@media (max-width: 1150px) {
    .mega-menu__inner {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .mega-menu__featured {
        grid-column: 1 / -1;
        max-width: 260px;
    }
}
@media (max-width: 991px) {
    .mega-menu {
        display: none !important;
    }
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.header-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    font-size: 17px;
    color: var(--ink);
    border-radius: 50%;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.header-icon-btn:hover {
    background: var(--surface-alt);
    color: var(--brand-primary);
}
.header-icon-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    padding: 0 3px;
}

#search-bar {
    position: fixed;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(34, 29, 27, 0.12);
    z-index: 650;
    visibility: hidden;
}
.search-bar__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.search-bar__inner i.fa-magnifying-glass {
    font-size: 18px;
    color: var(--brand-primary);
    flex-shrink: 0;
}
.search-bar__inner input {
    flex: 1;
    border: none;
    border-bottom: 2px solid var(--line);
    padding: 8px 2px;
    font-size: 18px;
    font-family: var(--font-display);
    background: none;
    outline: none;
    color: var(--ink);
}
.search-bar__inner input:focus {
    border-bottom-color: var(--brand-primary);
}
.search-bar__close {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: none;
    background: var(--surface-alt);
    border-radius: 50%;
    font-size: 15px;
    color: var(--ink);
}

.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--ink);
}

@media (max-width: 991px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .header__inner {
        gap: 10px;
    }
    .site-logo {
        font-size: 23px;
        order: 1;
    }
    .header__actions {
        order: 2;
    }
    .mobile-menu-toggle {
        order: 3;
    }
}
@media (max-width: 768px) {
    .header-search,
    .header__actions a.header-icon-btn {
        display: none;
    }
    .mobile-menu-toggle {
        margin-left: auto;
    }
}

#mobile-menu-overlay,
#category-menu-overlay,
#side-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(34, 29, 27, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 900;
}
#mobile-menu-overlay.is-open,
#category-menu-overlay.is-open,
#side-cart-overlay.is-open {
    visibility: visible;
}

#mobile-menu,
#category-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 86%;
    max-width: 340px;
    background: var(--surface);
    transform: translateX(-100%);
    z-index: 901;
    display: flex;
    flex-direction: column;
}

.mobile-menu__header,
.category-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}
.mobile-menu__header .site-logo,
.category-menu__header .site-logo {
    font-size: 22px;
}
.mobile-menu__close,
.category-menu__close {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--surface-alt);
    border-radius: 50%;
    font-size: 16px;
    color: var(--ink);
}

.mobile-menu__body,
.category-menu__body {
    flex: 1;
    overflow-y: auto;
    padding: 4px 0 20px;
}

.mobile-nav > li {
    border-bottom: 1px solid var(--line);
}
.mobile-nav__link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-size: 15.5px;
    font-weight: 500;
}

.mobile-menu__quickrow {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}
.mobile-menu__quickbtn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: none;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
}
.mobile-menu__quickbtn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.mobile-menu__help {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}
.mobile-menu__help-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    text-decoration: underline;
}
.mobile-menu__help p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0 0 8px;
}
.mobile-menu__help p strong {
    color: var(--ink);
}

.mobile-menu__footer {
    border-top: 1px solid var(--line);
    padding: 16px 20px 22px;
    flex-shrink: 0;
}
.mobile-menu__login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submenu-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
.submenu-collapse > * {
    overflow: hidden;
    min-height: 0;
}
.has-submenu.is-open > .submenu-collapse {
    grid-template-rows: 1fr;
}
.mobile-submenu {
    background: var(--surface-alt);
}
.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 32px;
    font-size: 14.5px;
    color: var(--ink-soft);
}

.cat-tree-wrap {
    padding: 2px 0;
}
.cat-tree__item {
    border-top: 1px solid var(--line);
}
.cat-tree-wrap > .cat-tree__item:first-child {
    border-top: none;
}
.cat-tree__row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.cat-tree__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.cat-tree__label {
    flex: 1;
    line-height: 1.3;
}
.cat-tree__toggle-icon {
    font-size: 11px;
    color: var(--ink-soft);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-tree__row--leaf {
    color: var(--ink-soft);
    padding-left: 20px;
    font-size: 14px;
}
.cat-tree__row--leaf .cat-tree__icon {
    width: 28px;
    height: 28px;
}
.cat-tree__collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}
.cat-tree__collapse > * {
    overflow: hidden;
    min-height: 0;
}
.cat-tree__item.is-open > .cat-tree__collapse {
    grid-template-rows: 1fr;
}
.cat-tree__children {
    background: var(--surface-alt);
}
.cat-tree__children .cat-tree__item {
    border-top: 1px solid var(--line);
}
.cat-tree__children .cat-tree__row {
    padding-left: 44px;
}
.category-menu__viewall {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
    border-top: 1px solid var(--line);
    background: var(--surface);
    flex-shrink: 0;
}

#mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(34, 29, 27, 0.08);
    z-index: 800;
}
.mobile-bottom-nav__inner {
    display: flex;
    width: 100%;
}
.mobile-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 4px 8px;
    border: none;
    background: none;
    color: var(--ink-soft);
    font-size: 10.5px;
    font-weight: 600;
    position: relative;
    transition: color 0.15s ease;
}
.mobile-bottom-nav__item i {
    font-size: 18px;
}
.mobile-bottom-nav__item.is-active {
    color: var(--brand-primary);
}
.mobile-bottom-nav__badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 20px);
    min-width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    #mobile-bottom-nav {
        display: block;
    }
    body {
        padding-bottom: 60px;
    }
}

#main-content {
    max-width: 1280px;
    margin: 32px auto;
    padding: 0 20px;
}
.content-placeholder {
    border: 2px dashed var(--line);
    border-radius: 8px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    font-size: 14px;
    text-align: center;
    padding: 24px;
}

.demo-products {
    margin: 40px auto 8px;
}
.demo-products h2 {
    font-family: var(--font-display);
    font-size: 26px;
    margin: 0 0 18px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}
.product-card__media {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--surface-alt);
    overflow: hidden;
}
.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.35s ease;
}
.product-card:hover .product-card__media img {
    transform: scale(1.04);
}
.product-card__actions {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(8px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}
.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateX(0);
}
.product-card__actions button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    box-shadow: 0 4px 10px rgba(34, 29, 27, 0.1);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.product-card__actions button:hover {
    background: var(--brand-primary);
    color: #fff;
}
.product-card__actions .product-card__cart-icon {
    display: none;
}
.product-card__quickadd {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}
.product-card:hover .product-card__quickadd {
    opacity: 1;
    transform: translateY(0);
}
.product-card__body {
    padding: 14px 14px 16px;
}
.product-card__title {
    font-size: 14.5px;
    font-weight: 500;
    margin: 0 0 6px;
}
.product-card__price {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--brand-primary);
}
.product-card__price del {
    color: var(--ink-soft);
    font-weight: 400;
    margin-left: 6px;
    font-size: 13px;
}

/* ===================== PRODUCT CARD — GRID ACTIONS ON MOBILE ===================== */
@media (max-width: 768px) {
    .product-card__actions {
        opacity: 1;
        transform: none;
    }
    .product-card__actions .product-card__cart-icon {
        display: flex;
    }
    .product-card__quickadd {
        display: none;
    }
}

#side-cart {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 92%;
    background: var(--surface);
    transform: translateX(100%);
    z-index: 951;
    display: flex;
    flex-direction: column;
}
.side-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}
.side-cart__header h3 {
    font-family: var(--font-display);
    font-size: 21px;
    margin: 0;
}
.side-cart__close {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--surface-alt);
    border-radius: 50%;
    font-size: 16px;
    color: var(--ink);
}
.side-cart__progress {
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}
.side-cart__progress-track {
    height: 5px;
    background: var(--line);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 9px;
}
.side-cart__progress-bar {
    height: 100%;
    width: 0%;
    background: var(--brand-primary);
    transition: width 0.35s ease;
}
.side-cart__progress-text {
    font-size: 12px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 6px;
}
.side-cart__progress-text i {
    color: var(--brand-primary);
}
.side-cart__body {
    flex: 1;
    overflow-y: auto;
    padding: 6px 20px;
}
.side-cart__empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--ink-soft);
    text-align: center;
}
.side-cart__empty i {
    font-size: 36px;
    color: var(--line);
}
.side-cart__empty p {
    margin: 0;
    font-size: 14px;
}
.cart-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: var(--surface-alt);
    border-radius: 6px;
    padding: 6px;
    flex-shrink: 0;
}
.cart-item__info {
    flex: 1;
    min-width: 0;
}
.cart-item__title {
    font-size: 13.5px;
    margin: 0 0 6px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cart-item__price {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 9px;
}
.cart-item__remove {
    border: none;
    background: none;
    color: var(--ink-soft);
    font-size: 13px;
    margin-left: auto;
    align-self: flex-start;
    flex-shrink: 0;
}
.cart-item__remove:hover {
    color: var(--brand-primary);
}
.qty-selector--sm {
    transform: scale(0.92);
    transform-origin: left center;
}
.qty-selector--sm button {
    width: 28px;
    height: 30px;
    font-size: 14px;
}
.qty-selector--sm input {
    width: 32px;
    font-size: 13px;
}
.side-cart__footer {
    border-top: 1px solid var(--line);
    padding: 18px 20px 22px;
    flex-shrink: 0;
}
.side-cart__subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 6px;
}
.side-cart__note {
    font-size: 12px;
    color: var(--ink-soft);
    margin: 0 0 16px;
}
.side-cart__note a {
    color: var(--ink-soft);
    text-decoration: underline;
}
.side-cart__actions {
    display: flex;
    gap: 10px;
}
.btn-outline {
    flex: 1;
    border: 1px solid var(--ink);
    background: #fff;
    color: var(--ink);
    padding: 13px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.btn-outline:hover {
    background: var(--surface-alt);
}
.btn-solid {
    flex: 1;
    border: none;
    background: var(--ink);
    color: #fff;
    padding: 13px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.btn-solid:hover {
    background: var(--brand-primary);
}

#site-footer {
    background: var(--footer-bg);
    color: var(--footer-ink);
    margin-top: 60px;
}
.footer__top {
    padding: 56px 0 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 36px;
}
.footer__brand .site-logo {
    color: #fff;
}
.footer__brand p {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--footer-ink);
    margin: 14px 0 18px;
    max-width: 280px;
}
.footer__socials {
    display: flex;
    gap: 10px;
}
.footer__socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
    transition: background 0.2s ease;
}
.footer__socials a:hover {
    background: var(--brand-primary);
}
.footer-col h4 {
    font-size: 14.5px;
    color: #fff;
    margin: 0 0 18px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.footer-col ul li {
    margin-bottom: 11px;
}
.footer-col ul li a {
    font-size: 13.5px;
    color: var(--footer-ink);
    transition: color 0.2s ease;
}
.footer-col ul li a:hover {
    color: var(--brand-accent);
}
.footer-newsletter p {
    font-size: 13.5px;
    color: var(--footer-ink);
    margin: 0 0 14px;
    line-height: 1.6;
}
.footer-newsletter form {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}
.footer-newsletter input {
    flex: 1;
    border: none;
    padding: 11px 12px;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
}
.footer-newsletter button {
    border: none;
    background: var(--brand-primary);
    color: #fff;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
}
.footer-newsletter button:hover {
    background: var(--brand-primary-dark);
}
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 12.5px;
    color: #a99f98;
}
.footer__payments {
    display: flex;
    gap: 10px;
    font-size: 26px;
}
.footer__payments .payment-visa {
    color: #1a1f71;
}
.footer__payments .payment-paypal {
    color: #003087;
}
.footer__payments .payment-mastercard {
    color: #eb001b;
}
.footer__payments .payment-amex {
    color: #2e77bc;
}
.footer__payments .payment-diners {
    color: #0079be;
}

@media (max-width: 900px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 560px) {
    .footer__top {
        grid-template-columns: 1fr;
        padding: 40px 20px 30px;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}
/* ===================== AUTH PAGES (Login / Register) ===================== */
.auth-wrap {
    padding: 8px 0 12px;
}
.auth-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(34, 29, 27, 0.06);
}
@media (min-width: 992px) {
    .auth-grid {
        grid-template-columns: 0.85fr 1fr;
        min-height: 620px;
    }
}

.auth-side {
    display: none;
    position: relative;
    padding: 44px 40px;
    color: #fff;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255, 255, 255, 0.1),
            transparent 40%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(255, 255, 255, 0.08),
            transparent 45%
        ),
        linear-gradient(155deg, var(--brand-primary-dark), #3a1f18 78%);
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 992px) {
    .auth-side {
        display: flex;
    }
}
.auth-side__badge {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
}
.auth-side__badge i {
    font-size: 15px;
    color: #f0d9a3;
}
.auth-side h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 30px;
    line-height: 1.28;
    color: #fff;
    margin: 26px 0 14px;
    max-width: 320px;
}
.auth-side p {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 300px;
    margin: 0 0 22px;
}
.auth-usp {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
}
.auth-usp li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}
.auth-usp i {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.auth-side__quote {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 16px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 26px;
}
.auth-side__quote strong {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 3px;
}

.auth-box {
    padding: 40px 30px 34px;
    display: flex;
    align-items: center;
}
.auth-box__inner {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}
.auth-box h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 27px;
    margin: 0 0 6px;
    text-align: center;
    color: var(--ink);
}
.auth-sub {
    text-align: center;
    color: var(--ink-soft);
    font-size: 13.5px;
    margin: 0 0 24px;
}

.auth-tabs {
    position: relative;
    display: flex;
    background: var(--surface-alt);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 24px;
}
.auth-tab {
    position: relative;
    z-index: 2;
    flex: 1;
    border: none;
    background: none;
    padding: 10px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    border-radius: 999px;
    transition: color 0.25s ease;
}
.auth-tab.is-active {
    color: #fff;
}
.auth-tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--brand-primary);
    border-radius: 999px;
    z-index: 1;
}

.auth-tab-panel {
    display: none;
}
.auth-tab-panel.is-active {
    display: block;
}

.auth-field {
    margin-bottom: 15px;
}
.auth-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.auth-input-wrap:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(229, 118, 97, 0.14);
}
.auth-input-wrap > i {
    width: 40px;
    flex-shrink: 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 13px;
}
.auth-input-wrap__prefix {
    padding: 0 4px 0 14px;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 13.5px;
    flex-shrink: 0;
}
.auth-input-wrap input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: none;
    padding: 12px 12px 12px 0;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
}
.auth-input-wrap input::placeholder {
    color: #b7ada6;
}
.auth-input-wrap__toggle {
    border: none;
    background: none;
    width: 40px;
    flex-shrink: 0;
    color: var(--ink-soft);
    font-size: 13px;
}
.auth-input-wrap__toggle:hover {
    color: var(--brand-primary);
}
.auth-field-error {
    color: #c0392b;
    font-size: 11.5px;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 5px;
}
.auth-field.has-error .auth-input-wrap {
    border-color: #c0392b;
}
.auth-field.has-error .auth-field-error {
    display: flex;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}
.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--ink-soft);
    cursor: pointer;
}
.auth-checkbox input {
    accent-color: var(--brand-primary);
    width: 14px;
    height: 14px;
}
.auth-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-primary);
}
.auth-link:hover {
    text-decoration: underline;
}
.auth-link.is-disabled {
    color: var(--ink-soft);
    pointer-events: none;
}

.btn-auth {
    width: 100%;
    border: none;
    background: var(--ink);
    color: #fff;
    padding: 13px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        background 0.2s ease,
        transform 0.1s ease;
}
.btn-auth:hover {
    background: var(--brand-primary);
}
.btn-auth:active {
    transform: scale(0.98);
}
.btn-auth:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.auth-otp-hint {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 0 0 16px;
    line-height: 1.6;
}
.auth-otp-hint strong {
    color: var(--ink);
}
.auth-otp-hint a {
    color: var(--brand-primary);
    font-weight: 600;
    margin-left: 4px;
}

.auth-otp-inputs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.auth-otp-box {
    flex: 1;
    aspect-ratio: 1/1;
    min-width: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    outline: none;
    color: var(--ink);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.auth-otp-box:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(229, 118, 97, 0.14);
}
.auth-otp-box.is-filled {
    border-color: var(--brand-primary);
}
.auth-otp-box.is-error {
    border-color: #c0392b;
    animation: auth-otp-shake 0.4s ease;
}
@keyframes auth-otp-shake {
    0%,
    100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-6px);
    }
    40% {
        transform: translateX(6px);
    }
    60% {
        transform: translateX(-4px);
    }
    80% {
        transform: translateX(4px);
    }
}

.auth-otp-resend {
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 16px;
    color: var(--ink-soft);
    font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.btn-auth-social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1.5px solid var(--line);
    background: var(--surface);
    padding: 11px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}
.btn-auth-social:hover {
    border-color: var(--brand-primary);
    background: var(--surface-alt);
}
.btn-auth-social img,
.btn-auth-social svg {
    width: 17px;
    height: 17px;
}

.auth-footer-text {
    text-align: center;
    font-size: 13px;
    color: var(--ink-soft);
    margin: 20px 0 0;
}
.auth-footer-text a {
    color: var(--brand-primary);
    font-weight: 700;
}

/* Register stepper */
.auth-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.auth-stepper__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line);
    transition: all 0.3s ease;
}
.auth-stepper__dot.is-active {
    width: 20px;
    border-radius: 5px;
    background: var(--brand-primary);
}
.auth-stepper__dot.is-done {
    background: var(--brand-primary);
    opacity: 0.5;
}

.auth-step {
    display: none;
}
.auth-step.is-active {
    display: block;
}

.auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 400px) {
    .auth-grid-2 {
        grid-template-columns: 1fr;
    }
}

.auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 20px;
    line-height: 1.5;
}
.auth-terms input {
    margin-top: 3px;
    accent-color: var(--brand-primary);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.auth-terms a {
    color: var(--brand-primary);
    font-weight: 600;
}

.btn-auth-ghost {
    width: 100%;
    border: 1.5px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    margin-top: 10px;
}
.btn-auth-ghost:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.auth-strength {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}
.auth-strength span {
    height: 4px;
    flex: 1;
    border-radius: 3px;
    background: var(--line);
    transition: background 0.25s ease;
}
.auth-strength-label {
    font-size: 11px;
    color: var(--ink-soft);
    margin-top: 5px;
}

.auth-success-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #e9f7ef;
    color: #1c8a53;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

/* App-like mobile treatment: card goes edge-to-edge, larger tap targets */
@media (max-width: 767px) {
    #main-content:has(.auth-wrap) {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }
    .auth-wrap {
        padding: 0;
    }
    .auth-grid {
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
    .auth-box {
        padding: 28px 20px 32px;
    }
    .auth-box h1 {
        font-size: 24px;
    }
    .btn-auth {
        padding: 14px;
        font-size: 14.5px;
    }
    .auth-tab {
        padding: 12px;
    }
}
.auth-form-alert {
    display: none;
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.25);
    color: #c0392b;
    font-size: 12.5px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}
/* ===================== HERO SLIDER ===================== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--surface-alt);
    user-select: none;
}

.hero-slider__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    overflow: hidden;
}

.hero-slider__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

/* Arrows */
.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(34, 29, 27, 0.2);
    z-index: 3;
    opacity: 0.92;
    transition:
        background 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.hero-slider__arrow:hover {
    background: var(--brand-primary-dark);
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.hero-slider__arrow--prev {
    left: 18px;
}
.hero-slider__arrow--next {
    right: 18px;
}

/* Dots */
.hero-slider__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-slider__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.75);
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-slider__dot.is-active {
    width: 26px;
    border-radius: 6px;
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* Mobile: taller aspect ratio (portrait banners), smaller arrows */
@media (max-width: 767px) {
    .hero-slider__viewport {
        aspect-ratio: 2 / 3;
    }
    .hero-slider__arrow {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
    .hero-slider__arrow--prev {
        left: 10px;
    }
    .hero-slider__arrow--next {
        right: 10px;
    }
    .hero-slider__dots {
        bottom: 12px;
    }
    .hero-slider__dot {
        width: 7px;
        height: 7px;
    }
    .hero-slider__dot.is-active {
        width: 20px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-slider__viewport {
        aspect-ratio: 16 / 7;
    }
}

/* Large desktop */
@media (min-width: 1400px) {
    .hero-slider__viewport {
        aspect-ratio: 16 / 5.5;
    }
}
/* ===================== HEADER ACCOUNT (logged in) ===================== */
.header-account-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.header-account-link i {
    font-size: 14px;
    color: var(--brand-primary);
}

.header-account-link:hover {
    background: var(--brand-primary);
    color: #fff;
}

.header-account-link:hover i {
    color: #fff;
}

/* Hide the greeting text on small screens — keep just the icon */
@media (max-width: 768px) {
    .header-account-link {
        padding: 0;
        width: 40px;
        justify-content: center;
        background: none;
    }
    .header-account-link__text {
        display: none;
    }
    .header-account-link:hover {
        background: var(--surface-alt);
        color: var(--ink);
    }
    .header-account-link:hover i {
        color: var(--brand-primary);
    }
}
/* ===================== CONTACT PAGE ===================== */
.contact-wrap {
    padding: 8px 0 40px;
}

/* ---------- Hero ---------- */
.contact-hero {
    text-align: center;
    max-width: 640px;
    margin: 8px auto 34px;
}
.contact-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin: 0 0 8px;
}
.contact-hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--ink);
}
.contact-hero__sub {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0;
}

/* ---------- Quick contact cards ---------- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 18px;
    text-align: left;
    color: var(--ink);
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    display: block;
}
a.contact-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(34, 29, 27, 0.07);
}
.contact-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(229, 118, 97, 0.12);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 12px;
}
.contact-card h3 {
    font-size: 14.5px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--ink);
}
.contact-card p {
    font-size: 13.5px;
    margin: 0 0 6px;
    color: var(--ink);
    font-weight: 500;
    word-break: break-word;
}
.contact-card__meta {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.5;
}
.contact-card--static {
    cursor: default;
}

/* ---------- Main grid ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: start;
}

/* ---------- Form card ---------- */
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 32px 30px;
    box-shadow: 0 10px 34px rgba(34, 29, 27, 0.05);
}
.contact-form-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    margin: 0 0 6px;
    color: var(--ink);
}
.contact-form-card__sub {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin: 0 0 22px;
    line-height: 1.6;
}

.contact-alert {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.contact-alert--success {
    background: rgba(28, 138, 83, 0.1);
    border: 1px solid rgba(28, 138, 83, 0.3);
    color: #1c8a53;
}
.contact-alert.is-visible {
    display: flex;
}

/* Rows / fields */
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-field {
    margin-bottom: 16px;
}
.contact-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.contact-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.contact-input-wrap:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(229, 118, 97, 0.14);
}
.contact-input-wrap > i {
    width: 40px;
    flex-shrink: 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 13px;
}
.contact-input-wrap input,
.contact-input-wrap textarea {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: none;
    padding: 12px 12px 12px 0;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    resize: vertical;
}
.contact-input-wrap input::placeholder,
.contact-input-wrap textarea::placeholder {
    color: #b7ada6;
}
.contact-input-wrap--textarea {
    align-items: flex-start;
    padding: 12px 12px 12px 0;
}
.contact-input-wrap--textarea textarea {
    padding: 0;
    min-height: 120px;
}

/* Errors */
.contact-field-error {
    display: none;
    color: #c0392b;
    font-size: 11.5px;
    margin-top: 5px;
    align-items: center;
    gap: 5px;
}
.contact-field.has-error .contact-input-wrap {
    border-color: #c0392b;
}
.contact-field.has-error .contact-field-error {
    display: flex;
}

/* Consent */
.contact-terms {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 4px 0 20px;
    cursor: pointer;
}
.contact-terms input {
    margin-top: 3px;
    accent-color: var(--brand-primary);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Submit button (reuses btn-auth look) */
.btn-contact {
    width: 100%;
    border: none;
    background: var(--ink);
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition:
        background 0.2s ease,
        transform 0.1s ease;
}
.btn-contact:hover {
    background: var(--brand-primary);
}
.btn-contact:active {
    transform: scale(0.98);
}
.btn-contact:disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* ---------- Info side ---------- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-info__block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 22px 22px 20px;
}
.contact-info__block h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--ink);
}
.contact-info__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-info__list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.contact-info__list li > i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.contact-info__list li strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}
.contact-info__list li a {
    font-size: 13px;
    color: var(--ink-soft);
    word-break: break-all;
}
.contact-info__list li a:hover {
    color: var(--brand-primary);
}

.contact-hours {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.contact-hours li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-soft);
    padding-bottom: 9px;
    border-bottom: 1px dashed var(--line);
}
.contact-hours li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.contact-hours li span:last-child {
    color: var(--ink);
    font-weight: 600;
}
.contact-hours .is-muted {
    color: var(--ink-soft) !important;
    font-weight: 500 !important;
}

.contact-socials {
    display: flex;
    gap: 10px;
}
.contact-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-alt);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.contact-socials a:hover {
    background: var(--brand-primary);
    color: #fff;
}

.contact-info__block--accent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: linear-gradient(
        150deg,
        rgba(229, 118, 97, 0.1),
        rgba(198, 154, 61, 0.08)
    );
    border-color: rgba(229, 118, 97, 0.25);
}
.contact-info__block--accent > i {
    color: var(--brand-primary);
    font-size: 20px;
    margin-top: 2px;
}
.contact-info__block--accent strong {
    display: block;
    font-size: 13.5px;
    color: var(--ink);
    margin-bottom: 3px;
}
.contact-info__block--accent p {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.55;
}

/* ---------- FAQ ---------- */
.contact-faq {
    margin-top: 40px;
}
.contact-faq h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 18px;
    color: var(--ink);
}
.contact-faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.contact-faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.contact-faq details[open] {
    border-color: var(--brand-primary);
}
.contact-faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}
.contact-faq summary::-webkit-details-marker {
    display: none;
}
.contact-faq summary i {
    font-size: 11px;
    color: var(--ink-soft);
    transition: transform 0.2s ease;
}
.contact-faq details[open] summary i {
    transform: rotate(180deg);
    color: var(--brand-primary);
}
.contact-faq details p {
    margin: 0;
    padding: 0 18px 16px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink-soft);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero__title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    #main-content {
        margin: 20px auto;
        padding: 0 16px;
    }
    .contact-hero {
        margin-bottom: 26px;
    }
    .contact-hero__title {
        font-size: 28px;
    }
    .contact-hero__sub {
        font-size: 13.5px;
    }
    .contact-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .contact-card {
        padding: 16px 14px;
    }
    .contact-card__icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
        margin-bottom: 10px;
    }
    .contact-form-card {
        padding: 24px 20px;
    }
    .contact-form-card__title {
        font-size: 22px;
    }
    .contact-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-faq__grid {
        grid-template-columns: 1fr;
    }
    .contact-info__block {
        padding: 18px 18px 16px;
    }
}

@media (max-width: 480px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .contact-hero__title {
        font-size: 24px;
    }
    .contact-faq summary {
        font-size: 13px;
        padding: 14px 16px;
    }
    .contact-faq details p {
        padding: 0 16px 14px;
    }
}

/* Dark mode tweaks (already supported by your CSS vars) */
:root[data-theme="dark"] .contact-alert--success {
    background: rgba(28, 138, 83, 0.16);
}
/* ===================== LEGAL / POLICY PAGES ===================== */
.legal-wrap {
    padding: 8px 0 40px;
}

/* Hero */
.legal-hero {
    text-align: center;
    max-width: 720px;
    margin: 8px auto 30px;
}
.legal-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin: 0 0 8px;
}
.legal-hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--ink);
}
.legal-hero__sub {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 12px;
}
.legal-hero__updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--ink-soft);
    padding: 6px 12px;
    background: var(--surface-alt);
    border-radius: 999px;
}
.legal-hero__updated i {
    color: var(--brand-primary);
}

/* Layout: sidebar TOC + content */
.legal-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* TOC */
.legal-toc {
    position: sticky;
    top: calc(var(--header-h) + var(--topbar-h) + 16px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 18px;
}
.legal-toc__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ink);
}
.legal-toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
}
.legal-toc li {
    counter-increment: toc;
    margin-bottom: 6px;
}
.legal-toc a {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-soft);
    padding: 6px 0;
    line-height: 1.4;
    transition: color 0.15s ease;
}
.legal-toc a::before {
    content: counter(toc, decimal-leading-zero);
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 11.5px;
    flex-shrink: 0;
    padding-top: 1px;
}
.legal-toc a:hover {
    color: var(--brand-primary);
}
.legal-toc__contact {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.legal-toc__contact strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    margin-bottom: 4px;
}
.legal-toc__contact a {
    color: var(--brand-primary);
    font-weight: 600;
}

/* Content */
.legal-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 32px 32px 36px;
    box-shadow: 0 10px 34px rgba(34, 29, 27, 0.05);
}
.legal-content > *:first-child {
    margin-top: 0;
}
.legal-content h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin: 34px 0 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 20px);
}
.legal-content h2:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}
.legal-content h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin: 22px 0 8px;
    scroll-margin-top: calc(var(--header-h) + var(--topbar-h) + 20px);
}
.legal-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 18px 0 6px;
}
.legal-content p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0 0 14px;
}
.legal-content strong {
    color: var(--ink);
    font-weight: 600;
}
.legal-content a {
    color: var(--brand-primary);
    font-weight: 600;
}
.legal-content a:hover {
    text-decoration: underline;
}
.legal-content ul,
.legal-content ol {
    margin: 0 0 16px;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-soft);
}
.legal-content ul li,
.legal-content ol li {
    margin-bottom: 7px;
}
.legal-content ul {
    list-style: none;
    padding-left: 0;
}
.legal-content ul li {
    position: relative;
    padding-left: 22px;
}
.legal-content ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-primary);
}

/* Intro callout */
.legal-intro {
    background: linear-gradient(
        150deg,
        rgba(229, 118, 97, 0.1),
        rgba(198, 154, 61, 0.08)
    );
    border: 1px solid rgba(229, 118, 97, 0.25);
    border-radius: 10px;
    padding: 18px 20px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0 0 26px;
}
.legal-intro p:last-child {
    margin-bottom: 0;
}

/* Highlighted note */
.legal-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--surface-alt);
    border-left: 3px solid var(--brand-primary);
    border-radius: 6px;
    padding: 14px 16px;
    margin: 18px 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ink);
}
.legal-note > i {
    color: var(--brand-primary);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}
.legal-note strong {
    display: block;
    margin-bottom: 3px;
}

/* Contact info card at end of policies */
.legal-contact-card {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 22px;
    margin-top: 22px;
}
.legal-contact-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
}
.legal-contact-card ul {
    padding-left: 0;
    margin: 0;
}
.legal-contact-card li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    margin: 0;
    font-size: 13.5px;
    border-bottom: 1px dashed var(--line);
}
.legal-contact-card li:last-child {
    border-bottom: 0;
}
.legal-contact-card li::before {
    display: none;
}
.legal-contact-card li > i {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.legal-contact-card li strong {
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 500;
    margin-bottom: 2px;
}
.legal-contact-card li a,
.legal-contact-card li span {
    color: var(--ink);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.5;
}

/* Responsive table (shipping, refunds) */
.legal-table-wrap {
    overflow-x: auto;
    margin: 16px 0 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    -webkit-overflow-scrolling: touch;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 540px;
}
.legal-table th,
.legal-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    vertical-align: top;
}
.legal-table th {
    background: var(--surface-alt);
    font-weight: 700;
    color: var(--ink);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.legal-table tr:last-child td {
    border-bottom: 0;
}

/* FAQ accordion */
.faq-group {
    margin-bottom: 30px;
}
.faq-group__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.faq-group__title i {
    color: var(--brand-primary);
    font-size: 18px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    transition: border-color 0.2s ease;
}
.faq-item[open] {
    border-color: var(--brand-primary);
}
.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    line-height: 1.4;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary i {
    font-size: 11px;
    color: var(--ink-soft);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.faq-item[open] summary i {
    transform: rotate(180deg);
    color: var(--brand-primary);
}
.faq-item__answer {
    padding: 0 18px 18px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    border-top: 1px dashed var(--line);
    margin-top: 0;
    padding-top: 14px;
}
.faq-item__answer p:last-child {
    margin-bottom: 0;
}

/* FAQ hero search */
.faq-search {
    position: relative;
    max-width: 520px;
    margin: 22px auto 0;
}
.faq-search i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--ink-soft);
    font-size: 14px;
}
.faq-search input {
    width: 100%;
    padding: 14px 18px 14px 44px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.faq-search input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(229, 118, 97, 0.14);
}

/* FAQ bottom CTA */
.legal-cta {
    margin-top: 34px;
    text-align: center;
    padding: 34px 26px;
    background: linear-gradient(
        150deg,
        rgba(229, 118, 97, 0.12),
        rgba(198, 154, 61, 0.08)
    );
    border: 1px solid rgba(229, 118, 97, 0.25);
    border-radius: 12px;
}
.legal-cta h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
}
.legal-cta p {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0 0 18px;
    line-height: 1.6;
}
.legal-cta__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.legal-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.legal-cta__btn--primary {
    background: var(--ink);
    color: #fff;
}
.legal-cta__btn--primary:hover {
    background: var(--brand-primary);
}
.legal-cta__btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.legal-cta__btn--ghost:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }
    .legal-toc {
        position: static;
    }
    .legal-toc ol {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 18px;
    }
    .legal-hero__title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    #main-content {
        margin: 20px auto;
        padding: 0 16px;
    }
    .legal-hero {
        margin-bottom: 24px;
    }
    .legal-hero__title {
        font-size: 28px;
    }
    .legal-hero__sub {
        font-size: 13.5px;
    }
    .legal-content {
        padding: 24px 20px 28px;
    }
    .legal-content h2 {
        font-size: 22px;
    }
    .legal-content h3 {
        font-size: 17px;
    }
    .legal-content p,
    .legal-content ul,
    .legal-content ol {
        font-size: 13.5px;
    }
    .faq-group__title {
        font-size: 19px;
    }
    .faq-item summary {
        font-size: 13.5px;
        padding: 14px 16px;
    }
    .faq-item__answer {
        font-size: 13px;
        padding: 12px 16px 16px;
    }
    .legal-cta {
        padding: 26px 20px;
    }
    .legal-cta h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .legal-toc ol {
        grid-template-columns: 1fr;
    }
    .legal-hero__title {
        font-size: 24px;
    }
    .legal-table th,
    .legal-table td {
        padding: 10px 12px;
        font-size: 12.5px;
    }
}
/* ===================== CATEGORY — ABOUT ACCORDION ===================== */
.cat-about {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.cat-about__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-primary);
}
.cat-about__toggle i {
    font-size: 12px;
    color: var(--ink-soft);
    transition: transform 0.25s ease;
}
.cat-about.is-open .cat-about__toggle i {
    transform: rotate(180deg);
}
.cat-about__collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
.cat-about__collapse > div {
    overflow: hidden;
    min-height: 0;
}
.cat-about.is-open .cat-about__collapse {
    grid-template-rows: 1fr;
}
.cat-about__body {
    padding: 0 2px 18px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--ink-soft);
}

/* ===================== CATEGORY — SUBCATEGORY CAROUSEL ===================== */
.cat-subcat-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.cat-subcat-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cat-subcat-viewport {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.cat-subcat-viewport::-webkit-scrollbar {
    display: none;
}
.cat-subcat-track {
    display: flex;
    gap: 22px;
    padding: 4px 2px 10px;
}
.cat-subcat-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 92px;
    text-align: center;
    scroll-snap-align: start;
}
.cat-subcat-item__circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface);
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.cat-subcat-item__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-subcat-item:hover .cat-subcat-item__circle {
    border-color: var(--brand-primary);
    box-shadow: 0 8px 20px rgba(229, 118, 97, 0.22);
    transform: translateY(-3px);
}
.cat-subcat-item__label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cat-subcat-item:hover .cat-subcat-item__label {
    color: var(--brand-primary);
}

.cat-subcat-arrow {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 29, 27, 0.08);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}
.cat-subcat-arrow:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

@media (max-width: 640px) {
    .cat-subcat-arrow {
        display: none;
    }
    .cat-subcat-item {
        width: 78px;
    }
    .cat-subcat-item__circle {
        width: 70px;
        height: 70px;
    }
}
/* ===================== CATEGORY — LOAD MORE / INFINITE SCROLL ===================== */
.cat-loadmore {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 36px 0 60px;
}
.cat-loadmore__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 34px;
    border-radius: 999px;
    border: 1px solid var(--brand-primary);
    background: #fff;
    color: var(--brand-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(229, 118, 97, 0.12);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}
.cat-loadmore__btn:hover {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(229, 118, 97, 0.24);
    transform: translateY(-2px);
}
.cat-loadmore__btn:disabled {
    opacity: 0.65;
    pointer-events: none;
    transform: none;
}
.cat-loadmore__spinner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
}
.cat-loadmore__spinner i {
    color: var(--brand-primary);
    font-size: 15px;
}
.cat-loadmore__end {
    text-align: center;
    margin: 32px 0 60px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: 0.01em;
}

@media (max-width: 640px) {
    .cat-loadmore {
        margin: 28px 0 44px;
    }
    .cat-loadmore__btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }
    .cat-loadmore__end {
        margin: 24px 0 44px;
        padding: 0 16px;
    }
}

/* ===================== CATEGORY PAGE — TOOLBAR / VIEW SWITCH ===================== */
.cat-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.cat-toolbar__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 22px;
}

#catProductGrid .product-card {
    opacity: 1;
    transform: none;
}
#catProductGrid .product-card__media img {
    padding: 0;
    object-fit: cover;
}

@media (max-width: 768px) {
    #catProductGrid .product-card__actions {
        opacity: 1;
        transform: none;
    }
    #catProductGrid .product-card__quickadd {
        opacity: 1;
        transform: none;
    }
    .cat-toolbar {
        margin-bottom: 14px;
    }
    .cat-toolbar__title {
        font-size: 18px;
    }
}

/* ===================== HOMEPAGE — CATEGORY CIRCLE SLIDER ===================== */
.home-cat-circle-section {
    padding: 56px 0 40px;
    background: var(--surface);
}
.home-cat-circle-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}
.home-cat-circle-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}
.home-cat-circle-head h2 span {
    color: var(--brand-primary);
}
.home-cat-circle-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-primary);
    white-space: nowrap;
    border-bottom: 1px solid var(--brand-primary);
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}
.home-cat-circle-viewall:hover {
    opacity: 0.72;
}
.home-cat-circle-viewall i {
    font-size: 11px;
}

.home-cat-circle-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}
.home-cat-circle-viewport {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.home-cat-circle-viewport::-webkit-scrollbar {
    display: none;
}
.home-cat-circle-track {
    display: flex;
    gap: 34px;
    padding: 6px 4px 16px;
}
.home-cat-circle-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 150px;
    text-align: center;
    scroll-snap-align: start;
    opacity: 0;
    transform: translateY(18px);
}
.home-cat-circle-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.home-cat-circle-item__circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--surface);
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}
.home-cat-circle-item__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.home-cat-circle-item:hover .home-cat-circle-item__circle {
    border-color: var(--brand-primary);
    box-shadow: 0 12px 28px rgba(229, 118, 97, 0.25);
    transform: translateY(-4px);
}
.home-cat-circle-item:hover .home-cat-circle-item__circle img {
    transform: scale(1.08);
}
.home-cat-circle-item__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.home-cat-circle-item:hover .home-cat-circle-item__label {
    color: var(--brand-primary);
}
.home-cat-circle-item__count {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink-soft);
}

.home-cat-circle-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 29, 27, 0.08);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}
.home-cat-circle-arrow:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

@media (max-width: 992px) {
    .home-cat-circle-item {
        width: 120px;
    }
    .home-cat-circle-item__circle {
        width: 108px;
        height: 108px;
    }
}

@media (max-width: 640px) {
    .home-cat-circle-section {
        padding: 40px 0 28px;
    }
    .home-cat-circle-head {
        align-items: center;
    }
    .home-cat-circle-head h2 {
        font-size: 20px;
    }
    .home-cat-circle-viewall span {
        display: none;
    }
    .home-cat-circle-arrow {
        display: none;
    }
    .home-cat-circle-item {
        width: 92px;
    }
    .home-cat-circle-item__circle {
        width: 82px;
        height: 82px;
        border-width: 1.5px;
    }
    .home-cat-circle-item__label {
        font-size: 13px;
    }
    .home-cat-circle-item__count {
        font-size: 11px;
    }
}
/* ===================== HOMEPAGE — SECTION BACKGROUND ALTERNATION ===================== */
.demo-products {
    padding: 40px 0 48px;
}
.section-alt-cream {
    background: var(--surface-alt);
}
.section-alt-white {
    background: var(--surface);
}

@media (max-width: 640px) {
    .demo-products {
        padding: 28px 0 34px;
    }
}

/* ===================== HOMEPAGE — CATEGORY HIGHLIGHTS ===================== */
.cat-highlight-section {
    padding: 56px 0 64px;
    background: var(--surface-alt);
}
.cat-highlight-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 46px;
}
.cat-highlight-head h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}
.cat-highlight-head h2 span {
    color: var(--brand-primary);
}
.cat-highlight-head h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 16px auto 0;
    background: var(--brand-accent);
}
.cat-highlight-head p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin: 16px 0 0;
}

.cat-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 28px;
}

.cat-highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 0;
    background: none;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}
.cat-highlight-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.cat-highlight-card__circle {
    position: relative;
    width: 210px;
    height: 210px;
    border-radius: 20px;
    padding: 6px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}
.cat-highlight-card__circle::before {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px dashed rgba(198, 154, 61, 0.4);
    border-radius: 25px;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}
.cat-highlight-card__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.4s ease;
}

.cat-highlight-card:hover .cat-highlight-card__circle {
    border-color: var(--brand-accent);
}
.cat-highlight-card:hover .cat-highlight-card__circle::before {
    border-color: var(--brand-primary);
    transform: scale(1.05);
}
.cat-highlight-card:hover .cat-highlight-card__circle img {
    transform: scale(1.06);
}

.cat-highlight-card__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
}
.cat-highlight-card__title i {
    font-size: 10px;
    color: var(--brand-accent);
    transition: transform 0.2s ease;
}
.cat-highlight-card:hover .cat-highlight-card__title {
    color: var(--brand-primary);
}
.cat-highlight-card:hover .cat-highlight-card__title i {
    transform: translateX(3px);
}

.cat-highlight-card__desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 220px;
}

@media (max-width: 992px) {
    .cat-highlight-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px 20px;
    }
}

@media (max-width: 768px) {
    .cat-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 14px;
    }
    .cat-highlight-card__circle {
        width: 150px;
        height: 150px;
        border-radius: 16px;
    }
    .cat-highlight-card__circle::before {
        border-radius: 21px;
    }
    .cat-highlight-card__circle img {
        border-radius: 11px;
    }
    .cat-highlight-card__desc {
        display: none;
    }
}

@media (max-width: 480px) {
    .cat-highlight-section {
        padding: 40px 0 44px;
    }
    .cat-highlight-head h2 {
        font-size: 24px;
    }
    .cat-highlight-head p {
        font-size: 13px;
        padding: 0 12px;
    }
    .cat-highlight-card__circle {
        width: 130px;
        height: 130px;
    }
    .cat-highlight-card__title {
        font-size: 14px;
    }
    .cat-highlight-card__desc {
        display: none;
    }
}
/* ===================== HOMEPAGE — LIFE PROBLEMS / VEDIC DIAGNOSIS ===================== */
.life-problems-section {
    background: var(--surface);
    padding: 56px 0 64px;
}

.life-problems-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}
.life-problems-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(229, 118, 97, 0.12);
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.life-problems-head h2 {
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 18px;
    font-weight: 700;
}
.life-problems-head h2 em {
    font-style: italic;
    color: var(--brand-primary);
}
.life-problems-head p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0;
}

.life-problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.life-problem-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 22px 24px;
    box-shadow: 0 4px 16px rgba(34, 29, 27, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}
.life-problem-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.life-problem-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 14px 30px rgba(229, 118, 97, 0.14);
}

.life-problem-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}
.life-problem-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.life-problem-card__icon--career {
    background: #e5f6ec;
    color: #1c8a53;
}
.life-problem-card__icon--love {
    background: #fdeae9;
    color: #e35b52;
}
.life-problem-card__icon--wealth {
    background: #e5f6ec;
    color: #1c8a53;
}
.life-problem-card__icon--health {
    background: #fdeae9;
    color: #e35b52;
}
.life-problem-card__icon--education {
    background: #e8f0fd;
    color: #3b6fd6;
}
.life-problem-card__icon--legal {
    background: #f1ecfa;
    color: #7a5cd6;
}
.life-problem-card__icon--progeny {
    background: #fdeef7;
    color: #d6579e;
}
.life-problem-card__icon--protection {
    background: #eceff1;
    color: #55606b;
}

.life-problem-card__no {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--line);
}

.life-problem-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
}
.life-problem-card > p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 22px;
}

.life-problem-card__remedy {
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}
.life-problem-card__remedy-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 10px;
}
.life-problem-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.life-problem-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--ink-soft);
}
.life-problem-tag--gem {
    background: rgba(229, 118, 97, 0.12);
    color: var(--brand-primary);
}
.life-problem-tag--gem i {
    font-size: 9px;
}

.life-problem-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-primary);
    transition: gap 0.2s ease;
}
.life-problem-card__cta i {
    font-size: 11px;
    transition: transform 0.2s ease;
}
.life-problem-card:hover .life-problem-card__cta {
    gap: 12px;
}
.life-problem-card:hover .life-problem-card__cta i {
    transform: translateX(3px);
}

@media (max-width: 1150px) {
    .life-problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .life-problems-section {
        padding: 40px 0 48px;
    }
    .life-problems-head h2 {
        font-size: 24px;
    }
    .life-problems-head p {
        font-size: 13.5px;
    }
    .life-problems-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .life-problem-card {
        padding: 22px 18px 20px;
    }
}
/* ===================== HOMEPAGE — OUR COLLECTION CAROUSEL ===================== */
.our-collection-section {
    padding: 48px 0 56px;
}

.our-collection-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 32px;
}
.our-collection-head h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 10px;
}
.our-collection-head h2 span {
    color: var(--brand-primary);
}
.our-collection-head p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin: 0;
}

.our-collection-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}
.our-collection-viewport {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.our-collection-viewport::-webkit-scrollbar {
    display: none;
}
.our-collection-track {
    display: flex;
    gap: 22px;
    padding: 4px 2px 10px;
}
.our-collection-item {
    flex: 0 0 240px;
    scroll-snap-align: start;
}
.our-collection-item .product-card {
    height: 100%;
}

.our-collection-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 29, 27, 0.08);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}
.our-collection-arrow:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.our-collection-more {
    text-align: center;
    margin-top: 34px;
}
.our-collection-more__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 34px;
    border-radius: 999px;
    border: 1px solid var(--brand-primary);
    background: var(--brand-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 20px rgba(229, 118, 97, 0.22);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}
.our-collection-more__btn:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(229, 118, 97, 0.3);
}
.our-collection-more__btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}
.our-collection-more__btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .our-collection-item {
        flex-basis: 200px;
    }
    .our-collection-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .our-collection-section {
        padding: 36px 0 40px;
    }
    .our-collection-head h2 {
        font-size: 22px;
    }
    .our-collection-item {
        flex-basis: 168px;
    }
    .our-collection-more__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================== HOMEPAGE — BEST SELLERS CAROUSEL ===================== */
.bestsellers-section {
    padding: 56px 0 64px;
    background: var(--surface);
}

.bestsellers-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 34px;
}
.bestsellers-head h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
}
.bestsellers-head h2 span {
    color: var(--brand-primary);
}
.bestsellers-head p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin: 0;
    max-width: 460px;
}

.bestsellers-arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.bestsellers-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 29, 27, 0.08);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}
.bestsellers-arrow:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.bestsellers-wrap {
    position: relative;
}
.bestsellers-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.bestsellers-viewport::-webkit-scrollbar {
    display: none;
}
.bestsellers-track {
    display: flex;
    gap: 22px;
    padding: 4px 2px 10px;
}
.bestsellers-item {
    flex: 0 0 262px;
    scroll-snap-align: start;
}
.bestsellers-item .product-card {
    height: 100%;
}
.bestsellers-empty {
    text-align: center;
    color: var(--ink-soft);
    padding: 40px 0;
}

/* Best Sellers only — action icons and Add to Cart stay visible always,
   instead of the hover-reveal used everywhere else .product-card appears. */
#bestSellersSection .product-card__badge {
    display: none;
}

@media (max-width: 992px) {
    .bestsellers-item {
        flex-basis: 230px;
    }
}

@media (max-width: 768px) {
    .bestsellers-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .bestsellers-viewport {
        scroll-snap-type: x mandatory;
    }
    .bestsellers-track {
        gap: 0;
        padding: 4px 0 10px;
    }
    .bestsellers-item {
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        scroll-snap-align: center;
    }
    .bestsellers-item .product-card {
        width: 100%;
        max-width: 300px;
    }
    #bestSellersSection .product-card {
        border: none;
        box-shadow: none;
    }
    #bestSellersSection .product-card__media {
        border-radius: 10px;
        overflow: hidden;
    }
    #bestSellersSection .product-card__media img {
        padding: 0;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .bestsellers-section {
        padding: 40px 0 44px;
    }
    .bestsellers-head h2 {
        font-size: 24px;
    }
    .bestsellers-arrow {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }
}

/* ===================== SHOP PAGE ===================== */
.shop-section {
    padding: 32px 0 60px;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
}
.shop-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}
.shop-filter-trigger:hover,
.shop-filter-trigger.active {
    background: var(--ink);
    color: #fff;
}
.shop-toolbar__count {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
}
.shop-toolbar__right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.shop-view-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 4px;
}
.js-shop-view {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: var(--ink-soft);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.js-shop-view:hover {
    color: var(--ink);
}
.js-shop-view.active {
    background: var(--brand-primary);
    color: #fff;
}

.shop-sort {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 13.5px;
    min-width: 190px;
    cursor: pointer;
}

.shop-body {
    min-height: 240px;
}

.shop-products {
    display: grid;
    gap: 24px;
}
.shop-products--cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.shop-products--cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.shop-products--cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.shop-products .product-card {
    opacity: 0;
    transform: translateY(14px);
}
.shop-products .product-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-soft);
}
.shop-empty i {
    font-size: 30px;
    margin-bottom: 12px;
    display: block;
}

.product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.product-card__swatches {
    display: flex;
    gap: 6px;
    margin: 6px 0;
}
.product-card__swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: inline-block;
}

.product-card__desc {
    display: none;
    font-size: 13px;
    color: var(--ink-soft);
    margin: 6px 0 0;
    line-height: 1.55;
}

.product-card__list-actions {
    display: none;
    gap: 10px;
    margin-top: 12px;
}
.product-card__list-actions button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}
.product-card__list-actions button:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* LIST VIEW MODE */
.shop-products--list {
    grid-template-columns: 1fr;
    gap: 0;
}
.shop-products--list .product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    padding: 18px 4px;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
}
.shop-products--list .product-card:last-child {
    border-bottom: none;
}
.shop-products--list .product-card__media {
    flex: 0 0 140px;
    width: 140px;
    height: auto;
    aspect-ratio: auto;
    border-radius: 8px;
}
.shop-products--list .product-card__media img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
}
.shop-products--list .product-card__badge,
.shop-products--list .product-card__actions,
.shop-products--list .product-card__quickadd {
    display: none;
}
.shop-products--list .product-card__body {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.shop-products--list .product-card__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.shop-products--list .product-card__price {
    font-size: 14px;
}
.shop-products--list .product-card__desc {
    display: block;
    margin: 6px 0 0;
}
.shop-products--list .product-card__swatches {
    margin: 8px 0 0;
}
.shop-products--list .product-card__list-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.shop-products--list .product-card__list-actions button {
    width: 34px;
    height: 34px;
    border-radius: 7px;
}

@media (max-width: 480px) {
    .shop-products--list .product-card__media {
        flex-basis: 108px;
        width: 108px;
        height: auto;
    }
    .shop-products--list .product-card__desc {
        display: none;
    }
}

.shop-loadmore {
    text-align: center;
    margin-top: 40px;
}
.shop-loadmore__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 40px;
    border-radius: 999px;
    border: 1px solid var(--brand-primary);
    background: var(--brand-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition:
        background 0.2s ease,
        transform 0.15s ease;
}
.shop-loadmore__btn:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
}
.shop-loadmore__btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* FILTER DRAWER */
.shop-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 14, 0.45);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
    z-index: 1200;
}
.shop-filter-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.shop-filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 360px;
    max-width: 88vw;
    background: var(--surface);
    z-index: 1201;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.12);
}
.shop-filter-drawer.is-open {
    transform: translateX(0);
}

.shop-filter-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}
.shop-filter-drawer__head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 20px;
}
.shop-filter-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-filter-close:hover {
    background: var(--ink);
    color: #fff;
}

.shop-filter-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 22px;
}
.shop-filter-group {
    margin-bottom: 30px;
}
.shop-filter-group h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
    margin: 0 0 14px;
}
.shop-filter-scroll {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 6px;
}
.shop-filter-check,
.shop-filter-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-soft);
    padding: 7px 0;
    cursor: pointer;
}
.shop-filter-check input,
.shop-filter-radio input {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-primary);
}
.shop-filter-empty {
    font-size: 13px;
    color: var(--ink-soft);
}

.shop-price-slider__values {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 12px;
}
.shop-price-slider__track {
    position: relative;
    height: 34px;
}
.shop-price-slider__track input[type="range"] {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}
.shop-price-slider__track input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background: var(--line);
    border-radius: 4px;
}
.shop-price-slider__track input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--brand-primary);
    margin-top: -7px;
    cursor: pointer;
}
.shop-price-slider__track input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--brand-primary);
    cursor: pointer;
}

.shop-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.shop-color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 0 0 1px var(--line);
    cursor: pointer;
    transition:
        box-shadow 0.2s ease,
        transform 0.15s ease;
}
.shop-color-swatch:hover {
    transform: scale(1.08);
}
.shop-color-swatch.active {
    box-shadow: 0 0 0 2px var(--brand-primary);
}

.shop-filter-drawer__foot {
    display: flex;
    gap: 12px;
    padding: 18px 22px;
    border-top: 1px solid var(--line);
}
.shop-filter-reset,
.shop-filter-apply {
    flex: 1;
    padding: 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}
.shop-filter-reset {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
}
.shop-filter-reset:hover {
    background: var(--ink);
    color: #fff;
}
.shop-filter-apply {
    background: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    color: #fff;
}
.shop-filter-apply:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .shop-products--cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-products--cols-4,
    .shop-products--cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-products--cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-view-switch .js-shop-view[data-view="grid-3"],
    .shop-view-switch .js-shop-view[data-view="grid-2"] {
        display: none;
    }
    .shop-toolbar {
        gap: 12px;
    }
    .shop-toolbar__right {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }
    .shop-sort {
        min-width: 0;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .shop-products--cols-4,
    .shop-products--cols-3,
    .shop-products--cols-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .shop-filter-trigger {
        padding: 9px 16px;
        font-size: 12.5px;
    }
}
/* ===================== HEADER ACCOUNT DROPDOWN ===================== */
.has-account-dropdown {
    position: relative;
}
.header-account-link {
    border: none;
    cursor: pointer;
}
.header-account-link__caret {
    font-size: 9px !important;
    color: var(--ink-soft) !important;
    margin-left: -2px;
    transition: transform 0.2s ease;
}
.has-account-dropdown.is-open .header-account-link__caret {
    transform: rotate(180deg);
}
.has-account-dropdown.is-open .header-account-link {
    background: var(--brand-primary);
    color: #fff;
}
.has-account-dropdown.is-open .header-account-link i {
    color: #fff;
}

.header-account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 16px 34px rgba(34, 29, 27, 0.14);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
    z-index: 520;
}
.has-account-dropdown.is-open .header-account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-account-dropdown__link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: none;
    border-radius: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    font-family: inherit;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.header-account-dropdown__link i {
    width: 16px;
    text-align: center;
    color: var(--ink-soft);
    font-size: 13px;
}
.header-account-dropdown__link:hover {
    background: var(--surface-alt);
    color: var(--brand-primary);
}
.header-account-dropdown__link:hover i {
    color: var(--brand-primary);
}
.header-account-dropdown__link--danger {
    color: #c0392b;
}
.header-account-dropdown__link--danger i {
    color: #c0392b;
}
.header-account-dropdown__link--danger:hover {
    background: rgba(192, 57, 43, 0.08);
    color: #c0392b;
}
.header-account-dropdown__link--danger:hover i {
    color: #c0392b;
}
.header-account-dropdown__divider {
    height: 1px;
    background: var(--line);
    margin: 6px 4px;
}
.header-account-dropdown__logout-form {
    margin: 0;
}
.header-account-dropdown__logout-form .header-account-dropdown__link {
    cursor: pointer;
}

@media (max-width: 768px) {
    .has-account-dropdown {
        display: none;
    }
}
.ckt-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.ckt-login-trigger {
    background: none;
    border: none;
    padding: 0;
    font-size: 13.5px;
    color: var(--ink-soft, #6b6258);
    cursor: pointer;
    white-space: nowrap;
}
.ckt-login-trigger span {
    color: var(--brand, #a9762d);
    font-weight: 600;
    text-decoration: underline;
}

.ckt-summary__empty {
    text-align: center;
    color: var(--ink-soft, #6b6258);
    padding: 16px 0;
    font-size: 14px;
}

#cktLoginOverlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 15, 10, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 1200;
}
#cktLoginOverlay.is-open {
    opacity: 1;
    visibility: visible;
}

#cktLoginModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    width: 92%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 1201;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    max-height: 90vh;
    overflow-y: auto;
}
#cktLoginModal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.ckt-login-modal__inner {
    padding: 32px 24px 24px;
}
.ckt-login-modal__inner h3 {
    margin: 0 0 8px;
    font-size: 22px;
}
.ckt-login-modal__sub {
    margin: 0 0 20px;
    color: var(--ink-soft, #6b6258);
    font-size: 14px;
    line-height: 1.5;
}
.ckt-login-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    background: #f2ede7;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}
.ckt-login-modal__alert {
    display: none;
    background: #fdecea;
    color: #c0392b;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
}
.ckt-login-modal__guest {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    margin-top: 14px;
    color: var(--ink-soft, #6b6258);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.ckt-guest-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #8a5a00;
    background: #fff6e5;
    border: 1px solid #ffe3a3;
    border-radius: 8px;
    padding: 8px 12px;
}
.ckt-guest-hint a {
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 480px) {
    #cktLoginModal {
        width: 94%;
        border-radius: 14px;
    }
    .ckt-login-modal__inner {
        padding: 28px 18px 20px;
    }
}

.ckt-address-picker__label {
    font-size: 13.5px;
    color: var(--ink-soft, #6b6258);
    margin: 4px 0 12px;
}

.ckt-address-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}
.ckt-address-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1.5px solid #e8e1d9;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    position: relative;
    transition:
        border-color 0.15s ease,
        background 0.15s ease;
}
.ckt-address-option input[type="radio"] {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0;
}
.ckt-address-option.is-active {
    border-color: var(--brand, #a9762d);
    background: #fbf7f0;
}
.ckt-address-option__tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--brand, #a9762d);
}
.ckt-address-option__name {
    font-size: 14px;
    font-weight: 600;
    padding-right: 20px;
}
.ckt-address-option__text {
    font-size: 12.5px;
    color: var(--ink-soft, #6b6258);
    line-height: 1.5;
}
.ckt-address-option--new {
    align-items: center;
    justify-content: center;
    text-align: center;
    border-style: dashed;
}
.ckt-address-option--new .ckt-address-option__name {
    padding-right: 0;
    color: var(--brand, #a9762d);
}

.ckt-payment-hint {
    margin-top: 14px;
    font-size: 13px;
    color: var(--ink-soft, #6b6258);
    background: #f6f2ec;
    border-radius: 8px;
    padding: 10px 14px;
}

.ckt-success-wrap {
    display: flex;
    justify-content: center;
    padding: 48px 0 64px;
}

.ckt-success {
    width: 100%;
    max-width: 760px;
    background: #fff;
    border: 1px solid #ece5db;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(60, 40, 20, 0.06);
    padding: 44px 40px 40px;
    text-align: center;
}

.ckt-success__icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eaf7ef;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ckt-success__icon {
    font-size: 32px;
    color: #1c8a53;
}

.ckt-success h1 {
    margin: 0 0 8px;
    font-size: 26px;
}
.ckt-success__sub {
    color: var(--ink-soft, #6b6258);
    margin: 0 0 20px;
    font-size: 15px;
}

.ckt-success__order-no {
    display: inline-block;
    background: #f6f2ec;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--ink-soft, #6b6258);
    margin-bottom: 28px;
}
.ckt-success__order-no strong {
    color: #2a2118;
    letter-spacing: 0.3px;
}

.ckt-success__meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 8px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0e9df;
    flex-wrap: wrap;
}
.ckt-success__meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}
.ckt-success__meta-item span {
    color: var(--ink-soft, #6b6258);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.ckt-success__meta-item strong {
    font-size: 16px;
}

.ckt-success__badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 13px !important;
    background: #eaf7ef;
    color: #1c8a53;
}
.ckt-success__badge--pending,
.ckt-success__badge--cod_pending {
    background: #fff6e5;
    color: #8a5a00;
}
.ckt-success__badge--failed {
    background: #fdecea;
    color: #c0392b;
}

.ckt-success__payment-ref {
    font-size: 13px;
    color: var(--ink-soft, #6b6258);
    margin: 16px 0 0;
}

.ckt-success__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    margin: 32px 0;
    text-align: left;
}

.ckt-success__panel {
    background: #fbf9f6;
    border: 1px solid #f0e9df;
    border-radius: 14px;
    padding: 20px;
}
.ckt-success__panel h3 {
    margin: 0 0 14px;
    font-size: 15px;
}
.ckt-success__billing-title {
    margin-top: 20px !important;
}

.ckt-success__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ckt-success__item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e8e1d9;
}
.ckt-success__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ckt-success__item-info p {
    margin: 0 0 2px;
    font-weight: 500;
}
.ckt-success__item-info span {
    color: var(--ink-soft, #6b6258);
    font-size: 12.5px;
}
.ckt-success__item-total {
    white-space: nowrap;
    font-weight: 600;
}

.ckt-success__totals {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e8e1d9;
}
.ckt-success__totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding: 3px 0;
    color: var(--ink-soft, #6b6258);
}
.ckt-success__totals-row.is-discount {
    color: #1c8a53;
}
.ckt-success__totals-row--total {
    font-size: 16px;
    font-weight: 700;
    color: #2a2118;
    padding-top: 8px;
}

.ckt-success__address p {
    margin: 0 0 4px;
    font-size: 14px;
    color: var(--ink-soft, #6b6258);
}
.ckt-success__address-name {
    font-weight: 600;
    color: #2a2118 !important;
}
.ckt-success__address-contact {
    margin-top: 8px !important;
}
.ckt-success__address-contact i {
    width: 16px;
    color: var(--brand, #a9762d);
}

.ckt-success__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ckt-success__actions .btn-solid,
.ckt-success__actions .btn-outline {
    display: inline-block;
    width: auto;
    padding: 12px 28px;
}

@media (max-width: 720px) {
    .ckt-success {
        padding: 32px 20px;
        border-radius: 16px;
    }
    .ckt-success__grid {
        grid-template-columns: 1fr;
    }
    .ckt-success__meta {
        gap: 24px;
    }
    .ckt-success__actions {
        flex-direction: column;
    }
    .ckt-success__actions .btn-solid,
    .ckt-success__actions .btn-outline {
        width: 100%;
        text-align: center;
    }
}

#quickview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(34, 29, 27, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}
.quickview-modal {
    background: #fff;
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) var(--surface-alt);
}
.quickview-modal::-webkit-scrollbar {
    width: 7px;
}
.quickview-modal::-webkit-scrollbar-track {
    background: var(--surface-alt);
}
.quickview-modal::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 10px;
}
.quickview-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--surface-alt);
    border-radius: 50%;
    font-size: 15px;
    z-index: 5;
}

.quickview-modal__media {
    position: relative;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    min-height: 320px;
}
.quickview-modal__frame-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quickview-modal__media-frame {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.quickview-modal__media-frame img {
    max-height: 320px;
    max-width: 100%;
    object-fit: contain;
}
.quickview-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    font-size: 13px;
    z-index: 3;
    color: var(--ink);
    transition:
        background 0.2s ease,
        color 0.2s ease;
}
.quickview-modal__nav:hover {
    background: var(--brand-primary);
    color: #fff;
}
.quickview-modal__nav--prev {
    left: 14px;
}
.quickview-modal__nav--next {
    right: 14px;
}
.quickview-modal__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 3;
}
.quickview-modal__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(34, 29, 27, 0.22);
    transition: all 0.2s ease;
}
.quickview-modal__dot.is-active {
    width: 20px;
    border-radius: 5px;
    background: var(--brand-primary);
}

.quickview-modal__info {
    padding: 38px 34px;
}
.quickview-modal__info h3 {
    font-family: var(--font-display);
    font-size: 26px;
    margin: 0 0 14px;
}
.quickview-modal__price {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 14px;
}
.quickview-modal__price del {
    color: var(--ink-soft);
    font-weight: 400;
    font-size: 16px;
    margin-left: 8px;
}
.quickview-modal__desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 14px;
}
.quickview-modal__features {
    margin: 0 0 22px;
    padding-left: 18px;
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.8;
}
.quickview-modal__qty {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    width: max-content;
}
.qty-selector button {
    width: 34px;
    height: 36px;
    border: none;
    background: none;
    font-size: 15px;
}
.qty-selector input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 14px;
    -moz-appearance: textfield;
}

.quickview-modal__cta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.btn-add-cart {
    flex: 1;
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.btn-add-cart:hover {
    background: var(--brand-primary);
}
.icon-btn-outline {
    width: 46px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 4px;
    font-size: 15px;
    color: var(--ink);
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}
.icon-btn-outline.is-active {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-buy-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: none;
    background: #3395ff;
    color: #fff;
    padding: 15px 18px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 6px;
    margin-bottom: 16px;
    transition:
        opacity 0.2s ease,
        transform 0.15s ease;
}
.btn-buy-now:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}
.btn-buy-now:disabled {
    opacity: 0.65;
    pointer-events: none;
}
.btn-buy-now i {
    font-size: 15px;
}

.quickview-modal__link {
    display: inline-block;
    margin-top: 4px;
    font-size: 13.5px;
    font-weight: 600;
    border-bottom: 1px solid var(--ink);
}

@media (max-width: 680px) {
    .quickview-modal {
        grid-template-columns: 1fr;
        max-height: 94vh;
    }
    .quickview-modal__media {
        flex-direction: column;
        gap: 14px;
        min-height: unset;
        padding: 18px 16px 20px;
    }
    .quickview-modal__frame-wrap {
        border-radius: 8px;
        overflow: hidden;
    }
    .quickview-modal__media-frame img {
        max-height: 240px;
    }
    .quickview-modal__nav {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .quickview-modal__dots {
        position: static;
        transform: none;
        margin: 0;
    }
    .quickview-modal__info {
        padding: 26px 22px 32px;
    }
    .quickview-modal__cta {
        flex-wrap: wrap;
    }
    .btn-add-cart {
        flex-basis: 100%;
    }
}

@media (max-width: 420px) {
    #quickview-overlay {
        padding: 0;
    }
    .quickview-modal {
        max-height: 100vh;
        height: 100%;
        border-radius: 0;
    }
}