/* Skin & Tell — the reference palette, with readable text and generous touch targets. */
:root {
    --paper: #fff6f3;
    --white: #ffffff;
    --ink: #3a3a3a;
    --muted: #766166;
    --green: #b9477a;
    --berry: #b9477a;
    --berry-dark: #94335e;
    --burgundy: #7b2632;
    --blush: #d97a8a;
    --rose: #ebc4c6;
    --gold: #d4a373;
    --peach: #ffb7a1;
    --nude: #f3d9c8;
    --sage: #ddebdd;
    --lavender: #e6d7f8;
    --lime: #ebc4c6;
    --line: #ead7d5;
    --soft: #f8e8e4;
    --radius: 6px;
    --shadow: 0 12px 36px #7b26320a;
}
body { color: var(--ink); background: var(--paper); font-family: 'DM Sans', Arial, sans-serif; font-size: 14px; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(38px, 4.6vw, 62px); }
h2 { font-size: 40px; }
em { font-weight: 400; }
::selection { background: var(--rose); color: var(--burgundy); }
.page-shell { width: min(1320px, calc(100% - 80px)); }
.eyebrow { color: var(--burgundy); font-size: 10px; line-height: 1.6; letter-spacing: .19em; font-weight: 500; }
.st-storefront h1, .st-storefront h2 { color: var(--burgundy); }
.st-storefront .button { border-radius: 30px; min-height: 46px; padding: 12px 26px; font-size: 11px; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; }
.button-primary:hover, .button-dark:hover { background: var(--berry-dark); }
.button-outline { border-color: var(--blush); color: var(--burgundy); background: var(--paper); }
.button-outline:hover { background: #f9e5e7; }
.text-link { color: var(--burgundy); border-color: #d6a5ad; font-size: 12px; padding: 8px 0; }
.st-storefront :where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--burgundy); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.st-announcement { min-height: 32px; height: auto; padding: 8px 40px; justify-content: center; gap: 30px; background: var(--rose); color: var(--burgundy); font-size: 10px; line-height: 1.5; letter-spacing: .09em; }
.st-announcement-message { padding-right: 30px; border-right: 1px solid #7b263240; }
.st-announcement-shipping { display: inline-flex; align-items: center; gap: 10px; }
.st-announcement a:hover { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; }
.st-header { background: var(--paper); }
.st-masthead { display: grid; grid-template-columns: auto 1fr auto; min-height: 100px; gap: 28px; max-width: 1440px; padding: 0 40px; }
.st-header-left { display: flex; align-items: center; gap: 12px; }
.st-wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 43px; letter-spacing: -.045em; font-weight: 400; color: var(--burgundy); white-space: nowrap; }
.st-wordmark i { font-weight: 400; font-style: normal; font-size: .86em; margin: 0 .035em; }
.st-wordmark small { font-family: 'DM Sans', Arial, sans-serif; font-size: 8px; font-weight: 400; letter-spacing: .31em; line-height: 1.2; }
.st-masthead .header-actions { justify-content: flex-end; gap: 2px; }
.st-masthead .icon-button { color: var(--ink); width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.st-masthead .icon-button:hover { background: #f7e4e6; color: var(--burgundy); }
.st-masthead .mobile-menu-button { display: none; }
.st-bag-label { display: none; }
.st-masthead .bag-link { position: relative; justify-content: center; min-width: 46px; min-height: 44px; gap: 3px; padding: 8px; color: var(--ink); }
.st-masthead .bag-count { position: absolute; top: 1px; right: -4px; background: var(--berry); color: white; font-size: 9px; min-width: 18px; height: 18px; padding: 0 4px; }
.st-desktop-nav { display: flex; justify-content: center; gap: clamp(16px, 1.8vw, 28px); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; border: 0; min-height: 44px; white-space: nowrap; }
.st-desktop-nav a { display: flex; align-items: center; min-height: 44px; padding: 12px 0; }
.st-desktop-nav a:hover:after, .st-desktop-nav a.active:after { bottom: 5px; background: var(--blush); }
.mobile-nav { background: var(--paper); font-size: 14px; gap: 0; padding: 10px 24px 20px; border-top: 1px solid var(--line); }
.mobile-nav a { display: flex; align-items: center; min-height: 46px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.st-search-panel { background: #fbedeb; padding: 22px 0; border-top: 1px solid var(--line); }
.st-search-form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; max-width: 1020px; }
.st-search-form label { color: var(--burgundy); font-size: 13px; }
.st-search-form input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #d7b6bd; border-radius: 5px; background: white; padding: 10px 14px; font-size: 14px; }
.st-home { padding: 0; }
.st-hero { display: grid; grid-template-columns: 46% 54%; min-height: 510px; background: #f9e6e2; overflow: hidden; }
.st-hero-copy { position: relative; z-index: 1; padding: 58px 24px 36px max(40px, calc((100vw - 1320px) / 2)); display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.st-hero h1 { margin: 20px 0 21px; font-size: clamp(62px, 6.4vw, 96px); color: var(--burgundy); font-weight: 400; line-height: .96; letter-spacing: -.05em; }
.st-hero h1 em { font-weight: 400; }
.st-hero-copy p { font-size: 15px; line-height: 1.8; color: #675257; margin-bottom: 25px; max-width: 345px; }
.st-hero .button { min-width: 230px; }
.st-hero-benefits { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 35px; }
.st-hero-benefits>span { display: flex; align-items: center; gap: 9px; }
.st-hero-benefits svg { color: #956371; flex-shrink: 0; }
.st-hero-benefits>span>span { color: #70565f; font-size: 9px; line-height: 1.6; text-transform: uppercase; letter-spacing: .06em; }
.st-hero-image { position: relative; min-height: 100%; overflow: hidden; background: #f2d8cd; }
.st-hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f9e6e2 0%, #f9e6e200 22%); pointer-events: none; }
.st-hero-image>img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 56%; }
.st-handwritten { position: absolute; z-index: 1; top: 28px; right: 40px; color: var(--burgundy); font: 42px/1.05 'Italianno', 'Cormorant Garamond', Georgia, serif; text-align: center; transform: rotate(-11deg); }
.st-image-index { position: absolute; z-index: 1; bottom: 22px; right: 30px; color: var(--burgundy); font-size: 9px; letter-spacing: .18em; background: #fff6f3e6; padding: 9px 13px; }
.st-collections { display: grid; grid-template-columns: 1fr 2.25fr; align-items: center; gap: 60px; padding: 38px 0 34px; scroll-margin-top: 24px; border-bottom: 1px solid var(--line); }
.st-collection-intro h2 { font-size: clamp(30px, 2.9vw, 41px); line-height: 1.09; margin: 13px 0 15px; }
.st-collection-intro .eyebrow { font-size: 9px; }
.st-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.st-collection { display: block; min-width: 0; text-align: center; }
.st-collection-image { position: relative; aspect-ratio: 1.25; max-height: 180px; overflow: hidden; border-radius: 160px 160px 5px 5px; background: var(--rose); }
.st-collection-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.st-collection:hover img { transform: scale(1.05); }
.st-fragrance-image img { object-position: 34% 66%; }
.st-collection h3 { font-family: 'DM Sans', Arial, sans-serif; font-size: 11px; font-weight: 500; color: var(--burgundy); letter-spacing: .14em; text-transform: uppercase; margin: 15px 0 5px; }
.st-collection p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }
.st-featured { padding: 38px 0 46px; }
.st-section-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.st-section-heading h2 { font-size: clamp(33px, 3.2vw, 44px); margin: 6px 0 0; color: var(--burgundy); }
.st-section-heading .eyebrow { font-size: 9px; }
.st-section-heading .text-link { flex-shrink: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; border: 0; }
.st-heading-rule { height: 1px; flex: 1; background: var(--line); }
.st-featured-grid { grid-template-columns: repeat(var(--featured-columns, 6), minmax(0, 1fr)); gap: 21px; }
.product-card { display: flex; flex-direction: column; }
.product-image-wrap { border-radius: 7px; background: var(--soft); aspect-ratio: 1 / 1.04; }
.product-meta { font-size: 10px; line-height: 1.5; gap: 8px; margin: 14px 0 6px; }
.product-meta>span:last-child { text-align: right; }
.product-card-copy { padding: 0 3px 13px; flex: 1; }
.product-card h3 { font-family: 'DM Sans', Arial, sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.6; margin: 0 0 7px; }
.product-price { font-size: 14px; font-weight: 500; color: var(--burgundy); align-items: baseline; flex-wrap: wrap; }
.product-price s { font-size: 11px; color: var(--muted); font-weight: 400; }
.product-label { top: 12px; left: 12px; max-width: calc(100% - 70px); font-size: 9px; color: var(--burgundy); padding: 6px 9px; background: #fff6f3ed; }
.sale-label { background: var(--rose); }
.favorite-button { right: 6px; top: 6px; width: 44px; height: 44px; color: var(--burgundy); background: #ffffffeb; }
.favorite-button:hover { background: #fff; }
.is-favorite svg { fill: #b9477a24; }
.product-card-action { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--berry); border-radius: 6px; background: var(--berry); color: white; font-size: 10px; line-height: 1.5; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: background .2s; }
.product-card-action:hover { background: var(--berry-dark); border-color: var(--berry-dark); color: white; }
.product-card-action:disabled { background: #f0e0df; border-color: #dfc2c8; color: #775b63; opacity: 1; }
.st-story { display: grid; grid-template-columns: 43% minmax(0, 1fr) 215px; background: #f8e7e3; scroll-margin-top: 24px; }
.st-story-image { position: relative; overflow: hidden; min-height: 360px; }
.st-story-image>img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 55%; }
.st-story-copy { padding: 42px 38px; align-self: center; }
.st-story h2 { font-size: clamp(37px, 3.6vw, 54px); line-height: 1.02; color: var(--burgundy); margin: 14px 0 18px; }
.st-story p { font-size: 13px; line-height: 1.85; color: #6d565e; max-width: 390px; margin-bottom: 22px; }
.st-story .button { font-size: 10px; padding: 12px 21px; }
.st-story-values { align-self: center; display: grid; gap: 21px; border-left: 1px solid #ddbbc1; padding: 6px 18px 6px 23px; margin-right: 20px; }
.st-story-values>span, .st-story-values>a { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.st-story-values svg { color: #956371; flex-shrink: 0; width: 40px; height: 40px; padding: 8px; border: 1px solid var(--gold); border-radius: 50%; }
.st-story-values span span, .st-story-values a span { font-size: 9px; line-height: 1.7; letter-spacing: .06em; text-transform: uppercase; color: #70565f; }
.st-story-values a:hover { text-decoration: underline; }
.st-promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.st-promo { position: relative; overflow: hidden; background: #f8e2df; min-height: 320px; }
.st-promo>img { position: absolute; right: 0; height: 100%; width: 62%; object-fit: cover; object-position: 65% center; }
.st-promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f8e2df 30%, #f8e2dff5 55%, #f8e2df00 95%); }
.st-promo-favorites { background: #f4e3df; }
.st-promo-favorites::after { background: linear-gradient(90deg, #f4e3df 30%, #f4e3dff5 55%, #f4e3df00 95%); }
.st-promo-copy { position: relative; z-index: 1; padding: 36px; width: 70%; }
.st-promo-copy .eyebrow { font-size: 9px; }
.st-promo h2 { font-size: clamp(33px, 3vw, 43px); line-height: 1.05; margin: 14px 0; }
.st-promo p { max-width: 245px; color: #6a505a; font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
.st-promo .button { font-size: 10px; padding: 11px 20px; }
.st-personal-note { display: flex; align-items: center; justify-content: center; gap: 26px; padding: 35px 20px; color: #a9727f; }
.st-personal-note>span { font-size: 28px; }
.st-personal-note p { margin: 0; color: var(--burgundy); font: 26px/1.3 'Cormorant Garamond', Georgia, serif; text-align: center; }
.st-services { padding: 30px 0; gap: 25px; border-color: var(--line); }
.st-services svg { color: #9e6b78; flex-shrink: 0; }
.st-services strong { font-size: 12px; font-weight: 500; }
.st-services small { font-size: 11px; line-height: 1.7; color: var(--muted); }
.st-footer { background: #f5e4e0; border-color: var(--line); }
.st-footer .footer-grid { padding: 48px 0 36px; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.st-footer .st-wordmark { font-size: 39px; align-items: flex-start; }
.st-footer .st-wordmark small { margin-left: 3px; font-size: 7px; }
.st-footer .footer-brand p { color: #70565f; font-size: 12px; line-height: 1.9; margin: 20px 0 17px; }
.st-footer .footer-location { color: #70565f; font-size: 10px; line-height: 1.6; }
.st-footer .footer-grid h3 { color: var(--burgundy); font-family: 'DM Sans', Arial, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.st-footer .footer-grid>div>a:not(.wordmark) { color: #70565f; font-size: 12px; line-height: 1.6; padding: 5px 0; margin-bottom: 3px; }
.st-footer .footer-grid>div>a:hover { color: var(--burgundy); text-decoration: underline; text-underline-offset: 4px; }
.st-footer .footer-bottom { border-color: #ddc3c6; color: #70565f; font-size: 10px; padding: 21px 0; }
.catalog-intro, .st-catalog-banner { background: #f8e7e3; margin: 25px 0 32px; padding: 37px 40px; border-radius: 5px; }
.catalog-intro h1 { font-size: clamp(38px, 4vw, 56px); color: var(--burgundy); }
.catalog-doodle { background: var(--rose); color: var(--burgundy); font-family: 'Cormorant Garamond', Georgia, serif; }
.category-tabs a { display: flex; align-items: center; border-radius: 24px; font-size: 12px; min-height: 44px; }
.search-field { border-radius: 5px; min-height: 46px; }
.search-field button { min-width: 44px; min-height: 44px; }
.catalog-subbar { font-size: 12px; }
.empty-state h2 { color: var(--burgundy); }
.st-shop-empty { padding: 58px 24px; background: #fbedeb; border: 1px solid var(--line); margin-top: 22px; }
.st-sparkle { font-size: 27px; font-family: Georgia, serif; font-weight: 400; color: #a66e7c; line-height: 1; }
.auth-shell { border-radius: 6px; background: var(--white); border-color: var(--line); }
.auth-shell h1 { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--burgundy); font-size: 40px; }
.panel { border-radius: 6px; }
.admin-shell { background: var(--paper); color: var(--ink); }
.admin-brand { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--burgundy); font-size: 27px; letter-spacing: -.8px; padding: 0 4px; gap: 8px; }
.admin-brand-mark { background: var(--burgundy); width: 35px; height: 35px; font-size: 14px; letter-spacing: -.6px; border-radius: 50%; flex-shrink: 0; }
.admin-nav>a.active, .admin-nav>a:hover { background: #f7e1e4; color: var(--burgundy); }
.admin-store-link { color: var(--burgundy); }

@media (min-width: 1600px) {
    .st-hero { min-height: 580px; }
    .st-story { grid-template-columns: minmax(0, 1fr) 490px minmax(215px, .4fr); }
}
@media (max-width: 1280px) {
    .st-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
    .st-masthead { gap: 18px; padding: 0 30px; }
    .st-wordmark { font-size: 37px; }
    .st-desktop-nav { gap: 15px; font-size: 9px; }
    .st-masthead .favorites-link { display: none; }
    .st-hero-benefits { gap: 16px; }
    .st-collections { gap: 30px; }
    .st-collection-grid { gap: 20px; }
    .st-story { grid-template-columns: 42% minmax(0, 1fr); }
    .st-story-values { grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 40px; padding: 20px; margin: 0; border-left: 0; border-top: 1px solid #ddbbc1; }
    .st-story-values span span, .st-story-values a span { font-size: 10px; }
    .st-promo-copy { padding: 30px; width: 80%; }
}
@media (max-width: 1000px) {
    .page-shell { width: calc(100% - 48px); }
    .st-masthead { grid-template-columns: 1fr auto; min-height: 86px; padding: 0 24px; }
    .st-masthead .mobile-menu-button { display: inline-flex; }
    .st-masthead .favorites-link { display: inline-flex; }
    .st-desktop-nav { display: none; }
    .st-hero { min-height: 490px; }
    .st-hero-copy { padding: 42px 22px 30px 28px; }
    .st-hero h1 { font-size: clamp(60px, 7.7vw, 77px); }
    .st-hero-copy p { font-size: 14px; }
    .st-hero .eyebrow { font-size: 9px; }
    .st-hero-benefits { gap: 12px; }
    .st-hero-benefits>span { gap: 6px; }
    .st-hero-benefits>span>span { font-size: 8px; }
    .st-hero-benefits svg { width: 20px; }
    .st-handwritten { font-size: 36px; right: 24px; }
    .st-collections { grid-template-columns: 1fr; gap: 24px; padding-top: 30px; }
    .st-collection-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .st-collection-intro>.eyebrow { display: none; }
    .st-collection-intro h2 { margin: 0; font-size: 34px; }
    .st-collection-intro h2 br { display: none; }
    .st-collection-intro .text-link { flex-shrink: 0; }
    .st-collection-image { max-height: 185px; aspect-ratio: 1.25; }
    .st-story-copy { padding: 35px 30px; }
    .st-story-image { min-height: 375px; }
    .st-promo-copy { padding: 28px 24px; width: 90%; }
    .st-promo h2 { font-size: 35px; }
    .st-promo-copy .eyebrow { font-size: 8px; }
    .st-services { grid-template-columns: repeat(2, 1fr); gap: 25px 40px; }
    .st-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px 25px; }
    .st-footer .footer-grid>div:last-child { grid-column: 2 / 4; }
    .st-footer .footer-grid>div:last-child>a { display: inline-block; margin-right: 15px; }
}
@media (max-width: 700px) {
    .st-announcement { padding: 8px 16px; font-size: 10px; }
    .st-announcement .st-announcement-message { display: none; }
    .st-announcement .st-announcement-shipping { display: inline-flex; }
    .st-masthead { min-height: 82px; }
    .st-masthead .favorites-link, .st-masthead .st-account-link { display: none; }
    .st-wordmark { font-size: 34px; }
    .st-search-form { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
    .st-search-form label { grid-column: 1 / -1; }
    .st-search-form input { font-size: 16px; }
    .st-search-form .button { padding: 12px 17px; font-size: 10px; }
    .st-search-form .button svg { display: none; }
    .st-hero { grid-template-columns: 1fr; }
    .st-hero-copy { padding: 38px 28px 30px; }
    .st-hero h1 { font-size: clamp(62px, 12vw, 84px); margin: 19px 0; }
    .st-hero-copy p { max-width: 370px; font-size: 14px; margin-bottom: 23px; }
    .st-hero-benefits { margin-top: 25px; gap: 24px; }
    .st-hero-benefits>span>span { font-size: 9px; }
    .st-hero-benefits svg { width: 23px; }
    .st-hero-image { min-height: 0; aspect-ratio: 1.65; }
    .st-hero-image>img { object-position: center 57%; }
    .st-hero-image::after { background: linear-gradient(180deg, #f9e6e2 0%, #f9e6e200 24%); }
    .st-handwritten { top: 24px; right: 25px; font-size: 35px; }
    .st-image-index { bottom: 16px; right: 18px; font-size: 8px; }
    .st-collection-intro h2 { font-size: 29px; }
    .st-collection-intro h2 br { display: initial; }
    .st-collection-grid { gap: 14px; }
    .st-collection-image { aspect-ratio: .9; }
    .st-collection h3 { font-size: 10px; letter-spacing: .07em; }
    .st-collection p { font-size: 11px; }
    .st-featured { padding: 30px 0 35px; }
    .st-section-heading { gap: 14px; }
    .st-section-heading h2 { font-size: 35px; }
    .st-section-heading .eyebrow { font-size: 8px; max-width: 230px; display: block; }
    .st-heading-rule { display: none; }
    .st-section-heading .text-link { margin-left: auto; gap: 7px; font-size: 10px; }
    .st-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 15px; }
    .product-meta { font-size: 9px; }
    .product-meta>span:last-child { max-width: 70px; }
    .product-card h3 { font-size: 13px; line-height: 1.5; }
    .product-card-action { font-size: 9px; padding: 10px 8px; gap: 7px; letter-spacing: .06em; }
    .product-label { font-size: 8px; top: 10px; left: 8px; padding: 5px 7px; }
    .st-story { grid-template-columns: 1fr; }
    .st-story-image { min-height: 0; aspect-ratio: 1.6; }
    .st-story-copy { padding: 32px 28px; }
    .st-story h2 { font-size: 45px; }
    .st-story p { max-width: 480px; font-size: 14px; }
    .st-story-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 22px 28px; }
    .st-promos { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
    .st-promo { min-height: 300px; }
    .st-promo-copy { width: 75%; padding: 30px 26px; }
    .st-promo h2 { font-size: 38px; }
    .st-promo-copy .eyebrow { font-size: 9px; }
    .st-personal-note { padding: 30px 20px; gap: 15px; }
    .st-personal-note p { font-size: 24px; }
    .st-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-top: 36px; }
    .st-footer .footer-brand, .st-footer .footer-grid>div:last-child { grid-column: 1 / -1; }
    .st-footer .footer-grid>div>a:not(.wordmark) { min-height: 40px; padding: 10px 0; margin: 0; }
    .st-footer .footer-bottom { font-size: 10px; gap: 12px; }
    .catalog-intro { padding: 27px 24px; }
    .catalog-intro h1 { font-size: 39px; }
    .catalog-intro p { font-size: 13px; }
    .category-tabs { gap: 4px; }
    .category-tabs a { font-size: 12px; padding: 8px 12px; }
    .catalog-subbar { font-size: 12px; }
    .catalog-subbar select { font-size: 12px; min-height: 40px; }
}
@media (max-width: 400px) {
    .page-shell { width: calc(100% - 32px); }
    .st-masthead { padding: 0 12px; gap: 5px; }
    .st-header-left { gap: 4px; }
    .st-wordmark { font-size: 29px; }
    .st-wordmark small { font-size: 6px; }
    .st-masthead .header-actions { gap: 0; }
    .st-hero-copy { padding-left: 24px; padding-right: 22px; }
    .st-hero-benefits { gap: 14px; }
    .st-hero-benefits>span>span { font-size: 8px; }
    .st-collection-grid { gap: 10px; }
    .st-collection p { font-size: 10px; }
    .st-collection h3 { font-size: 9px; }
    .st-collection-intro h2 { font-size: 27px; }
    .st-collection-intro .text-link { font-size: 10px; gap: 8px; }
    .st-promo-copy { width: 85%; }
    .st-services { gap: 22px 15px; }
    .st-services>div { gap: 10px; }
    .st-services strong { font-size: 11px; }
    .st-services small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .st-collection-image img, .product-card-action { transition: none; }
}
@media print {
    .st-services, .st-footer, .st-announcement { display: none !important; }
}

/* Joiner purchases share the storefront's berry and ivory palette. */
.group-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 3px; background: #f0dee2; color: #632b3b; font-size: 10px; font-weight: 600; line-height: 1.3; }
.group-product-label { display: inline-flex; align-items: center; gap: 5px; background: #632b3b; color: #fffdfa; }
.group-product-panel, .group-checkout-note { margin: 22px 0; padding: 23px; border: 1px solid #ddc8cb; border-radius: 4px; background: #f7eeeb; }
.group-panel-heading, .group-banner { display: flex; align-items: flex-start; gap: 15px; }
.group-panel-heading h2, .group-checkout-note h2 { margin: 7px 0 0; font-size: 29px; line-height: 1.15; }
.group-product-panel > p, .group-checkout-note > p { font-size: 13px; line-height: 1.75; }
.group-symbol { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #ecd4db; color: #632b3b; }
.group-progress { margin: 22px 0 14px; }
.group-progress-label { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 12px; margin-bottom: 9px; }
.group-progress-label strong span { font-weight: 400; }
.group-progress progress { display: block; width: 100%; height: 8px; overflow: hidden; border: 0; border-radius: 8px; background: #e5d6d9; accent-color: #804256; }
.group-progress progress::-webkit-progress-bar { background: #e5d6d9; border-radius: 8px; }
.group-progress progress::-webkit-progress-value { background: #804256; border-radius: 8px; }
.group-progress progress::-moz-progress-bar { background: #804256; border-radius: 8px; }
.group-progress.compact { margin: 12px 0 8px; }
.group-deadline { display: flex; gap: 12px; align-items: flex-start; margin-top: 19px; color: #632b3b; }
.group-deadline strong { font-size: 12px; }
.group-deadline small { display: block; margin-top: 4px; font-size: 11px; color: #7b6c6e; }
.group-order-panel { margin-bottom: 26px; padding: 26px; }
.group-banner { padding: 20px; margin: -6px -6px 22px; border-radius: 4px; background: #f7eeeb; }
.group-banner h2 { font-size: 31px; margin: 8px 0; line-height: 1.15; }
.group-banner p { margin: 0; font-size: 13px; color: #705d63; line-height: 1.65; }
.group-campaign-title { margin: 0; font-size: 24px; }
.group-success .group-banner { background: #edf4ee; }
.group-success .group-symbol { color: #286747; background: #d7e9dc; }
.group-ended .group-banner { background: #fbefed; }
.group-ended .group-symbol { color: #a14138; background: #f4dcd8; }
.group-next { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; font-size: 12px; }
.group-next p { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); line-height: 1.75; }
.group-next svg { flex-shrink: 0; margin-top: 3px; color: var(--berry); }
.group-refund { padding: 19px; background: #faf0ed; border-radius: 3px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; }
.group-refund small, .group-refund strong { display: block; }
.group-refund small { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.group-refund strong { font-size: 21px; }
.group-timeline { list-style: none; margin: 25px 0 0; padding: 0; display: grid; gap: 0; }
.group-timeline li { display: flex; align-items: flex-start; position: relative; gap: 14px; padding-bottom: 24px; min-height: 53px; }
.group-timeline li:last-child { padding-bottom: 0; }
.group-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 25px; height: calc(100% - 25px); width: 1px; background: #ded4ce; }
.group-timeline .group-step { z-index: 1; display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #a99b9d; color: #7b6c6e; background: var(--white); font-size: 11px; }
.group-timeline .complete .group-step { color: #fff; background: #367551; border-color: #367551; }
.group-timeline strong { display: block; padding-top: 3px; font-size: 12px; }
.group-timeline small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.order-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.order-filter { border: 1px solid transparent; color: var(--muted); background: #f0e8e2; border-radius: 3px; font: inherit; font-size: 12px; padding: 10px 17px; cursor: pointer; }
.order-filter.selected { background: #632b3b; color: #fffdfa; }
.order-filter:focus-visible, .group-product-panel button:focus-visible { outline: 2px solid #632b3b; outline-offset: 3px; }
.customer-order-card { margin-bottom: 20px; }
.customer-order-card .section-heading { margin-bottom: 18px; align-items: flex-start; }
.customer-order-card .section-heading p { margin: 7px 0 0; }
.customer-order-content { display: grid; grid-template-columns: 1fr minmax(190px, 280px) auto; gap: 26px; align-items: center; }
.customer-order-products .mini-product { border-bottom: 0; padding: 6px 0; }
.customer-order-products .mini-product img { width: 58px; height: 68px; object-fit: cover; }
.customer-order-status p { margin-bottom: 0; font-size: 12px; }
.customer-order-card .button-row { flex-direction: column; align-items: flex-start; }
.group-admin-layout { display: grid; grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.group-admin-fields { display: grid; gap: 17px; }
.group-admin-fields .field { margin: 0; }
.group-admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.group-admin-stats strong { display: block; font-size: 25px; }
.group-admin-stats span { font-size: 11px; color: var(--muted); }
.group-admin-campaign + .group-admin-campaign { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.group-admin-campaign-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.group-admin-campaign-head h3 { font-size: 24px; margin: 0; }
.group-admin-campaign-head p { margin: 6px 0 0; }
.group-admin-campaign .admin-actions { margin-top: 18px; }
.group-report-layout { grid-template-columns: minmax(0, 1fr); }
.group-report-layout > section:first-child { order: 2; }
.group-report-layout > section:last-child { order: 1; }
.group-report-layout .group-admin-fields { max-width: 760px; }
.group-report-layout .group-admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.group-report-filters { flex-wrap: wrap; }
.group-report-filters .admin-actions { flex-wrap: wrap; }
.group-report-layout .group-admin-campaign-head .group-badge { margin-top: 9px; }
.group-owner-decision { margin-top: 20px; padding: 20px; border: 1px solid #ddc8cb; background: #f7eeeb; border-radius: 4px; }
.group-owner-decision h4 { margin: 0 0 10px; }
.group-owner-decision .field { max-width: 260px; }
.group-directory-page { padding-top: 35px; padding-bottom: 55px; }
.group-directory-page h1 { margin: 12px 0; }
.group-directory-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 20px; margin: 28px 0; }
.group-directory-toolbar .field { flex: 1 1 200px; margin: 0; }
.group-directory-toolbar > p { margin-bottom: 12px; }
.group-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.group-directory-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.group-directory-image { display: block; aspect-ratio: 4 / 3; background: #f7f0eb; }
.group-directory-image img { width: 100%; height: 100%; object-fit: cover; }
.group-directory-copy { padding: 23px; display: flex; flex-direction: column; flex: 1; }
.group-directory-copy h2 { font-size: 28px; line-height: 1.15; margin: 14px 0 0; }
.group-directory-copy > .group-badge { align-self: flex-start; }
.group-directory-copy > .button { margin-top: auto; }
.group-directory-copy > .text-link { margin-top: 14px; }
.group-product-terms { margin: 20px 0; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.group-product-terms p { line-height: 1.7; }
@media (max-width: 1050px) { .group-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) { .group-directory-grid { grid-template-columns: minmax(0, 1fr); } .group-directory-page > .section-heading { align-items: flex-start; gap: 18px; flex-direction: column; } .group-report-layout .group-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.data-table .group-badge { margin: 5px 0 5px 7px; }
@media (max-width: 1000px) {
    .group-admin-layout { grid-template-columns: 1fr; }
    .customer-order-content { grid-template-columns: 1fr 1fr; }
    .customer-order-card .button-row { grid-column: 1 / -1; flex-direction: row; align-items: center; }
}
@media (max-width: 600px) {
    .group-product-panel, .group-checkout-note, .group-order-panel { padding: 18px; }
    .group-panel-heading h2, .group-banner h2 { font-size: 27px; }
    .group-banner { padding: 16px; gap: 11px; }
    .group-symbol { width: 35px; height: 35px; }
    .group-symbol svg { width: 21px; }
    .group-refund { flex-wrap: wrap; padding: 15px; }
    .customer-order-content { grid-template-columns: 1fr; gap: 16px; }
    .customer-order-card .section-heading { flex-direction: column; gap: 13px; }
    .customer-order-status { max-width: none; }
    .order-filter { padding: 9px 11px; font-size: 11px; }
    .group-admin-campaign-head { flex-direction: column; }
}

/* Keep purchasing within the phone viewport, including long names and native selects. */
@media (max-width: 800px), (max-width: 1000px) and (max-height: 600px) and (pointer: coarse) {
    .st-storefront { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
    .checkout-grid, .product-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .checkout-grid > *, .product-detail-grid > *, .form-grid > *,
    .group-directory-toolbar > *, .group-directory-copy,
    .group-panel-heading > div, .group-banner > div, .group-deadline > div { min-width: 0; }
    .checkout-page, .detail-page, .group-directory-page, .content-page { overflow-wrap: anywhere; }
    .checkout-page :is(input, select, textarea),
    .group-directory-page :is(input, select),
    .content-page :is(input, select, textarea) {
        min-width: 0;
        max-width: 100%;
        font-size: 16px;
    }
    .checkout-page .field :is(input, select), .group-directory-page .field :is(input, select) { min-height: 48px; }
    .checkout-page .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .checkout-page .field, .checkout-page .checkbox-line { font-size: 14px; }
    .checkout-page .selection-card > span { min-width: 0; }
    .checkout-page .selection-card strong { font-size: 14px; }
    .checkout-page .selection-card small { font-size: 12px; }
    .checkout-page .order-summary, .content-page .order-summary { width: 100%; min-width: 0; }
    .checkout-grid .mini-product { flex-wrap: wrap; }
    .checkout-grid .mini-product img { flex: 0 0 52px; }
    .checkout-grid .mini-product > div { min-width: 0; flex: 1 1 110px; }
    .checkout-grid .mini-product > span { max-width: 100%; margin-left: auto; white-space: normal; }
    .checkout-grid .mini-product strong { font-size: 14px; }
    .checkout-grid .mini-product small { font-size: 12px; }
    .checkout-grid .summary-row { font-size: 14px; flex-wrap: wrap; gap: 8px 16px; }
    .checkout-grid .summary-row > :last-child { margin-left: auto; text-align: right; }
    .checkout-grid .summary-row > *, .group-product-panel .summary-row > * { min-width: 0; }
    .checkout-grid .button, .group-directory-page .button { max-width: 100%; white-space: normal; }
    .checkout-page .order-summary > .button { min-height: 52px; font-size: 14px; letter-spacing: .03em; }
    .checkout-grid .coupon-field { gap: 8px; }
    .checkout-grid .coupon-field .button { flex-shrink: 0; padding-inline: 14px; }
    .detail-page .breadcrumb { flex-wrap: wrap; }
    .detail-page .detail-copy :is(h1, h2, p, dd) { overflow-wrap: anywhere; }
    .detail-page .spec-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .detail-page .spec-grid dd { min-width: 0; }
    .group-progress-label { flex-wrap: wrap; gap: 6px 14px; }
    .group-deadline { min-width: 0; }
    .manual-payment-panel .section-heading { flex-wrap: wrap; }
    .manual-payment-panel .section-heading > div { min-width: 0; }
}

@media (max-width: 650px), (max-width: 1000px) and (max-height: 600px) and (pointer: coarse) {
    .checkout-page, .detail-page, .group-directory-page, .content-page { width: calc(100% - 32px); }
    .checkout-page .form-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .checkout-page .span-2 { grid-column: auto; }
    .checkout-page .delivery-options { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .checkout-grid { margin-top: 24px; gap: 24px; }
    .checkout-grid .panel { padding: 18px; }
    .checkout-page > h1 { font-size: 32px; }
    .checkout-page .checkout-section h2 { font-size: 18px; }
    .checkout-page .guest-note { gap: 10px; padding: 16px; }
    .checkout-page .guest-note > div { min-width: 0; }
    .checkout-page .guest-note p { font-size: 13px; }
    .group-directory-toolbar { gap: 14px; }
    .group-directory-toolbar .field { flex-basis: 100%; }
    .group-directory-copy { padding: 18px; }
    .detail-page .detail-buy { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 12px; }
    .detail-page .detail-buy .quantity-control { width: 144px; max-width: 100%; min-height: 48px; }
    .detail-page .quantity-control button { min-width: 44px; min-height: 46px; padding: 10px; }
    .detail-page .quantity-control span { font-size: 16px; }
    .detail-page .detail-buy > .button {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 12px 16px;
        white-space: normal;
        font-size: 14px;
        letter-spacing: .03em;
    }
    .detail-page .detail-buy > .detail-heart { grid-column: 2; grid-row: 1; width: 48px; height: 48px; }
    .group-product-panel .summary-row { flex-wrap: wrap; gap: 6px 12px; font-size: 14px; }
    .group-product-panel .summary-row > strong { margin-left: auto; }
    .manual-payment-panel input[type="file"] { width: 100%; }
    .manual-payment-panel button[type="submit"] { width: 100%; min-height: 52px; font-size: 14px; letter-spacing: .03em; }
}

/* Host-specific storefront colors stay inside the customer layout. */
.branded-storefront {
    --paper: var(--storefront-background);
    --white: var(--storefront-surface);
    --ink: var(--storefront-on-background);
    --muted: var(--storefront-on-background);
    --green: var(--storefront-on-background);
    --berry: var(--storefront-primary);
    --berry-dark: var(--storefront-primary);
    --burgundy: var(--storefront-on-background);
    --rose: var(--storefront-accent);
    --blush: var(--storefront-line);
    --line: var(--storefront-line);
    --soft: var(--storefront-surface);
    --lime: var(--storefront-accent);
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
}
.branded-storefront .st-announcement { background: var(--storefront-primary); color: var(--storefront-on-primary); }
.branded-storefront .st-announcement a, .branded-storefront .st-announcement a:hover { color: inherit; }
.branded-storefront .st-announcement-message { border-color: currentColor; }
.branded-storefront .st-wordmark { max-width: 280px; font-family: 'Manrope', 'DM Sans', Arial, sans-serif; font-size: 27px; font-weight: 700; letter-spacing: -.04em; white-space: normal; overflow-wrap: anywhere; line-height: 1.15; }
.branded-storefront .st-wordmark small { color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; font-size: 9px; font-weight: 400; line-height: 1.5; letter-spacing: .04em; text-align: inherit; }
.branded-storefront .st-header-left { min-width: 0; }
.branded-storefront .st-masthead { grid-template-columns: minmax(180px, 1fr) auto minmax(160px, 1fr); }
.branded-storefront .st-desktop-nav a { max-width: 150px; overflow-wrap: anywhere; }
.branded-storefront .button-primary, .branded-storefront .button-dark, .branded-storefront .product-card-action,
.branded-storefront .button-primary:hover, .branded-storefront .button-dark:hover, .branded-storefront .product-card-action:hover,
.branded-storefront .bag-count, .branded-storefront .category-tabs a.active { background: var(--storefront-primary); border-color: var(--storefront-primary); color: var(--storefront-on-primary); }
.branded-storefront .product-card-action:disabled { background: var(--soft); color: var(--ink); border-color: var(--line); }
.branded-storefront .row-action.join-action { background: var(--storefront-primary); color: var(--storefront-on-primary); border-color: var(--storefront-primary); }
.branded-storefront .st-masthead .icon-button:hover { background: var(--storefront-surface); color: var(--storefront-on-surface); }
.branded-storefront .panel, .branded-storefront .quantity-control, .branded-storefront .search-field, .branded-storefront .detail-heart { background: var(--storefront-surface); color: var(--storefront-on-surface); }
.branded-storefront .button-outline, .branded-storefront .button-outline:hover, .branded-storefront .button-secondary { background: var(--storefront-surface); color: var(--storefront-on-surface); border-color: var(--line); }
.branded-storefront .product-label, .branded-storefront .favorite-button, .branded-storefront .favorite-button:hover { background: var(--storefront-surface); color: var(--storefront-on-surface); }
.branded-storefront .sale-label, .branded-storefront .group-product-label { background: var(--storefront-accent); color: var(--storefront-on-accent); }
.branded-storefront .is-favorite svg { fill: currentColor; }
.branded-storefront .st-footer { background: var(--storefront-surface); color: var(--storefront-on-surface); }
.branded-storefront .st-footer .st-wordmark, .branded-storefront .st-footer .st-wordmark small,
.branded-storefront .st-footer .footer-brand p, .branded-storefront .st-footer .footer-location,
.branded-storefront .st-footer .footer-grid h3, .branded-storefront .st-footer .footer-grid > div > a:not(.wordmark),
.branded-storefront .st-footer .footer-bottom, .branded-storefront .st-services svg { color: inherit; }
.branded-storefront .st-footer .footer-bottom { border-color: var(--line); }
.branded-storefront .catalog-intro, .branded-storefront .st-catalog-banner, .branded-storefront .catalog-doodle { background: var(--storefront-accent); color: var(--storefront-on-accent); }
.branded-storefront .catalog-intro h1, .branded-storefront .catalog-intro p, .branded-storefront .catalog-intro .eyebrow,
.branded-storefront .st-catalog-banner h1, .branded-storefront .st-catalog-banner p, .branded-storefront .st-catalog-banner .eyebrow { color: inherit; }
.branded-storefront .st-shop-empty, .branded-storefront .st-search-panel { background: var(--paper); color: var(--ink); }
.branded-storefront input:not([type="checkbox"]):not([type="radio"]), .branded-storefront select, .branded-storefront textarea { background: var(--storefront-surface); color: var(--storefront-on-surface); border-color: var(--line); }
.branded-storefront input::placeholder, .branded-storefront textarea::placeholder { color: var(--storefront-on-surface); opacity: .75; }
.branded-storefront .text-link, .branded-storefront .st-sparkle { color: var(--ink); }
.branded-storefront .text-link { border-color: currentColor; }
.branded-storefront .storefront-account-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; min-height: 90px; padding-top: 20px; padding-bottom: 20px; }
.branded-storefront .storefront-account-header .wordmark { font-family: 'Manrope', 'DM Sans', Arial, sans-serif; font-size: 25px; letter-spacing: -.04em; }
.branded-storefront .storefront-account-header nav, .branded-storefront .storefront-account-footer { display: flex; flex-wrap: wrap; gap: 20px; }
.branded-storefront .storefront-account-footer { padding-top: 24px; padding-bottom: 24px; }
@media (max-width: 1200px) {
    .branded-storefront .st-masthead { grid-template-columns: minmax(0, 1fr) auto; }
    .branded-storefront .st-desktop-nav { display: none; }
    .branded-storefront .st-masthead .mobile-menu-button { display: inline-flex; }
}
@media (max-width: 700px) {
    .branded-storefront .st-wordmark { max-width: 190px; font-size: 23px; }
    .branded-storefront .st-wordmark small { font-size: 8px; }
    .branded-storefront .st-announcement .st-announcement-message { display: block; }
    .branded-storefront .st-announcement-message { padding-right: 0; border-right: 0; }
    .branded-storefront .st-announcement .st-announcement-shipping { display: none; }
    .branded-storefront .st-masthead { padding: 12px 16px; gap: 12px; }
    .branded-storefront .header-actions { gap: 8px; }
    .branded-storefront .st-bag-label { display: none; }
}
/* Reference-inspired main storefront. Tenant branding remains independent. */
.st-storefront:not(.branded-storefront) { --paper: #fff6f4; --burgundy: #39131f; --berry: #7f1e40; --berry-dark: #5e1530; --ink: #30191f; --muted: #6e5c60; background: var(--paper); }
.st-storefront:not(.branded-storefront) .st-announcement { background: var(--paper); font-size: 10px; }
.st-storefront:not(.branded-storefront) .st-masthead { max-width: 1240px; min-height: 88px; }
.st-storefront:not(.branded-storefront) .st-wordmark { font-family: 'DM Sans', Arial, sans-serif; font-size: 26px; font-weight: 750; letter-spacing: -.06em; }
.st-storefront:not(.branded-storefront) .st-wordmark small { font-size: 7px; letter-spacing: .17em; }
.st-storefront:not(.branded-storefront) .st-desktop-nav { text-transform: none; font-size: 13px; letter-spacing: 0; }
.st-storefront:not(.branded-storefront) .st-footer { background: var(--paper); }
.reference-home { background: #fff6f4; color: #30191f; }
.reference-home .page-shell { max-width: 1240px; }
.reference-home h1, .reference-home h2, .reference-home h3 { font-family: 'DM Sans', Arial, sans-serif; color: inherit; font-weight: 700; }
.reference-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-top: 60px; padding-bottom: 80px; }
.reference-hero-copy .eyebrow { font-size: 11px; letter-spacing: .16em; color: #722c42; }
.reference-hero h1 { max-width: 540px; margin: 26px 0 22px; font-size: clamp(42px, 5.2vw, 68px); letter-spacing: -.055em; line-height: 1.04; }
.reference-hero h1 span { color: #7f1e40; }
.reference-hero-copy p { max-width: 470px; margin-bottom: 25px; font-size: 16px; line-height: 1.7; color: #6e5c60; }
.reference-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reference-home .button { border-radius: 999px; min-height: 46px; font-size: 13px; letter-spacing: 0; text-transform: none; padding: 12px 26px; }
.reference-home .button-outline { border: 1.5px solid #39131f; background: transparent; color: #39131f; }
.reference-hero-image { position: relative; aspect-ratio: 1.25; overflow: hidden; border-radius: 44% 44% 24px 24px; background: #f2d9d3; }
.reference-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.reference-categories { padding: 20px 0 80px; scroll-margin-top: 110px; }
.reference-home h2 { font-size: clamp(27px, 3vw, 36px); letter-spacing: -.045em; line-height: 1.2; margin: 0 0 28px; }
.reference-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.reference-category-grid > a { display: flex; flex-direction: column; justify-content: space-between; min-height: 165px; padding: 24px 20px; border-radius: 20px; background: #f2d9d3; transition: transform .2s; }
.reference-category-grid > a:nth-child(3n + 2) { background: #eee5c3; }
.reference-category-grid > a:nth-child(3n) { background: #e9cfd4; }
.reference-category-grid h3 { margin: 0 0 24px; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.reference-category-grid > a > span { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.reference-category-grid > a:hover { transform: translateY(-4px); }
.reference-products { padding: 10px 0 76px; }
.reference-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.reference-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.reference-product-grid .product-image-wrap { aspect-ratio: 1.15; border-radius: 20px; background: #f2d9d3; }
.reference-product-grid .product-card:nth-child(2) .product-image-wrap { background: #eee5c3; }
.reference-product-grid .product-card:nth-child(3) .product-image-wrap { background: #e9cfd4; }
.reference-product-grid .product-card h3 { font-family: 'DM Sans', Arial, sans-serif; font-size: 16px; letter-spacing: -.025em; line-height: 1.35; }
.reference-product-grid .product-price { color: #7f1e40; font-size: 15px; }
.reference-product-grid .product-card-action { background: #39131f; border-color: #39131f; border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 13px; }
.reference-product-grid .product-card-action:hover { background: #7f1e40; }
.reference-product-grid .product-card-action:disabled { background: #f0e0df; color: #775b63; border-color: #dfc2c8; }
.reference-story { background: #39131f; color: #fff6f4; padding: 76px 0; scroll-margin-top: 100px; }
.reference-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.reference-story h2 { font-size: clamp(30px, 3.5vw, 44px); }
.reference-story p { max-width: 490px; color: #ead5da; font-size: 16px; line-height: 1.65; margin: 0; }
.reference-values { display: grid; gap: 22px; }
.reference-values h3 { font-size: 18px; margin: 0 0 4px; }
.reference-values a { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #fff6f4; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
@media (max-width: 1000px) {
    .reference-hero { gap: 32px; padding-top: 40px; padding-bottom: 50px; }
    .reference-story-grid { gap: 40px; }
    .reference-product-grid { gap: 16px; }
}
@media (max-width: 700px) {
    .reference-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 40px; }
    .reference-hero h1 { max-width: 460px; font-size: clamp(42px, 10vw, 60px); }
    .reference-hero-image { width: 100%; max-height: 390px; }
    .reference-categories { padding-bottom: 42px; }
    .reference-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .reference-category-grid > a { min-height: 145px; padding: 20px 16px; }
    .reference-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
    .reference-products { padding-bottom: 44px; }
    .reference-product-grid .product-card h3 { font-size: 14px; }
    .reference-story { padding: 44px 0; }
    .reference-story-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { .reference-category-grid > a { transition: none; } }
