:root {
    --rose-50: #fff8f7;
    --rose-100: #fae1e3;
    --rose-200: #f4c8cc;
    --rose-400: #bd6f68;
    --rose-500: #a75c56;
    --wine: #522f32;
    --ink: #302425;
    --muted: #7b6464;
    --paper: #fffaf8;
    --white: #ffffff;
    --gold: #c9976f;
    --shadow: 0 18px 46px rgba(117, 65, 62, .16);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
    scrollbar-color: var(--rose-500) var(--rose-100);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--rose-100);
}

::-webkit-scrollbar-thumb {
    border: 3px solid var(--rose-100);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--rose-400), var(--wine));
}

::-webkit-scrollbar-thumb:hover {
    background: var(--wine);
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(250, 225, 227, .9), transparent 34rem),
        linear-gradient(180deg, #fff8f7 0%, #fffaf8 42%, #fff4f1 100%);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

.top-strip {
    display: flex;
    justify-content: center;
    gap: clamp(.75rem, 3vw, 2rem);
    padding: .55rem 1rem;
    background: var(--wine);
    color: #fff7f5;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.top-strip__mobile {
    display: none;
}

@keyframes top-strip-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(20px);
    background: rgba(255, 248, 247, .86);
    border-bottom: 1px solid rgba(189, 111, 104, .18);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(189, 111, 104, .22);
}

.brand strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--rose-500);
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nav-links a,
.cart-button {
    border: 1px solid transparent;
    background: transparent;
    color: var(--wine);
    border-radius: 999px;
    padding: .65rem .85rem;
    cursor: pointer;
    font-weight: 700;
    font-size: .9rem;
}

.nav-links a.active,
.nav-links a:hover,
.cart-button:hover {
    background: rgba(250, 225, 227, .72);
    border-color: rgba(189, 111, 104, .24);
}

.cart-button {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: var(--rose-500);
    color: white;
    font-size: .75rem;
}

.catalog-hero,
.catalog-section,
.category-band,
.conversion-band,
.product-detail,
.product-top-actions,
.product-story,
.included-section,
.checkout-shell {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.catalog-hero {
    min-height: calc(100svh - 125px);
    padding: clamp(2rem, 5vw, 4rem) 0 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.eyebrow {
    display: inline-block;
    color: var(--rose-500);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--wine);
    line-height: .98;
    letter-spacing: 0;
}

.hero-copy h1,
.checkout-copy h1 {
    max-width: 760px;
    margin-top: .8rem;
    font-size: 6.1rem;
}

.hero-copy p,
.checkout-copy p {
    max-width: 650px;
    margin: 1.2rem 0 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-actions,
.entry-modal__actions,
.card-actions,
.buy-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.hero-actions {
    margin-top: 1.6rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .82rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--wine);
    color: #fff8f6;
    box-shadow: 0 10px 24px rgba(82, 47, 50, .2);
}

.button--primary:hover {
    background: #3f2326;
}

.button--ghost {
    background: rgba(255, 255, 255, .7);
    color: var(--wine);
    border-color: rgba(189, 111, 104, .28);
}

.button--wide {
    width: 100%;
}

.hero-trust,
.checkout-perks {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.3rem;
}

.hero-trust span,
.checkout-perks span,
.micro-tags span,
.benefit-list span,
.included-list span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(189, 111, 104, .2);
    background: rgba(255, 255, 255, .66);
    color: var(--wine);
    border-radius: 999px;
    padding: .48rem .72rem;
    font-size: .82rem;
    font-weight: 700;
}

.hero-feature {
    position: relative;
    min-height: 560px;
    border-radius: var(--radius);
    border: 1px solid rgba(189, 111, 104, .2);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(250, 225, 227, .42)),
        var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.feature-logo {
    position: absolute;
    inset: 1.2rem auto auto 1.2rem;
    z-index: 2;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(189, 111, 104, .22);
}

.feature-art {
    position: absolute;
    inset: 6rem 1.2rem 7rem;
}

.feature-info {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    display: grid;
    gap: .2rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(255, 250, 248, .88);
    border: 1px solid rgba(189, 111, 104, .2);
}

.feature-info span {
    color: var(--rose-500);
    font-size: .72rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0;
}

.feature-info strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--wine);
    font-size: 1.65rem;
}

.feature-info em {
    color: var(--rose-500);
    font-size: 1.65rem;
    font-style: normal;
    font-weight: 900;
}

.category-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
    padding: 1rem 0 2.5rem;
}

.category-bubble {
    min-height: 154px;
    border: 1px solid rgba(189, 111, 104, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: var(--wine);
    padding: 1rem;
    cursor: pointer;
    text-align: center;
    display: grid;
    place-items: center;
    align-content: center;
    gap: .35rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.category-bubble:hover,
.category-bubble.active {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.category-bubble span {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
}

.category-bubble small {
    max-width: 190px;
    color: var(--muted);
}

.catalog-section {
    padding: 2.8rem 0;
}

.catalog-section--compact {
    padding-top: 1rem;
}

.section-heading,
.checkout-card__header,
.cart-panel__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.section-heading h2,
.product-story h2,
.included-section h2,
.checkout-card h2,
.cart-panel h2 {
    margin-top: .35rem;
    font-size: 3.8rem;
}

.filter-pills {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .45rem;
}

.filter-pill {
    min-height: 40px;
    border: 1px solid rgba(189, 111, 104, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .68);
    color: var(--wine);
    padding: .55rem .85rem;
    cursor: pointer;
    font-weight: 800;
}

.filter-pill.active,
.filter-pill:hover {
    background: var(--wine);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.product-grid--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(189, 111, 104, .18);
    box-shadow: 0 12px 28px rgba(117, 65, 62, .08);
    overflow: hidden;
}

.product-card.is-hidden {
    display: none;
}

.product-card__media {
    position: relative;
    aspect-ratio: 1 / .92;
    background: linear-gradient(145deg, var(--product-c, #fff8f7), var(--product-a, #fae1e3));
    overflow: hidden;
}

.badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 2;
    padding: .42rem .58rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--wine);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1rem;
    min-height: 318px;
}

.product-card h3 {
    font-size: 1.75rem;
    min-height: 3.4rem;
}

.product-card p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}

.price-row {
    margin-top: auto;
    display: grid;
    gap: .1rem;
}

.price-row strong,
.detail-price strong {
    color: var(--rose-500);
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 900;
}

.price-row span,
.detail-price span {
    color: var(--wine);
    font-size: .9rem;
    font-weight: 800;
}

.micro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.micro-tags span {
    padding: .34rem .52rem;
    font-size: .72rem;
}

.card-actions {
    margin-top: .2rem;
}

.card-actions .button {
    flex: 1 1 118px;
    min-height: 42px;
    padding: .7rem .8rem;
}

.product-art {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
    background:
        radial-gradient(circle at 65% 20%, rgba(255, 255, 255, .8), transparent 26%),
        linear-gradient(145deg, var(--product-c), var(--product-a));
}

.product-art--feature,
.product-art--detail {
    border-radius: var(--radius);
    min-height: 100%;
}

.art-glow {
    position: absolute;
    inset: 18% 10% auto;
    height: 54%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .46);
    filter: blur(20px);
}

.art-ribbon {
    position: absolute;
    width: 70%;
    height: 18px;
    left: 15%;
    bottom: 17%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--product-b), transparent);
    opacity: .72;
}

.art-label {
    position: absolute;
    right: 8%;
    bottom: 7%;
    font-family: "Cormorant Garamond", Georgia, serif;
    color: rgba(82, 47, 50, .6);
    font-size: 2.1rem;
    font-weight: 700;
}

.product-art--photo .art-glow {
    inset: 14% 8% auto;
    height: 62%;
    background: rgba(255, 255, 255, .58);
}

.product-art--photo .art-ribbon {
    bottom: 12%;
    opacity: .44;
}

.product-photo {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 84%;
    height: 84%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 18px 22px rgba(82, 47, 50, .18));
}

.product-art--detail .product-photo,
.product-art--feature .product-photo {
    width: 88%;
    height: 88%;
}

.product-art--photo .art-label {
    z-index: 2;
    opacity: .42;
}

.cosmetic-box,
.cosmetic-tube,
.powder-case,
.brush,
.gift-bag,
.tag-card,
.lip-balm,
.small-heart,
.flower,
.stem,
.wrap,
.lipstick {
    position: absolute;
    display: block;
}

.cosmetic-box {
    width: 34%;
    height: 43%;
    left: 22%;
    top: 31%;
    border-radius: 7px;
    background: linear-gradient(160deg, #fff, var(--product-a));
    border: 2px solid rgba(82, 47, 50, .1);
    box-shadow: 0 18px 35px rgba(82, 47, 50, .12);
    transform: rotate(-7deg);
}

.cosmetic-box::before {
    content: "";
    position: absolute;
    inset: 13% 16% auto;
    height: 3px;
    background: var(--product-b);
    border-radius: 999px;
}

.cosmetic-tube {
    width: 14%;
    height: 48%;
    right: 25%;
    top: 24%;
    border-radius: 999px 999px 12px 12px;
    background: linear-gradient(180deg, #fff, var(--product-b));
    box-shadow: 0 16px 28px rgba(82, 47, 50, .14);
    transform: rotate(9deg);
}

.powder-case {
    width: 28%;
    aspect-ratio: 1;
    left: 44%;
    bottom: 16%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 48%, var(--product-a) 0 38%, #fff 39% 55%, var(--product-b) 56%);
    box-shadow: 0 16px 28px rgba(82, 47, 50, .13);
}

.brush {
    width: 8%;
    height: 50%;
    left: 18%;
    bottom: 13%;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--product-b) 0 20%, #f8dfd7 21% 32%, #6d4544 33%);
    transform: rotate(-28deg);
}

.small-heart {
    width: 24px;
    height: 24px;
    right: 16%;
    top: 18%;
    background: var(--product-b);
    transform: rotate(45deg);
    opacity: .86;
}

.small-heart::before,
.small-heart::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--product-b);
}

.small-heart::before {
    left: -12px;
}

.small-heart::after {
    top: -12px;
}

.gift-bag {
    width: 42%;
    height: 46%;
    left: 28%;
    top: 34%;
    border-radius: 7px 7px 18px 18px;
    background: linear-gradient(160deg, #fff, var(--product-a));
    border: 2px solid rgba(82, 47, 50, .12);
    box-shadow: 0 18px 34px rgba(82, 47, 50, .13);
}

.gift-bag::before {
    content: "";
    position: absolute;
    left: 28%;
    top: -22%;
    width: 44%;
    height: 34%;
    border: 4px solid var(--product-b);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
}

.tag-card {
    width: 24%;
    height: 28%;
    right: 21%;
    top: 26%;
    border-radius: 6px;
    background: #fffaf8;
    border: 1px solid rgba(82, 47, 50, .12);
    transform: rotate(10deg);
}

.lip-balm {
    width: 13%;
    height: 42%;
    left: 20%;
    top: 31%;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff, var(--product-b));
    transform: rotate(-13deg);
}

.flower {
    width: 29%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, #fff 0 12%, transparent 13%),
        conic-gradient(from 20deg, var(--product-b), var(--product-a), var(--product-b), var(--product-a), var(--product-b));
    box-shadow: 0 16px 28px rgba(82, 47, 50, .12);
}

.flower-one {
    left: 24%;
    top: 20%;
}

.flower-two {
    right: 23%;
    top: 27%;
    transform: scale(.82);
}

.flower-three {
    left: 37%;
    top: 37%;
    transform: scale(.72);
}

.stem {
    width: 4px;
    height: 38%;
    background: #8d7a59;
    transform-origin: bottom;
    border-radius: 999px;
    opacity: .72;
}

.stem-one {
    left: 43%;
    bottom: 18%;
    transform: rotate(-17deg);
}

.stem-two {
    right: 42%;
    bottom: 17%;
    transform: rotate(18deg);
}

.wrap {
    width: 34%;
    height: 34%;
    bottom: 11%;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(82, 47, 50, .1);
}

.wrap-one {
    left: 30%;
    clip-path: polygon(0 0, 100% 18%, 48% 100%);
}

.wrap-two {
    right: 26%;
    clip-path: polygon(0 18%, 100% 0, 52% 100%);
}

.lipstick {
    width: 12%;
    height: 38%;
    right: 19%;
    bottom: 20%;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, var(--product-b) 0 28%, #f6eee9 29% 42%, #5f3a3d 43%);
    transform: rotate(18deg);
}

.conversion-band {
    margin-top: 1rem;
    margin-bottom: 4rem;
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: var(--radius);
    border: 1px solid rgba(189, 111, 104, .2);
    background: linear-gradient(135deg, rgba(82, 47, 50, .96), rgba(167, 92, 86, .92));
    color: white;
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 1.5rem;
}

.conversion-band .eyebrow,
.conversion-band h2 {
    color: #fff4ef;
}

.conversion-band ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}

.conversion-band li {
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
}

.conversion-band strong,
.conversion-band span {
    display: block;
}

.conversion-band span {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .76);
    font-size: .9rem;
}

.product-detail {
    padding: 1rem 0 clamp(1.6rem, 4vw, 3.5rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
    gap: clamp(1.2rem, 4vw, 3rem);
    align-items: start;
}

.product-top-actions {
    padding-top: clamp(1rem, 3vw, 1.6rem);
}

.gallery-shell,
.buy-box,
.checkout-card {
    border: 1px solid rgba(189, 111, 104, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow);
}

.gallery-shell {
    padding: .9rem;
}

.gallery-main {
    min-height: 590px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--product-a);
}

.gallery-main.package .product-art {
    filter: saturate(.9);
}

.gallery-main.package .art-ribbon {
    height: 42px;
    bottom: 28%;
}

.gallery-main.items .product-art {
    transform: scale(.92);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
    margin-top: .8rem;
}

.gallery-thumb {
    min-height: 48px;
    border-radius: var(--radius);
    border: 1px solid rgba(189, 111, 104, .2);
    background: var(--rose-50);
    color: var(--wine);
    cursor: pointer;
    font-weight: 800;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    background: var(--wine);
    color: white;
}

.buy-box {
    position: sticky;
    top: 118px;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.buy-box h1 {
    margin-top: .5rem;
    font-size: 4.7rem;
}

.product-lead {
    color: var(--muted);
    font-size: 1.08rem;
}

.detail-price {
    display: grid;
    gap: .2rem;
    margin: 1.1rem 0;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--rose-50);
    border: 1px solid rgba(189, 111, 104, .18);
}

.benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1rem;
}

.buy-actions .button {
    flex: 1 1 160px;
}

.soft-note {
    color: var(--muted);
    font-size: .88rem;
}

.product-story {
    display: grid;
    grid-template-columns: .72fr 1fr;
    gap: 1rem;
    padding: 1.5rem 0 2.5rem;
}

.story-copy {
    padding-right: 1rem;
}

.story-copy p {
    color: var(--muted);
    font-size: 1.02rem;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.story-card {
    min-height: 150px;
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(189, 111, 104, .18);
}

.story-card span {
    display: block;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--rose-400);
}

.story-card p {
    margin: .8rem 0 0;
    color: var(--wine);
    font-weight: 800;
}

.included-section {
    padding: 2rem 0;
}

.included-list {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}

.instagram-section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: minmax(0, .62fr) minmax(320px, .38fr);
    gap: 1rem;
    align-items: start;
}

.instagram-section h2 {
    margin-top: .35rem;
    font-size: 3.2rem;
}

.instagram-frame {
    width: 100%;
    min-height: 520px;
    border: 1px solid rgba(189, 111, 104, .2);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.checkout-shell {
    min-height: calc(100svh - 125px);
    padding: clamp(2rem, 5vw, 4rem) 0;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(340px, .72fr);
    gap: clamp(1.2rem, 4vw, 3rem);
    align-items: start;
}

.checkout-card {
    padding: clamp(1rem, 3vw, 1.4rem);
}

.checkout-card__header a {
    color: var(--rose-500);
    font-weight: 800;
}

.checkout-summary {
    display: grid;
    gap: .65rem;
    margin-bottom: 1rem;
}

.checkout-line,
.cart-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .8rem;
    padding: .8rem;
    border-radius: var(--radius);
    background: var(--rose-50);
    border: 1px solid rgba(189, 111, 104, .16);
}

.checkout-line strong,
.cart-line strong {
    color: var(--wine);
}

.checkout-line span,
.cart-line span {
    display: block;
    color: var(--muted);
    font-size: .86rem;
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    justify-content: end;
}

.qty-controls button,
.icon-button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(189, 111, 104, .24);
    background: white;
    color: var(--wine);
    cursor: pointer;
    font-weight: 900;
}

.checkout-card label {
    display: grid;
    gap: .35rem;
    margin-top: .8rem;
    color: var(--wine);
    font-weight: 800;
}

.checkout-card input,
.checkout-card select,
.checkout-card textarea {
    width: 100%;
    border: 1px solid rgba(189, 111, 104, .22);
    background: #fff;
    border-radius: var(--radius);
    padding: .85rem .9rem;
    color: var(--ink);
    outline: none;
}

.checkout-card input:focus,
.checkout-card select:focus,
.checkout-card textarea:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 3px rgba(189, 111, 104, .14);
}

.hidden {
    display: none !important;
}

.checkout-total {
    display: grid;
    gap: .45rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--wine);
    color: white;
}

.checkout-total div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-total span {
    color: rgba(255, 255, 255, .76);
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
}

.cart-drawer.is-open {
    pointer-events: auto;
}

.cart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(48, 36, 37, .4);
    opacity: 0;
    transition: opacity .2s ease;
}

.cart-drawer.is-open .cart-drawer__overlay {
    opacity: 1;
}

.cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--paper);
    box-shadow: -20px 0 60px rgba(48, 36, 37, .18);
    transform: translateX(102%);
    transition: transform .24s ease;
}

.cart-drawer.is-open .cart-panel {
    transform: translateX(0);
}

.cart-items {
    display: grid;
    gap: .7rem;
    overflow: auto;
    padding-right: .2rem;
}

.cart-empty {
    padding: 1rem;
    border-radius: var(--radius);
    background: var(--rose-50);
    color: var(--muted);
}

.cart-panel__footer {
    margin-top: auto;
    padding-top: 1rem;
    display: grid;
    gap: .75rem;
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(189, 111, 104, .18);
}

.cart-panel__footer p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
}

.entry-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(48, 36, 37, .38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.entry-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.entry-modal__card {
    position: relative;
    width: min(480px, 100%);
    padding: clamp(1.2rem, 4vw, 2rem);
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid rgba(189, 111, 104, .2);
    box-shadow: 0 24px 80px rgba(48, 36, 37, .22);
}

.entry-modal__card .icon-button {
    position: absolute;
    top: .8rem;
    right: .8rem;
}

.entry-modal__card h2 {
    max-width: 380px;
    margin-top: .5rem;
    font-size: 3.25rem;
}

.entry-modal__card p {
    color: var(--muted);
}

.scroll-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 35;
    width: min(340px, calc(100% - 32px));
    padding: 1rem 3rem 1rem 1rem;
    border-radius: var(--radius);
    background: var(--wine);
    color: white;
    box-shadow: var(--shadow);
    pointer-events: none;
    transform: translateY(140%);
    transition: transform .24s ease;
}

.scroll-toast.is-visible {
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-toast .icon-button {
    position: absolute;
    top: .65rem;
    right: .65rem;
    background: rgba(255, 255, 255, .12);
    color: white;
    border-color: rgba(255, 255, 255, .2);
}

.scroll-toast strong,
.scroll-toast span {
    display: block;
}

.scroll-toast span {
    color: rgba(255, 255, 255, .76);
    font-size: .86rem;
}

.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(189, 111, 104, .18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.site-footer strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--rose-500);
    font-size: 1.8rem;
}

.site-footer span {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.site-footer p {
    margin: 0;
    max-width: 520px;
    text-align: right;
}

.admin-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(250, 225, 227, .72), transparent 34rem),
        var(--paper);
}

.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.admin-login .admin-card {
    width: min(420px, 100%);
}

.admin-login img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 1px solid rgba(189, 111, 104, .22);
}

.admin-card {
    border-radius: var(--radius);
    border: 1px solid rgba(189, 111, 104, .18);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 32px rgba(117, 65, 62, .1);
    padding: 1.1rem;
}

.admin-card h1,
.admin-card h2 {
    margin-top: .35rem;
    font-size: 2.5rem;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 22;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem max(1rem, calc((100vw - 1180px) / 2));
    background: rgba(255, 248, 247, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(189, 111, 104, .18);
}

.admin-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.admin-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 1.4rem 0 3rem;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 96px;
}

.admin-product-list {
    display: grid;
    gap: .55rem;
    margin-top: .9rem;
}

.admin-product-list a {
    display: grid;
    gap: .15rem;
    padding: .75rem;
    border-radius: var(--radius);
    border: 1px solid rgba(189, 111, 104, .18);
    background: var(--rose-50);
}

.admin-product-list a.active,
.admin-product-list a:hover {
    background: var(--wine);
    color: white;
}

.admin-product-list span {
    color: inherit;
    opacity: .72;
    font-size: .86rem;
}

.admin-form-heading {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-product-form {
    display: grid;
    gap: .95rem;
}

.admin-grid {
    display: grid;
    gap: .8rem;
}

.admin-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-product-form label,
.admin-login label {
    display: grid;
    gap: .35rem;
    color: var(--wine);
    font-weight: 800;
}

.admin-product-form input,
.admin-product-form select,
.admin-product-form textarea,
.admin-login input {
    width: 100%;
    border: 1px solid rgba(189, 111, 104, .22);
    border-radius: var(--radius);
    background: white;
    color: var(--ink);
    padding: .82rem .9rem;
    outline: none;
}

.admin-product-form textarea {
    resize: vertical;
}

.admin-product-form input:focus,
.admin-product-form select:focus,
.admin-product-form textarea:focus,
.admin-login input:focus {
    border-color: var(--rose-500);
    box-shadow: 0 0 0 3px rgba(189, 111, 104, .14);
}

.admin-fieldset {
    min-width: 0;
    border: 1px solid rgba(189, 111, 104, .18);
    border-radius: var(--radius);
    padding: 1rem;
    background: rgba(255, 248, 247, .7);
}

.admin-fieldset legend {
    padding: 0 .35rem;
    color: var(--wine);
    font-weight: 900;
}

.admin-fieldset p {
    margin: 0 0 .8rem;
    color: var(--muted);
    font-size: .9rem;
}

.admin-palette-grid,
.admin-check-grid,
.admin-image-grid {
    display: grid;
    gap: .7rem;
}

.admin-palette-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-palette,
.admin-check-grid label,
.admin-image-card {
    display: grid;
    gap: .4rem;
    padding: .75rem;
    border: 1px solid rgba(189, 111, 104, .18);
    border-radius: var(--radius);
    background: white;
}

.admin-palette span {
    display: flex;
    gap: .25rem;
}

.admin-palette i {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(82, 47, 50, .12);
}

.admin-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: .8rem;
}

.admin-image-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: var(--radius);
    background: var(--rose-50);
}

.admin-radio-line,
.admin-featured {
    display: inline-flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: .45rem !important;
}

.admin-radio-line input,
.admin-featured input,
.admin-palette input,
.admin-check-grid input,
.admin-image-card input {
    width: auto;
}

.admin-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-check-grid label span {
    color: var(--muted);
    font-size: .88rem;
}

.admin-alert,
.admin-success {
    margin: .75rem 0 0;
    padding: .75rem;
    border-radius: var(--radius);
    font-weight: 800;
}

.admin-alert {
    background: #fff0f0;
    color: #8a2c2c;
}

.admin-success {
    background: #f2fff6;
    color: #2d7043;
}

.admin-upload-status {
    margin: .75rem 0 0;
    color: var(--rose-500);
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .top-strip__track {
        animation: none !important;
        transform: none;
    }
}

@media (max-width: 1080px) {
    .hero-copy h1,
    .checkout-copy h1 {
        font-size: 5.2rem;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .conversion-band,
    .product-story,
    .instagram-section {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-grid--three,
    .admin-palette-grid,
    .admin-image-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .top-strip {
        display: flex;
        padding: .48rem 0;
        gap: 0;
        white-space: nowrap;
        overflow: hidden;
        font-size: .72rem;
    }

    .top-strip > span:not(.top-strip__mobile) {
        display: none;
    }

    .top-strip__mobile {
        display: block;
        width: 100%;
        overflow: hidden;
        text-align: left;
    }

    .top-strip__track {
        display: flex;
        width: max-content;
        animation: top-strip-marquee 18s linear infinite;
        will-change: transform;
    }

    .top-strip__group {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 2rem;
        padding-right: 2rem;
    }

    .top-strip__group span {
        flex: 0 0 auto;
    }

    .nav-shell {
        min-height: 70px;
        width: min(100% - 24px, 1180px);
    }

    .brand span {
        display: none;
    }

    .nav-links {
        gap: .2rem;
    }

    .nav-links a,
    .cart-button {
        padding: .55rem .6rem;
        font-size: .82rem;
    }

    .catalog-hero,
    .product-detail,
    .checkout-shell {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .checkout-copy h1 {
        font-size: 4rem;
    }

    .hero-feature {
        min-height: 360px;
    }

    .feature-art {
        top: 4.4rem;
    }

    .section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-pills {
        justify-content: flex-start;
    }

    .product-grid,
    .product-grid--related,
    .story-grid,
    .conversion-band ul {
        grid-template-columns: 1fr;
    }

    .product-card {
        display: grid;
        grid-template-columns: .85fr 1.15fr;
    }

    .product-card__media {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .product-card__body {
        min-height: 0;
    }

    .buy-box {
        position: static;
    }

    .gallery-main {
        min-height: 430px;
    }

    .section-heading h2,
    .product-story h2,
    .included-section h2,
    .checkout-card h2,
    .cart-panel h2 {
        font-size: 3rem;
    }

    .buy-box h1 {
        font-size: 3.7rem;
    }

    .site-footer {
        display: block;
    }

    .site-footer p {
        text-align: left;
        margin-top: .7rem;
    }

    .admin-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-grid--two,
    .admin-check-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-heading {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .catalog-hero,
    .catalog-section,
    .category-band,
    .conversion-band,
    .product-detail,
    .product-top-actions,
    .product-story,
    .included-section,
    .instagram-section,
    .checkout-shell,
    .site-footer {
        width: min(100% - 24px, 1180px);
    }

    .admin-shell {
        width: min(100% - 24px, 1180px);
    }

    .instagram-section h2 {
        font-size: 2.7rem;
    }

    .instagram-frame {
        min-height: 460px;
    }

    .hero-copy h1,
    .checkout-copy h1,
    .buy-box h1 {
        font-size: 3.15rem;
    }

    .hero-copy p,
    .checkout-copy p {
        font-size: 1rem;
        margin-top: .9rem;
    }

    .hero-actions {
        margin-top: 1.1rem;
    }

    .hero-trust,
    .checkout-perks {
        margin-top: .9rem;
    }

    .hero-feature {
        min-height: 300px;
    }

    .category-band {
        grid-template-columns: 1fr;
    }

    .category-bubble {
        min-height: 118px;
        border-radius: var(--radius);
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-card__media {
        aspect-ratio: 1 / .8;
    }

    .product-card h3 {
        min-height: 0;
    }

    .card-actions .button {
        flex-basis: 100%;
    }

    .gallery-thumbs {
        grid-template-columns: 1fr;
    }

    .scroll-toast {
        right: .75rem;
        bottom: 1rem;
        width: calc(100% - 24px);
    }

    .checkout-line,
    .cart-line {
        grid-template-columns: 1fr;
    }

    .qty-controls {
        justify-content: start;
    }
}
