:root {
  color-scheme: light;
  --navy: #12384b;
  --ink: #1d3b49;
  --muted: #627985;
  --accent: #176d79;
  --accent-hover: #125965;
  --accent-wash: #e6f1f1;
  --canvas: #f2f6f5;
  --surface: #fff;
  --line: #dce7e7;
  --shadow: 0 12px 32px rgba(18, 56, 75, .12);
  --page-gutter: clamp(20px, 6vw, 88px);
  --content-width: 1280px;
  --control-radius: 8px;
  --card-radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
.product-card:focus-visible {
  outline: 3px solid #70b7bd;
  outline-offset: 3px;
}
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand b { color: var(--accent); }
#mainNav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); color: #425f6b; font-size: 14px; }
#mainNav a, .admin-link { transition: color .16s ease; }
#mainNav a:hover, .admin-link:hover { color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 204px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: #f8faf9;
  color: var(--muted);
  transition: border-color .16s ease, background-color .16s ease;
}
.search-wrap:focus-within { border-color: #78aeb2; background: var(--surface); }
.search-wrap svg, .tool-button svg, .cart-link svg, .menu-toggle svg, .contact-symbol svg, .fresh-icon svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.search-wrap input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 6px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.search-wrap input:focus-visible { outline: 0; }
.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; }
.tool-button, .cart-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.tool-button:hover { background: var(--canvas); }
.tool-button b, .cart-link #cartCount {
  display: inline-flex;
  min-width: 20px;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.cart-link { padding: 0 12px; background: var(--navy); color: #fff; }
.cart-link:hover { background: #204b5e; }
.cart-link #cartCount { background: #d8e8e7; color: var(--navy); }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--page-gutter);
  background: var(--canvas);
}
.hero-copy { max-width: 600px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 600; }
.hero h1 {
  max-width: 12ch;
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.hero h1 span, .section-heading h2 span { color: var(--accent); }
.hero-copy > p:not(.eyebrow) { max-width: 520px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--control-radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border-color: #cbdcdd; background: transparent; color: var(--navy); }
.btn-outline:hover { border-color: #a9c7c8; background: #f8fbfa; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.check { color: var(--accent); font-weight: 600; }
.dot { color: #91a6a9; }
.hero-visual {
  position: relative;
  height: clamp(320px, 35vw, 440px);
  overflow: hidden;
  border-radius: 16px;
  background: #d8e5e4;
}
.hero-visual > img, .feature-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background: #dcebea;
  color: var(--navy);
  text-align: center;
}
.image-placeholder[hidden] { display: none !important; }
.image-placeholder span { font-size: 18px; font-weight: 600; }
.image-placeholder small { max-width: 240px; color: var(--muted); font-size: 13px; }
.fresh-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(18,56,75,.08);
  border-radius: 10px;
  background: var(--surface);
}
.fresh-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 8px; background: var(--accent-wash); color: var(--accent); }
.fresh-icon svg { width: 22px; height: 22px; }
.fresh-card b, .fresh-card small { display: block; }
.fresh-card b { color: var(--navy); font-size: 13px; font-weight: 600; }
.fresh-card small { margin-top: 2px; color: var(--muted); font-size: 12px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px var(--page-gutter);
  border-bottom: 1px solid var(--line);
}
.trust-strip div { display: flex; align-items: center; min-height: 32px; color: #4e6873; font-size: 13px; }
.section { padding: clamp(64px, 7vw, 92px) var(--page-gutter); }
.section > *, .tracking-section .container { width: min(100%, var(--content-width)); margin-right: auto; margin-left: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading h2, .feature-copy h2, .order-banner h2, .tracking-section h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; color: var(--accent); font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--accent-hover); }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.pill {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: #4e6873;
  font-size: 13px;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.pill:hover { border-color: #adc9ca; color: var(--accent); }
.pill.active { border-color: var(--navy); background: var(--navy); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .16s ease;
}
.product-card:hover { border-color: #aec8c8; }
.product-image { position: relative; height: 208px; overflow: hidden; background: #eaf1f0; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image .image-placeholder { padding: 12px; }
.product-image .image-placeholder span { font-size: 14px; }
.product-image .image-placeholder small { font-size: 11px; }
.product-info { padding: 16px; }
.product-category { color: var(--accent); font-size: 12px; font-weight: 600; }
.product-info h3 { margin: 4px 0 6px; color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.35; }
.product-desc { min-height: 40px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.product-price { margin: 12px 0; color: var(--navy); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-price small { color: var(--muted); font-size: 12px; font-weight: 400; }
.add-button { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #c9dddd; border-radius: 7px; background: var(--accent-wash); color: var(--accent-hover); font-size: 13px; font-weight: 600; transition: color .16s ease, background-color .16s ease; }
.add-button:hover:not(:disabled) { background: #d7e9e8; }
.add-button:disabled { cursor: not-allowed; opacity: .65; }
.favorite-mini { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(18,56,75,.1); border-radius: 50%; background: var(--surface); color: var(--navy); font-size: 21px; }
.favorite-mini:hover, .favorite-mini.is-favorite { color: #a34449; }
.small-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.search-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 36px 20px; border: 1px dashed #b8cdce; border-radius: var(--card-radius); background: #f8faf9; color: var(--muted); text-align: center; }
.search-empty strong { color: var(--navy); font-size: 17px; }
.search-empty span { font-size: 13px; }
.search-empty button { margin-top: 8px; padding: 9px 14px; border: 1px solid #c9dddd; border-radius: 7px; background: var(--surface); color: var(--accent); font-weight: 600; }
.skeleton { background: #eaf1f0; }

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding: clamp(64px, 7vw, 92px) var(--page-gutter);
  background: var(--canvas);
}
.feature-image { position: relative; height: clamp(280px, 32vw, 400px); overflow: hidden; border-radius: 14px; background: #e1ebea; }
.feature-copy { max-width: 560px; }
.feature-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.feature-copy ul { display: grid; gap: 10px; margin: 20px 0 24px; padding: 0; list-style: none; }
.feature-copy li { display: flex; align-items: start; gap: 10px; color: #405e6a; font-size: 14px; }
.feature-copy li::before { content: "✓"; color: var(--accent); font-weight: 600; }
.order-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 64px var(--page-gutter);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.order-banner > div { max-width: 720px; }
.order-banner .eyebrow { color: #c4dedd; }
.order-banner h2 { margin-bottom: 8px; color: #fff; font-size: clamp(25px, 3vw, 34px); }
.order-banner p:not(.eyebrow) { margin: 0; color: #d5e3e5; font-size: 14px; }
.btn-light { flex: 0 0 auto; background: var(--surface); color: var(--navy); }
.btn-light:hover { background: #eaf2f1; }

.tracking-section { padding-top: 56px; padding-bottom: 56px; background: var(--canvas); }
.tracking-section h2 { margin-bottom: 20px; }
.checkout-form, .tracking-form { display: grid; gap: 12px; margin-top: 16px; }
.checkout-form label, .tracking-form label { display: grid; gap: 6px; color: #355563; font-size: 13px; font-weight: 600; }
.checkout-form input, .checkout-form select, .checkout-form textarea, .tracking-form input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #cbdada;
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
}
.checkout-form textarea { min-height: 88px; resize: vertical; }
.tracking-form { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; }
.checkout-form button:disabled, .tracking-form button:disabled { cursor: wait; opacity: .65; }
#orderTrackingResult { margin-top: 14px; color: var(--accent-hover); font-weight: 600; }

.contact-section { padding-top: 64px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--card-radius); background: #fbfcfb; }
.contact-card > div { max-width: 680px; }
.contact-card h3 { margin: 6px 0; color: var(--navy); font-size: 18px; font-weight: 600; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-symbol { display: inline-flex; color: var(--accent); }
.contact-symbol svg { width: 24px; height: 24px; }

.site-footer { padding: 28px var(--page-gutter) 16px; background: #102f40; color: #d4e0e1; }
.footer-top, .footer-bottom { width: min(100%, var(--content-width)); margin: 0 auto; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand-footer { color: #fff; }
.brand-footer b { color: #8fc4c4; }
.footer-top p { margin: 0; color: #c0d0d2; font-size: 13px; }
.admin-link { color: #c0d0d2; font-size: 13px; }
.footer-bottom { padding-top: 14px; color: #aebfc2; font-size: 12px; }

.modal-backdrop, .side-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(12, 35, 46, .56); }
.modal-backdrop[hidden], .side-backdrop[hidden] { display: none; }
.product-modal { position: relative; width: min(720px, 100%); max-height: 90vh; overflow: auto; padding: 28px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--navy); font-size: 24px; }
.modal-product-image { position: relative; height: 240px; overflow: hidden; margin-bottom: 20px; border-radius: 10px; background: #eaf1f0; }
.modal-product-image img { width: 100%; height: 100%; object-fit: contain; }
.modal-product-image .image-placeholder { position: absolute; }
.product-modal h2 { margin: 8px 0; color: var(--navy); font-size: 26px; }
.product-modal p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.modal-price { color: var(--navy) !important; font-size: 21px !important; font-weight: 600 !important; }
.modal-price small { color: var(--muted); font-size: 12px; font-weight: 400; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.side-backdrop { justify-content: flex-end; padding: 0; }
.side-panel { position: relative; width: min(430px, 100%); height: 100%; overflow: auto; padding: 28px 24px; background: var(--surface); box-shadow: var(--shadow); }
.side-panel h2 { margin: 24px 0; color: var(--navy); font-size: 24px; }
.panel-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.panel-line strong, .panel-line small { display: block; }
.panel-line small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.panel-line button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--accent); font-size: 12px; }
.cart-total { margin-top: 20px; color: var(--navy); font-size: 18px; font-weight: 600; }
body.modal-open { overflow: hidden; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 120; max-width: min(400px, calc(100vw - 40px)); padding: 12px 16px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  :root { --page-gutter: 24px; }
  .site-header { min-height: 68px; gap: 12px; }
  .brand { order: 1; }
  .header-tools { order: 2; margin-left: auto; }
  .menu-toggle { order: 3; }
  #mainNav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
  #mainNav.open { display: flex; }
  #mainNav a { padding: 10px 0; border-bottom: 1px solid #edf1f0; }
  #mainNav a:last-child { border-bottom: 0; }
  .menu-toggle { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--navy); }
  .menu-toggle:hover { background: var(--canvas); }
  .hero { gap: 36px; }
  .hero h1 { font-size: clamp(42px, 5.5vw, 58px); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  :root { --page-gutter: 20px; }
  .brand { gap: 6px; font-size: 13px; letter-spacing: .02em; }
  .brand img { width: 34px; height: 34px; }
  .header-tools { gap: 2px; }
  .search-wrap { position: static; width: 38px; height: 40px; flex: 0 0 38px; justify-content: center; padding: 0; border-radius: 7px; }
  .search-wrap input { display: none; }
  .search-wrap:focus-within { position: absolute; top: 14px; right: 158px; left: 12px; z-index: 31; width: auto; justify-content: flex-start; padding: 0 10px; }
  .search-wrap:focus-within input { display: block; }
  .tool-button, .cart-link { width: 38px; min-width: 38px; height: 40px; min-height: 40px; gap: 0; padding: 0; }
  .tool-button span, .cart-link .cart-label { display: none; }
  .tool-button b { position: absolute; transform: translate(9px, -10px); min-width: 16px; min-height: 16px; padding: 0 3px; font-size: 9px; }
  .cart-link #cartCount { min-width: 17px; min-height: 17px; padding: 0 3px; font-size: 9px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 44px; padding-bottom: 40px; }
  .hero h1 { max-width: none; margin-bottom: 16px; font-size: clamp(40px, 10vw, 48px); }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-actions { margin-top: 22px; }
  .hero-visual { height: clamp(240px, 72vw, 340px); margin: 0 4px; border-radius: 12px; }
  .fresh-card { bottom: 12px; left: 12px; padding: 10px 12px; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding-top: 16px; padding-bottom: 16px; }
  .trust-strip div { font-size: 12px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2, .feature-copy h2 { font-size: 32px; }
  .section-heading p:not(.eyebrow) { font-size: 14px; }
  .text-link { margin-top: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-image { height: clamp(120px, 38vw, 170px); }
  .product-info { padding: 12px; }
  .product-info h3 { font-size: 14px; }
  .product-desc { min-height: 48px; font-size: 12px; }
  .product-price { font-size: 15px; }
  .add-button { min-height: 40px; padding: 0 8px; font-size: 12px; }
  .feature-section { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 56px; padding-bottom: 56px; }
  .feature-image { height: clamp(240px, 68vw, 320px); }
  .order-banner { display: block; margin: 40px 20px; padding: 24px; }
  .order-banner .btn { margin-top: 20px; }
  .tracking-section { padding-top: 48px; padding-bottom: 48px; }
  .tracking-form { grid-template-columns: minmax(0, 1fr); }
  .contact-section { padding-top: 48px; }
  .contact-card { display: block; padding: 20px; }
  .contact-card .btn { margin-top: 16px; }
  .footer-top { flex-wrap: wrap; gap: 12px 20px; }
  .footer-top p { flex: 1 0 100%; order: 3; }
  .footer-bottom { padding-top: 12px; }
  .product-modal { padding: 20px; }
  .modal-product-image { height: 190px; }
  .modal-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .site-header { gap: 4px; padding-right: 12px; padding-left: 12px; }
  .brand { font-size: 11px; }
  .brand img { width: 30px; height: 30px; }
  .header-tools { gap: 0; }
  .search-wrap, .tool-button, .cart-link { width: 34px; min-width: 34px; }
  .menu-toggle { width: 36px; flex-basis: 36px; }
  .hero { gap: 24px; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
