:root {
    --green: #39733f;
    --green-dark: #1d4b2a;
    --sage: #dfe9dc;
    --sage-soft: #edf3ea;
    --ivory: #f8f5ee;
    --sand: #eee1cc;
    --cream: #f2ecd9;
    --ink: #20231f;
    --muted: #6f746d;
    --line: #dedfd9;
    --white: #fff;
    --danger: #9b3737;
    --success: #2f6b3b;
    --shadow: 0 20px 60px rgba(28, 45, 28, .09);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.narrow { max-width: 820px; }
.section { padding: 110px 0; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .18em; line-height: 1.3; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h1 { font-size: clamp(48px, 7vw, 92px); }
h2 { font-size: clamp(36px, 4vw, 56px); }
em { color: var(--green); font-weight: 400; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 20px; padding: 0 28px; border: 1px solid var(--green); border-radius: 0; background: var(--green); color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .25s, border-color .25s, transform .25s; }
.button:hover { border-color: var(--green-dark); background: var(--green-dark); transform: translateY(-2px); }
.button-dark { border-color: var(--ink); background: var(--ink); }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-small { min-height: 43px; padding: 0 20px; font-size: 11px; }
.button-full { width: 100%; }
.button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding-bottom: 4px; }
.text-link span { color: var(--green); }

.announcement { padding: 8px 20px; background: var(--green-dark); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(32,35,31,.08); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
.header-inner { display: grid; min-height: 86px; align-items: center; grid-template-columns: 205px 1fr 205px; }
.brand { display: flex; width: max-content; align-items: center; overflow: hidden; }
.brand-logo { display: block; width: 176px; height: 58px; background: url('../images/logo-ala-beauty.png') center center / 176px 176px no-repeat; }
.brand-logo-large { width: 230px; height: 82px; margin: 0 auto; background-size: 230px 230px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 42px; }
.main-nav a { position: relative; font-size: 13px; font-weight: 600; }
.main-nav a::after { position: absolute; right: 0; bottom: -10px; left: 0; height: 1px; background: var(--green); content: ''; transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; gap: 8px; }
.icon-button { position: relative; display: grid; width: 43px; height: 43px; place-items: center; border: 0; background: transparent; cursor: pointer; }
.icon-button svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.cart-link span { position: absolute; top: 2px; right: 1px; display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; }
.search-bar { position: absolute; z-index: -1; right: 0; left: 0; top: 100%; padding: 0; border-top: 1px solid var(--line); background: #fff; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s, transform .2s; }
.search-bar.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.search-bar .container { display: grid; min-height: 96px; align-items: center; grid-template-columns: 220px 1fr auto; gap: 24px; }
.search-bar label { font-family: var(--serif); font-size: 23px; }
.search-bar input { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); outline: 0; }
.search-bar button { border: 0; background: transparent; color: var(--green); cursor: pointer; font-weight: 700; }
.flash-stack { position: fixed; z-index: 100; top: 132px; right: 24px; display: grid; gap: 10px; }
.flash { width: min(380px, calc(100vw - 48px)); padding: 15px 18px; border-left: 3px solid currentColor; background: #fff; box-shadow: var(--shadow); font-size: 14px; transition: opacity .3s, transform .3s; }
.flash-success { color: var(--success); }
.flash-error { color: var(--danger); }
.flash.is-hiding { opacity: 0; transform: translateX(20px); }

.hero { position: relative; min-height: 710px; background: linear-gradient(90deg, rgba(250,247,240,.98) 0%, rgba(250,247,240,.83) 35%, rgba(250,247,240,0) 58%), url('../images/hero-ala-beauty.png') center center / cover no-repeat; }
.hero-inner { position: relative; display: flex; min-height: 710px; align-items: center; }
.hero-copy { width: 53%; padding: 70px 0; }
.hero-copy h1 { margin-bottom: 28px; letter-spacing: -.035em; }
.hero-copy > p:not(.eyebrow) { max-width: 530px; margin-bottom: 38px; color: #555a53; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.hero-index { position: absolute; right: 0; bottom: 28px; display: flex; align-items: center; gap: 12px; color: rgba(32,35,31,.6); font-size: 11px; letter-spacing: .14em; }
.hero-index i { display: block; width: 64px; height: 1px; background: currentColor; }
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: flex; min-height: 118px; align-items: center; gap: 18px; padding: 20px 48px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-icon { color: var(--green); font-size: 26px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.trust-grid strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 13px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 50px; }
.section-heading h2 { margin: 0; }
.section-heading.centered { display: block; max-width: 680px; margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.centered > p { max-width: 580px; margin: 18px auto 0; color: var(--muted); }
.category-section { background: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.category-card { position: relative; display: grid; min-height: 260px; overflow: hidden; align-items: end; padding: 30px; grid-template-columns: 1fr auto; }
.category-card.sage { background: var(--sage); }
.category-card.sand { background: var(--sand); }
.category-card.cream { background: var(--cream); }
.category-card > span { position: absolute; top: 26px; right: 30px; width: 105px; height: 105px; color: var(--green-dark); opacity: .86; transition: transform .35s; }
.category-card:hover > span { transform: rotate(5deg) scale(1.06); }
.category-card svg { width: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.category-card p { max-width: 230px; margin-bottom: 8px; color: #5f655e; font-size: 12px; }
.category-card h3 { margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.category-card b { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(32,35,31,.3); border-radius: 50%; font-weight: 400; transition: background .2s, color .2s; }
.category-card:hover b { background: var(--green); color: #fff; }

.products-section { background: var(--ivory); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 24px; }
.product-grid-three { grid-template-columns: repeat(3, 1fr); }
.product-card { min-width: 0; }
.product-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--sage-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-badge { position: absolute; z-index: 2; top: 18px; right: 18px; padding: 6px 12px; border-radius: 99px; background: var(--green); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-card-info { padding: 20px 3px 0; }
.product-card-info .eyebrow { margin-bottom: 6px; font-size: 10px; }
.product-card h3 { margin: 0 0 15px; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.25; }
.product-card h3 a:hover { color: var(--green); }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.price { margin: 0; font-size: 14px; font-weight: 700; }
.price del { margin-left: 7px; color: #9a9d97; font-size: 12px; font-weight: 400; }
.quick-add { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; font-size: 21px; font-weight: 300; transition: background .2s, color .2s; }
.quick-add:hover { background: var(--ink); color: #fff; }

.story-section { display: grid; min-height: 690px; grid-template-columns: 1.05fr .95fr; background: var(--green-dark); color: #fff; }
.story-image { min-height: 690px; background: url('../images/hero-ala-beauty.png') 73% center / cover no-repeat; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px clamp(48px, 8vw, 130px); }
.story-copy .eyebrow, .story-copy em { color: #b6d6b5; }
.story-copy h2 { margin-bottom: 30px; }
.story-copy > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.7); }
.check-list { display: grid; margin: 18px 0 38px; padding: 0; gap: 13px; list-style: none; }
.check-list li::before { margin-right: 12px; color: #b6d6b5; content: '✓'; }
.story-copy .button-dark { border-color: #fff; background: #fff; color: var(--green-dark); }
.ritual-section { background: #fff; }
.ritual-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 0; }
.ritual-intro { padding-right: 70px; }
.ritual-intro h2 { margin: 0; }
.ritual-step { padding: 12px 32px; border-left: 1px solid var(--line); }
.ritual-step span { color: var(--green); font-family: var(--serif); font-size: 17px; }
.ritual-step h3 { margin: 42px 0 10px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.ritual-step p { margin: 0; color: var(--muted); font-size: 13px; }
.review-section { padding: 95px 0; background: var(--sage); }
.review-inner { display: grid; align-items: center; grid-template-columns: .65fr 1.7fr .65fr; gap: 70px; }
.stars { color: var(--green); letter-spacing: .16em; }
.review-inner blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.35; }
.review-author { display: flex; align-items: center; gap: 15px; }
.review-author > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--green-dark); color: #fff; font-size: 12px; }
.review-author p { margin: 0; color: var(--muted); font-size: 11px; }
.review-author strong { display: block; color: var(--ink); font-size: 13px; }

.page-hero { padding: 75px 0; background: var(--sage-soft); }
.page-hero-compact { padding: 52px 0; }
.page-hero-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.page-hero h1 { margin: 15px 0 0; font-size: clamp(44px, 5vw, 65px); }
.page-hero-inner > p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--green); }
.category-tabs { border-bottom: 1px solid var(--line); }
.category-tabs .container { display: flex; justify-content: center; }
.category-tabs a { display: flex; min-width: 150px; align-items: center; justify-content: center; gap: 9px; padding: 25px 30px; border-right: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; }
.category-tabs a:first-child { border-left: 1px solid var(--line); }
.category-tabs a:hover, .category-tabs a.is-active { background: var(--green-dark); color: #fff; }
.filters { display: grid; align-items: end; padding: 24px; margin-bottom: 55px; border: 1px solid var(--line); grid-template-columns: 1.4fr repeat(3, 1fr) auto; gap: 18px; }
.filters label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.filters input, .filters select { width: 100%; height: 44px; padding: 0 10px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; outline: 0; }
.shop-section { padding-top: 70px; }
.shop-grid { grid-template-columns: repeat(3, 1fr); }
.empty-state { max-width: 640px; padding: 60px 20px; margin: 0 auto; text-align: center; }
.empty-state > span { color: var(--green); font-size: 42px; }
.empty-state h1, .empty-state h2 { margin: 20px 0 13px; font-size: 40px; }
.empty-state p { margin-bottom: 28px; color: var(--muted); }

.product-detail { padding-top: 80px; }
.product-detail-grid { display: grid; align-items: start; grid-template-columns: 1.02fr .98fr; gap: clamp(50px, 8vw, 110px); }
.product-gallery { position: sticky; top: 125px; overflow: hidden; background: var(--sage-soft); }
.product-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-summary { padding: 25px 0; }
.product-summary h1 { margin-bottom: 22px; font-size: clamp(43px, 5vw, 67px); letter-spacing: -.025em; }
.rating { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.rating span { color: var(--green); font-size: 14px; letter-spacing: .12em; }
.rating p { margin: 0; color: var(--muted); font-size: 12px; }
.product-lead { font-size: 18px; font-weight: 600; }
.product-description { color: var(--muted); }
.detail-price { display: flex; align-items: center; gap: 14px; padding: 21px 0; margin-top: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-price strong { font-family: var(--serif); font-size: 35px; font-weight: 400; }
.detail-price del { color: #999; }
.detail-price span { padding: 4px 9px; background: var(--sage); color: var(--green-dark); font-size: 10px; font-weight: 700; }
.stock-state { display: flex; align-items: center; gap: 9px; margin: 22px 0; color: var(--green); font-size: 12px; }
.stock-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(57,115,63,.12); }
.low-stock { color: #a66b21; }
.add-form { display: grid; grid-template-columns: 145px 1fr; gap: 14px; }
.quantity-control { display: grid; min-height: 52px; border: 1px solid var(--line); grid-template-columns: 42px 1fr 42px; }
.quantity-control button, .quantity-control input { min-width: 0; border: 0; background: transparent; text-align: center; }
.quantity-control button { cursor: pointer; font-size: 20px; }
.quantity-control input { width: 100%; -moz-appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.add-button { justify-content: space-between; }
.detail-assurances { display: grid; margin-top: 25px; padding: 20px 0; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); gap: 15px; }
.detail-assurances p { margin: 0; color: var(--muted); font-size: 10px; text-align: center; }
.product-info-tabs { padding: 80px 0; background: var(--green-dark); color: #fff; }
.product-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.product-info-grid article { min-height: 250px; padding: 10px 50px; border-right: 1px solid rgba(255,255,255,.2); }
.product-info-grid article:first-child { padding-left: 0; }
.product-info-grid article:last-child { padding-right: 0; border-right: 0; }
.product-info-grid span { color: #a7cca7; font-family: var(--serif); }
.product-info-grid h2 { margin: 35px 0 22px; font-size: 28px; }
.product-info-grid p, .product-info-grid li { color: rgba(255,255,255,.7); font-size: 13px; }
.product-info-grid ul { padding-left: 18px; }
.related-products { background: var(--ivory); }

.cart-section { min-height: 520px; }
.cart-layout { display: grid; align-items: start; grid-template-columns: 1fr 390px; gap: 70px; }
.cart-list { border-top: 1px solid var(--line); }
.cart-item { position: relative; display: grid; align-items: center; padding: 24px 32px 24px 0; border-bottom: 1px solid var(--line); grid-template-columns: 120px 1fr 145px 110px; gap: 24px; }
.cart-image { overflow: hidden; background: var(--sage-soft); }
.cart-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cart-item-info .eyebrow { margin-bottom: 5px; }
.cart-item-info h2 { margin: 0 0 5px; font-size: 23px; }
.cart-item-info > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.remove-button { position: absolute; top: 20px; right: 0; border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.cart-list-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 25px; }
.order-summary, .checkout-summary { position: sticky; top: 125px; padding: 36px; background: var(--ivory); }
.order-summary h2 { margin-bottom: 30px; font-size: 33px; }
.order-summary > div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.order-summary .summary-total, .checkout-totals .summary-total { padding: 22px 0; border-bottom: 0; font-family: var(--serif); font-size: 24px; }
.shipping-progress { padding: 12px; margin: 14px 0 0; background: var(--sage); color: var(--green-dark); font-size: 11px; }
.summary-note { margin: 16px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.checkout-layout { display: grid; align-items: start; grid-template-columns: 1fr 430px; gap: 80px; }
.form-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 35px; }
.form-heading > span { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-family: var(--serif); }
.form-heading h2 { margin: 0; font-size: 35px; }
.form-heading .eyebrow { margin-bottom: 6px; }
.payment-heading { margin-top: 60px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field > span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; outline: 0; transition: border-color .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.payment-options { display: grid; margin-bottom: 28px; gap: 12px; }
.payment-options label { display: flex; align-items: center; gap: 15px; padding: 20px; border: 1px solid var(--line); cursor: pointer; }
.payment-options label:has(input:checked) { border-color: var(--green); background: var(--sage-soft); }
.payment-options strong, .payment-options span { display: block; }
.payment-options span { color: var(--muted); font-size: 12px; }
.payment-options strong { color: var(--ink); font-size: 14px; }
.checkout-button { margin-top: 25px; }
.form-error { padding: 15px 18px; margin-bottom: 25px; border-left: 3px solid var(--danger); background: #fff0ef; color: #7c2d2d; font-size: 13px; }
.form-error ul { margin: 7px 0 0; padding-left: 20px; }
.checkout-item { display: grid; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); grid-template-columns: 68px 1fr auto; gap: 14px; }
.checkout-item img { width: 68px; aspect-ratio: 1; object-fit: cover; }
.checkout-item p, .checkout-item span { margin: 0; }
.checkout-item strong, .checkout-item span { display: block; font-size: 11px; }
.checkout-item span { margin-top: 3px; color: var(--muted); }
.checkout-item b { font-size: 12px; }
.checkout-totals { padding-top: 20px; }
.checkout-totals p { display: flex; justify-content: space-between; margin: 0; padding: 9px 0; font-size: 13px; }
.success-section { display: grid; min-height: 720px; place-items: center; padding: 90px 24px; background: var(--sage-soft); }
.success-card { max-width: 700px; padding: 70px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.success-icon { display: grid; width: 64px; height: 64px; place-items: center; margin: 0 auto 30px; border-radius: 50%; background: var(--green); color: #fff; font-size: 25px; }
.success-card h1 { margin-bottom: 22px; font-size: 53px; }
.success-card > p { color: var(--muted); }
.order-reference { display: block; padding: 14px; margin: 25px 0 8px; border: 1px dashed var(--green); color: var(--green-dark); font-size: 20px; letter-spacing: .16em; }
.success-total { font-weight: 700; }
.success-actions { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 34px; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; }
.contact-copy h2 { margin-bottom: 25px; }
.contact-copy > p:not(.eyebrow) { max-width: 480px; color: var(--muted); }
.contact-details { display: grid; margin-top: 45px; gap: 0; }
.contact-details a { display: flex; align-items: center; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-details a > span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green); font-family: var(--serif); }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.contact-form { padding: 50px; background: var(--ivory); }
.contact-form h2 { margin-bottom: 30px; font-size: 36px; }
.contact-form > .field, .contact-form .form-grid { margin-bottom: 20px; }
.legal-content h2 { margin-top: 50px; margin-bottom: 14px; font-size: 33px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted); }

.site-footer { padding: 85px 0 25px; border-top: 1px solid var(--line); background: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 70px; }
.brand-logo-footer { margin: -10px 0 8px -15px; }
.footer-brand p, .footer-grid > div > p { color: var(--muted); font-size: 12px; }
.footer-phone { display: inline-block; margin-top: 8px; color: var(--green-dark); font-family: var(--serif); font-size: 25px; }
.footer-grid h3 { margin-bottom: 22px; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.footer-grid > div:not(:first-child) > a { display: block; width: max-content; margin: 10px 0; color: var(--muted); font-size: 12px; }
.footer-grid a:hover { color: var(--green); }
.newsletter-form { display: grid; margin-top: 20px; border-bottom: 1px solid var(--ink); grid-template-columns: 1fr auto; }
.newsletter-form input, .newsletter-form button { padding: 10px 0; border: 0; background: transparent; outline: 0; }
.newsletter-form button { width: 35px; cursor: pointer; font-size: 20px; }
.whatsapp-link { color: var(--green) !important; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 25px; margin-top: 65px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.footer-bottom p { margin: 0; }

.setup-page, .admin-login-page { display: grid; min-height: 100vh; place-items: center; padding: 40px 20px; background: var(--sage-soft); }
.setup-card, .admin-login-card { width: min(520px, 100%); padding: 55px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.setup-card h1, .admin-login-card h1 { margin-bottom: 18px; font-size: 46px; }
.setup-card > p, .admin-login-card > p { color: var(--muted); }
.setup-actions { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.setup-note { margin: 18px 0 0; font-size: 11px; }
.admin-login-card form { display: grid; margin: 30px 0 25px; gap: 18px; text-align: left; }

/* Administration */
.admin-body { min-height: 100vh; background: #f4f6f2; }
.admin-sidebar { position: fixed; z-index: 80; top: 0; bottom: 0; left: 0; display: flex; width: 255px; flex-direction: column; padding: 20px; background: var(--green-dark); color: #fff; }
.admin-brand { display: block; padding: 0 4px 25px; border-bottom: 1px solid rgba(255,255,255,.15); }
.admin-brand .brand-logo { width: 180px; height: 62px; margin-left: -14px; filter: none; background-size: 180px 180px; }
.admin-brand small { display: block; margin-top: -5px; color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.admin-sidebar nav { display: grid; margin-top: 30px; gap: 7px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 13px; padding: 12px 13px; color: rgba(255,255,255,.68); font-size: 12px; }
.admin-sidebar nav a span { width: 22px; text-align: center; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.is-active { background: rgba(255,255,255,.1); color: #fff; }
.admin-logout { margin-top: auto; padding: 13px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75); font-size: 12px; text-align: center; }
.admin-shell { min-height: 100vh; margin-left: 255px; }
.admin-topbar { display: flex; height: 74px; align-items: center; justify-content: flex-end; padding: 0 38px; border-bottom: 1px solid var(--line); background: #fff; }
.admin-topbar p, .admin-topbar strong { display: block; margin: 0; text-align: right; }
.admin-topbar p { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.admin-topbar strong { font-size: 13px; }
.admin-menu-toggle { display: none; }
.admin-main { padding: 40px; }
.admin-flashes { padding: 20px 40px 0; }
.admin-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.admin-page-heading h1 { margin: 0; font-size: 44px; }
.admin-page-heading h1 span { color: var(--green); font-size: 20px; }
.admin-page-heading > div > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.stat-grid { display: grid; margin-bottom: 24px; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-grid article { padding: 24px; border: 1px solid #e1e5de; background: #fff; }
.stat-grid span, .stat-grid small { display: block; color: var(--muted); font-size: 10px; }
.stat-grid strong { display: block; margin: 15px 0 4px; font-family: var(--serif); font-size: 31px; font-weight: 400; }
.admin-dashboard-grid { display: grid; align-items: start; grid-template-columns: 1.7fr .8fr; gap: 22px; }
.admin-panel { border: 1px solid #e1e5de; background: #fff; }
.admin-panel-heading { display: flex; align-items: center; justify-content: space-between; padding: 20px 23px; border-bottom: 1px solid #e1e5de; }
.admin-panel-heading h2 { margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 700; }
.admin-panel-heading a, .admin-panel-heading span { color: var(--green); font-size: 11px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.admin-table th { padding: 13px 16px; background: #fafbf9; color: var(--muted); font-size: 9px; letter-spacing: .09em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 14px 16px; border-top: 1px solid #edf0eb; vertical-align: middle; white-space: nowrap; }
.admin-table td small { display: block; color: var(--muted); font-size: 9px; }
.admin-table td > a { color: var(--green); font-weight: 700; }
.admin-empty { padding: 30px; color: var(--muted); font-size: 12px; text-align: center; }
.status { display: inline-flex; padding: 5px 8px; border-radius: 99px; background: #f1f2f0; font-size: 9px; font-weight: 700; text-transform: capitalize; }
.status-new { background: #f8eacb; color: #835e14; }
.status-confirmed { background: #dceaf5; color: #285f88; }
.status-preparing { background: #e9e1f5; color: #5b3d80; }
.status-shipped { background: #dcebee; color: #276370; }
.status-delivered { background: #dfede0; color: #2e6a35; }
.status-cancelled { background: #f2dede; color: #8a3333; }
.stock-list { display: grid; padding: 10px 20px 20px; }
.stock-list a { display: grid; align-items: center; padding: 12px 0; border-bottom: 1px solid #edf0eb; grid-template-columns: 54px 1fr; gap: 13px; }
.stock-list img { width: 54px; aspect-ratio: 1; object-fit: cover; }
.stock-list p, .stock-list strong, .stock-list span { display: block; margin: 0; }
.stock-list strong { font-size: 11px; }
.stock-list span { color: var(--danger); font-size: 9px; }
.admin-search { display: flex; padding: 18px; border-bottom: 1px solid #e1e5de; }
.admin-search input { width: min(420px, 100%); padding: 10px 12px; border: 1px solid var(--line); }
.admin-search button { padding: 0 17px; border: 0; background: var(--green); color: #fff; cursor: pointer; font-size: 10px; }
.admin-product { display: flex; align-items: center; gap: 12px; }
.admin-product img { width: 48px; aspect-ratio: 1; object-fit: cover; }
.admin-product p { margin: 0; }
.stock-pill { font-weight: 700; }
.stock-low { color: var(--danger); }
.table-actions { display: flex; align-items: center; gap: 10px; }
.table-actions a, .table-actions button { border: 0; background: transparent; color: var(--green); cursor: pointer; font-size: 10px; font-weight: 700; }
.admin-form-layout { display: grid; align-items: start; grid-template-columns: 1.5fr .7fr; gap: 22px; }
.admin-form-main, .admin-form-side { display: grid; gap: 22px; }
.form-section { padding: 25px; }
.form-section h2 { margin-bottom: 22px; font-family: var(--sans); font-size: 16px; font-weight: 700; }
.form-section > .field, .form-section > .form-grid { margin-bottom: 18px; }
.admin-image-preview { width: 100%; margin-bottom: 18px; aspect-ratio: 1; object-fit: cover; background: var(--sage-soft); }
.upload-field { display: grid; padding: 18px; border: 1px dashed var(--line); cursor: pointer; text-align: center; }
.upload-field input { display: none; }
.upload-field span { color: var(--green); font-size: 11px; font-weight: 700; }
.upload-field small { color: var(--muted); font-size: 9px; }
.check-field { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.check-field input { accent-color: var(--green); }
.admin-filter-tabs { display: flex; overflow-x: auto; margin-bottom: 18px; gap: 8px; }
.admin-filter-tabs a { padding: 8px 14px; border: 1px solid var(--line); background: #fff; font-size: 10px; text-transform: capitalize; }
.admin-filter-tabs a.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.order-admin-grid { display: grid; align-items: start; grid-template-columns: 1.4fr .7fr; gap: 22px; }
.order-admin-grid > div { display: grid; gap: 22px; }
.order-admin-item { display: flex; align-items: center; justify-content: space-between; padding: 18px 23px; border-bottom: 1px solid #edf0eb; }
.order-admin-item p, .order-admin-item strong, .order-admin-item span { display: block; margin: 0; }
.order-admin-item strong { font-size: 12px; }
.order-admin-item span { color: var(--muted); font-size: 10px; }
.order-admin-item b { font-size: 12px; }
.order-admin-totals { padding: 18px 23px; background: #fafbf9; }
.order-admin-totals p { display: flex; justify-content: space-between; margin: 0; padding: 6px 0; font-size: 11px; }
.order-admin-totals p:last-child { padding-top: 13px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 15px; }
.order-customer { display: grid; margin: 0; grid-template-columns: 95px 1fr; row-gap: 13px; font-size: 11px; }
.order-customer dt { color: var(--muted); }
.order-customer dd { margin: 0; }
.whatsapp-admin { display: block; padding: 11px; margin-top: 20px; border: 1px solid var(--green); color: var(--green); font-size: 11px; text-align: center; }
.message-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.message-card { padding: 25px; }
.message-card.is-unread { border-left: 3px solid var(--green); }
.message-card > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.message-card > div span { color: var(--green); font-weight: 700; text-transform: uppercase; }
.message-card h2 { margin: 20px 0 10px; font-family: var(--sans); font-size: 17px; font-weight: 700; }
.message-card > p { min-height: 70px; color: var(--muted); font-size: 11px; }
.message-card footer { display: flex; flex-wrap: wrap; gap: 13px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 10px; }
.message-card footer a { color: var(--green); }
.message-card footer form { margin-left: auto; }
.message-card footer button { border: 0; background: transparent; color: var(--green); cursor: pointer; font-size: 10px; font-weight: 700; }

@media (max-width: 1050px) {
    .header-inner { grid-template-columns: 180px 1fr 100px; }
    .main-nav { gap: 24px; }
    .hero-copy { width: 62%; }
    .trust-grid > div { padding: 20px 25px; }
    .ritual-grid { grid-template-columns: repeat(3, 1fr); }
    .ritual-intro { grid-column: 1 / -1; margin-bottom: 45px; }
    .review-inner { grid-template-columns: 1fr 2fr; }
    .review-author { grid-column: 2; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr 340px; gap: 35px; }
    .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
    .footer-grid > div:last-child { grid-column: 2 / 4; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-dashboard-grid, .admin-form-layout, .order-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .container { width: min(100% - 32px, 680px); }
    .section { padding: 75px 0; }
    .header-inner { min-height: 72px; grid-template-columns: 1fr auto auto; }
    .brand-logo { width: 145px; height: 52px; background-size: 145px 145px; }
    .menu-toggle { display: grid; width: 40px; height: 40px; place-content: center; gap: 5px; cursor: pointer; order: 2; }
    .menu-toggle span { display: block; width: 21px; height: 1px; background: var(--ink); }
    .main-nav { position: fixed; z-index: 60; top: 104px; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 45px 32px; background: #fff; opacity: 0; pointer-events: none; transform: translateX(100%); transition: opacity .25s, transform .25s; }
    .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateX(0); }
    .main-nav a { font-family: var(--serif); font-size: 33px; font-weight: 400; }
    .header-actions { order: 3; }
    .header-actions .icon-button:first-child { display: none; }
    .search-bar { display: none; }
    .hero { min-height: 730px; background: linear-gradient(0deg, rgba(250,247,240,.98) 0%, rgba(250,247,240,.87) 47%, rgba(250,247,240,.18) 100%), url('../images/hero-ala-beauty.png') 69% center / cover no-repeat; }
    .hero-inner { min-height: 730px; align-items: flex-end; }
    .hero-copy { width: 100%; padding: 270px 0 70px; }
    .hero-copy h1 { font-size: clamp(51px, 13vw, 75px); }
    .hero-copy > p:not(.eyebrow) { max-width: 510px; }
    .hero-index { display: none; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid > div, .trust-grid > div:first-child { min-height: 90px; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-grid > div:last-child { border-bottom: 0; }
    .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 38px; }
    .category-grid { grid-template-columns: 1fr; }
    .category-card { min-height: 230px; }
    .product-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .story-section { grid-template-columns: 1fr; }
    .story-image { min-height: 500px; }
    .story-copy { padding: 75px 32px; }
    .ritual-grid { grid-template-columns: 1fr; }
    .ritual-step { padding: 30px 0; border-top: 1px solid var(--line); border-left: 0; }
    .ritual-step h3 { margin-top: 18px; }
    .review-inner { grid-template-columns: 1fr; gap: 30px; }
    .review-author { grid-column: 1; }
    .page-hero-inner { align-items: flex-start; flex-direction: column; }
    .category-tabs .container { justify-content: flex-start; overflow-x: auto; }
    .category-tabs a { min-width: 130px; padding: 20px; }
    .filters { grid-template-columns: repeat(2, 1fr); }
    .filter-search { grid-column: 1 / -1; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-gallery { position: relative; top: auto; }
    .product-info-grid { grid-template-columns: 1fr; }
    .product-info-grid article, .product-info-grid article:first-child, .product-info-grid article:last-child { min-height: 0; padding: 35px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
    .product-info-grid article:last-child { border-bottom: 0; }
    .product-info-grid h2 { margin-top: 17px; }
    .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
    .order-summary, .checkout-summary { position: relative; top: auto; }
    .checkout-summary { grid-row: 1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .admin-sidebar { transform: translateX(-100%); transition: transform .25s; }
    .admin-sidebar.is-open { transform: translateX(0); }
    .admin-shell { margin-left: 0; }
    .admin-topbar { justify-content: space-between; padding: 0 22px; }
    .admin-menu-toggle { display: block; border: 0; background: transparent; font-size: 21px; }
    .admin-main { padding: 28px 20px; }
    .admin-flashes { padding: 15px 20px 0; }
}

@media (max-width: 560px) {
    .announcement { font-size: 9px; }
    .header-actions { margin-left: 2px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
    .product-grid, .shop-grid, .product-grid-three { grid-template-columns: 1fr; }
    .category-card > span { width: 85px; height: 85px; }
    .filters { grid-template-columns: 1fr; }
    .filter-search { grid-column: auto; }
    .filters .button { width: 100%; }
    .product-summary h1 { font-size: 45px; }
    .add-form { grid-template-columns: 1fr; }
    .detail-assurances { grid-template-columns: 1fr; }
    .detail-assurances p { text-align: left; }
    .cart-item { align-items: start; padding-right: 0; grid-template-columns: 90px 1fr; gap: 16px; }
    .cart-item .quantity-control { grid-column: 1; }
    .cart-item > strong { align-self: center; grid-column: 2; grid-row: 2; }
    .cart-list-footer { align-items: stretch; flex-direction: column; gap: 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .success-card { padding: 45px 24px; }
    .success-card h1 { font-size: 41px; }
    .success-actions, .setup-actions { align-items: stretch; flex-direction: column; }
    .contact-form { padding: 32px 22px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand, .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
    .setup-card, .admin-login-card { padding: 38px 24px; }
    .stat-grid, .message-grid { grid-template-columns: 1fr; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; }
}

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