:root {
  --store-ivory: #f8f2e8;
  --store-paper: #fffdf8;
  --store-ink: #20281f;
  --store-olive: #2d3828;
  --store-olive-soft: #66735b;
  --store-gold: #c4903e;
  --store-gold-soft: #ead6ac;
  --store-wine: #7d3b3d;
  --store-line: rgba(45, 56, 40, 0.15);
  --store-error: #a23333;
  --store-success: #3c6744;
  --store-shadow: 0 24px 70px rgba(38, 43, 31, 0.11);
  --store-radius: 1.5rem;
  --store-container: min(1180px, calc(100% - 3rem));
  --store-serif: Georgia, "Times New Roman", serif;
  --store-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.store-page { margin: 0; color: var(--store-ink); background: var(--store-ivory); font-family: var(--store-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.store-page img { display: block; max-width: 100%; }
.store-page a { color: inherit; text-decoration: none; }
.store-page button, .store-page input, .store-page select, .store-page textarea { font: inherit; }
.store-page button { color: inherit; }
.store-page :focus-visible { outline: 3px solid var(--store-gold); outline-offset: 3px; }
.store-container { width: var(--store-container); margin-inline: auto; }
.store-main { min-height: 62vh; }
.store-section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.store-section--tight { padding: 2.4rem 0 5.5rem; }
.store-section--paper { background: var(--store-paper); }
.skip-link { position: fixed; z-index: 999; top: 1rem; left: 1rem; transform: translateY(-160%); padding: .75rem 1rem; color: white; background: var(--store-olive); border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }

.demo-bar { display: flex; min-height: 2rem; align-items: center; justify-content: center; gap: .65rem; padding: .35rem 1rem; color: #fff; background: var(--store-wine); font-size: .72rem; letter-spacing: .02em; text-align: center; }
.demo-bar strong { padding: .1rem .45rem; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; font-size: .62rem; letter-spacing: .12em; }
.store-header { position: sticky; z-index: 90; top: 0; background: rgba(248,242,232,.92); border-bottom: 1px solid var(--store-line); backdrop-filter: blur(16px); }
.store-header__inner { display: flex; min-height: 5.25rem; align-items: center; gap: 1.5rem; }
.store-brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: .75rem; color: var(--store-olive); font-family: var(--store-serif); font-size: 1.15rem; letter-spacing: .08em; }
.store-brand img { width: 3rem; height: 3rem; border: 1px solid rgba(196,144,62,.45); border-radius: 50%; object-fit: cover; }
.store-brand small { display: block; margin-top: .05rem; font-family: var(--store-sans); font-size: .54rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.store-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.7rem, 1.8vw, 1.4rem); margin-left: auto; }
.store-nav a { color: #4d5849; font-size: .78rem; font-weight: 750; letter-spacing: .035em; white-space: nowrap; }
.store-nav a:hover { color: var(--store-wine); }
.cart-link { display: inline-flex; min-height: 2.8rem; align-items: center; gap: .45rem; padding: .55rem .8rem; color: white; background: var(--store-olive); border-radius: 999px; font-size: .76rem; font-weight: 750; }
.cart-link b { display: grid; min-width: 1.35rem; height: 1.35rem; place-items: center; padding: 0 .25rem; color: var(--store-olive); background: var(--store-gold-soft); border-radius: 999px; font-size: .68rem; }
.store-menu { display: none; width: 2.7rem; height: 2.7rem; padding: .7rem; border: 1px solid var(--store-line); border-radius: 50%; background: transparent; }
.store-menu span { display: block; width: 100%; height: 1px; margin: .25rem 0; background: var(--store-olive); }

.store-hero { padding: clamp(3.8rem, 8vw, 7.5rem) 0 3rem; }
.store-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 3.5rem; }
.store-kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; color: var(--store-olive-soft); font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.store-kicker::before { width: 2.4rem; height: 1px; content: ""; background: var(--store-gold); }
.store-title { max-width: 820px; margin: 0; font-family: var(--store-serif); font-size: clamp(2.7rem, 6vw, 5.7rem); font-weight: 400; letter-spacing: -.05em; line-height: .98; }
.store-title em { color: var(--store-wine); font-weight: 400; }
.store-lead { max-width: 580px; margin: 1.5rem 0 0; color: #596256; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.store-hero__note { padding: 1.4rem 1.5rem; background: rgba(255,253,248,.7); border: 1px solid var(--store-line); border-radius: var(--store-radius); color: #5e665a; font-size: .9rem; }
.store-hero__note strong { display: block; margin-bottom: .35rem; color: var(--store-olive); }
.store-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--store-line); color: #66705f; font-size: .86rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.product-card { position: relative; overflow: hidden; background: var(--store-paper); border: 1px solid var(--store-line); border-radius: var(--store-radius); transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--store-shadow); }
.product-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: .84; background: #ece4d8; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__tag { position: absolute; top: .9rem; left: .9rem; padding: .35rem .65rem; color: var(--store-olive); background: rgba(255,253,248,.9); border-radius: 999px; font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.product-card__body { padding: 1.2rem 1.2rem 1.35rem; }
.product-card__body h2, .product-card__body h3 { margin: 0; font-family: var(--store-serif); font-size: 1.38rem; font-weight: 400; line-height: 1.15; }
.product-card__body p { min-height: 3.9em; margin: .65rem 0 1rem; color: #626a5f; font-size: .84rem; }
.product-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.product-price { color: var(--store-olive); font-size: 1rem; font-weight: 800; }
.round-action { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; border: 0; border-radius: 50%; color: white; background: var(--store-olive); cursor: pointer; }

.store-button { display: inline-flex; min-height: 3.3rem; align-items: center; justify-content: center; gap: .65rem; padding: .85rem 1.35rem; border: 1px solid transparent; border-radius: 999px; font-size: .82rem; font-weight: 800; letter-spacing: .035em; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.store-button:hover { transform: translateY(-2px); }
.store-button--primary { color: white; background: var(--store-olive); box-shadow: 0 12px 25px rgba(45,56,40,.16); }
.store-button--wine { color: white; background: var(--store-wine); }
.store-button--ghost { color: var(--store-olive); background: transparent; border-color: var(--store-line); }
.store-button--light { color: var(--store-olive); background: var(--store-paper); border-color: var(--store-line); }
.store-button--wide { width: 100%; }
.store-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.store-link { color: var(--store-wine); font-size: .84rem; font-weight: 750; text-decoration: underline; text-underline-offset: .2rem; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; padding: 1.2rem 0; color: #72796f; font-size: .76rem; }
.breadcrumb span { opacity: .55; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-bottom: 6rem; }
.product-gallery__main { overflow: hidden; aspect-ratio: .92; background: #e8dfd2; border-radius: var(--store-radius); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: .7rem; }
.product-gallery__thumbs button { overflow: hidden; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: .8rem; background: none; cursor: pointer; }
.product-gallery__thumbs button.is-active { border-color: var(--store-gold); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: 7.2rem; }
.product-info h1 { margin: .5rem 0 .8rem; font-family: var(--store-serif); font-size: clamp(2.45rem, 4.5vw, 4.2rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.product-info__price { margin: 0 0 1.2rem; font-size: 1.35rem; font-weight: 800; }
.availability { display: flex; align-items: center; gap: .55rem; margin: 1.1rem 0; color: var(--store-success); font-size: .82rem; font-weight: 700; }
.availability::before { width: .55rem; height: .55rem; content: ""; background: var(--store-success); border-radius: 50%; box-shadow: 0 0 0 .25rem rgba(60,103,68,.12); }
.product-copy { color: #5d665a; }
.product-form { display: grid; gap: 1rem; margin-top: 1.6rem; padding-top: 1.5rem; border-top: 1px solid var(--store-line); }
.form-label { display: grid; gap: .45rem; color: var(--store-olive); font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
.store-input, .store-select, .store-textarea { width: 100%; min-height: 3.2rem; padding: .78rem .9rem; color: var(--store-ink); background: var(--store-paper); border: 1px solid rgba(45,56,40,.25); border-radius: .72rem; }
.store-textarea { min-height: 7rem; resize: vertical; }
.store-input:focus, .store-select:focus, .store-textarea:focus { border-color: var(--store-gold); outline: 2px solid rgba(196,144,62,.2); }
.product-controls { display: grid; grid-template-columns: 100px 1fr; gap: .8rem; }
.trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--store-line); color: #6c7468; font-size: .7rem; text-align: center; }
.toast { position: fixed; z-index: 200; right: 1rem; bottom: 1rem; max-width: 350px; padding: 1rem 1.2rem; color: white; background: var(--store-olive); border-radius: 1rem; box-shadow: var(--store-shadow); transform: translateY(150%); transition: transform .25s ease; }
.toast.is-visible { transform: translateY(0); }

.page-heading { padding: clamp(3rem, 6vw, 5.2rem) 0 2.5rem; }
.page-heading h1 { margin: .25rem 0 .8rem; font-family: var(--store-serif); font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.page-heading p { max-width: 650px; margin: 0; color: #626b5e; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .44fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.panel { padding: clamp(1.2rem, 3vw, 2rem); background: var(--store-paper); border: 1px solid var(--store-line); border-radius: var(--store-radius); }
.panel h2, .panel h3 { margin-top: 0; font-family: var(--store-serif); font-weight: 400; }
.panel h2 { font-size: 1.8rem; }
.summary { position: sticky; top: 7.3rem; }
.summary-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .7rem 0; color: #5f685b; font-size: .88rem; }
.summary-row--total { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--store-line); color: var(--store-ink); font-size: 1.05rem; font-weight: 800; }
.summary-products { margin-bottom: .6rem; padding-bottom: .6rem; border-bottom: 1px solid var(--store-line); }
.summary-product { display: grid; grid-template-columns: 50px 1fr auto; gap: .7rem; align-items: center; padding: .55rem 0; font-size: .76rem; }
.summary-product img { width: 50px; height: 58px; object-fit: cover; border-radius: .5rem; }
.summary-product strong { display: block; }
.summary-product small { color: #727a6f; }

.cart-list { display: grid; gap: .9rem; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.2rem; align-items: center; padding: 1rem; background: var(--store-paper); border: 1px solid var(--store-line); border-radius: 1.2rem; }
.cart-item img { width: 110px; height: 125px; object-fit: cover; border-radius: .8rem; }
.cart-item h2 { margin: 0 0 .25rem; font-family: var(--store-serif); font-size: 1.35rem; font-weight: 400; }
.cart-item p { margin: 0; color: #6d7569; font-size: .78rem; }
.cart-item__actions { display: flex; align-items: center; gap: .7rem; margin-top: .8rem; }
.quantity-control { display: inline-grid; grid-template-columns: 2.2rem 2.5rem 2.2rem; overflow: hidden; border: 1px solid var(--store-line); border-radius: 999px; }
.quantity-control button { border: 0; background: transparent; cursor: pointer; }
.quantity-control span { display: grid; place-items: center; font-size: .8rem; }
.remove-link { border: 0; color: var(--store-wine); background: transparent; font-size: .72rem; text-decoration: underline; cursor: pointer; }
.cart-item__price { font-weight: 800; white-space: nowrap; }
.empty-state { padding: 4rem 1.5rem; background: var(--store-paper); border: 1px solid var(--store-line); border-radius: var(--store-radius); text-align: center; }
.empty-state h2 { margin: 0 0 .6rem; font-family: var(--store-serif); font-size: 2rem; font-weight: 400; }
.empty-state p { margin: 0 0 1.4rem; color: #697165; }

.checkout-steps { display: flex; gap: .65rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.checkout-steps li { flex: 1; padding: .65rem; color: #727a6f; border-top: 2px solid var(--store-line); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.checkout-steps li.is-active, .checkout-steps li.is-done { color: var(--store-olive); border-color: var(--store-gold); }
.checkout-form { display: grid; gap: 1.2rem; }
.checkout-block { padding: clamp(1.2rem, 3vw, 2rem); background: var(--store-paper); border: 1px solid var(--store-line); border-radius: var(--store-radius); }
.checkout-block__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.2rem; }
.checkout-block h2 { margin: 0; font-family: var(--store-serif); font-size: 1.65rem; font-weight: 400; }
.checkout-block__head span { color: #727a6f; font-size: .7rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .38rem; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend { color: var(--store-olive); font-size: .75rem; font-weight: 800; }
.field-hint { color: #737b70; font-size: .67rem; }
.field-error { min-height: 1em; color: var(--store-error); font-size: .68rem; }
.field [aria-invalid="true"] { border-color: var(--store-error); }
.delivery-list { display: grid; gap: .65rem; }
.delivery-option { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: 1rem; border: 1px solid var(--store-line); border-radius: 1rem; cursor: pointer; }
.delivery-option:has(input:checked) { background: #fbf5e9; border-color: var(--store-gold); box-shadow: inset 0 0 0 1px var(--store-gold); }
.delivery-option input { width: 1.1rem; height: 1.1rem; accent-color: var(--store-olive); }
.delivery-option strong { display: block; font-size: .83rem; }
.delivery-option small { color: #747b70; font-size: .7rem; }
.delivery-option > span:last-child { font-size: .8rem; font-weight: 800; }
.consents { display: grid; gap: .8rem; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .78rem; }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: .18rem; accent-color: var(--store-olive); }
.privacy-note { padding: .85rem 1rem; color: #6d746a; background: rgba(196,144,62,.09); border-radius: .8rem; font-size: .7rem; }

.demo-dialog { width: min(520px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: 1.5rem; box-shadow: 0 30px 100px rgba(20,25,18,.3); }
.demo-dialog::backdrop { background: rgba(25,31,23,.62); backdrop-filter: blur(5px); }
.demo-dialog__body { padding: clamp(1.5rem, 5vw, 2.5rem); text-align: center; }
.demo-dialog__icon { display: grid; width: 4.2rem; height: 4.2rem; margin: 0 auto 1.2rem; place-items: center; color: white; background: var(--store-wine); border-radius: 50%; font-size: 1.5rem; }
.demo-dialog h2 { margin: 0 0 .7rem; font-family: var(--store-serif); font-size: 2rem; font-weight: 400; }
.demo-dialog p { margin: 0 0 1.2rem; color: #626a5e; }
.demo-dialog__notice { padding: .8rem; color: var(--store-wine); background: #f8eeee; border-radius: .8rem; font-size: .75rem; font-weight: 800; }
.demo-dialog__actions { display: grid; gap: .7rem; margin-top: 1.2rem; }

.success-card { overflow: hidden; background: var(--store-paper); border: 1px solid var(--store-line); border-radius: 2rem; box-shadow: var(--store-shadow); }
.success-card__hero { padding: clamp(2rem, 6vw, 4rem); color: white; background: var(--store-olive); text-align: center; }
.success-mark { display: grid; width: 4.5rem; height: 4.5rem; margin: 0 auto 1.2rem; place-items: center; color: var(--store-olive); background: var(--store-gold-soft); border-radius: 50%; font-size: 1.8rem; }
.success-card__hero h1 { margin: 0; font-family: var(--store-serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; }
.success-card__hero p { margin: .8rem 0 0; color: #d9dfd5; }
.order-number { display: inline-block; margin-top: 1.4rem; padding: .55rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-weight: 800; letter-spacing: .08em; }
.success-card__body { display: grid; grid-template-columns: 1fr .7fr; gap: 2rem; padding: clamp(1.3rem, 4vw, 3rem); }
.success-card__body h2 { margin: 0 0 1rem; font-family: var(--store-serif); font-size: 1.6rem; font-weight: 400; }
.demo-stamp { padding: 1rem; color: var(--store-wine); background: #faefef; border: 1px dashed rgba(125,59,61,.4); border-radius: .9rem; font-size: .76rem; font-weight: 750; }

.status-progress { display: grid; grid-template-columns: repeat(6, 1fr); margin: 2rem 0; }
.status-step { position: relative; padding-top: 2.3rem; color: #899085; font-size: .67rem; text-align: center; }
.status-step::before { position: absolute; z-index: 2; top: 0; left: 50%; display: grid; width: 1.55rem; height: 1.55rem; place-items: center; content: ""; background: var(--store-paper); border: 2px solid #c8ccc5; border-radius: 50%; transform: translateX(-50%); }
.status-step::after { position: absolute; top: .72rem; left: -50%; width: 100%; height: 2px; content: ""; background: #d4d7d1; }
.status-step:first-child::after { display: none; }
.status-step.is-done, .status-step.is-current { color: var(--store-olive); font-weight: 800; }
.status-step.is-done::before { content: "✓"; color: white; background: var(--store-success); border-color: var(--store-success); }
.status-step.is-done::after, .status-step.is-current::after { background: var(--store-success); }
.status-step.is-current::before { background: var(--store-gold); border-color: var(--store-gold); box-shadow: 0 0 0 .35rem rgba(196,144,62,.14); }
.shipment-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; padding: 1rem 1.2rem; background: #f2f5f0; border-radius: 1rem; }
.shipment-card strong, .shipment-card small { display: block; }
.shipment-card small { color: #6d7569; }

.email-layout { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 2rem; align-items: start; justify-content: center; }
.email-menu { position: sticky; top: 7.3rem; display: grid; gap: .4rem; }
.email-menu button { padding: .8rem 1rem; border: 1px solid transparent; border-radius: .8rem; color: #626b5e; background: transparent; text-align: left; cursor: pointer; }
.email-menu button.is-active { color: var(--store-olive); background: var(--store-paper); border-color: var(--store-line); font-weight: 800; }
.email-preview-shell { padding: 1rem; background: #e8e8e4; border-radius: 1.2rem; }
.email-preview-toolbar { display: flex; align-items: center; gap: .4rem; margin-bottom: .8rem; color: #71766f; font-size: .65rem; }
.email-preview-toolbar i { width: .55rem; height: .55rem; background: #bbb; border-radius: 50%; }
.email-document { overflow: hidden; background: white; border-radius: .5rem; box-shadow: 0 12px 35px rgba(0,0,0,.08); font-family: Arial, sans-serif; }
.email-document__head { padding: 2rem; color: white; background: #2d3828; text-align: center; }
.email-document__head img { width: 62px; height: 62px; margin: 0 auto .7rem; border-radius: 50%; object-fit: cover; }
.email-document__head h2 { margin: 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.email-document__body { padding: clamp(1.2rem, 5vw, 2.5rem); color: #333b31; font-size: .82rem; line-height: 1.6; }
.email-status { margin: 1rem 0; padding: .8rem 1rem; background: #f6f0e7; border-left: 4px solid #c4903e; }
.email-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.email-table td { padding: .65rem .2rem; border-bottom: 1px solid #e6e6e1; vertical-align: top; }
.email-table td:last-child { text-align: right; white-space: nowrap; }
.email-total { font-weight: bold; }
.email-document__footer { padding: 1.2rem 2rem; color: #6e746b; background: #f4f2ed; font-size: .7rem; text-align: center; }

.admin-shell { min-height: 100vh; background: #f3f1eb; }
.admin-top { padding: .55rem 1rem; color: white; background: var(--store-wine); font-size: .72rem; font-weight: 800; text-align: center; }
.admin-nav { background: #1f291d; color: white; }
.admin-nav__inner { display: flex; min-height: 4.7rem; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-nav .store-brand { color: white; }
.admin-nav__actions { display: flex; align-items: center; gap: .7rem; }
.admin-nav__actions a, .admin-logout { padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: white; background: transparent; font-size: .72rem; cursor: pointer; }
.admin-main { padding: 2.5rem 0 5rem; }
.admin-login { display: grid; min-height: calc(100vh - 9rem); place-items: center; padding: 2rem 1rem 5rem; }
.admin-login__card { width: min(510px, 100%); padding: clamp(1.5rem, 5vw, 3rem); background: white; border: 1px solid var(--store-line); border-radius: 1.6rem; box-shadow: var(--store-shadow); }
.admin-login__card h1 { margin: .3rem 0 .8rem; font-family: var(--store-serif); font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.admin-login__card > p:not(.store-kicker) { color: #687064; }
.admin-login__form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.admin-login__message { min-height: 1.5em; margin: 0; color: var(--store-error); font-size: .76rem; text-align: center; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.admin-heading h1 { margin: 0; font-family: var(--store-serif); font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 400; }
.admin-heading p { margin: .3rem 0 0; color: #687064; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1.3rem; }
.stat-card { padding: 1.1rem 1.2rem; background: white; border: 1px solid var(--store-line); border-radius: 1rem; }
.stat-card span { display: block; color: #757c72; font-size: .7rem; }
.stat-card strong { display: block; margin-top: .2rem; font-family: var(--store-serif); font-size: 1.7rem; font-weight: 400; }
.orders-panel { overflow: hidden; background: white; border: 1px solid var(--store-line); border-radius: 1.2rem; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th, .orders-table td { padding: .9rem 1rem; border-bottom: 1px solid #ecece7; font-size: .76rem; text-align: left; }
.orders-table th { color: #727a70; background: #faf9f6; font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; }
.orders-table tr[data-order-row] { cursor: pointer; }
.orders-table tr[data-order-row]:hover { background: #fcfaf5; }
.status-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .58rem; border-radius: 999px; background: #eef3ec; color: var(--store-success); font-size: .65rem; font-weight: 800; white-space: nowrap; }
.status-badge::before { width: .42rem; height: .42rem; content: ""; background: currentColor; border-radius: 50%; }
.order-detail-row td { padding: 0; background: #f8f6f0; }
.order-detail { display: grid; grid-template-columns: 1fr .8fr; gap: 1.5rem; padding: 1.5rem; }
.order-detail h3 { margin: 0 0 .7rem; font-family: var(--store-serif); font-size: 1.35rem; font-weight: 400; }
.detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0; }
.detail-list div { padding: .65rem; background: white; border-radius: .65rem; }
.detail-list dt { color: #767d73; font-size: .62rem; text-transform: uppercase; }
.detail-list dd { margin: .2rem 0 0; font-size: .76rem; }
.admin-form { display: grid; gap: .7rem; padding: 1rem; background: white; border-radius: .8rem; }
.admin-notice { display: none; padding: .75rem; color: var(--store-success); background: #edf5eb; border-radius: .6rem; font-size: .7rem; }
.admin-notice.is-visible { display: block; }
.admin-email-dialog { width: min(740px, calc(100% - 1.2rem)); max-height: calc(100vh - 1.2rem); overflow: auto; background: #e8e8e4; }
.admin-email-dialog__body { position: relative; padding: 1rem; text-align: left; }
.admin-dialog-close { position: sticky; z-index: 2; top: .2rem; left: calc(100% - 2.6rem); display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border: 0; border-radius: 50%; color: white; background: var(--store-olive); font-size: 1.3rem; cursor: pointer; }

.legal-card { max-width: 800px; margin: 0 auto; padding: clamp(1.5rem, 5vw, 4rem); background: var(--store-paper); border: 1px solid var(--store-line); border-radius: 2rem; box-shadow: var(--store-shadow); }
.legal-card h1 { margin: 0 0 1rem; font-family: var(--store-serif); font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 400; letter-spacing: -.04em; }
.legal-placeholder { margin: 2rem 0; padding: 1.3rem; color: var(--store-wine); background: #faefef; border: 1px dashed rgba(125,59,61,.4); border-radius: 1rem; font-weight: 750; }

.store-footer { padding: 3.5rem 0 1.3rem; color: #dfe3dc; background: var(--store-olive); }
.store-footer__grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 3rem; }
.store-brand--footer { color: white; }
.store-footer__grid p { max-width: 350px; color: #adb6a9; font-size: .82rem; }
.store-footer__grid > div { display: grid; align-content: start; gap: .55rem; }
.store-footer__grid strong { margin-bottom: .3rem; color: var(--store-gold-soft); font-family: var(--store-serif); font-weight: 400; }
.store-footer__grid a:not(.store-brand) { color: #c9cec6; font-size: .78rem; }
.store-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.12); color: #99a295; font-size: .68rem; }

@media (max-width: 1020px) {
  .store-menu { display: block; margin-left: auto; }
  .store-nav { position: absolute; top: 100%; right: 1.5rem; left: 1.5rem; display: none; align-items: stretch; padding: 1rem; background: var(--store-paper); border: 1px solid var(--store-line); border-radius: 1rem; box-shadow: var(--store-shadow); }
  .store-nav.is-open { display: grid; }
  .store-nav a { padding: .7rem; }
  .cart-link > span:nth-child(2) { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .orders-panel { overflow-x: auto; }
  .orders-table { min-width: 760px; }
}

@media (max-width: 740px) {
  :root { --store-container: min(100% - 1.5rem, 1180px); }
  .demo-bar { align-items: flex-start; flex-direction: column; gap: .2rem; padding: .45rem .8rem; text-align: left; }
  .store-header__inner { min-height: 4.5rem; gap: .6rem; }
  .store-brand img { width: 2.6rem; height: 2.6rem; }
  .store-brand { font-size: .95rem; }
  .store-brand small { font-size: .46rem; }
  .store-menu { margin-left: auto; }
  .cart-link { min-width: 2.65rem; min-height: 2.65rem; justify-content: center; padding: .45rem; }
  .cart-link > span:first-child { display: none; }
  .store-hero__grid, .split-layout, .product-detail, .success-card__body, .order-detail { grid-template-columns: 1fr; }
  .store-hero__note { margin-top: 1rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card__media { aspect-ratio: 1.05; }
  .product-card__body p { min-height: 0; }
  .product-info { position: static; }
  .product-controls { grid-template-columns: 90px 1fr; }
  .trust-list { font-size: .64rem; }
  .summary { position: static; }
  .cart-item { grid-template-columns: 82px 1fr; align-items: start; }
  .cart-item img { width: 82px; height: 96px; }
  .cart-item__price { grid-column: 2; }
  .checkout-steps li { padding: .45rem .2rem; font-size: .56rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .status-progress { grid-template-columns: 1fr; gap: 0; margin-left: .7rem; }
  .status-step { min-height: 3.7rem; padding: .15rem 0 0 2.8rem; text-align: left; }
  .status-step::before { top: 0; left: 0; transform: none; }
  .status-step::after { top: -2.2rem; left: .72rem; width: 2px; height: 2.3rem; }
  .status-step:first-child::after { display: none; }
  .shipment-card { align-items: flex-start; flex-direction: column; }
  .email-layout { grid-template-columns: 1fr; }
  .email-menu { position: static; grid-template-columns: repeat(2, 1fr); }
  .email-menu button { padding: .65rem; font-size: .68rem; }
  .email-preview-shell { padding: .55rem; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-nav__actions a:first-child { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .detail-list { grid-template-columns: 1fr; }
  .store-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .store-footer__grid > div:first-child { grid-column: 1 / -1; }
  .store-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .store-brand small { display: none; }
  .store-title { font-size: 2.7rem; }
  .product-controls { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 70px 1fr; gap: .8rem; }
  .cart-item img { width: 70px; height: 82px; }
  .cart-item__actions { align-items: flex-start; flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr; }
}

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