:root {
  color-scheme: light;
  --paper: #f7f5ec;
  --paper-strong: #fffdf7;
  --ink: #26382c;
  --muted: #6d786e;
  --forest: #315b43;
  --forest-dark: #234433;
  --leaf: #89a66c;
  --clay: #c56e4e;
  --line: #e4e4d8;
  --soft-green: #eaf0e4;
  --soft-clay: #f7eae2;
  --shadow: 0 18px 55px rgb(51 65 45 / 9%);
  --radius: 22px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { min-width: 320px; margin: 0; background: var(--paper); }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: white; background: var(--forest); }
:focus-visible { outline: 3px solid #d5845f; outline-offset: 3px; }

.startup { min-height: 100svh; display: grid; place-content: center; justify-items: center; color: var(--forest); }
.startup__mark { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 19px 19px 19px 5px; background: var(--forest); color: white; font: 700 33px Georgia, serif; }
.startup p { color: var(--muted); }
.startup-error { max-width: 36rem; margin: 15vh auto; padding: 1rem 1.5rem; color: #963f31; text-align: center; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: .75rem 1rem; transform: translateY(-160%); border-radius: 8px; background: var(--forest-dark); color: white; }
.skip-link:focus { transform: translateY(0); }
.app-shell { min-height: 100vh; overflow: clip; }
.page-content { min-height: 60vh; }
.section-wrap, .site-header__inner, .site-footer__inner { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.offline-banner { display: flex; justify-content: center; align-items: center; gap: 9px; padding: 9px 20px; background: #f1dfd3; color: #75452f; font-size: .82rem; text-align: center; }
.offline-banner__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px rgb(197 110 78 / 14%); }
.site-header { position: sticky; z-index: 10; top: 0; background: rgb(247 245 236 / 92%); border-bottom: 1px solid rgb(49 91 67 / 9%); backdrop-filter: blur(18px); }
.site-header__inner { min-height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--forest-dark); }
.brand__mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 14px 14px 14px 4px; background: var(--forest); color: white; font: 700 25px Georgia, serif; }
.brand__word { font: 700 1.25rem "Playfair Display", Georgia, serif; letter-spacing: -.04em; }
.demo-badge { display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border: 1px solid #d8c7a4; border-radius: 999px; background: #f6efdf; color: #7e6337; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.demo-badge--header { min-height: 24px; padding-inline: 8px; font-size: .62rem; }
.main-nav { display: flex; align-items: center; gap: 29px; margin-inline: auto; }
.main-nav__link, .header-account { color: #536457; font-size: .9rem; font-weight: 600; transition: color .2s ease; }
.main-nav__link:hover, .header-account:hover { color: var(--clay); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-cart { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-strong); font-size: .86rem; font-weight: 600; }
.header-cart__icon { color: var(--forest); font-size: 1.2rem; }
.cart-count { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--soft-green); color: var(--forest); font-size: .73rem; }

.hero-section { position: relative; width: min(1250px, calc(100% - 48px)); min-height: 585px; display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: 32px; margin: 24px auto 70px; padding: 45px 5.6%; overflow: hidden; border-radius: 34px; background: #ecefdf; }
.hero-section::before { position: absolute; right: 36%; bottom: -210px; width: 490px; height: 490px; border: 1px solid rgb(49 91 67 / 11%); border-radius: 50%; content: ""; }
.hero-section__copy { position: relative; z-index: 1; max-width: 570px; padding-block: 22px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--clay); font-size: .68rem; font-weight: 700; letter-spacing: .16em; }
.eyebrow__line { width: 27px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--forest-dark); font-family: "Playfair Display", Georgia, serif; font-weight: 600; letter-spacing: -.035em; }
.hero-section h1 { max-width: 630px; margin-bottom: 18px; font-size: clamp(2.6rem, 5.1vw, 4.45rem); line-height: 1.08; }
.text-accent { color: var(--clay); }
.hero-section__lead { max-width: 475px; margin-bottom: 25px; color: #5e6c60; font-size: 1rem; line-height: 1.8; }
.hero-section__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; color: #5e6c60; font-size: .78rem; }
.hero-note__icon { color: #7d9c64; font-size: 1.1rem; }
.hero-social-proof { display: flex; align-items: center; gap: 13px; margin-top: 43px; }
.hero-social-proof p { margin: 0; color: #6c786c; font-size: .77rem; }
.hero-social-proof strong { color: var(--forest); }
.avatar-stack { display: flex; padding-left: 4px; }
.avatar-stack span { width: 29px; height: 29px; display: grid; margin-left: -4px; place-items: center; border: 2px solid #ecefdf; border-radius: 50%; background: #d8a17f; color: white; font-size: .68rem; font-weight: 700; }
.avatar-stack span:nth-child(2) { background: #a7b78d; }
.avatar-stack span:nth-child(3) { background: #b97e61; }
.hero-section__art { position: relative; align-self: stretch; min-height: 435px; display: grid; place-items: center; }
.hero-section__art > img { width: min(100%, 510px); height: min(470px, 100%); min-height: 350px; object-fit: cover; border-radius: 48% 48% 27px 27px; box-shadow: 0 25px 55px rgb(40 59 41 / 16%); }
.hero-art-orbit { position: absolute; z-index: -1; right: -4%; bottom: -8%; width: 110%; aspect-ratio: 1; border: 1px solid rgb(49 91 67 / 14%); border-radius: 50%; }
.hero-tag { position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 16px; border: 1px solid rgb(49 91 67 / 8%); border-radius: 15px; background: rgb(255 253 247 / 96%); box-shadow: var(--shadow); }
.hero-tag--top { top: 13%; left: -5%; }
.hero-tag--bottom { right: -2%; bottom: 12%; }
.hero-tag strong, .hero-tag small { display: block; }
.hero-tag strong { color: var(--forest-dark); font-size: .78rem; }
.hero-tag small { margin-top: 3px; color: var(--muted); font-size: .67rem; }
.hero-tag__icon, .hero-tag__check { color: var(--leaf); font-size: 1.25rem; }

.catalog-section { padding-bottom: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.section-heading h2, .story-section h2, .promise-section h2 { margin: 0 0 9px; font-size: clamp(2rem, 3.3vw, 2.8rem); }
.section-description { margin: 0; color: var(--muted); font-size: .9rem; }
.text-link { color: var(--forest); font-size: .84rem; font-weight: 700; }
.text-link span { margin-left: 7px; transition: transform .2s ease; }
.text-link:hover span { display: inline-block; transform: translateX(4px); }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 25px 0; }
.search-box { width: min(340px, 100%); height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-strong); }
.search-box__icon { color: var(--forest); font-size: 1.15rem; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .83rem; }
.search-box input::placeholder { color: #9ca399; }
.search-clear { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--soft-green); cursor: pointer; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.category-pill { min-height: 38px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #637064; cursor: pointer; font-size: .78rem; transition: .2s ease; }
.category-pill:hover, .category-pill.is-active { border-color: var(--forest); background: var(--forest); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid #e9e7dc; border-radius: 20px; background: var(--paper-strong); transition: transform .24s ease, box-shadow .24s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__image-link { position: relative; display: block; overflow: hidden; background: #edf0e4; }
.product-card__image { width: 100%; aspect-ratio: 1.53; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__image { transform: scale(1.035); }
.product-badge { position: absolute; top: 13px; left: 13px; padding: 6px 10px; border-radius: 999px; background: #fffdf3; color: var(--forest); font-size: .64rem; font-weight: 700; }
.product-card__body { padding: 16px 17px 17px; }
.product-card__farm { margin: 0 0 5px; color: var(--clay); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3 { margin: 0 0 5px; color: var(--forest-dark); font: 600 1.16rem "Playfair Display", Georgia, serif; }
.product-card__description { min-height: 39px; margin: 0; color: var(--muted); font-size: .77rem; line-height: 1.55; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #eeede5; }
.product-card__price { display: flex; align-items: baseline; gap: 4px; }
.product-price { color: var(--forest-dark); font-size: .96rem; font-weight: 700; }
.product-unit { color: var(--muted); font-size: .7rem; font-weight: 400; }
.product-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.stock-note { color: #718067; font-size: .68rem; }
.empty-note { padding: 24px; border: 1px dashed #d5d9ca; border-radius: 16px; color: var(--muted); text-align: center; }
.catalog-error { padding: 24px; border-radius: 16px; background: var(--soft-clay); color: #744632; }
.skeleton { position: relative; overflow: hidden; border-radius: 8px; background: #e8ebdf; }
.skeleton::after { position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / 72%), transparent); animation: skeleton-wave 1.35s infinite; content: ""; }
@keyframes skeleton-wave { to { transform: translateX(100%); } }
.skeleton--image { aspect-ratio: 1.53; border-radius: 0; }
.skeleton-card__body { display: grid; gap: 12px; padding: 16px; }
.skeleton--line { height: 11px; }
.skeleton--wide { width: 83%; }
.skeleton--medium { width: 59%; }
.skeleton--short { width: 34%; }
.skeleton-card__row { display: flex; justify-content: space-between; }
.skeleton--button { width: 100%; height: 39px; border-radius: 10px; }

.story-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(35px, 7vw, 90px); padding-block: 65px 100px; }
.story-section__image img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 24px 24px 90px 24px; }
.story-section__copy { max-width: 460px; }
.story-section__copy > p:not(.eyebrow) { color: var(--muted); font-size: .94rem; line-height: 1.8; }
.promise-section { padding: 78px 0 92px; background: #eef0e4; }
.section-heading--center { justify-content: center; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 35px; }
.promise-card { position: relative; min-height: 190px; padding: 24px; border: 1px solid rgb(49 91 67 / 8%); border-radius: 18px; background: rgb(255 253 247 / 75%); }
.promise-card__number { color: #a3ad96; font-size: .7rem; font-weight: 700; }
.promise-card__icon { position: absolute; top: 20px; right: 22px; color: var(--leaf); font-size: 1.2rem; }
.promise-card h3 { margin: 18px 0 9px; color: var(--forest-dark); font: 600 1.18rem "Playfair Display", Georgia, serif; }
.promise-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }

.site-footer { padding: 45px 0 22px; background: #243e30; color: #e9eee4; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.brand--footer { color: white; }
.brand--footer .brand__mark { background: #f4f0df; color: var(--forest); }
.footer-brand p { max-width: 390px; margin: 13px 0 0; color: #b7c5b5; font-size: .8rem; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; align-content: start; gap: 13px 22px; padding-top: 12px; }
.footer-links a { color: #d6e0d1; font-size: .78rem; }
.footer-links a:hover { color: white; }
.site-footer small { grid-column: 1 / -1; padding-top: 19px; border-top: 1px solid rgb(255 255 255 / 12%); color: #aebcae; font-size: .7rem; }

.button { min-height: 42px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-size: .82rem; font-weight: 700; transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.button:disabled { cursor: not-allowed; opacity: .64; }
.button--primary { background: var(--forest); color: white; }
.button--primary:hover:not(:disabled) { background: var(--forest-dark); box-shadow: 0 7px 18px rgb(49 91 67 / 19%); }
.button--secondary { border-color: #cdd7c7; background: var(--soft-green); color: var(--forest); }
.button--secondary:hover:not(:disabled) { border-color: #9eb298; background: #e0e9d8; }
.button--quiet { min-height: 35px; padding-inline: 10px; background: transparent; color: var(--forest); }
.button--danger { background: var(--clay); color: white; }
.button--danger:hover:not(:disabled) { background: #a9553c; }
.button__spinner { width: 13px; height: 13px; border: 2px solid rgb(255 255 255 / 45%); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field__label { color: #536357; font-size: .76rem; font-weight: 700; }
.field__input { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #dfe2d7; border-radius: 10px; background: #fffefa; color: var(--ink); }
.field__input::placeholder { color: #9da69a; }
.field__input:hover { border-color: #b7c4b4; }
.field__input[aria-invalid="true"] { border-color: #bb5c45; }
.field__error { color: #a84735; font-size: .74rem; }
.form-status { padding: 11px 13px; border-radius: 10px; background: var(--soft-green); color: var(--forest); font-size: .8rem; line-height: 1.55; }

.page-heading, .admin-heading { margin-bottom: 28px; }
.page-heading h1, .admin-heading h1 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3rem); }
.page-heading > p:last-child, .admin-heading > div > p:last-child { color: var(--muted); font-size: .88rem; }
.product-page, .cart-page, .checkout-page, .login-page, .orders-page, .order-page, .account-page, .admin-panel { padding-block: 56px 88px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 75px); }
.product-detail__image { width: 100%; max-height: 550px; object-fit: cover; border-radius: 28px; }
.product-detail__copy h1 { margin: 7px 0 12px; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.product-detail__description { color: var(--muted); line-height: 1.8; }
.detail-infos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.detail-info { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: var(--soft-green); }
.detail-info span { color: var(--muted); font-size: .68rem; }
.detail-info strong { color: var(--forest); font-size: .83rem; }
.detail-buy-row, .quantity-control, .cart-line__actions { display: flex; align-items: center; gap: 10px; }
.quantity-control { width: fit-content; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper-strong); }
.quantity-control button, .cart-line__actions button { width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--soft-green); color: var(--forest); cursor: pointer; font-weight: 700; }
.quantity-control span { min-width: 22px; text-align: center; font-weight: 700; }
.cart-list { display: grid; gap: 12px; }
.cart-line, .order-card, .outbox-row, .job-row { display: flex; align-items: center; gap: 17px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper-strong); }
.cart-line__image { width: 82px; height: 72px; flex: 0 0 auto; object-fit: cover; border-radius: 11px; }
.cart-line__body { flex: 1; min-width: 0; }
.cart-line h3 { margin: 0 0 5px; color: var(--forest-dark); font: 600 1.05rem "Playfair Display", Georgia, serif; }
.cart-line p { margin: 0; color: var(--muted); font-size: .74rem; }
.cart-line__total { color: var(--forest-dark); font-size: .88rem; font-weight: 700; white-space: nowrap; }
.cart-summary { width: min(460px, 100%); margin: 25px 0 0 auto; padding: 21px; border-radius: 16px; background: #ecefe3; }
.cart-summary__row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 11px; color: #627063; font-size: .83rem; }
.cart-summary__row--total { padding-top: 12px; border-top: 1px solid #d6ddcf; color: var(--forest-dark); font-size: .98rem; font-weight: 700; }
.cart-summary .button { width: 100%; margin-top: 8px; }
.empty-state { max-width: 540px; margin: 25px auto; padding: 42px 24px; border: 1px dashed #d6dbcd; border-radius: 19px; text-align: center; }
.empty-state__icon { color: var(--leaf); font-size: 2rem; }
.empty-state h2 { margin: 11px 0 8px; font-size: 1.55rem; }
.empty-state p { color: var(--muted); font-size: .84rem; line-height: 1.65; }
.empty-state .button { margin-top: 5px; }
.checkout-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 26px; }
.checkout-card, .summary-card, .admin-card, .admin-jobs { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper-strong); }
.checkout-card h2, .summary-card h2, .admin-card h2 { margin-bottom: 18px; font-size: 1.4rem; }
.checkout-summary { position: sticky; top: 100px; }
.checkout-options { display: flex; flex-wrap: wrap; gap: 9px; }
.choice-chip { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 11px; background: white; cursor: pointer; font-size: .77rem; }
.choice-chip.is-selected { border-color: var(--forest); background: var(--soft-green); color: var(--forest); }
.quote-total { margin: 15px 0; color: var(--forest-dark); font-size: 1.35rem; font-weight: 700; }
.inline-notice { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px; border-radius: 11px; background: var(--soft-clay); color: #754832; font-size: .8rem; }
.login-page { max-width: 640px; margin-inline: auto; }
.login-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper-strong); box-shadow: var(--shadow); }
.login-card h1 { margin-bottom: 8px; font-size: 2.3rem; }
.login-card > p { color: var(--muted); font-size: .86rem; line-height: 1.7; }
.demo-hint { padding: 11px 13px; border-radius: 10px; background: #f5eedb; color: #6d5930; font-size: .75rem; }
.order-list { display: grid; gap: 12px; }
.order-card { justify-content: space-between; }
.order-card__top { display: flex; align-items: center; gap: 10px; }
.order-number { color: var(--forest-dark); font-size: .84rem; font-weight: 700; }
.status-pill { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: var(--soft-green); color: var(--forest); font-size: .68rem; font-weight: 700; }
.status-pill--cancelled, .status-pill--rejected { background: #f5e5df; color: #9b4c36; }
.order-card__meta { margin: 7px 0 0; color: var(--muted); font-size: .73rem; }
.timeline { display: grid; gap: 0; margin: 27px 0; padding: 0; list-style: none; }
.timeline__item { position: relative; min-height: 58px; padding: 0 0 20px 34px; border-left: 1px solid #d9dfd1; color: #899188; font-size: .8rem; }
.timeline__item::before { position: absolute; top: 0; left: -7px; width: 13px; height: 13px; border: 2px solid var(--paper); border-radius: 50%; background: #bfc8b9; content: ""; }
.timeline__item.is-complete, .timeline__item.is-current { color: var(--forest); }
.timeline__item.is-complete::before, .timeline__item.is-current::before { background: var(--leaf); }
.account-card { display: grid; gap: 12px; max-width: 600px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-strong); }
.account-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.outbox-section { margin-top: 35px; }
.outbox-section h2 { font-size: 1.45rem; }
.outbox-list { display: grid; gap: 10px; }
.outbox-row { justify-content: space-between; flex-wrap: wrap; }
.outbox-row__copy { min-width: 180px; flex: 1; }
.outbox-row strong { color: var(--forest-dark); font-size: .82rem; }
.outbox-row p { margin: 5px 0 0; color: var(--muted); font-size: .75rem; }
.outbox-row--needs_review { border-color: #e5c6b7; background: #fff9f4; }
.outbox-row--sending { border-color: #d9e4d2; }
.cart-pending { color: #896636; font-size: .75rem; }
.loading-panel { display: grid; gap: 13px; max-width: 520px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.admin-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.admin-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.metric-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper-strong); }
.metric-card__top { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; }
.metric-card__top span:last-child { color: var(--leaf); }
.metric-card > strong { display: block; margin: 10px 0 4px; color: var(--forest-dark); font: 600 2rem "Playfair Display", Georgia, serif; }
.metric-card small { color: var(--muted); font-size: .7rem; }
.admin-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.admin-card { display: grid; align-content: start; gap: 14px; }
.admin-card__heading { display: flex; justify-content: space-between; gap: 15px; }
.admin-card__heading .eyebrow { margin-bottom: 7px; }
.admin-card__heading h2 { margin: 0; }
.admin-card__symbol { color: var(--leaf); font-size: 1.3rem; }
.admin-jobs { margin-top: 15px; }
.jobs-list { display: grid; gap: 10px; }
.job-row { justify-content: space-between; flex-wrap: wrap; }
.job-row strong { color: var(--forest-dark); font-size: .8rem; }
.job-row p, .job-row small { margin: 4px 0 0; color: var(--muted); font-size: .72rem; }
.toast-message { position: fixed; z-index: 25; right: max(20px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); max-width: min(420px, calc(100vw - 32px)); display: flex; align-items: center; gap: 10px; padding: 14px 17px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 13px; background: var(--forest-dark); box-shadow: 0 10px 34px rgb(31 57 39 / 25%); color: white; font-size: .82rem; animation: toast-in .24s ease-out; }
.toast-message__icon { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 17%); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.mobile-cart-bar { display: none; }

@media (max-width: 900px) {
  .section-wrap, .site-header__inner, .site-footer__inner { width: min(100% - 36px, 760px); }
  .site-header__inner { gap: 18px; }
  .main-nav { gap: 16px; }
  .hero-section { width: calc(100% - 32px); min-height: 510px; padding-inline: 5%; }
  .hero-section__art { min-height: 370px; }
  .hero-section__art > img { min-height: 300px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .section-wrap, .site-header__inner, .site-footer__inner { width: calc(100% - 32px); }
  .offline-banner { align-items: start; padding: 8px 15px; font-size: .7rem; line-height: 1.45; }
  .offline-banner__dot { margin-top: 4px; flex: 0 0 auto; }
  .site-header__inner { min-height: 66px; gap: 10px; }
  .brand { gap: 7px; }
  .brand__mark { width: 34px; height: 34px; font-size: 22px; }
  .brand__word { font-size: 1.08rem; }
  .demo-badge { min-height: 24px; padding-inline: 8px; font-size: .62rem; }
  .main-nav { display: none; }
  .site-header__actions { gap: 8px; margin-left: auto; }
  .header-account { padding: 8px 3px; font-size: .75rem; }
  .header-cart { min-height: 38px; gap: 6px; padding-inline: 9px; font-size: .73rem; }
  .header-cart__icon { font-size: 1rem; }
  .cart-count { min-width: 19px; height: 19px; font-size: .65rem; }
  .header-cart > span:nth-child(2) { display: none; }
  .hero-section { grid-template-columns: 1fr; gap: 14px; width: calc(100% - 24px); min-height: unset; margin: 12px auto 52px; padding: 29px 22px 22px; border-radius: 25px; }
  .hero-section__copy { padding: 0; }
  .hero-section h1 { margin-bottom: 12px; font-size: clamp(2.2rem, 11vw, 3.25rem); }
  .hero-section__lead { margin-bottom: 17px; font-size: .88rem; line-height: 1.65; }
  .hero-section__actions { gap: 12px; }
  .hero-section__actions .button { min-height: 42px; }
  .hero-note { font-size: .67rem; }
  .hero-social-proof { margin-top: 22px; }
  .hero-section__art { min-height: 270px; max-height: 335px; margin: 0 -3px; }
  .hero-section__art > img { width: 100%; height: 290px; min-height: 0; border-radius: 45% 45% 19px 19px; }
  .hero-tag { gap: 7px; padding: 9px 11px; border-radius: 12px; }
  .hero-tag--top { top: 13%; left: -2%; }
  .hero-tag--bottom { right: -2%; bottom: 9%; }
  .hero-tag strong { font-size: .67rem; }
  .hero-tag small { font-size: .59rem; }
  .hero-tag__icon, .hero-tag__check { font-size: 1rem; }
  .catalog-section { padding-bottom: 58px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; margin-bottom: 18px; }
  .section-heading h2, .story-section h2, .promise-section h2 { font-size: 2rem; }
  .section-description { font-size: .8rem; line-height: 1.6; }
  .catalog-tools { align-items: stretch; flex-direction: column; gap: 12px; margin-block: 19px; }
  .search-box { width: 100%; }
  .category-pills { flex-wrap: nowrap; overflow-x: auto; padding: 1px 1px 7px; scrollbar-width: none; }
  .category-pills::-webkit-scrollbar { display: none; }
  .category-pill { flex: 0 0 auto; min-height: 35px; padding-inline: 13px; font-size: .72rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: 14px; }
  .product-card__image { aspect-ratio: 1.05; }
  .product-badge { top: 8px; left: 8px; padding: 5px 7px; font-size: .55rem; }
  .product-card__body { padding: 11px 10px 12px; }
  .product-card__farm { font-size: .54rem; }
  .product-card h3 { min-height: 2.35em; font-size: .98rem; line-height: 1.2; }
  .product-card__description { min-height: 3.3em; font-size: .65rem; }
  .product-card__meta { align-items: start; flex-direction: column; gap: 3px; margin-top: 10px; padding-top: 9px; }
  .product-price { font-size: .81rem; }
  .product-unit { font-size: .61rem; }
  .product-card__actions { align-items: start; flex-direction: column; gap: 6px; margin-top: 9px; }
  .product-card__actions .button { width: 100%; min-height: 36px; padding-inline: 7px; font-size: .68rem; }
  .stock-note { font-size: .58rem; }
  .story-section { grid-template-columns: 1fr; gap: 24px; padding-block: 35px 60px; }
  .story-section__image img { max-height: 280px; border-radius: 19px 19px 65px 19px; }
  .story-section__copy > p:not(.eyebrow) { font-size: .83rem; }
  .promise-section { padding-block: 54px 58px; }
  .promise-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .promise-card { min-height: unset; padding: 18px; }
  .promise-card h3 { margin-top: 12px; font-size: 1.08rem; }
  .promise-card p { font-size: .74rem; }
  .site-footer { padding-top: 32px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { justify-content: start; padding-top: 0; }
  .site-footer small { grid-column: auto; }
  .product-page, .cart-page, .checkout-page, .login-page, .orders-page, .order-page, .account-page, .admin-panel { padding-block: 34px 70px; }
  .product-detail { grid-template-columns: 1fr; gap: 22px; }
  .product-detail__image { max-height: 370px; border-radius: 20px; }
  .product-detail__copy h1 { font-size: 2.4rem; }
  .detail-infos { gap: 8px; }
  .detail-info { padding: 11px; }
  .detail-buy-row { align-items: stretch; flex-wrap: wrap; }
  .detail-buy-row > .button { flex: 1 1 130px; }
  .cart-line { align-items: start; gap: 10px; padding: 11px; }
  .cart-line__image { width: 58px; height: 58px; border-radius: 9px; }
  .cart-line h3 { font-size: .9rem; }
  .cart-line p { font-size: .66rem; }
  .cart-line__total { align-self: center; font-size: .73rem; }
  .cart-line__actions { gap: 5px; }
  .cart-line__actions button { width: 28px; height: 28px; }
  .cart-summary { padding: 17px; }
  .checkout-card, .summary-card, .admin-card, .admin-jobs { padding: 17px; }
  .checkout-card h2, .summary-card h2, .admin-card h2 { font-size: 1.2rem; }
  .login-card { padding: 22px 18px; }
  .login-card h1 { font-size: 2rem; }
  .admin-heading { flex-direction: column; }
  .admin-metrics { gap: 8px; }
  .metric-card { padding: 12px; }
  .metric-card__top { font-size: .62rem; }
  .metric-card > strong { font-size: 1.55rem; }
  .metric-card small { font-size: .62rem; }
  .admin-columns { grid-template-columns: 1fr; }
  .order-card { align-items: start; flex-direction: column; }
  .outbox-row { align-items: start; }
  .toast-message { right: 12px; bottom: max(14px, env(safe-area-inset-bottom)); left: 12px; max-width: none; font-size: .76rem; }
  .mobile-cart-bar { position: fixed; z-index: 9; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 53px; padding: 0 16px; border: 1px solid rgb(255 255 255 / 60%); border-radius: 15px; background: var(--forest-dark); box-shadow: 0 9px 27px rgb(31 57 39 / 25%); color: white; font-size: .78rem; }
  .mobile-cart-bar strong { margin-left: auto; font-size: .86rem; }
  .mobile-cart-bar__arrow { font-size: 1.1rem; }
  .page-content { padding-bottom: 20px; }
  .outbox-section { margin-bottom: 20px; }
}

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

:root {
  --paper: #fff8f5;
  --paper-strong: #ffffff;
  --ink: #201a18;
  --muted: #88726b;
  --forest: #b85c38;
  --forest-dark: #68351f;
  --leaf: #4a6a54;
  --clay: #b85c38;
  --line: #dbc1b8;
  --soft-green: #f5ece7;
  --soft-clay: #f8e9e1;
  --shadow: 0 18px 55px rgb(78 43 29 / 9%);
  --radius: 12px;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

html { scroll-padding-top: 112px; }
body { background: var(--paper); font-family: "Be Vietnam Pro", "Segoe UI", sans-serif; }
button, input, select { font-family: inherit; }
::selection { background: #b85c38; }
h1, h2, h3 { font-family: "Be Vietnam Pro", "Segoe UI", sans-serif; font-weight: 700; letter-spacing: -.035em; }
.app-shell { overflow-x: clip; }
.section-wrap, .site-header__inner, .site-footer__inner { width: min(1200px, calc(100% - 48px)); }

.site-header-wrap {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgb(255 248 245 / 97%);
  box-shadow: 0 1px 0 rgb(153 68 34 / 12%);
  backdrop-filter: blur(18px);
}
.site-header { position: relative; z-index: auto; top: auto; border: 0; background: transparent; backdrop-filter: none; }
.site-header__inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 190px minmax(220px, 1fr) auto 48px;
  grid-template-areas: "brand search nav actions";
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.brand { grid-area: brand; gap: 9px; color: #994422; }
.brand__mark { width: 38px; height: 38px; object-fit: contain; border-radius: 0; background: transparent; }
.brand__word { color: #994422; font: 700 1.28rem "Be Vietnam Pro", sans-serif; letter-spacing: -.055em; white-space: nowrap; }
.header-search {
  grid-area: search;
  min-width: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 0 13px;
  border: 1px solid #dbc1b8;
  border-radius: 11px;
  background: #fff;
}
.header-search:focus-within { border-color: #b85c38; box-shadow: 0 0 0 3px rgb(184 92 56 / 11%); }
.header-search__icon { color: #88726b; font-size: 1.15rem; }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #201a18; font-size: .8rem; }
.header-search input::placeholder { color: #88726b; opacity: .8; }
.header-search__clear, .header-search__submit { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 8px; cursor: pointer; }
.header-search__clear { background: #f5ece7; color: #68351f; font-size: 1rem; }
.header-search__submit { background: #b85c38; color: #fff; font-size: 1.05rem; }
.main-nav { grid-area: nav; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin: 0; white-space: nowrap; }
.main-nav__link { color: #55433c; font-size: .79rem; font-weight: 600; }
.main-nav__link:hover, .main-nav__link:focus-visible { color: #b85c38; }
.site-header__actions { grid-area: actions; display: flex; align-items: center; justify-content: end; gap: 0; }
.header-cart { position: relative; width: 44px; min-height: 44px; justify-content: center; gap: 0; padding: 0; border: 0; border-radius: 11px; background: #b85c38; color: #fff; }
.header-cart:hover { background: #994422; }
.header-cart__icon { color: #fff; font-size: 1.35rem; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding-inline: 4px; border: 2px solid #fff8f5; border-radius: 999px; background: #68351f; color: #fff; font-size: .62rem; }
.offline-banner { padding: 7px 16px; background: #f5ece7; color: #68351f; font-size: .76rem; }
.offline-banner__dot { background: #b85c38; box-shadow: 0 0 0 4px rgb(184 92 56 / 14%); }
.skip-link { background: #68351f; }

.hero-section {
  width: min(1200px, calc(100% - 48px));
  min-height: 300px;
  display: flex;
  align-items: center;
  margin: 22px auto 38px;
  padding: 32px clamp(32px, 4vw, 54px);
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(90deg, rgb(51 29 19 / 76%) 0%, rgb(51 29 19 / 49%) 43%, rgb(51 29 19 / 7%) 100%), url("/design/farm-hero.jpg") center 48% / cover no-repeat;
}
.hero-section::before { display: none; }
.hero-section__copy { max-width: 620px; padding: 0; }
.hero-section .eyebrow { color: #f4c879; letter-spacing: .12em; }
.hero-section h1 { max-width: 640px; margin-bottom: 14px; color: #fff; font-size: clamp(2rem, 3.1vw, 2.9rem); line-height: 1.18; letter-spacing: -.045em; }
.hero-section .text-accent { color: #ffd68a; }
.hero-section__lead { max-width: 530px; margin-bottom: 20px; color: rgb(255 255 255 / 90%); font-size: .9rem; line-height: 1.7; }
.hero-section__actions { gap: 15px; }
.hero-section .button--primary { background: #b85c38; }
.hero-section .button--primary:hover:not(:disabled) { background: #994422; }
.hero-note { color: #fff8f5; font-size: .73rem; }
.hero-note__icon { color: #ffd68a; }
.demo-disclosure { margin: 16px 0 0; color: rgb(255 248 245 / 82%); font-size: .65rem; }
.catalog-section { padding-bottom: 68px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2, .story-section h2, .promise-section h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); letter-spacing: -.045em; }
.eyebrow { color: #b85c38; font-size: .66rem; letter-spacing: .12em; }
.eyebrow__line { width: 22px; }
.section-description { color: #88726b; }
.text-link { color: #994422; }
.catalog-tools { justify-content: flex-start; margin: 18px 0 21px; }
.category-pills { gap: 8px; }
.category-pill { min-height: 35px; padding-inline: 14px; border-color: #dbc1b8; background: #fff; color: #55433c; font-size: .74rem; }
.category-pill:hover, .category-pill.is-active, .category-pill[aria-pressed="true"] { border-color: #b85c38; background: #b85c38; color: #fff; }
.product-grid { gap: 18px; }
.product-card { border-color: #e6d3cc; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgb(79 42 29 / 4%); }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgb(79 42 29 / 11%); }
.product-card__image-link { background: #f5ece7; }
.product-card__image-wrap { position: relative; }
.product-card__image { aspect-ratio: 1.52; object-fit: cover; }
.product-card__image-wrap::after { position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgb(30 19 14 / 64%)); content: ""; pointer-events: none; }
.product-card__image-title { position: absolute; z-index: 1; right: 14px; bottom: 13px; left: 14px; color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; text-shadow: 0 1px 3px rgb(0 0 0 / 25%); }
.product-tag { position: absolute; z-index: 2; top: 11px; left: 11px; padding: 5px 8px; border-radius: 999px; background: #fff8f5; color: #994422; font-size: .6rem; font-weight: 700; }
.product-tag--illustrative { background: #fff1d9; color: #704920; }
.product-card__image-arrow { position: absolute; z-index: 2; top: 11px; right: 11px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 91%); color: #994422; }
.product-card__body { padding: 13px 14px 14px; }
.product-card__meta { margin: 0; padding: 0; border: 0; color: #88726b; font-size: .68rem; }
.product-card__farm { margin: 0; color: #88726b; font-size: .67rem; letter-spacing: 0; text-transform: none; }
.product-card__description { min-height: 38px; margin: 9px 0 11px; color: #6f5b54; font-size: .72rem; }
.variant-caption { margin: 0; color: #55433c; font-size: .72rem; }
.variant-select { display: block; }
.variant-select select { width: 100%; min-height: 36px; padding: 6px 28px 6px 9px; border: 1px solid #e1ccc4; border-radius: 8px; background: #fff8f5; color: #55433c; font-size: .71rem; }
.product-card__purchase { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.product-card__price { display: flex; align-items: baseline; gap: 4px; }
.product-price { color: #68351f; font-size: .87rem; }
.product-unit { color: #88726b; font-size: .66rem; }
.product-card__actions { margin: 0; }
.product-card__actions .button { min-height: 36px; padding-inline: 14px; border-radius: 8px; font-size: .72rem; }
.stock-note { color: #88726b; }
.cart-added { color: #4a6a54; font-size: .67rem; }
.skeleton { background: #f0e5df; }
.story-section { gap: clamp(32px, 6vw, 78px); padding-block: 54px 78px; }
.story-section__image img { border-radius: 12px; }
.story-section__copy > p:not(.eyebrow) { color: #6f5b54; font-size: .86rem; }
.promise-section { padding: 62px 0 72px; background: #f5ece7; }
.promise-card { min-height: 170px; border-color: #e5d3cc; border-radius: 12px; background: #fff; }
.promise-card h3 { color: #68351f; font: 700 1.04rem "Be Vietnam Pro", sans-serif; }
.promise-card__number, .promise-card__icon { color: #b85c38; }
.site-footer { padding: 38px 0 20px; background: #68351f; color: #fff8f5; }
.brand--footer, .brand--footer .brand__word { color: #fff8f5; }
.brand--footer .brand__mark { background: transparent; }
.footer-brand p, .footer-links a { color: #eedbd2; }
.site-footer small { border-color: rgb(255 248 245 / 18%); color: #e0c3b6; }

.button { border-radius: 9px; }
.button--primary { background: #b85c38; color: #fff; }
.button--primary:hover:not(:disabled) { background: #994422; box-shadow: 0 7px 18px rgb(153 68 34 / 18%); }
.button--secondary { border-color: #e5c9bd; background: #f5ece7; color: #994422; }
.button--secondary:hover:not(:disabled) { border-color: #c99077; background: #f1dfd7; }
.button--quiet { color: #994422; }
.button--danger { background: #a84e36; }
.field__label { color: #55433c; }
.field__input { border-color: #dbc1b8; border-radius: 9px; background: #fff; }
.field__input:hover { border-color: #b85c38; }
.form-status { background: #edf2ea; color: #385341; }
.commerce-page { width: min(1040px, calc(100% - 48px)); padding-block: 44px 78px; }
.page-heading h1, .admin-heading h1 { color: #68351f; font-size: clamp(1.85rem, 3.6vw, 2.65rem); }
.page-heading > p:last-child, .admin-heading > div > p:last-child { color: #88726b; }
.product-detail { display: block; width: min(1120px, calc(100% - 48px)); padding-block: 38px 76px; }
.product-detail__layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(30px, 6vw, 72px); }
.product-detail__visual { position: relative; }
.product-detail__image { max-height: 570px; border-radius: 12px; }
.product-detail__copy h1 { color: #68351f; font-size: clamp(2rem, 4vw, 3rem); }
.product-detail__lead { color: #6f5b54; line-height: 1.75; }
.detail-info { border: 1px solid #efdfd8; background: #fff; }
.detail-info strong { color: #68351f; }
.quality-note { margin-top: 13px; padding: 13px; border: 1px solid #e7d4cc; border-radius: 10px; background: #fff; color: #6f5b54; font-size: .76rem; line-height: 1.6; }
.quality-note__icon { margin-right: 7px; color: #b85c38; }
.quantity-control { border-color: #dbc1b8; border-radius: 9px; }
.quantity-control button, .cart-line__actions button { border-radius: 7px; background: #f5ece7; color: #994422; }
.product-detail__notice, .image-disclaimer { color: #88726b; font-size: .72rem; line-height: 1.6; }
.breadcrumbs, .detail-bottom-links { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; color: #88726b; font-size: .75rem; }
.detail-bottom-links { justify-content: space-between; margin-top: 26px; color: #994422; }
.cart-layout, .order-detail__layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr); align-items: start; gap: 22px; }
.cart-lines { display: grid; gap: 12px; }
.cart-lines__heading { display: flex; justify-content: space-between; padding: 0 3px 5px; color: #88726b; font-size: .73rem; }
.cart-line { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px; border-color: #e7d4cc; border-radius: 12px; background: #fff; }
.cart-line__image { width: 82px; height: 82px; overflow: hidden; border-radius: 9px; background: #f5ece7; }
.cart-line__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__details { min-width: 0; }
.cart-line h3 { margin: 0 0 4px; color: #68351f; font: 700 .94rem "Be Vietnam Pro", sans-serif; }
.cart-line p { margin: 0 0 7px; color: #88726b; font-size: .7rem; }
.cart-line__actions { margin-top: 8px; }
.cart-line__actions button { width: auto; height: auto; min-height: 30px; padding: 0 9px; font-size: .68rem; }
.remove-link { color: #88726b !important; background: transparent !important; }
.cart-line__total { color: #68351f; font-size: .78rem; }
.cart-line__total small { display: block; margin-top: 4px; color: #88726b; font-size: .62rem; }
.order-summary { padding: 21px; border: 1px solid #e5d3cc; border-radius: 12px; background: #fff; }
.order-summary h2 { margin-bottom: 17px; color: #68351f; font-size: 1.16rem; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; margin: 11px 0; color: #6f5b54; font-size: .77rem; }
.summary-line strong, .summary-total strong { color: #68351f; }
.summary-line--muted span:last-child { text-align: right; }
.summary-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #ead9d2; color: #68351f; font-size: .88rem; font-weight: 700; }
.summary-note, .quote-expiry { margin: 14px 0 0; color: #88726b; font-size: .68rem; line-height: 1.6; }
.order-summary > .button { width: 100%; margin-top: 16px; }
.empty-state { border-color: #e3cfc6; border-radius: 12px; background: #fff; }
.empty-state__icon { color: #b85c38; }
.empty-state h2, .empty-state h3 { color: #68351f; }
.checkout-layout { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 20px; }
.checkout-form-card { padding: 24px; border: 1px solid #e5d3cc; border-radius: 12px; background: #fff; }
.checkout-form-card h2 { margin-bottom: 18px; color: #68351f; font-size: 1.18rem; }
.fulfillment-tabs { display: flex; flex-wrap: wrap; gap: 9px; }
.checkout-privacy { color: #88726b; font-size: .69rem; line-height: 1.6; }
.order-summary--checkout { position: sticky; top: 118px; background: #fff8f5; }
.quote-lines { display: grid; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid #ead9d2; }
.quote-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #55433c; font-size: .74rem; }
.quote-line__name { display: grid; gap: 4px; }
.quote-line__name small { color: #88726b; font-size: .66rem; }
.quote-line strong { color: #68351f; white-space: nowrap; }
.quote-total { color: #68351f; }
.choice-chip { border-color: #dbc1b8; border-radius: 9px; color: #55433c; }
.choice-chip.is-selected { border-color: #b85c38; background: #f5ece7; color: #994422; }
.inline-notice { border: 1px solid #ead1c5; background: #fff2e9; color: #754832; }
.outbox-section { margin-top: 34px; }
.outbox-row { border-color: #e5d3cc; border-radius: 11px; background: #fff; }
.outbox-row--needs_review { border-color: #d9a28b; background: #fff5ee; }
.outbox-row--sending { border-color: #d5dfd2; }
.outbox-row__details { min-width: 180px; flex: 1; }
.outbox-row__status { color: #88726b; font-size: .7rem; }
.status-pill { background: #edf2ea; color: #385341; }
.status-pill--cancelled, .status-pill--rejected { background: #f8e9e1; color: #9b4c36; }
.timeline__item { border-color: #e4cfc6; color: #88726b; }
.timeline__item.is-complete, .timeline__item.is-current { color: #68351f; }
.timeline__item.is-complete::before, .timeline__item.is-current::before { background: #b85c38; }
.account-layout { display: grid; grid-template-columns: minmax(260px, .85fr) 1.15fr; align-items: start; gap: 20px; }
.account-card, .account-link-card { border: 1px solid #e5d3cc; border-radius: 12px; background: #fff; }
.account-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #f5ece7; color: #994422; font-weight: 700; }
.account-card h2 { margin: 0; color: #68351f; font-size: 1.2rem; }
.account-links { display: grid; gap: 10px; }
.account-link-card { display: flex; align-items: center; gap: 13px; padding: 15px; }
.account-link-card__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: #f5ece7; color: #994422; }
.account-link-card strong { color: #68351f; font-size: .82rem; }
.account-link-card p { margin: 4px 0 0; color: #88726b; font-size: .7rem; }
.order-card { border-color: #e5d3cc; border-radius: 12px; }
.order-card:hover, .account-link-card:hover { border-color: #c99077; background: #fffaf7; }
.order-number { color: #68351f; }
.order-detail__heading { margin-bottom: 20px; }
.order-detail__heading h1 { color: #68351f; }
.order-timeline { padding: 22px; border: 1px solid #e5d3cc; border-radius: 12px; background: #fff; }
.order-timeline h2 { color: #68351f; font-size: 1.1rem; }
.order-summary .detail-info { margin-top: 12px; }

.auth-layout { width: min(980px, calc(100% - 48px)); display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; margin-block: 50px 78px; border: 1px solid #e5d3cc; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.auth-card { grid-column: 2; grid-row: 1; padding: clamp(28px, 4vw, 56px); }
.auth-card__icon { display: none; }
.auth-card .eyebrow { margin-bottom: 13px; }
.auth-card h1 { margin-bottom: 11px; color: #68351f; font-size: clamp(1.9rem, 3vw, 2.55rem); }
.auth-card__lead { margin-bottom: 24px; color: #88726b; font-size: .83rem; line-height: 1.7; }
.auth-art { position: relative; grid-column: 1; grid-row: 1; min-height: 520px; overflow: hidden; background: #68351f; }
.auth-art::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(67 34 20 / 14%) 10%, rgb(67 34 20 / 82%) 100%); content: ""; }
.auth-art > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.auth-art__caption { position: absolute; z-index: 1; right: 30px; bottom: 30px; left: 30px; color: #fff8f5; }
.auth-art__caption strong { font-size: 1.35rem; }
.auth-art__caption p { margin: 8px 0 0; color: #f2ddd3; font-size: .82rem; line-height: 1.65; }
.auth-privacy { margin: 20px 0 0; color: #88726b; font-size: .69rem; line-height: 1.6; }
.otp-hint { padding: 12px; border-radius: 9px; background: #fff4e4; color: #704920; font-size: .76rem; line-height: 1.6; }
.admin-auth { width: min(560px, calc(100% - 48px)); margin: 52px auto 80px; padding: 30px; border: 1px solid #e5d3cc; border-radius: 12px; background: #fff; }
.admin-auth h1 { color: #68351f; }
.admin-auth > p:not(.eyebrow) { color: #88726b; font-size: .82rem; line-height: 1.65; }
.admin-panel { width: min(1200px, calc(100% - 48px)); padding-block: 42px 78px; }
.admin-heading { padding: 22px; border: 1px solid #e5d3cc; border-radius: 12px; background: #fff; }
.admin-metrics { gap: 12px; }
.metric-card, .admin-card, .admin-jobs { border-color: #e5d3cc; border-radius: 12px; background: #fff; }
.metric-card__top span:last-child, .admin-card__symbol { color: #b85c38; }
.metric-card > strong { color: #68351f; font: 700 1.8rem "Be Vietnam Pro", sans-serif; }
.admin-card__heading h2, .admin-card h2 { color: #68351f; }
.admin-jobs { padding: 20px; }
.job-row { border-color: #ead9d2; border-radius: 10px; }
.job-row strong { color: #68351f; }
.toast-message { background: #68351f; box-shadow: 0 10px 34px rgb(73 38 23 / 25%); }
.mobile-cart-bar { background: #68351f; box-shadow: 0 9px 27px rgb(73 38 23 / 25%); }

@media (max-width: 1020px) {
  .site-header__inner { grid-template-columns: 150px minmax(180px, 1fr) auto 44px; gap: 12px; }
  .main-nav { gap: 12px; }
  .main-nav__link { font-size: .72rem; }
  .brand__word { font-size: 1.13rem; }
  .product-card__purchase { align-items: flex-start; flex-direction: column; }
  .product-card__actions { width: 100%; }
  .product-card__actions .button { width: 100%; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 150px; }
  .section-wrap, .site-footer__inner, .commerce-page, .product-detail, .admin-panel { width: calc(100% - 32px); }
  .site-header__inner { width: calc(100% - 32px); min-height: 0; grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "brand actions" "search search" "nav nav"; gap: 9px 12px; padding-block: 9px 10px; }
  .brand { min-width: 0; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__word { font-size: 1.08rem; }
  .header-search { height: 40px; }
  .main-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; }
  .main-nav__link { min-height: 44px; display: grid; place-items: center; border-radius: 8px; background: #f5ece7; color: #68351f; font-size: .68rem; }
  .main-nav__link:hover, .main-nav__link:focus-visible { background: #f1dfd7; }
  .site-header__actions { margin: 0; }
  .header-cart { width: 40px; min-height: 40px; }
  .hero-section { width: calc(100% - 24px); min-height: 280px; margin: 12px auto 30px; padding: 24px 22px; border-radius: 12px; background-position: 58% center; }
  .hero-section h1 { font-size: clamp(1.7rem, 6vw, 2.35rem); }
  .hero-section__lead { max-width: 430px; font-size: .8rem; }
  .hero-note { flex-basis: 100%; font-size: .67rem; }
  .demo-disclosure { margin-top: 11px; font-size: .59rem; }
  .catalog-section { padding-bottom: 48px; }
  .section-heading h2, .story-section h2, .promise-section h2 { font-size: 1.65rem; }
  .section-heading { gap: 8px; }
  .catalog-tools { margin-block: 14px; }
  .category-pills { flex-wrap: nowrap; overflow-x: auto; padding: 1px 1px 7px; scrollbar-width: none; }
  .category-pills::-webkit-scrollbar { display: none; }
  .category-pill { flex: 0 0 auto; min-height: 34px; padding-inline: 12px; font-size: .69rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: 10px; }
  .product-card__image { aspect-ratio: 1.12; }
  .product-card__image-title { right: 9px; bottom: 9px; left: 9px; font-size: .8rem; }
  .product-tag { top: 7px; left: 7px; padding: 4px 6px; font-size: .5rem; }
  .product-card__image-arrow { top: 7px; right: 7px; width: 23px; height: 23px; font-size: .72rem; }
  .product-card__body { padding: 9px; }
  .product-card__meta { align-items: flex-start; flex-direction: column; gap: 2px; font-size: .58rem; }
  .product-card__farm { font-size: .57rem; }
  .product-card__description { min-height: 3.3em; margin: 7px 0; font-size: .62rem; }
  .variant-caption { min-height: 2.5em; font-size: .61rem; }
  .variant-select select { min-height: 44px; font-size: .62rem; }
  .product-card__purchase { gap: 6px; margin-top: 8px; }
  .product-price { font-size: .75rem; }
  .product-unit { font-size: .57rem; }
  .product-card__actions .button { min-height: 44px; padding-inline: 8px; font-size: .64rem; }
  .cart-added { font-size: .59rem; }
  .story-section { grid-template-columns: 1fr; gap: 20px; padding-block: 32px 50px; }
  .story-section__image img { max-height: 270px; }
  .promise-section { padding-block: 45px 52px; }
  .promise-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .promise-card { min-height: 0; padding: 18px; }
  .site-footer { padding-top: 30px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 17px; }
  .footer-links { justify-content: flex-start; padding-top: 0; }
  .site-footer small { grid-column: auto; }
  .commerce-page { padding-block: 30px 64px; }
  .product-detail { padding-block: 24px 62px; }
  .product-detail__layout { grid-template-columns: 1fr; gap: 22px; }
  .product-detail__image { max-height: 370px; border-radius: 11px; }
  .product-detail__copy h1 { font-size: 2.1rem; }
  .detail-bottom-links { flex-wrap: wrap; font-size: .68rem; }
  .cart-layout, .order-detail__layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
  .order-summary--checkout { position: static; }
  .cart-line { grid-template-columns: 58px minmax(0, 1fr); gap: 9px; padding: 10px; }
  .cart-line__image { width: 58px; height: 58px; grid-row: 1; }
  .cart-line__details { grid-column: 2; grid-row: 1; }
  .cart-line__total { grid-column: 2; grid-row: 2; justify-self: end; }
  .cart-line__actions { gap: 5px; }
  .cart-line__actions button { min-width: 44px; min-height: 44px; padding-inline: 7px; }
  .quantity-control button { width: 44px; height: 44px; }
  .quantity-control--small { gap: 7px; }
  .cart-lines__heading { font-size: .66rem; }
  .order-summary { padding: 17px; }
  .checkout-form-card { padding: 17px; }
  .fulfillment-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .fulfillment-tabs .button { padding-inline: 8px; font-size: .7rem; }
  .auth-layout { width: calc(100% - 32px); grid-template-columns: 1fr; margin-block: 24px 60px; }
  .auth-card { grid-column: 1; grid-row: 2; padding: 25px 20px; }
  .auth-art { grid-column: 1; grid-row: 1; min-height: 190px; }
  .auth-art__caption { right: 18px; bottom: 17px; left: 18px; }
  .auth-art__caption strong { font-size: 1.03rem; }
  .auth-art__caption p { max-width: 400px; font-size: .7rem; }
  .admin-auth { width: calc(100% - 32px); margin-block: 28px 60px; padding: 22px; }
  .admin-panel { padding-block: 26px 60px; }
  .admin-heading { flex-direction: column; padding: 18px; }
  .admin-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .metric-card { padding: 10px; }
  .metric-card__top { gap: 4px; font-size: .56rem; }
  .metric-card > strong { font-size: 1.2rem; }
  .metric-card small { font-size: .55rem; }
  .admin-columns { grid-template-columns: 1fr; }
  .admin-card, .admin-jobs { padding: 16px; }
  .order-card { align-items: flex-start; flex-direction: column; }
  .mobile-cart-bar { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; min-height: 49px; padding-inline: 13px; border-radius: 11px; font-size: .72rem; }
}

@media (max-width: 370px) {
  .section-wrap, .site-header__inner, .site-footer__inner, .commerce-page, .product-detail, .admin-panel { width: calc(100% - 24px); }
  .brand__word { font-size: .98rem; }
  .main-nav__link { font-size: .62rem; }
  .hero-section { width: calc(100% - 16px); padding-inline: 17px; }
  .product-card__body { padding: 8px; }
}
