.hero {
    padding: 48px 0 20px;
    background:
        radial-gradient(ellipse at 88% 0%, rgba(106, 13, 173, 0.14), transparent 46%),
        linear-gradient(180deg, #F8EEF1 0%, var(--color-bg) 78%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.45rem, 4.2vw, 3.8rem); line-height: 1.05; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-stage { display: grid; grid-template-columns: 1.2fr 0.8fr; grid-template-rows: 180px 140px; gap: 12px; }
.hero-stage .studio { border-radius: 16px; overflow: hidden; box-shadow: var(--vy-shadow-sm); }
.hero-stage .studio:first-child { grid-row: 1 / span 2; min-height: 332px; }

.home-banner { padding: 18px 0 8px; }
.home-banner .container { position: relative; }
.home-slide {
    display: none;
    position: relative;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    background-color: #f6eef2;
    background-size: cover;
    background-position: center;
}
.home-slide.is-current { display: flex; align-items: center; }
.home-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 38%, rgba(255,255,255,0) 68%);
}
.home-slide.is-right::before {
    background: linear-gradient(270deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 38%, rgba(255,255,255,0) 68%);
}
.home-slide.is-dark::before {
    background: linear-gradient(90deg, rgba(24,12,18,.82) 0%, rgba(24,12,18,.45) 42%, rgba(24,12,18,0) 70%);
}
.home-slide.is-dark.is-right::before {
    background: linear-gradient(270deg, rgba(24,12,18,.82) 0%, rgba(24,12,18,.45) 42%, rgba(24,12,18,0) 70%);
}
.home-slide-copy { position: relative; z-index: 1; max-width: 540px; padding: 42px 8px; }
.home-slide.is-right { justify-content: flex-end; }
.home-slide.is-right .home-slide-copy { text-align: right; }
.home-slide.is-right .hero-actions { justify-content: flex-end; }
.home-slide.is-dark h1,
.home-slide.is-dark .lede,
.home-slide.is-dark .eyebrow { color: #fff; }
.home-slide h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; margin-bottom: 10px; }
.banner-nav {
    position: absolute;
    top: 42%;
    z-index: 2;
    width: 44px;
    height: 72px;
    border: 0;
    border-radius: 8px;
    background: rgba(255,255,255,.9);
    color: var(--color-ink);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--vy-shadow-sm);
}
.banner-nav.prev { left: 22px; }
.banner-nav.next { right: 22px; }
.banner-nav:hover { background: #fff; }
.banner-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.banner-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: #d8d0d8;
    cursor: pointer;
}
.banner-dots button.is-current { width: 22px; background: var(--brand-burgundy); }

.band { padding: 8px 0 32px; }
.band-white { background: transparent; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 8px 0 16px; }
.section-head a { font-weight: 700; text-decoration: none; font-size: 0.95rem; }
.section-head a:hover { text-decoration: underline; }

.dept-tiles { display: flex; gap: 10px; overflow: auto; padding-bottom: 6px; }
.dept-tile {
    background: white;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--color-ink);
    white-space: nowrap;
    font-weight: 700;
    box-shadow: var(--vy-shadow-sm);
}
.dept-tile:hover { background: var(--brand-burgundy); border-color: var(--brand-burgundy); color: white; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
    position: relative;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.product-card:hover { border-color: #e0d0da; box-shadow: var(--vy-shadow); transform: translateY(-3px); }
.product-media { display: block; text-decoration: none; position: relative; }
.product-body { padding: 14px 14px 16px; }
.product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    color: var(--color-ink);
    text-decoration: none;
    font-weight: 700;
}
.product-name:hover { color: var(--brand-burgundy); }
.product-seller { margin: 8px 0 0; font-size: 0.92rem; color: var(--color-muted); }
.product-seller a { color: inherit; text-decoration: none; }
.product-seller a:hover { color: var(--brand-burgundy); }
.verified { color: var(--color-success); margin-left: 6px; font-size: 0.8rem; font-weight: 700; }
.wish-form { position: absolute; top: 10px; right: 10px; }
.wish-btn {
    width: 38px; height: 38px; border-radius: 999px; border: 0;
    background: white; color: var(--color-ink); display: grid; place-items: center;
    box-shadow: 0 6px 16px rgba(38, 33, 43, 0.12);
}
.wish-btn:hover { color: var(--brand-burgundy); }
.wish-btn.is-saved { color: var(--brand-burgundy); background: var(--brand-rose); }
.wish-btn.is-saved .icon { fill: currentColor; }
.badge-discount, .badge-new {
    position: absolute; left: 10px; top: 10px;
    color: white;
    border-radius: 999px; font-size: 0.75rem; font-weight: 700; padding: 4px 8px;
    font-family: var(--font-body);
}
.badge-discount { background: var(--brand-burgundy); }
.badge-new { background: var(--brand-purple); }
.price-row { display: flex; gap: 8px; align-items: baseline; margin: 8px 0 0; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--brand-wine-dark); }
.price-compare { color: var(--color-muted); text-decoration: line-through; font-size: 0.92rem; }
.price-off { color: var(--brand-burgundy); font-size: 0.88rem; font-weight: 700; }

.studio {
    min-height: 220px;
    display: grid;
    place-items: center;
    background: #f3eaf4;
    overflow: hidden;
}
.studio svg { width: 58%; height: auto; fill: none; stroke: var(--brand-wine-dark); stroke-width: 3; transition: transform 0.35s ease; }
.product-card:hover .studio svg { transform: scale(1.05); }
.art-kettle { background: linear-gradient(180deg, #F8EEF1, #E7D4DC); }
.art-shirt { background: linear-gradient(180deg, #F7F2FB, #E4D4F0); }
.art-tote { background: linear-gradient(180deg, #F8EEF1, #E8DCE8); }
.art-beanie { background: linear-gradient(180deg, #F3EAF6, #D9C8E4); }
.art-linen { background: linear-gradient(180deg, #FBF7FC, #E9E0EE); }
.art-pan { background: linear-gradient(180deg, #F6EEE8, #E4D0C8); }
.art-lamp { background: linear-gradient(180deg, #F8F1E8, #E7D3B8); }
.art-bottle { background: linear-gradient(180deg, #F8EEF1, #E5D0D6); }
.art-kids { background: linear-gradient(180deg, #F7F0F8, #E6D4E4); }
.art-shoes { background: linear-gradient(180deg, #F4EEF6, #DCCFE6); }
.art-earbuds { background: linear-gradient(180deg, #F3EEF8, #D9D0E8); }
.art-speaker { background: linear-gradient(180deg, #F2EEF6, #D4CCE2); }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-row div {
    background: white;
    border: 1px solid var(--color-line);
    border-radius: var(--vy-radius);
    padding: 20px;
    box-shadow: var(--vy-shadow-sm);
}
.trust-row .icon { color: var(--brand-burgundy); }
.trust-row h2 { font-size: 1.15rem; margin: 10px 0 6px; }
.trust-row p { margin: 0; color: var(--color-muted); }

.listing-head, .listing-tools { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; min-width: 0; }
.listing-head h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.listing-head p { color: var(--color-muted); margin-bottom: 0; }
.listing-tools { flex-wrap: wrap; max-width: 100%; }
.listing-tools form { min-width: 0; max-width: 100%; }
.listing-tools select { min-width: 180px; max-width: 100%; width: auto; }
.child-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px; }
.child-row a {
    background: white;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 6px 12px;
    text-decoration: none;
    color: var(--color-ink);
    font-weight: 700;
    font-size: 0.92rem;
}
.child-row a:hover { border-color: var(--brand-burgundy); color: var(--brand-burgundy); background: var(--brand-rose); }
.listing-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.filters .offcanvas-body { padding-top: 0; }
.filter-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }

.crumbs { font-size: 0.92rem; color: var(--color-muted); margin-bottom: 16px; }
.crumbs a { color: var(--color-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-burgundy); }

.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
.pdp h1 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.pdp-gallery .studio { min-height: 460px; border-radius: var(--vy-radius); }
.pdp-price .price { font-size: 1.85rem; }
.rating-line { display: flex; align-items: center; gap: 6px; color: var(--color-muted); margin: 8px 0 12px; }
.rating-line .icon { width: 16px; height: 16px; color: var(--brand-wine); }
.stock-note { color: var(--color-muted); font-weight: 700; margin-bottom: 4px; }
.variant-set { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-pill { position: relative; display: inline-flex; }
.variant-pill input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
}
.variant-pill span { display: inline-block; border: 1px solid var(--color-line); background: white; border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.variant-pill input:checked + span { border-color: var(--brand-burgundy); background: var(--brand-rose); color: var(--brand-burgundy); }
.variant-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.18); }
.variant-pill input:disabled + span { opacity: 0.45; }
.buy-actions { display: flex; gap: 10px; margin: 12px 0; flex-wrap: wrap; align-items: center; }
.qty-stepper {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 6px;
    border: 1px solid #e6e1ea;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(40, 20, 30, 0.05);
}
.qty-stepper:focus-within { border-color: var(--brand-burgundy); box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.12); }
.qty-step {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-ink);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.qty-step:hover:not(:disabled) { background: var(--brand-rose); }
.qty-step:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-stepper input {
    width: 2rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    font-weight: 700;
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper input:focus { border: 0; box-shadow: none; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; }
.facts li { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.facts .icon { color: var(--brand-burgundy); flex: none; margin-top: 2px; }
.pdp-detail { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; margin: 40px 0; }
.pdp-detail > div { background: white; border: 1px solid var(--color-line); border-radius: var(--vy-radius); padding: 22px; box-shadow: var(--vy-shadow-sm); }
.review { padding: 14px 0; border-top: 1px solid var(--color-line); }
.review:first-of-type { border-top: 0; }
.text-action { background: none; border: 0; color: var(--brand-burgundy); padding: 0; font-weight: 700; }
.text-action:hover { color: var(--brand-wine-dark); }
.text-action.is-saved { color: var(--brand-wine); }
.buy-bar {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 26;
    background: white; border-top: 1px solid var(--color-line);
    box-shadow: 0 -8px 24px rgba(74, 21, 40, 0.06);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    align-items: center; justify-content: space-between; gap: 12px;
}
.bar-price { display: block; font-family: var(--font-display); font-size: 1.2rem; }

.cart-layout, .checkout-grid { display: grid; grid-template-columns: 1.4fr 0.72fr; gap: 20px; align-items: start; }
.cart-group { padding: 16px 18px 8px; margin-bottom: 16px; }
.cart-group header { margin-bottom: 4px; }
.cart-group header p { color: var(--color-muted); }
.cart-line { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; padding: 14px 0; border-top: 1px solid var(--color-line); }
.cart-line h3 a { color: var(--color-ink); text-decoration: none; }
.cart-line h3 a:hover { color: var(--brand-burgundy); }
.line-art .studio { min-height: 92px; border-radius: 12px; }
.qty-form { display: flex; gap: 8px; align-items: center; max-width: 260px; }
.qty-form input { width: auto; max-width: 96px; }
.cart-qty { display: flex; align-items: center; gap: 8px; margin: 8px 0 6px; }
.cart-qty .btn { height: 46px; padding-top: 0; padding-bottom: 0; }
.line-actions { display: flex; align-items: center; flex-wrap: wrap; }
.line-actions form { margin: 0; }
.line-sep { margin: 0 8px; color: var(--color-muted); font-weight: 400; line-height: 1; }
.coupon-apply { display: flex; align-items: stretch; gap: 8px; }
.coupon-apply input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0 12px;
    line-height: 1.2;
}
.coupon-apply .btn { height: 46px; padding-top: 0; padding-bottom: 0; flex: none; }
.summary-card { padding: 20px; position: sticky; top: 132px; }
.summary-card dl { margin: 12px 0; }
.summary-card dl div { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; }
.summary-card dt { color: var(--color-muted); font-weight: 600; }
.summary-card .total { font-family: var(--font-display); font-size: 1.2rem; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--color-line); }
.summary-card .total dt, .summary-card .total dd { color: var(--brand-wine-dark); font-weight: 600; }
.summary-card .btn { width: 100%; margin-top: 8px; }
.summary-card .coupon-apply .btn { width: auto; margin-top: 0; flex: 0 0 auto; }
.ship-group + .ship-group { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-line); }
.pay-option { border: 1px solid var(--color-line); border-radius: 12px; padding: 12px; background: white; margin-bottom: 8px; }
.pay-option:has(input:checked) { border-color: var(--brand-burgundy); background: var(--brand-rose); }

.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pager a, .pager span {
    min-width: 38px;
    text-align: center;
    padding: 7px 10px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--color-line);
    text-decoration: none;
    color: var(--color-ink);
    font-weight: 700;
}
.pager a:hover { border-color: var(--brand-burgundy); color: var(--brand-burgundy); }
.pager [aria-current="page"], .pager a.is-current { background: var(--brand-burgundy); color: white; border-color: var(--brand-burgundy); }

.compare-table { overflow: auto; background: white; border-radius: var(--vy-radius); border: 1px solid var(--color-line); box-shadow: var(--vy-shadow-sm); }
.compare-table table, .data-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td, .data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: middle; }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.link-grid a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    background: white;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-weight: 600;
    box-shadow: var(--vy-shadow-sm);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.link-grid a::after { content: "→"; margin-left: auto; color: var(--brand-burgundy); }
.link-grid a:hover { border-color: #d9c4d0; color: var(--brand-burgundy); transform: translateY(-2px); box-shadow: var(--vy-shadow); }

.steps { list-style: none; padding: 0; margin: 18px 0 20px; counter-reset: step; }
.steps li {
    counter-increment: step;
    display: flex;
    gap: 12px;
    align-items: center;
    background: white;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 8px 0;
    box-shadow: var(--vy-shadow-sm);
}
.steps li::before {
    content: counter(step);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand-rose);
    color: var(--brand-burgundy);
    font-family: var(--font-display);
    font-weight: 600;
    flex: none;
}

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 16px;
    background:
        radial-gradient(900px 420px at 0% 0%, rgba(106, 13, 173, 0.35), transparent 55%),
        linear-gradient(165deg, #4A1528 0%, #3B185F 100%);
}
.auth-frame {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
}
.auth-story { color: #f8eef1; padding: 12px 8px; }
.auth-story .brand { margin-bottom: 4px; }
.auth-story .brand-mark {
    width: 132px;
    height: 132px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.auth-story .brand > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.auth-story h2 { font-size: clamp(2rem, 3vw, 2.75rem); color: white; margin: 18px 0 12px; line-height: 1.12; }
.auth-story p, .auth-story li { color: #eadde6; }
.auth-story ul { margin: 8px 0 0; padding: 0; list-style: none; }
.auth-story li { position: relative; padding: 7px 0 7px 16px; }
.auth-story li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f0e8f7;
    position: absolute;
    left: 0;
    top: 14px;
}
.auth-card { width: 100%; padding: 32px 28px; border: 0; box-shadow: var(--vy-shadow-lg); }
.auth-card .brand { margin-bottom: 18px; }
.auth-card h1 { font-size: 2rem; }
.auth-card .btn { width: 100%; margin-top: 18px; }
.auth-card .email-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.auth-card .email-row input { flex: 1 1 180px; min-width: 0; }
.auth-card .email-row .btn { width: auto; margin-top: 0; white-space: nowrap; padding-inline: 14px; }
.field-hint { color: var(--color-muted); font-size: 0.88rem; margin: 6px 0 0; }
.field-ok { color: var(--color-success); font-size: 0.88rem; font-weight: 600; margin: 6px 0 0; }
.auth-card .btn-row { margin-top: 8px; }
.auth-card .btn-row .btn { margin-top: 8px; }

.added-modal { border: 0; border-radius: var(--vy-radius); }
.added-modal .modal-body { padding: 24px; }

@media (min-width: 992px) {
    .listing-layout .filters {
        position: sticky;
        top: 128px;
        background: white;
        border: 1px solid var(--color-line);
        border-radius: var(--vy-radius);
        box-shadow: var(--vy-shadow-sm);
        padding: 16px 16px 8px;
        max-height: calc(100vh - 148px);
        overflow: auto;
    }
}

@media (min-width: 860px) {
    .auth-card .brand { display: none; }
}
