:root {
  --blue: #1236d6;
  --blue-dark: #0b227f;
  --lime: #c7f20c;
  --yellow: #ffce31;
  --coral: #ff5f4d;
  --ink: #172033;
  --muted: #6d7380;
  --paper: #f7f7f2;
  --white: #fff;
  --line: #dfe1dc;
  --sans: "Archivo", Arial, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; }
body.locked { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.notice-bar { min-height: 34px; display: grid; place-items: center; padding: 7px 20px; background: var(--lime); color: var(--blue-dark); font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-align: center; text-transform: uppercase; }
.notice-bar p { margin: 0; }

.site-header { min-height: 82px; padding: 0 clamp(18px, 4.5vw, 72px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(247,247,242,.94); backdrop-filter: blur(14px); }
.logo { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 800; font-size: .86rem; line-height: .82; letter-spacing: -.04em; }
.logo-mark { width: 36px; height: 36px; display: grid; place-items: center; transform: rotate(-6deg); background: var(--blue); color: white; font-family: var(--serif); font-size: 1.6rem; border-radius: 3px 10px 4px 8px; }
.desktop-nav { display: flex; gap: 32px; font-size: .9rem; font-weight: 600; }
.desktop-nav a { padding: 14px 0; border-bottom: 2px solid transparent; }
.desktop-nav a:hover { border-color: var(--blue); color: var(--blue); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.language-button { height: 42px; padding: 0 14px; border: 1px solid var(--line); background: white; cursor: pointer; font-weight: 700; }
.cart-button { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 14px; border: 0; background: var(--ink); color: white; cursor: pointer; font-weight: 700; }
.cart-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-button strong { width: 28px; height: 28px; display: grid; place-items: center; background: var(--lime); color: var(--ink); border-radius: 50%; font-size: .8rem; }

.hero { min-height: 570px; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(56px, 7vw, 112px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; background: var(--yellow); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.kicker > span:first-child { width: 10px; height: 10px; background: var(--coral); border-radius: 50%; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.25rem, 5.7vw, 6.5rem); line-height: .91; letter-spacing: -.07em; }
.hero h1::first-line { font-family: var(--serif); font-weight: 400; }
.hero-text { max-width: 570px; margin: 30px 0; font-size: 1.05rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.primary-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 2px solid var(--ink); background: var(--ink); color: white; cursor: pointer; font-weight: 800; box-shadow: 6px 6px 0 var(--blue); transition: transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--blue); }
.rating { display: grid; grid-template-columns: auto auto; gap: 1px 8px; align-items: center; }
.rating strong { font-size: 1.25rem; }
.rating > span { color: var(--blue); letter-spacing: .03em; }
.rating small { grid-column: 1 / -1; color: #655d37; }
.hero-visual { min-height: 500px; position: relative; overflow: hidden; background: var(--blue); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-callout { position: absolute; right: 24px; bottom: 24px; padding: 16px 19px; background: white; border-left: 7px solid var(--lime); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.hero-callout strong, .hero-callout span { display: block; }
.hero-callout span { margin-top: 4px; color: var(--muted); font-size: .83rem; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: white; }
.benefits div { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 22px clamp(18px, 3.5vw, 54px); border-right: 1px solid var(--line); }
.benefits div:last-child { border-right: 0; }
.benefits strong { color: var(--blue); font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.benefits span { margin-top: 8px; color: var(--muted); font-size: .82rem; }

.shop-section { padding: 100px clamp(18px, 5vw, 80px) 120px; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-label { margin: 0 0 15px; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-intro h2, .delivery-copy h2, .cart-panel h2, .demo-dialog h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.8vw, 5.3rem); line-height: .98; letter-spacing: -.045em; }
.section-intro > p { max-width: 430px; margin: 0 0 5px; color: var(--muted); line-height: 1.65; }
.shop-toolbar { margin-top: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.category-list { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.category-button { flex: 0 0 auto; min-height: 42px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer; font-size: .88rem; font-weight: 600; }
.category-button:hover, .category-button.active { background: var(--blue); color: white; border-color: var(--blue); }
.search-box { flex: 0 1 310px; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 15px; background: white; border: 1px solid var(--line); }
.search-box:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.search-box svg { width: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.search-box input { min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; }
.result-count { min-height: 20px; margin: 22px 0 16px; color: var(--muted); font-size: .82rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 16px; }
.product-card { min-width: 0; }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: white; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 7px 9px; background: var(--lime); color: var(--blue-dark); font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.quick-add { position: absolute; left: 10px; right: 10px; bottom: 10px; min-height: 46px; border: 0; background: rgba(23,32,51,.94); color: white; cursor: pointer; font-weight: 700; transform: translateY(64px); transition: transform .25s, background .2s; }
.product-card:hover .quick-add, .quick-add:focus-visible { transform: translateY(0); }
.quick-add:hover { background: var(--blue); }
.product-info { display: flex; justify-content: space-between; gap: 14px; padding: 15px 2px 0; }
.product-info h3 { margin: 0 0 5px; font-size: 1rem; line-height: 1.3; }
.product-info p { margin: 0; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.product-info strong { flex: 0 0 auto; white-space: nowrap; }
.empty-state { padding: 70px 20px; border: 1px dashed #bfc2bb; text-align: center; }
.empty-state h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 2rem; }
.empty-state p { color: var(--muted); }
.empty-state button { border: 0; border-bottom: 1px solid; background: transparent; cursor: pointer; font-weight: 700; }

.delivery-section { display: grid; grid-template-columns: .95fr 1.05fr; background: var(--blue); color: white; }
.delivery-copy { padding: clamp(60px, 8vw, 126px) clamp(24px, 7vw, 112px); }
.delivery-copy .section-label { color: var(--lime); }
.delivery-copy h2 { color: white; }
.delivery-copy > p:last-child { max-width: 570px; margin: 26px 0 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.delivery-steps { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; background: var(--lime); color: var(--ink); }
.delivery-steps div { display: flex; flex-direction: column; justify-content: center; min-height: 290px; padding: 34px; border-left: 1px solid rgba(23,32,51,.22); }
.delivery-steps span { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 42px; border: 1px solid var(--ink); border-radius: 50%; font-size: .8rem; font-weight: 800; }
.delivery-steps strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.delivery-steps p { margin: 9px 0 0; font-size: .85rem; line-height: 1.5; }

footer { min-height: 150px; padding: 40px clamp(18px, 5vw, 80px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: var(--ink); color: white; }
footer p { margin: 0; font-size: .83rem; color: rgba(255,255,255,.68); }
.demo-label { justify-self: end; }

dialog { max-width: none; max-height: none; margin: 0; padding: 0; border: 0; }
dialog::backdrop { background: rgba(10,15,28,.52); backdrop-filter: blur(3px); }
.cart-drawer { width: min(480px, 100%); height: 100%; margin-left: auto; background: white; transform: translateX(100%); transition: transform .28s ease, display .28s allow-discrete, overlay .28s allow-discrete; }
.cart-drawer[open] { transform: translateX(0); }
@starting-style { .cart-drawer[open] { transform: translateX(100%); } }
.cart-panel { height: 100%; display: flex; flex-direction: column; }
.cart-panel > header { padding: 28px; display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); }
.cart-panel h2 { font-size: 2.25rem; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 1.65rem; line-height: 1; }
.cart-items { flex: 1; padding: 8px 28px; overflow-y: auto; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 13px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; }
.cart-item h3 { margin: 2px 0 10px; font-size: .9rem; }
.quantity-control { width: fit-content; display: flex; align-items: center; border: 1px solid var(--line); }
.quantity-control button { width: 30px; height: 28px; border: 0; background: transparent; cursor: pointer; }
.quantity-control span { min-width: 26px; text-align: center; font-size: .8rem; }
.remove-item { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.2rem; }
.cart-empty { flex: 1; display: grid; place-content: center; gap: 16px; padding: 40px; text-align: center; color: var(--muted); }
.cart-empty button { justify-self: center; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; color: var(--ink); font-weight: 700; }
.cart-footer { display: block; min-height: auto; padding: 24px 28px; background: white; color: var(--ink); border-top: 1px solid var(--line); }
.delivery-progress > div:first-child, .subtotal { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.delivery-progress { font-size: .76rem; }
.progress-track { height: 6px; margin-top: 10px; background: #e8e9e4; overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--lime); transition: width .25s; }
.subtotal { margin-top: 22px; font-size: 1.05rem; }
.subtotal strong { font-size: 1.35rem; }
.checkout-note { margin: 8px 0 18px; color: var(--muted); font-size: .75rem; }
.checkout-button { width: 100%; min-height: 54px; border: 0; background: var(--blue); color: white; cursor: pointer; font-weight: 800; }
.checkout-button:hover { background: var(--blue-dark); }
.demo-dialog { width: min(520px, calc(100% - 30px)); padding: 36px; position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); background: var(--yellow); box-shadow: 14px 14px 0 var(--blue); }
.demo-dialog .icon-button { position: absolute; top: 16px; right: 16px; }
.demo-dialog h2 { margin-top: 28px; font-size: 2.6rem; }
.demo-dialog > p:not(.section-label) { margin: 20px 0 28px; line-height: 1.65; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 90px); padding: 13px 18px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 520px; }
  .hero-visual { min-height: 480px; }
  .delivery-section { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .site-header { min-height: 70px; grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefits div:nth-child(2) { border-right: 0; }
  .benefits div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-intro { display: block; }
  .section-intro > p { margin-top: 22px; }
  .shop-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { flex-basis: 46px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-steps { grid-template-columns: 1fr; }
  .delivery-steps div { min-height: auto; display: grid; grid-template-columns: 46px 1fr; gap: 4px 16px; padding: 28px; border-left: 0; border-top: 1px solid rgba(23,32,51,.22); }
  .delivery-steps span { grid-row: 1 / 3; margin: 0; }
  .delivery-steps p { margin-top: 3px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-logo, .demo-label { justify-self: center; }
}

@media (max-width: 520px) {
  .notice-bar { font-size: .63rem; }
  .site-header { padding: 0 14px; }
  .logo-mark { width: 32px; height: 32px; }
  .language-button { padding: 0 10px; }
  .cart-button > span { display: none; }
  .hero-copy { min-height: auto; padding: 58px 20px 62px; }
  .hero h1 { font-size: clamp(3.15rem, 15.5vw, 4.7rem); }
  .hero-visual { min-height: 330px; }
  .hero-visual img { object-position: 63% center; }
  .hero-callout { right: 14px; bottom: 14px; }
  .benefits div { min-height: 96px; padding: 18px; }
  .shop-section { padding: 76px 15px 90px; }
  .product-grid { gap: 28px 10px; }
  .quick-add { min-height: 40px; transform: translateY(0); font-size: .8rem; }
  .product-info { display: block; }
  .product-info strong { display: block; margin-top: 7px; }
  .delivery-copy { padding: 76px 20px; }
  .cart-panel > header, .cart-items, .cart-footer { padding-left: 18px; padding-right: 18px; }
  .demo-dialog { padding: 30px 24px; }
}

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