:root {
    --purple-950: #2e1065;
    --purple-900: #3b0764;
    --purple-800: #5b21b6;
    --purple-700: #6d28d9;
    --purple-600: #7c3aed;
    --purple-500: #8b5cf6;
    --purple-400: #a78bfa;
    --purple-200: #ddd6fe;
    --purple-100: #ede9fe;
    --purple-50: #f5f3ff;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-soft: #faf8ff;
    --text: #1e1233;
    --muted: #6b5f80;
    --border: rgba(91, 33, 182, 0.14);
    --shadow: 0 10px 30px rgba(91, 33, 182, 0.1);
    --shadow-lg: 0 20px 50px rgba(91, 33, 182, 0.16);
    --radius: 16px;
    --header-h: 72px;
    --bottom-nav-h: 72px;
    --font: "DM Sans", system-ui, sans-serif;
    /* --serif: "Playfair Display", Georgia, serif; */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    overflow-x: clip;
    background: var(--bg);
    min-height: 100vh;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

.page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.35);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(124, 58, 237, 0);
    }
}

@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shine {
    from {
        transform: translateX(-120%) skewX(-15deg);
    }

    to {
        transform: translateX(220%) skewX(-15deg);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkPop {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }

    60% {
        transform: scale(1.12);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes navRise {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

.stagger>* {
    opacity: 0;
    transform: translateY(18px);
}

.stagger.in-view>* {
    animation: fadeUp 0.55s ease forwards;
}

.stagger.in-view>*:nth-child(1) {
    animation-delay: 0.05s;
}

.stagger.in-view>*:nth-child(2) {
    animation-delay: 0.12s;
}

.stagger.in-view>*:nth-child(3) {
    animation-delay: 0.19s;
}

.stagger.in-view>*:nth-child(4) {
    animation-delay: 0.26s;
}

.stagger.in-view>*:nth-child(5) {
    animation-delay: 0.33s;
}

.stagger.in-view>*:nth-child(6) {
    animation-delay: 0.4s;
}

.stagger.in-view>*:nth-child(7) {
    animation-delay: 0.47s;
}

.stagger.in-view>*:nth-child(8) {
    animation-delay: 0.54s;
}

/* ─── Top strip ──────────────────────────────────────────── */
.top-strip {
    background: linear-gradient(90deg, var(--purple-900), var(--purple-700), var(--purple-600));
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    padding: 8px 0;
    animation: slideDown 0.5s ease;
}

.top-strip .page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.top-strip a,
.top-strip button {
    color: rgba(255, 255, 255, 0.88);
    margin-left: 14px;
    transition: color 0.2s;
}

.top-strip a:hover,
.top-strip button:hover {
    color: #fff;
}

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid rgba(91, 33, 182, 0.35);
}

.site-header .page {
    min-height: 72px;
    display: flex;
    align-items: stretch;
    gap: 18px;
}

.brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    padding-right: 8px;
    align-self: center;
}

.brand strong {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--purple-900);
}

.brand small {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
}

.nav-links {
    display: none;
    align-items: stretch;
    justify-content: center;
    align-self: stretch;
    flex: 1;
    min-width: 0;
    gap: 2px;
    margin-left: 0;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav-links>.nav-item>a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #4b4458;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-links>.nav-item>a:hover,
.nav-links>.nav-item>a.is-active {
    color: var(--purple-800);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(91, 33, 182, 0.12);
    padding: 8px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
    z-index: 80;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-sub-link {
    display: block;
    padding: 9px 14px;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
}

/* Myntra-style mega-dropdown */
.nav-item.has-mega {
    /* Anchor panel to the header, not the link — avoids viewport overflow. */
    position: static;
    align-self: stretch;
}

.nav-item.has-mega>a {
    /* Full header-height hit target so hover reaches the panel */
    position: relative;
    z-index: 81;
}

.nav-item.has-mega>a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    width: min(1080px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    background: #fff;
    border-top: 2px solid var(--purple-600);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 50px rgba(30, 18, 51, 0.14);
    padding: 20px 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    --mega-shift: 0px;
    transform: translate(calc(-50% + var(--mega-shift)), 0);
    transition: opacity .15s ease, visibility .15s ease;
    z-index: 80;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}

/* Invisible bridge so the cursor can travel from the menu label into the panel */
.mega-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
}

.mega-dropdown--flat {
    width: min(560px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    padding: 16px;
}

.nav-item.has-mega:hover .mega-dropdown,
.nav-item.has-mega:focus-within .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-dropdown-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    align-content: flex-start;
    gap: 12px 20px;
    width: 100%;
    min-width: 0;
}

.mega-col {
    min-width: 0;
    max-width: none;
}

.mega-col-title {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: #e11d48;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.mega-col-title:hover {
    color: var(--purple-800);
}

.mega-sub-link {
    display: block;
    font-size: 13px;
    color: #444;
    padding: 4px 0;
    transition: color 0.15s;
}

.mega-sub-link:hover {
    color: var(--purple-800);
}

.mega-group-title {
    display: block;
    font-weight: 600;
    font-size: 12.5px;
    color: #1e1233;
    padding: 8px 0 3px;
    margin-top: 4px;
}

.mega-group-title:hover {
    color: var(--purple-800);
}

.mega-depth-1 {
    padding-left: 10px;
}

.mega-depth-2 {
    padding-left: 18px;
    font-size: 12px;
}

.mega-depth-3,
.mega-depth-4 {
    padding-left: 26px;
    font-size: 12px;
}

.mega-group-title.mega-depth-0 {
    margin-top: 6px;
    padding-top: 6px;
}

.mega-flat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 8px;
}

.mega-flat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #faf9fc;
    color: #1e1233;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.mega-flat-link:hover {
    background: var(--purple-50);
    border-color: #ddd6fe;
    color: var(--purple-800);
}

.mega-flat-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--purple-700);
    flex-shrink: 0;
    font-size: 14px;
}

.mega-flat-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

@media (min-width: 720px) {
    .mega-flat-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}


.nav-sub-link:hover {
    background: var(--purple-50);
    color: var(--purple-700);
}

.header-search {
    display: none;
    align-items: center;
    align-self: center;
    gap: 8px;
    flex-shrink: 0;
    background: var(--purple-50);
    border: 1px solid rgba(91, 33, 182, 0.12);
    border-radius: 999px;
    padding: 0 16px;
    width: 240px;
    height: 40px;
    margin: 0;
    box-sizing: border-box;
}

.header-search:focus-within {
    border-color: var(--purple-400);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.header-search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 13px;
    line-height: 1;
    color: var(--text);
    padding: 0;
    margin: 0;
}

.header-search input::placeholder {
    color: #9a8fb0;
}

.header-search svg {
    color: var(--purple-500);
    flex-shrink: 0;
}

.header-spacer {
    flex: 1;
}

@media (min-width: 1200px) {
    .header-spacer {
        display: none;
    }
}

.header-actions {
    display: none;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    gap: 2px;
    margin-left: 4px;
}

.mobile-cart-link,
.mobile-account-link {
    display: grid;
    place-items: center;
    align-self: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--purple-700);
    background: var(--purple-50);
    position: relative;
    text-decoration: none;
    font-size: 18px;
}

.icon-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 52px;
    padding: 4px 8px;
    color: var(--purple-800);
}

.icon-btn:hover {
    color: var(--purple-700);
}

.icon-btn span {
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
}

/* Cart add animation */
.js-cart-link.is-cart-animating {
    animation: cart-bounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.badge-count.is-badge-pop {
    animation: cart-badge-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cart-bounce {
    0% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.22) rotate(-10deg);
    }

    50% {
        transform: scale(0.92) rotate(8deg);
    }

    75% {
        transform: scale(1.12) rotate(-4deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes cart-badge-pop {
    0% {
        transform: scale(0.4);
    }

    55% {
        transform: scale(1.35);
    }

    100% {
        transform: scale(1);
    }
}

.badge-count {
    position: absolute;
    top: 0;
    right: 6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 99px;
    background: var(--purple-600);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--purple-700);
    background: var(--purple-50);
}

.mobile-search-bar {
    display: none;
    padding: 0 20px 12px;
    animation: fadeUp 0.3s ease;
}

.mobile-search-bar.is-open {
    display: block;
}

.mobile-search-bar .header-search {
    display: flex;
    width: 100%;
}

@media (min-width: 768px) {
    .header-search {
        display: flex;
    }

    .mobile-search-btn {
        display: none;
    }
}

@media (min-width: 1200px) {

    .nav-links,
    .header-actions {
        display: flex;
    }

    .mobile-account-link,
    .mobile-cart-link {
        display: none;
    }
}

/* ─── Bottom mobile nav ──────────────────────────────────── */
.bottom-nav {
    display: none;
}

@media (max-width: 1199px) {
    .bottom-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 80;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        border-top: 1px solid var(--border);
        padding: 6px 6px calc(8px + env(safe-area-inset-bottom));
        box-shadow: 0 -12px 30px rgba(91, 33, 182, 0.12);
        animation: navRise 0.45s ease;
    }

    body.has-bottom-nav {
        padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    }

    .site-footer {
        margin-bottom: 8px;
    }
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    border-radius: 14px;
    position: relative;
    transition: color 0.2s, background 0.25s, transform 0.25s;
}

.bottom-nav a svg {
    transition: transform 0.25s ease;
}

.bottom-nav a.is-active {
    color: var(--purple-700);
    background: var(--purple-50);
}

.bottom-nav a.is-active svg {
    transform: translateY(-2px) scale(1.08);
}

.bottom-nav a:active {
    transform: scale(0.96);
}

.bottom-nav .badge-count {
    top: 4px;
    right: calc(50% - 22px);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: translateX(-120%) skewX(-15deg);
}

.btn:hover::after {
    animation: shine 0.7s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
    color: #fff;
    padding: 14px 22px;
    font-size: 13px;
    /* box-shadow: 0 10px 20px rgba(109, 40, 217, 0.28); */
    border: unset;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(109, 40, 217, 0.38);
}

.btn-light {
    background: #fff;
    color: var(--purple-900);
    padding: 12px 22px;
    font-size: 12px;
    letter-spacing: 0.14em;
}

.btn-light:hover {
    background: var(--purple-600);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--purple-800);
    color: var(--purple-800);
    background: #fff;
    padding: 12px 18px;
    font-size: 12px;
}

.btn-outline:hover {
    background: var(--purple-800);
    color: #fff;
}

.btn-ghost {
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
}

.btn-full {
    width: 100%;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--purple-950);
}

@media (min-width: 640px) {
    .hero {
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .hero {
        height: 520px;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide picture {
    position: absolute;
    inset: 0;
    display: block;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide.is-active img {
    animation: kenBurns 8s ease forwards;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(46, 16, 101, 0.82) 0%, rgba(91, 33, 182, 0.35) 55%, transparent 100%);
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}

.hero-copy .btn {
    align-self: flex-start;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    opacity: 0.7;
    margin: 0 0 10px;
}

.hero-copy h1,
.hero-copy h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    margin: 0 0 12px;
    line-height: 1.15;
    animation: fadeUp 0.7s ease;
}

.hero-sub {
    margin: 0 0 22px;
    max-width: 360px;
    opacity: 0.85;
    font-size: 15px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-dots button {
    width: 8px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.3s, background 0.3s;
}

.hero-dots button.is-active {
    width: 32px;
    background: #fff;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: none;
    place-items: center;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.32);
}

.hero-arrow.prev {
    left: 16px;
}

.hero-arrow.next {
    right: 16px;
}

@media (min-width: 640px) {
    .hero-arrow {
        display: grid;
    }
}

/* ─── Sections ───────────────────────────────────────────── */
/* .section {
    padding: 56px 0;
} */

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.section-head h2,
.section-title {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
}

.section-sub,
.muted {
    color: var(--muted);
    font-size: 14px;
    margin: 6px 0 0;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--purple-700);
    font-weight: 700;
    font-size: 14px;
    transition: gap 0.2s;
}

.link-more:hover {
    gap: 8px;
}

/* ─── Categories ─────────────────────────────────────────── */
.category-scroll-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    /* margin: 0 -20px; */
    padding: 12px 20px 12px;
}

.category-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.category-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    justify-content: center;
    width: max-content;
    min-width: 100%;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    flex: 0 0 auto;
    width: 76px;
    scroll-snap-align: start;
}

.cat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--purple-50);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 26px;
    transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.dyn-icon {
    display: inline-grid;
    place-items: center;
    line-height: 1;
    color: var(--icon-color, currentColor);
}

.dyn-icon img {
    width: 1.15em;
    height: 1.15em;
    object-fit: contain;
    display: block;
}

.dyn-icon-img img {
    width: 1.35em;
    height: 1.35em;
}

.dyn-icon-fa i {
    font-size: 1em;
    line-height: 1;
    color: inherit;
}

.dyn-icon-fallback i,
.dyn-icon-emoji {
    color: var(--icon-color, inherit);
}

.cat-icon .dyn-icon {
    font-size: 1.25em;
}

.trust-icon .dyn-icon {
    font-size: 1.5rem;
}

.trust-icon {
    color: var(--icon-color, inherit);
}

.cat-icon {
    color: var(--icon-color, inherit);
}

.category-card:hover .cat-icon {
    transform: scale(1.12) translateY(-4px);
    background: #fff;
    border-color: var(--purple-400);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.18);
}

.category-card span {
    font-size: 12px;
    font-weight: 500;
    color: rgba(30, 18, 51, 0.8);
    line-height: 1.35;
    max-width: 76px;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    .category-scroll-wrap {
        margin: 0;
        padding: 12px 0 12px;
    }

    .category-grid {
        gap: 20px;
    }

    .category-card {
        width: 88px;
    }

    .category-card span {
        max-width: 88px;
    }

    .cat-icon {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }
}

.section-head-center {
    justify-content: center !important;
    text-align: center;
    align-items: center !important;
}

.section-head-center .link-more {
    margin-top: 8px;
}

.category-grid-layout {
    display: grid;
    grid-template-columns: repeat(var(--section-cols, 4), minmax(0, 1fr));
    gap: var(--section-gap, 16px);
}

.homepage-section .category-scroll-wrap .category-grid {
    gap: var(--section-gap, 16px);
}

.subcat-filter {
    padding-left: 14px;
}

.homepage-section {
    overflow: hidden;
}

.homepage-section .section-sub,
.homepage-section .muted,
.homepage-section .category-card span,
.homepage-section .trust-card p,
.homepage-section .link-more {
    font: inherit;
}

.homepage-section .trust-card h4 {
    font: inherit;
    font-weight: 700;
}

/* ─── Product cards ──────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .product-grid.cols-4 {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid.cols-3 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 3 / 4;
    background: var(--purple-50);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.08);
}

.product-card--oos .product-media img {
    opacity: 0.72;
}

.product-badge-oos {
    background: #64748b;
    letter-spacing: 0.08em;
}

.product-card--oos .quick-view {
    pointer-events: auto;
}

.product-oos-label {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-primary:disabled,
.btn-primary[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--purple-600);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 4px 8px;
    border-radius: 4px;
}

.wish-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #9a8fb0;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, color 0.2s;
}

.wish-btn:hover,
.wish-btn.is-liked {
    color: var(--purple-600);
    transform: scale(1.08);
}

.wish-btn.is-liked svg {
    fill: currentColor;
}

.wish-btn.pop {
    animation: heartPop 0.4s ease;
}

.quick-view {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 16, 101, 0.92);
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .quick-view {
    transform: none;
}

.product-body {
    padding-top: 12px;
}

.product-brand {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}

.product-name {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #15803d;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.price {
    font-weight: 700;
    font-size: 14px;
}

.mrp {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
}

.off {
    font-size: 12px;
    font-weight: 700;
    color: var(--purple-600);
}

/* ─── Editorial ──────────────────────────────────────────── */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .editorial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.editorial-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 180px;
    display: block;
    text-align: left;
}

@media (min-width: 640px) {
    .editorial-card {
        height: 210px;
    }
}

.editorial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.editorial-card:hover img {
    transform: scale(1.08);
}

.editorial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46, 16, 101, 0.82), transparent 60%);
}

.editorial-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 1;
    color: #fff;
}

.editorial-copy small {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 10px;
    opacity: 0.75;
}

.editorial-copy strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.3rem;
    margin-top: 4px;
}

/* ─── Trust ──────────────────────────────────────────────── */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px 14px;
    background: var(--purple-50);
    border: 1px solid var(--border);
    border-radius: 20px;
}

@media (min-width: 640px) {
    .trust-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    color: var(--purple-600);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    animation: floaty 3.5s ease-in-out infinite;
}

.trust-card h4 {
    margin: 0;
    font-size: 14px;
}

.trust-card p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--muted);
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
    /* margin-top: 64px; */
    color: rgba(255, 255, 255, 0.72);
}

/* 
.footer-perks {
    background: linear-gradient(135deg, var(--purple-50) 0%, #fff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.footer-perks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 0;
}

.footer-perk {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(91, 33, 182, 0.08);
}

.footer-perk:last-child {
    border-bottom: 0;
}

.footer-perk-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(91, 33, 182, 0.1);
    display: grid;
    place-items: center;
    color: var(--purple-700);
    font-size: 20px;
    flex-shrink: 0;
}

.footer-perk strong {
    display: block;
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
}

.footer-perk span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
} */

.footer-main {
    background:
        radial-gradient(circle at 10% 0%, rgba(139, 92, 246, 0.22), transparent 42%),
        radial-gradient(circle at 90% 100%, rgba(109, 40, 217, 0.18), transparent 38%),
        linear-gradient(180deg, var(--purple-950), #16052e 85%);
}

.footer-newsletter-top {
    padding: 28px 0 0;
}

.footer-newsletter-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.footer-newsletter-copy {
    font-size: 13px;
    margin: 8px 0 0;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 28px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 24px;
}

.footer-brand-col {
    padding-bottom: 24px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 340px;
    color: rgba(255, 255, 255, 0.62);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.footer-socials a:hover {
    background: var(--purple-600);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    user-select: none;
}

.footer-col summary::-webkit-details-marker {
    display: none;
}

.footer-col summary::after {
    content: "+";
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
}

.footer-col[open] summary::after {
    content: "−";
}

.footer-links {
    padding-bottom: 16px;
    display: grid;
    gap: 2px;
}

.site-footer h6 {
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
}

.site-footer .footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    padding: 6px 0;
    transition: color 0.2s, transform 0.2s;
}

.site-footer .footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-brand {
    font-family: var(--serif);
    font-size: 1.75rem;
    color: #fff !important;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    outline: 0;
    width: 100%;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.newsletter input:focus {
    border-color: var(--purple-400);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.newsletter .btn {
    width: 100%;
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 6px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.04);
}

.footer-bottom {
    background: #110225;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.48);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (min-width: 640px) {
    .footer-perks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 24px;
        padding: 24px 0;
    }

    .footer-perk {
        border-bottom: 0;
        padding: 8px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
        padding: 36px 0 36px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: 0;
    }

    .footer-col {
        border-bottom: 0;
    }

    .footer-col summary {
        padding: 0 0 14px;
        cursor: default;
        pointer-events: none;
    }

    .footer-col summary::after {
        display: none;
    }

    .footer-links {
        padding-bottom: 0;
    }

    .footer-newsletter-top {
        padding-top: 36px;
    }

    .footer-newsletter-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 22px 24px;
    }

    .footer-newsletter-text {
        flex: 1;
        min-width: 0;
    }

    .footer-newsletter-copy {
        margin-top: 6px;
        max-width: 420px;
    }

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .newsletter {
        flex-direction: row;
        align-items: stretch;
        flex: 1;
        max-width: 420px;
    }

    .newsletter input {
        flex: 1;
        min-width: 0;
    }

    .newsletter .btn {
        width: auto;
        flex-shrink: 0;
        white-space: nowrap;
    }
}

@media (min-width: 1024px) {
    .footer-perks-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1fr;
        gap: 32px;
        padding: 40px 0 44px;
    }

    .footer-brand-col {
        grid-column: auto;
    }

    .footer-newsletter-top {
        padding-top: 44px;
    }

    .footer-newsletter-card {
        padding: 24px 28px;
    }
}

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    margin: 24px 0;
    flex-wrap: wrap;
}

.breadcrumb a:hover {
    color: var(--purple-700);
}

.breadcrumb .current {
    color: var(--text);
    font-weight: 600;
}

/* ─── Products page ──────────────────────────────────────── */
.products-layout {
    display: flex;
    gap: 32px;
    padding-bottom: 48px;
}

.filter-aside {
    width: 230px;
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .filter-aside {
        display: none;
    }

    .products-layout {
        padding-bottom: 70px;
    }
}

/* Mobile product list bottom bar */
.mobile-plp-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-top: 1px solid var(--line, #e5e7eb);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
}

@media (max-width: 1023px) {
    .mobile-plp-bar {
        display: flex;
    }
}

.mobile-plp-btn {
    flex: 1;
    padding: 14px 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-plp-btn+.mobile-plp-btn {
    border-left: 1px solid var(--line, #e5e7eb);
}

.mobile-plp-btn:active {
    background: var(--purple-50, #f5f3ff);
}

/* Sort bottom sheet */
.mobile-sheet-overlay,
.mobile-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}

.mobile-sheet-overlay.is-open,
.mobile-filter-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    z-index: 210;
    background: #fff;
    border-radius: 16px 16px 0 0;
    transition: bottom .3s ease;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
}

.mobile-sheet.is-open {
    bottom: 0;
}

.mobile-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line, #e5e7eb);
    font-size: 17px;
}

.mobile-sheet-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
}

.mobile-sheet-body {
    padding: 8px 0;
    overflow-y: auto;
    flex: 1;
}

.mobile-sort-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--line, #f0f0f0);
}

.mobile-sort-option:has(input:checked) {
    color: var(--purple-700);
    font-weight: 600;
}

.mobile-sort-option input {
    accent-color: var(--purple-600);
    width: 18px;
    height: 18px;
}

/* Filter offcanvas (two-panel) */
.mobile-filter-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 210;
    display: flex;
    flex-direction: column;
    transition: right .3s ease;
}

.mobile-filter-panel.is-open {
    right: 0;
}

.mf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line, #e5e7eb);
    font-size: 14px;
    letter-spacing: .04em;
}

.mf-clear-all {
    color: #e91e63;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: .02em;
}

.mobile-filter-panel form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.mf-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.mf-tabs {
    width: 140px;
    flex-shrink: 0;
    overflow-y: auto;
    background: #f8f8f8;
    border-right: 1px solid var(--line, #e5e7eb);
}

.mf-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 14px 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    text-align: left;
    border-bottom: 1px solid var(--line, #f0f0f0);
    border-left: 3px solid transparent;
}

.mf-tab.is-active {
    background: #fff;
    font-weight: 600;
    color: var(--purple-800, #6d28d9);
    border-left-color: var(--purple-600, #7c3aed);
}

.mf-tab-count {
    background: var(--purple-600, #7c3aed);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mf-values {
    flex: 1;
    overflow-y: auto;
}

.mf-value-panel {
    padding: 4px 0;
}

.mf-value-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid var(--line, #f5f5f5);
}

.mf-value-row:active {
    background: #faf8ff;
}

.mf-value-row input[type="checkbox"] {
    accent-color: var(--purple-600, #7c3aed);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mf-check {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-600, #7c3aed);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.mf-value-link {
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.mf-value-name {
    flex: 1;
}

.mf-value-count {
    color: var(--muted);
    font-size: 13px;
}

.mf-footer {
    display: flex;
    border-top: 1px solid var(--line, #e5e7eb);
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 2;
    flex-shrink: 0;
}

.mf-footer-btn {
    flex: 1;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
}

.mf-close-btn {
    background: #fff;
    color: var(--text);
}

.mf-apply-btn {
    background: #fff;
    color: #e91e63;
}

.filter-card {
    position: sticky;
    top: 88px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
}

.filter-group {
    margin-bottom: 22px;
}

.filter-group h6 {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 12px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    cursor: pointer;
}

.filter-group label.is-active,
.filter-group label.is-active a {
    color: var(--purple-700);
    font-weight: 700;
}

.filter-count {
    margin-left: auto;
    font-size: 11px;
    color: var(--muted);
}

.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
    accent-color: var(--purple-600);
}

.filter-group input[type="range"] {
    width: 100%;
    accent-color: var(--purple-600);
}

.size-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-pills .chip {
    position: relative;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
}

.size-pills .chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.size-pills .chip.is-active {
    border-color: var(--purple-600);
    background: var(--purple-50);
    color: var(--purple-800);
    font-weight: 700;
}

.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
    accent-color: var(--purple-600);
}

.filter-group input[type="range"] {
    width: 100%;
    accent-color: var(--purple-600);
}

.size-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-pills button,
.chip {
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
    transition: all 0.2s;
}

.size-pills button.is-active,
.chip.is-active {
    border-color: var(--purple-600);
    background: var(--purple-50);
    color: var(--purple-700);
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

@media (max-width: 1023px) {
    .toolbar {
        display: none;
    }
}

.plp-breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plp-count {
    font-size: 13px;
}

.plp-infinite-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 12px 8px;
}

.plp-infinite-end[hidden] {
    display: none !important;
}

.plp-infinite-end {
    margin: 0;
    font-size: 13px;
}

.select-wrap {
    position: relative;
}

.select-wrap select {
    appearance: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 9px 34px 9px 12px;
    background: #fff;
    font-size: 14px;
    outline: 0;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    align-items: center;
    justify-content: center;
}

.pager a {
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    color: var(--text);
}

.pager a.active {
    background: var(--purple-600);
    color: #fff;
    border-color: var(--purple-600);
}

.pager-nav {
    min-width: 72px;
    text-align: center;
}

.pager-ellipsis {
    padding: 7px 6px;
    color: var(--muted);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.pagination button {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-weight: 700;
    background: #fff;
}

.pagination button.is-active {
    background: var(--purple-700);
    color: #fff;
    border-color: var(--purple-700);
}

.empty-state {
    text-align: center;
    padding: 80px 16px;
    color: var(--muted);
}

.empty-state h2 {
    font-family: var(--serif);
    color: var(--text);
    margin: 12px 0 8px;
}

/* ─── Drawer ─────────────────────────────────────────────── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 18, 51, 0.45);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 92vw);
    height: 100%;
    background: #fff;
    z-index: 91;
    padding: 20px;
    overflow: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-lg);
}

.drawer.is-open {
    transform: none;
}

/* ─── Product detail ─────────────────────────────────────── */
.pdp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .pdp-grid {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
        align-items: start;
    }

    .pdp-gallery {
        position: sticky;
        top: 88px;
        align-self: start;
        z-index: 2;
    }
}

.pdp-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdp-gallery-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdp-mosaic {
    display: none;
}

/* Mobile: main image on top, horizontal thumbs below */
.pdp-gallery .main-img {
    order: 1;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    max-height: none;
    min-height: 0;
}

.pdp-gallery .main-img>img,
.pdp-gallery .main-img>.pdp-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
}

.pdp-gallery .main-img>.pdp-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pdp-gallery .thumbs {
    order: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pdp-gallery .thumbs::-webkit-scrollbar {
    display: none;
}

.pdp-gallery .thumbs button,
.pdp-gallery .thumbs .js-thumb-more {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
}

.pdp-gallery .thumbs .js-thumb-more {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    flex-shrink: 0;
    text-decoration: none;
    background: #111;
    padding: 0;
    cursor: pointer;
}

.pdp-gallery .thumbs .js-thumb-more img,
.pdp-gallery .thumbs .js-thumb-more video.pdp-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.45);
}

.pdp-thumb-more-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    pointer-events: none;
}

.pdp-gallery .thumbs button img,
.pdp-gallery .thumbs button video.pdp-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 639px) {
    .pdp-gallery .thumbs {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    .pdp-gallery .thumbs button,
    .pdp-gallery .thumbs .js-thumb-more {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: calc((100% - 32px) / 5);
    }

    .pdp-thumb-more-overlay {
        font-size: clamp(14px, 4.2vw, 18px);
    }
}

@media (min-width: 640px) {
    .pdp-gallery-mobile {
        flex-direction: row;
        align-items: flex-start;
        max-height: min(65vh, 560px);
    }

    .pdp-gallery .main-img {
        order: 2;
        flex: 1;
        min-width: 0;
        position: static;
        aspect-ratio: auto;
        height: min(65vh, 560px);
        max-height: min(65vh, 560px);
    }

    .pdp-gallery .main-img>img,
    .pdp-gallery .main-img>.pdp-video-wrap {
        position: static;
        inset: auto;
        width: 100%;
        height: 100%;
    }

    .pdp-gallery .main-img>.pdp-video-wrap {
        border: 1px solid #dfdfdf;
        border-radius: 20px;
    }

    .pdp-gallery .thumbs {
        order: 1;
        flex-direction: column;
        flex-wrap: nowrap;
        width: auto;
        max-height: min(65vh, 560px);
        overflow-x: hidden;
        overflow-y: auto;
        padding-bottom: 0;
    }

    .pdp-gallery .thumbs button,
    .pdp-gallery .thumbs .js-thumb-more {
        flex: 0 0 auto;
        width: 64px;
        height: 70px;
        max-width: none;
    }
}

/* Desktop PDP: 2-column mosaic (max 4), mobile/tablet unchanged */
@media (min-width: 1024px) {
    .pdp-gallery {
        max-height: none;
    }

    .pdp-gallery-mobile {
        display: none;
    }

    .pdp-mosaic {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
        position: relative;
        background: #fff;
    }

    .pdp-mosaic-tile {
        position: relative;
        display: block;
        width: 100%;
        aspect-ratio: 3 / 4;
        padding: 0;
        border: 0;
        margin: 0;
        background: #f3f4f6;
        overflow: hidden;
        cursor: pointer;
        border-radius: 16px;
    }

    .pdp-mosaic-tile:only-child,
    .pdp-mosaic.is-dummy .pdp-mosaic-tile {
        grid-column: 1 / -1;
        max-height: min(72vh, 720px);
        aspect-ratio: 3 / 4;
        justify-self: stretch;
    }

    .pdp-mosaic-tile img,
    .pdp-mosaic-tile video.pdp-thumb-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .pdp-mosaic-tile.is-more img,
    .pdp-mosaic-tile.is-more video.pdp-thumb-video {
        filter: brightness(0.45);
    }

    .pdp-mosaic-tile .pdp-thumb-more-overlay {
        font-size: clamp(28px, 4vw, 42px);
        font-weight: 700;
        letter-spacing: 0.02em;
        background: rgba(0, 0, 0, 0.42);
        border-radius: 0;
    }

    .pdp-mosaic-tile .pdp-thumb-play {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(17, 24, 39, 0.35);
        color: #fff;
        pointer-events: none;
    }
}

.thumbs button,
.thumbs .js-thumb-more {
    width: 64px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    padding: 0px !important;
    border: 2px solid transparent;
    position: relative;
}

.thumbs button.is-video-thumb .pdp-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.42);
    color: #fff;
    pointer-events: none;
}

.thumbs button.is-video-thumb .pdp-video-play-icon {
    border-width: 7px 0 7px 12px;
}

.pdp-video-play-icon {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent currentColor;
    margin-left: 4px;
}

.thumbs button.is-active {
    border-color: var(--purple-600);
    box-shadow: var(--shadow);
}

.thumbs img,
.thumbs video.pdp-thumb-video,
.main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.thumbs video.pdp-thumb-video {
    pointer-events: none;
    background: #000;
}

.main-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #000;
}

.pdp-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border: 1px solid #dfdfdf;
    border-radius: 20px;
    overflow: hidden;
}

.pdp-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #000;
}

.pdp-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--purple-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pdp-video-play:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.pdp-video-wrap.is-playing .pdp-video-play {
    opacity: 0;
    pointer-events: none;
}

.main-img {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: min(65vh, 560px);
    max-height: min(65vh, 560px);
    border-radius: 20px;
    overflow: hidden;
    background: var(--purple-50);
}

.pdp-brand {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
    margin: 0 0 6px;
}

/* Fullscreen gallery lightbox (canvas) */
body.pdp-lightbox-open {
    overflow: hidden;
}

.pdp-lightbox[hidden] {
    display: none !important;
}

.pdp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: #fff;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-items: center;
}

.pdp-lightbox-close {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.06);
    color: #111;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.pdp-lightbox-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 52px 28px;
    box-sizing: border-box;
}

.pdp-lightbox-media {
    max-width: 100%;
    max-height: calc(100vh - 110px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.pdp-lightbox-stage .pdp-video-wrap {
    width: min(100%, 720px);
    max-height: calc(100vh - 110px);
    aspect-ratio: 3 / 4;
    border: 0;
    border-radius: 12px;
}

.pdp-lightbox-stage .pdp-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.pdp-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.06);
    color: #111;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.pdp-lightbox-nav.prev {
    left: 8px;
}

.pdp-lightbox-nav.next {
    right: 8px;
}

.pdp-lightbox-nav[hidden] {
    display: none !important;
}

.pdp-lightbox-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px 22px;
    width: 100%;
}

.pdp-lightbox-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #d1d5db;
    cursor: pointer;
}

.pdp-lightbox-dot.is-active {
    width: 9px;
    height: 9px;
    background: #6b7280;
}

@media (min-width: 768px) {
    .pdp-lightbox-nav.prev {
        left: 18px;
    }

    .pdp-lightbox-nav.next {
        right: 18px;
    }

    .pdp-lightbox-stage {
        padding: 64px 80px 36px;
    }
}

.pdp-title {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 14px;
    line-height: 1.25;
}

.price-box {
    /* background: var(--purple-50);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px 20px;
    margin: 18px 0; */
}

.price-box .big {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
}

.off-pill {
    background: var(--purple-100);
    color: var(--purple-700);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
}

.qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.qty-wrap button {
    padding: 5px 12px;
}

.qty-wrap span {
    min-width: 36px;
    text-align: center;
    font-weight: 700;
}

.pdp-actions {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.pdp-actions .btn-primary {
    flex: 1;
}

.wish-lg {
    width: 54px;
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--muted);
}

.wish-lg.is-liked {
    border-color: var(--purple-600);
    color: var(--purple-600);
    background: var(--purple-50);
}

.mini-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
}

.mini-trust div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--purple-50);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.details-block {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.pdp-details-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pdp-details-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
}

.pdp-details-heading i {
    font-size: 16px;
    color: var(--muted);
}

.pdp-details-copy {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

.pdp-detail-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdp-detail-section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.pdp-detail-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.pdp-detail-list li {
    margin-bottom: 4px;
}

.pdp-detail-list-label {
    color: var(--text);
    font-weight: 600;
}

.pdp-detail-text {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.pdp-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--border);
}

.pdp-spec-cell {
    padding: 12px 10px 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pdp-spec-cell:nth-child(odd) {
    padding-right: 16px;
}

.pdp-spec-cell:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.pdp-spec-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.pdp-spec-value {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
    line-height: 1.35;
}

.pdp-qa-section {
    margin-top: 48px;
}

.pdp-qa-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .pdp-qa-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.pdp-qa-section .section-title {
    margin-bottom: 8px;
}

.pdp-qa-section .section-sub {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
}

.pdp-qa-collapses {
    margin-top: 20px;
    border-top: 1px solid var(--border);
}

.pdp-collapse {
    border-bottom: 1px solid var(--border);
}

.pdp-collapse-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    cursor: pointer;
    list-style: none;
}

.pdp-collapse-summary::-webkit-details-marker {
    display: none;
}

.pdp-collapse-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}

.pdp-collapse-meta {
    margin-left: auto;
    font-size: 13px;
    color: var(--muted);
}

.pdp-collapse-chevron::before {
    content: "+";
    display: inline-block;
    width: 1.1em;
    text-align: center;
    color: var(--muted);
    font-weight: 500;
}

.pdp-collapse[open] > .pdp-collapse-summary .pdp-collapse-chevron::before {
    content: "−";
}

.pdp-collapse-body {
    padding: 0 0 16px;
}

.pdp-collapse-actions {
    margin-bottom: 12px;
}

.pdp-review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pdp-review-card {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.pdp-review-card:last-child {
    border-bottom: 0;
}

.pdp-review-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: baseline;
    margin-bottom: 6px;
}

.pdp-review-stars {
    color: #c4a35a;
    letter-spacing: 1px;
    font-size: 13px;
}

.pdp-review-title {
    margin: 0 0 6px;
    font-weight: 600;
    font-size: 14px;
}

.pdp-review-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}

.pdp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pdp-faq-item {
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.pdp-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    list-style: none;
}

.pdp-faq-item summary::-webkit-details-marker {
    display: none;
}

.pdp-faq-item summary::after {
    content: "+";
    float: right;
    font-weight: 400;
    color: var(--muted);
}

.pdp-faq-item[open] summary::after {
    content: "−";
}

.pdp-faq-answer {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    white-space: pre-wrap;
}

.pdp-faq-meta {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--muted);
}

.pdp-qa-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdp-qa-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pdp-qa-field label {
    font-size: 13px;
    font-weight: 600;
}

.pdp-qa-field input,
.pdp-qa-field select,
.pdp-qa-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
    background: #fff;
}

.pdp-qa-msg {
    margin: 0;
    font-size: 13px;
}

.pdp-qa-msg.is-ok {
    color: #15803d;
}

.pdp-qa-msg.is-err {
    color: #b91c1c;
}

.pdp-qa-empty {
    margin: 8px 0 0;
}

body.pdp-qa-canvas-open {
    overflow: hidden;
}

.pdp-qa-canvas .oc-body {
    padding: 8px 22px 28px;
}

@media (max-width: 479px) {
    .pdp-spec-grid {
        grid-template-columns: 1fr;
    }

    .pdp-spec-cell:nth-child(odd),
    .pdp-spec-cell:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-left: 0;
    }
}

.product-content {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.product-content p {
    margin: 0 0 12px;
}

.product-content h1,
.product-content h2,
.product-content h3 {
    color: var(--text);
    margin: 16px 0 8px;
    line-height: 1.3;
}

.product-content ul,
.product-content ol {
    margin: 0 0 12px 18px;
    padding: 0;
}

.product-content li {
    margin-bottom: 6px;
}

.product-content a {
    color: var(--purple-600);
    text-decoration: underline;
}

.product-content strong {
    color: var(--text);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.review-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.verified {
    font-size: 10px;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 3px 8px;
    border-radius: 99px;
    font-weight: 600;
}

.pdp-sticky {
    display: none;
}

@media (max-width: 1023px) {
    .pdp-sticky {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
        z-index: 70;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border);
        padding: 10px 16px;
    }
}

/* ─── Cart / checkout ────────────────────────────────────── */
.cart-layout,
.checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 48px;
}

@media (min-width: 1024px) {

    .cart-layout,
    .checkout-layout {
        flex-direction: row;
        align-items: flex-start;
    }
}

.cart-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-item {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow);
    animation: fadeUp 0.45s ease;
}

.cart-item img {
    width: 84px;
    height: 104px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--purple-50);
    flex-shrink: 0;
}

.summary-card {
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
}

@media (min-width: 1024px) {
    .summary-card {
        width: 320px;
        position: sticky;
        top: 88px;
    }
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 10px 0;
}

.save-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.coupon-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.coupon-row input,
.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    outline: 0;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.coupon-row input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--purple-400);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

/* ─── Auth ───────────────────────────────────────────────── */
.auth-wrap {
    min-height: 72vh;
    display: grid;
    place-items: center;
    padding: 48px 16px;
    background:
        radial-gradient(circle at top right, rgba(167, 139, 250, 0.25), transparent 40%),
        radial-gradient(circle at bottom left, rgba(109, 40, 217, 0.12), transparent 45%),
        var(--bg-soft);
}

.auth-card {
    width: min(440px, 100%);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--shadow-lg);
    animation: fadeUp 0.55s ease;
}

.auth-card h1 {
    font-family: var(--serif);
    text-align: center;
    margin: 0 0 6px;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.or-line {
    position: relative;
    text-align: center;
    margin: 22px 0;
    color: var(--muted);
    font-size: 12px;
}

.or-line::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid var(--border);
}

.or-line span {
    position: relative;
    background: #fff;
    padding: 0 10px;
}

.otp-input {
    text-align: center;
    letter-spacing: 0.4em;
    font-size: 22px !important;
    font-weight: 700;
}

/* ─── Checkout steps ─────────────────────────────────────── */
.steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid var(--border);
    color: var(--muted);
}

.step-num.is-done,
.step-num.is-active {
    background: var(--purple-700);
    border-color: var(--purple-700);
    color: #fff;
}

.pay-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.pay-option.is-active,
.pay-option:has(input:checked) {
    border-color: var(--purple-700);
    background: var(--purple-50);
}

.success-wrap {
    max-width: 480px;
    margin: 64px auto;
    text-align: center;
    padding: 0 16px;
}

.success-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--purple-50);
    border: 2px solid var(--purple-200);
    color: var(--purple-700);
    display: grid;
    place-items: center;
    animation: checkPop 0.55s ease;
}

.stars {
    display: inline-flex;
    gap: 2px;
    color: #fbbf24;
}

.stars .empty {
    color: #e5e7eb;
}

.hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}

/* ─── Toasts ─────────────────────────────────────────────── */
.shop-toast-wrap {
    position: fixed;
    left: 50%;
    bottom: 20%;
    top: auto;
    right: auto;
    transform: translateX(-50%);
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: calc(100vw - 32px);
    pointer-events: none;
}

.shop-toast {
    display: block;
    pointer-events: auto;
    min-width: 240px;
    max-width: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--purple-600);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.35s ease;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    opacity: 1;
}

.shop-toast.error {
    border-left-color: #dc2626;
}

.show-sm {
    display: none;
}

@media (max-width: 639px) {
    .top-strip .hide-sm {
        display: none;
    }

    .show-sm {
        display: inline;
    }

    .cat-icon {
        width: 56px;
        height: 56px;
    }
}

body.no-footer .site-footer {
    display: none;
}

/* ─── Customer account ───────────────────────────────────── */
.account-nav {
    width: 230px;
    flex-shrink: 0;
}

.account-nav-card {
    position: sticky;
    top: 88px;
}

.account-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.account-nav-links a:hover,
.account-nav-links a.is-active {
    color: var(--purple-700);
    background: var(--purple-50);
}

.account-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.account-welcome h1,
.account-welcome p {
    margin-top: 0;
    margin-bottom: 3px;
}

.account-avatar-wrap {
    flex-shrink: 0;
}

.account-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--purple-200);
}

.account-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple-800), var(--purple-500));
    box-shadow: var(--shadow);
}

.account-section-head {
    margin: 32px 0 16px;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.address-card,
.address-empty {
    min-height: 165px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.address-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.address-card .chip {
    padding: 3px 9px;
    text-transform: capitalize;
}

.address-card p {
    margin: 7px 0 0;
    font-size: 13px;
}

.address-empty {
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.address-empty>div {
    font-size: 32px;
}

.account-address-form {
    width: auto;
    position: static;
    margin-top: 20px;
}

.address-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.address-default-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 16px;
    font-size: 14px;
}

.address-default-check input {
    accent-color: var(--purple-600);
}

.address-card-actions,
.address-form-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.address-card-actions form {
    margin: 0;
}

.account-page {
    padding: 32px 20px 64px;
}

.account-layout {
    align-items: flex-start;
}

.account-main {
    flex: 1;
    min-width: 0;
}

.account-page-title {
    margin: 0 0 20px;
}

.account-welcome-copy {
    min-width: 0;
}

.account-welcome-meta {
    word-break: break-word;
}

.account-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.account-stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.account-stat-label {
    margin: 0 0 8px;
    font-size: 12px;
}

.account-stat-value {
    display: block;
    font-size: 22px;
    line-height: 1.2;
}

.account-stat-value.is-success {
    color: #15803d;
}

.account-panel.summary-card {
    width: 100%;
    position: static;
    margin: 0 0 20px;
}

.account-panel-title {
    margin: 0 0 16px;
}

.header-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--purple-200);
}

.mobile-account-link .header-avatar-img,
.mobile-cart-link .header-avatar-img {
    width: 30px;
    height: 30px;
}

.avatar-upload-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-upload-preview {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--purple-200);
}

.avatar-upload-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--purple-50);
    border: 2px dashed var(--purple-300);
    display: grid;
    place-items: center;
    font-size: 28px;
    color: var(--purple-400);
}

.account-empty-copy {
    margin: 0;
}

.account-redemption-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-redemption-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}

.account-redemption-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.account-redemption-head strong {
    display: block;
    margin-bottom: 6px;
}

.account-redemption-type {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
    color: var(--purple-700);
    background: var(--purple-50);
    padding: 4px 8px;
    border-radius: 999px;
}

.account-redemption-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 0;
}

.account-redemption-meta>div {
    min-width: 0;
}

.account-redemption-meta dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 4px;
}

.account-redemption-meta dd {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.account-redemption-meta .is-success {
    color: #15803d;
}

@media (max-width: 1023px) {
    .account-layout {
        flex-direction: column;
        gap: 16px;
    }

    .account-nav {
        width: 100%;
    }

    .account-nav-card {
        position: static;
        padding: 12px;
    }

    .account-nav-card .filter-head {
        display: none;
    }

    .account-nav-links {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .account-nav-links::-webkit-scrollbar {
        display: none;
    }

    .account-nav-links a {
        flex: 0 0 auto;
        padding: 9px 14px;
    }
}

@media (max-width: 639px) {
    .account-page {
        padding: 20px 14px 48px;
    }

    .account-welcome {
        align-items: flex-start;
    }

    .account-avatar,
    .account-avatar-img {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .account-stats-grid {
        grid-template-columns: 1fr;
    }

    .account-stat-value {
        font-size: 20px;
    }

    .account-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .account-redemption-meta {
        grid-template-columns: 1fr;
    }

    .address-grid,
    .address-location-grid,
    .account-address-form .grid-2 {
        grid-template-columns: 1fr;
    }

    .address-card,
    .address-empty {
        min-height: 0;
    }

    .cart-item {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item>strong {
        align-self: flex-end;
    }

    .address-card-actions,
    .address-form-actions {
        width: 100%;
    }

    .address-card-actions .btn,
    .address-form-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ─── PDP color names + size circles ──────────────────────── */
.pdp-opt-block {
    margin: 20px 0 8px;
}

.pdp-opt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.pdp-opt-label {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 10px;
}

.size-chart-link {
    background: none;
    border: 0;
    color: #e11d48;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}

.size-chart-link:hover {
    text-decoration: underline;
}

.color-name-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-name-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 8px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #1e3a5f;
}

.color-name-chip .swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .12);
    display: inline-block;
}

.color-name-chip.is-active {
    border-color: #1e3a5f;
    box-shadow: 0 0 0 1px #1e3a5f;
}

.color-name-chip.is-disabled {
    opacity: .4;
    cursor: not-allowed;
}

.size-circles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #d5dbe3;
    background: #fff;
    color: #1e3a5f;
    font-weight: 700;
    font-size: 13px;
    display: grid;
    place-items: center;
}

.size-circle.is-active {
    border-color: #1e3a5f;
    background: #1e3a5f;
    color: #fff;
}

.size-circle.is-disabled {
    opacity: .35;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* ─── Size chart modal ────────────────────────────────────── */
.chart-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 16px;
}

.chart-modal[hidden] {
    display: none;
}

.chart-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 30, 0.45);
}

.chart-modal-panel {
    position: relative;
    width: min(720px, 100%);
    max-height: min(86vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    padding: 22px 22px 18px;
    box-shadow: 0 24px 60px rgba(15, 10, 30, .25);
}

.chart-modal-x {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    background: none;
    font-size: 26px;
    color: #64748b;
    cursor: pointer;
}

.chart-tabs {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid #e8edf3;
    margin-bottom: 14px;
}

.chart-tab {
    background: none;
    border: 0;
    padding: 8px 0 12px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
}

.chart-tab.is-active {
    color: #e11d48;
    box-shadow: inset 0 -2px 0 #e11d48;
}

.chart-unit {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    margin-bottom: 10px;
}

.unit-btn {
    padding: 5px 12px;
    border: 1px solid #1e3a5f;
    background: #fff;
    color: #1e3a5f;
    font-weight: 700;
    font-size: 13px;
}

.unit-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.unit-btn:last-child {
    border-radius: 0 8px 8px 0;
    border-left: 0;
}

.unit-btn.is-active {
    background: #1e3a5f;
    color: #fff;
}

.chart-table-wrap {
    overflow-x: auto;
}

.chart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.chart-table th,
.chart-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eef2f6;
    text-align: left;
}

.chart-table th {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.chart-table tr.is-active td {
    background: #f8fafc;
}

.chart-table tr.is-disabled td {
    color: #94a3b8;
    text-decoration: line-through;
    pointer-events: none;
}

.chart-table tr.is-disabled input[type="radio"] {
    opacity: 0.35;
    pointer-events: none;
}

.chart-table input[type="radio"] {
    accent-color: #e11d48;
}

.chart-note {
    font-size: 12px;
    color: #64748b;
    margin: 10px 0 0;
}

.chart-intro {
    margin: 0 0 8px;
    color: #334155;
}

.measure-guide {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 18px;
    align-items: start;
    margin-top: 12px;
}

.measure-guide img {
    width: 100%;
}

.measure-svg {
    width: 100%;
    height: auto;
}

.measure-svg .svg-label {
    font-size: 13px;
    fill: #111827;
    font-family: inherit;
    font-weight: 600;
}

.measure-steps {
    margin: 0;
    padding-left: 18px;
}

.measure-steps li {
    margin-bottom: 12px;
    color: #334155;
}

.measure-steps li strong {
    display: block;
    color: #0f172a;
    margin-bottom: 2px;
}

@media (max-width: 639px) {
    .measure-guide {
        grid-template-columns: 1fr;
    }
}

/* ─── Error page ─────────────────────────────────────────── */
.error-layout main {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.error-page {
    width: 100%;
    padding: 48px 16px 72px;
}

.error-page-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.error-page-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
}

.error-page-code {
    font-size: 64px;
    font-weight: 700;
    font-family: var(--serif);
    color: var(--purple-700);
    margin: 0 0 8px;
    line-height: 1;
}

.error-page-title {
    font-family: var(--serif);
    font-size: 28px;
    margin: 0 0 12px;
    color: var(--text);
}

.error-page-message {
    font-size: 17px;
    color: var(--muted);
    margin: 0 0 12px;
}

.error-page-detail {
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 28px;
    line-height: 1.6;
}

.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 639px) {
    .error-page-inner {
        padding: 32px 20px;
    }

    .error-page-code {
        font-size: 48px;
    }

    .error-page-title {
        font-size: 22px;
    }

    .error-page-actions .btn {
        width: 100%;
    }
}

/* Mobile menu offcanvas */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 6px;
    color: var(--text);
    flex-shrink: 0;
    align-self: center;
}

@media (max-width: 1199px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
    }

    .site-header .page {
        gap: 10px;
    }

    .brand strong {
        font-size: 1.2rem;
    }

    .brand small {
        font-size: 8px;
    }
}

@media (min-width: 1200px) {

    .mobile-menu,
    .mobile-menu-overlay,
    .mobile-menu-btn {
        display: none !important;
    }
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: #fff;
    z-index: 910;
    display: flex;
    flex-direction: column;
    transition: left .3s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .12);
}

.mobile-menu.is-open {
    left: 0;
}

@media (max-width: 400px) {
    .mobile-menu {
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-menu {
        max-width: 400px;
    }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line, #e5e7eb);
    font-size: 18px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid var(--line, #f0f0f0);
    transition: background .15s;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: var(--purple-50, #f5f3ff);
}

.mobile-menu-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--purple-800, #6d28d9);
    flex: 1;
}

/* Mobile menu — accordion structure */
.mm-group {
    border-bottom: 1px solid var(--line, #eee);
}

.mm-menu-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px 15px 20px;
    cursor: pointer;
    user-select: none;
    transition: background .15s;
}

.mm-menu-row:active {
    background: var(--purple-50, #f5f3ff);
}

.mm-icon {
    font-size: 18px;
    color: var(--purple-600, #7c3aed);
}

.mm-menu-name {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.mm-arrow {
    font-size: 13px;
    color: var(--muted);
    transition: transform .25s;
}

.mm-arrow.is-open {
    transform: rotate(180deg);
}

.mm-children {
    background: #faf8ff;
}

.mm-cat-item {
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.mm-cat-item:last-child {
    border-bottom: none;
}

.mm-cat-row {
    display: flex;
    align-items: stretch;
}

.mm-cat-link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 12px 12px 36px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    -webkit-tap-highlight-color: rgba(139, 92, 246, .1);
}

.mm-cat-link:active {
    color: var(--purple-700);
    background: rgba(139, 92, 246, .06);
}

.mm-expand-btn {
    background: none;
    border: none;
    border-left: 1px solid rgba(0, 0, 0, .06);
    cursor: pointer;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    color: var(--muted);
    -webkit-tap-highlight-color: rgba(139, 92, 246, .1);
}

.mm-expand-btn:active {
    background: rgba(139, 92, 246, .08);
}

.mm-sub-children {
    background: #f3f0fa;
}

.mm-sub-link {
    display: block;
    padding: 10px 16px 10px 52px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    position: relative;
}

.mm-sub-link::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--purple-300, #c4b5fd);
    transform: translateY(-50%);
}

.mm-sub-link:last-child {
    border-bottom: none;
}

.mm-sub-link:active {
    color: var(--purple-700);
    background: rgba(139, 92, 246, .06);
}

.mobile-menu-footer {
    border-top: 1px solid var(--line, #e5e7eb);
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-menu-footer a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    background: var(--purple-50, #f5f3ff);
    border-radius: 8px;
    flex: 1 0 40%;
}

.mobile-menu-footer a:hover {
    background: var(--purple-100, #ede9fe);
}

/* Menu page banner sections */
.menu-banner-single {
    margin-bottom: 24px;
}

.menu-banner-slider {
    position: relative;
    margin-bottom: 24px;
    overflow: hidden;
}

.menu-banner-track {
    position: relative;
}

.menu-banner-slide {
    display: none;
}

.menu-banner-slide.is-active {
    display: block;
}

.menu-banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.menu-banner-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--muted, #ccc);
    cursor: pointer;
    padding: 0;
}

.menu-banner-dots button.is-active {
    background: var(--brand, #111);
}

/* Cart canvas (all screen sizes) */
.cart-canvas-panel {
    width: min(100vw, 440px);
    max-width: 100%;
    background: #faf9fc;
}

.cart-canvas-panel .oc-body.cart-canvas-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    gap: 0;
    padding: 0;
    background: #faf9fc;
}

.cart-canvas-header {
    background: #fff;
    flex-shrink: 0;
}

.cart-canvas-header h3 {
    font-size: 16px;
    letter-spacing: 0.01em;
}

.cart-canvas-header h3 i {
    font-size: 18px;
}

.cart-canvas-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
}

.cart-canvas-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(91, 33, 182, 0.08);
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    animation: none;
}

.cart-canvas-thumb {
    display: block;
    flex-shrink: 0;
    width: 76px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--purple-50, #f5f3ff);
}

.cart-canvas-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-canvas-item .cart-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.cart-canvas-item .cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-name {
    margin: 0;
    font-weight: 650;
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-name a {
    color: var(--text, #1e1233);
    text-decoration: none;
}

.cart-item-name a:hover {
    color: var(--purple-700, #5b21b6);
}

.cart-item-meta {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--muted, #6b7280);
    line-height: 1.3;
}

.cart-item-price {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text, #1e1233);
}

.cart-canvas-remove {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted, #9ca3af);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.15s, color 0.15s;
}

.cart-canvas-remove:hover {
    background: #fef2f2;
    color: #dc2626;
}

.cart-canvas-qty {
    margin: 0;
    align-self: flex-start;
    height: 34px;
    border-radius: 10px;
    border-color: rgba(91, 33, 182, 0.14);
    background: #fff;
}

.cart-canvas-qty button {
    width: 34px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 16px;
    color: var(--purple-700, #5b21b6);
    cursor: pointer;
}

.cart-canvas-qty span {
    min-width: 28px;
    font-size: 13px;
    font-weight: 700;
}

.cart-canvas-summary {
    flex: 0 0 auto;
    margin: 0;
    padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
    background: #fff;
    border: 0;
    border-top: 1px solid rgba(91, 33, 182, 0.1);
    border-radius: 0;
    box-shadow: 0 -8px 24px rgba(30, 18, 51, 0.06);
    position: relative;
    width: 100%;
}

.cart-canvas-summary h4 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text, #1e1233);
}

.cart-canvas-summary .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    padding: 5px 0;
    color: var(--muted, #6b7280);
}

.cart-canvas-summary .summary-row span:last-child,
.cart-canvas-summary .summary-row strong {
    color: var(--text, #1e1233);
    font-weight: 600;
}

.cart-canvas-summary .is-saving {
    color: #15803d !important;
}

.cart-canvas-total {
    border-top: 1px solid rgba(91, 33, 182, 0.1);
    margin-top: 8px;
    padding-top: 12px !important;
    font-size: 15px !important;
    color: var(--text, #1e1233) !important;
}

.cart-canvas-total span,
.cart-canvas-total strong {
    font-weight: 750 !important;
    font-size: 15px;
}

.cart-canvas-checkout {
    margin-top: 14px;
    height: 46px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.cart-canvas-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    gap: 6px;
}

.cart-canvas-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--purple-50, #f5f3ff);
    color: var(--purple-700, #5b21b6);
    display: grid;
    place-items: center;
    font-size: 26px;
    margin-bottom: 8px;
}

.cart-canvas-empty h4 {
    margin: 0;
    font-size: 17px;
    color: var(--text, #1e1233);
}

.cart-canvas-empty p {
    margin: 0;
    font-size: 13px;
    color: var(--muted, #6b7280);
}

.cart-canvas-empty .btn {
    margin-top: 14px;
}

.cart-canvas-loading {
    margin: auto;
    padding: 40px 16px;
    text-align: center;
}

body.cart-canvas-open {
    overflow: hidden;
}

/* Account offcanvas + loader */
.oc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.oc-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.oc-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 440px;
    height: 100%;
    background: #fff;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    transition: right .3s ease;
    box-shadow: -4px 0 30px rgba(0, 0, 0, .12);
}

.oc-panel.is-open {
    right: 0;
}

.oc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line, #eee);
}

.oc-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.oc-header h3 i {
    color: var(--purple-500);
}

.oc-close {
    background: var(--purple-50);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    color: var(--muted);
    display: grid;
    place-items: center;
    transition: all .15s;
}

.oc-close:hover {
    background: var(--purple-100);
    color: var(--purple-700);
}

.oc-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px;
}

.oc-form .field {
    margin-bottom: 16px;
}

.oc-footer {
    padding: 14px 0 0;
    border-top: 1px solid var(--line, #eee);
    margin-top: 10px;
}

.phone-prefix {
    padding: 10px 12px;
    background: var(--purple-50);
    border: 1px solid var(--line, #e5e7eb);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-700);
    white-space: nowrap;
}

body.is-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
}

.page-loader:not([hidden]),
.page-loader.is-active {
    display: grid;
}

.page-loader[hidden] {
    display: none !important;
}

.page-loader-card,
.page-loader-content {
    text-align: center;
    padding: 22px 28px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    min-width: 160px;
}

.page-loader-card p,
.page-loader-content p {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-700, #5b21b6);
}

.loader-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid var(--purple-100, #ede9fe);
    border-top-color: var(--purple-600, #7c3aed);
    border-radius: 50%;
    animation: loaderSpin .7s linear infinite;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.btn.is-busy {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}

.btn.is-busy .btn-busy-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: loaderSpin .7s linear infinite;
}

.spin {
    display: inline-block;
    animation: loaderSpin .8s linear infinite;
}

.save-banner.fade-out {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .4s, transform .4s;
}

.account-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.account-page-head .section-title {
    margin: 0;
}

.profile-add-btn {
    background: var(--purple-600);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.profile-add-btn:hover {
    background: var(--purple-700);
}