/* ============================================================
   MyLines — Amazon-style marketplace theme
   ============================================================ */
:root {
  --navy: #131921;
  --navy-2: #232f3e;
  --navy-3: #37475a;
  --orange: #ff9900;
  --yellow: #ffd814;
  --yellow-hover: #f7ca00;
  --orange-2: #febd69;
  --link: #007185;
  --bg: #eaeded;
  --card: #ffffff;
  --text: #0f1111;
  --muted: #565959;
  --star: #ffa41c;
  --star-empty: #d5d9d9;
  --prime: #00a8e1;
  --green: #067d62;
  --red: #b12704;
  --line: #d5d9d9;
  --radius: 8px;
  --shadow: 0 2px 5px rgba(15,17,17,.08);
  --shadow-hover: 0 8px 16px rgba(15,17,17,.16);
  --font: "Amazon Ember", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #c7511f; text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }

/* ============ Announcement ============ */
.announce {
  background: linear-gradient(90deg, #232f3e, #37475a);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  padding: 7px 16px;
}

/* ============ Header (top bar) ============ */
.header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 60; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  max-width: 1500px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.5px;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.brand:hover { border-color: #fff; text-decoration: none; color: #fff; }
.brand-mark { display: inline-flex; }
.brand-mark svg { width: 22px; height: 22px; color: var(--orange); }
.brand-word { display: inline-block; }
.brand-word .suffix { font-size: 11px; color: #ccc; display: block; line-height: 1; margin-top: 2px; }

.deliver-to {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px; border: 1px solid transparent; border-radius: 4px;
  color: #ccc; font-size: 12px; white-space: nowrap;
}
.deliver-to:hover { border-color: #fff; }
.deliver-to svg { width: 16px; height: 16px; flex: none; }
.deliver-to .dl { display: flex; flex-direction: column; line-height: 1.15; }
.deliver-to .dl-label { font-size: 11px; color: #ccc; }
.deliver-to .dl-city { color: #fff; font-weight: 700; font-size: 13px; }

.search-form {
  flex: 1; min-width: 260px;
  display: flex; height: 40px;
  border-radius: 6px; overflow: hidden; background: #fff;
}
.search-form select {
  border: none; background: #f3f3f3; color: #444;
  padding: 0 8px; font-size: 12px;
  border-right: 1px solid #cdcdcd; outline: none; max-width: 130px;
}
.search-form input { flex: 1; border: none; padding: 0 12px; font-size: 14px; outline: none; min-width: 0; }
.search-form button {
  border: none; background: var(--orange-2); width: 46px;
  display: flex; align-items: center; justify-content: center; color: #0f1111;
}
.search-form button:hover { background: #f3a847; }
.search-form button svg { width: 20px; height: 20px; }

.header-right { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.h-link {
  display: flex; flex-direction: column;
  padding: 6px 8px; border: 1px solid transparent; border-radius: 4px;
  color: #fff; white-space: nowrap; text-decoration: none; line-height: 1.15;
}
.h-link:hover { border-color: #fff; color: #fff; text-decoration: none; }
.h-link .l1 { font-size: 11px; color: #ccc; }
.h-link .l2 { font-size: 13px; font-weight: 700; }

.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: transparent; border: 1px solid transparent; border-radius: 4px;
  color: #fff; padding: 6px 8px; font-size: 13px;
}
.lang-toggle:hover { border-color: #fff; }
.lang-toggle span { opacity: .55; font-weight: 700; }
.lang-toggle span.active { opacity: 1; color: var(--orange); }

.cart-btn {
  display: flex; align-items: flex-end; gap: 3px;
  background: transparent; border: 1px solid transparent; border-radius: 4px;
  color: #fff; padding: 6px 10px; position: relative; font-weight: 700; font-size: 13px;
}
.cart-btn:hover { border-color: #fff; }
.cart-btn svg { width: 28px; height: 28px; }
.cart-count { position: absolute; top: -2px; left: 18px; color: var(--orange); font-size: 15px; font-weight: 800; }

.menu-btn { display: none; }
.menu-btn svg { width: 24px; height: 24px; }

/* search bar (mobile toggle) */
.search-bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; position: relative; }
.search-bar svg { width: 18px; height: 18px; color: var(--muted); position: absolute; left: 28px; }
.search-bar input {
  width: 100%; height: 40px; padding: 0 14px 0 38px;
  border: 1px solid var(--line); border-radius: 6px; font-size: 14px; outline: none; background: #fff;
}
.search-bar input:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,153,0,.25); }

/* ============ Nav bar ============ */
.nav { background: var(--navy-2); padding: 0 16px; }
.nav-inner {
  max-width: 1500px; margin: 0 auto;
  display: flex; align-items: center; gap: 2px;
  overflow-x: auto; white-space: nowrap;
}
.nav a {
  color: #fff; padding: 8px 10px; font-size: 13.5px;
  border: 1px solid transparent; border-radius: 3px;
  text-decoration: none; display: flex; align-items: center; gap: 6px;
}
.nav a:hover { border-color: #fff; color: #fff; text-decoration: none; }
.nav a.nav-all { font-weight: 700; }
.nav a.nav-all svg { width: 18px; height: 18px; }

/* ============ Hero / banner ============ */
.hero { max-width: 1500px; margin: 0 auto; padding: 0 16px; }
.hero-banner {
  height: 320px; border-radius: 0 0 10px 10px; overflow: hidden; position: relative;
  background: linear-gradient(120deg, #131921 0%, #232f3e 45%, #ff9900 135%);
  display: flex; align-items: center;
}
.hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero-copy { position: relative; z-index: 2; padding: 40px 48px; max-width: 620px; color: #fff; }
.eyebrow { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 10px; }
.hero-title { font-size: 40px; font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.hero-sub { font-size: 16px; color: #d5d9d9; margin-bottom: 20px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 13px; font-weight: 600;
}
.chip:hover { background: rgba(255,255,255,.28); }

/* ============ Sections ============ */
.section { max-width: 1500px; margin: 0 auto; padding: 20px 16px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  background: #fff; padding: 16px 20px; margin-bottom: 14px; border-radius: var(--radius);
}
.section-head h2 { font-size: 20px; font-weight: 700; }
.section-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.link-arrow { color: var(--link); font-size: 13px; white-space: nowrap; }
.link-arrow:hover { color: #c7511f; }

/* category grid */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow); position: relative;
  transition: box-shadow .15s ease, transform .15s ease;
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cat-card img { width: 100%; height: 130px; object-fit: cover; }
.cat-card.big { grid-column: span 2; grid-row: span 2; }
.cat-card.big img { height: 100%; }
.cat-name { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cat-name span:first-child { font-weight: 700; font-size: 14px; }
.cat-count { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* specials scroll */
.specials-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.specials-scroll .product-card { flex: 0 0 220px; scroll-snap-align: start; }

/* catalog toolbar */
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; padding: 10px 16px; border-radius: var(--radius); margin-bottom: 14px; flex-wrap: wrap;
}
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 20px; padding: 6px 14px; font-size: 13px; white-space: nowrap; }
.filter-chip:hover { background: #f7fafa; }
.filter-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.sort { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 10px; font-size: 13px; outline: none; }

/* product grid */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.product-card {
  background: #fff; border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative;
  transition: box-shadow .15s ease;
}
.product-card:hover { box-shadow: var(--shadow-hover); }
.product-media { position: relative; margin-bottom: 10px; }
.product-media img { width: 100%; height: 170px; object-fit: contain; background: #fff; }
.product-badge { position: absolute; top: 6px; left: 6px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 3px; color: #fff; }
.product-badge.sale { background: #cc0c39; }
.product-badge.hit { background: var(--orange); }
.product-badge.new { background: var(--green); }

.product-body { display: flex; flex-direction: column; flex: 1; }
.product-cat { color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.product-name {
  font-size: 13.5px; font-weight: 400; line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 36px; margin-bottom: 6px;
}
.rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.stars { color: var(--star); letter-spacing: 1px; font-size: 13px; white-space: nowrap; }
.product-unit { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.product-price { font-size: 21px; font-weight: 700; }
.product-price .cur { font-size: 12px; vertical-align: top; position: relative; top: -4px; }
.product-price.old { font-size: 13px; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.prime-row { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 10px; min-height: 16px; }
.prime-badge { color: var(--prime); font-weight: 700; font-style: italic; }
.deliv-note { color: var(--muted); font-size: 12px; }

.product-add {
  margin-top: auto; background: var(--yellow); border: none; border-radius: 20px;
  padding: 8px 12px; font-size: 13px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 500;
}
.product-add:hover { background: var(--yellow-hover); }
.product-add svg { width: 16px; height: 16px; }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 48px; color: var(--muted); }
.empty-state h3 { font-size: 18px; color: var(--text); margin-bottom: 6px; }

/* brands */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.brand-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.brand-card img { width: 100%; height: 180px; object-fit: cover; }
.brand-body { padding: 16px; }
.brand-body h3 { font-size: 16px; margin-bottom: 6px; }
.brand-body p { color: var(--muted); font-size: 13.5px; }

/* recipes */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.recipe-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.recipe-card img { width: 100%; height: 150px; object-fit: cover; }
.recipe-body { padding: 14px; }
.recipe-tag { display: inline-block; background: #f0f2f2; color: var(--muted); font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-bottom: 8px; }
.recipe-body h3 { font-size: 15px; margin-bottom: 4px; }
.recipe-body p { color: var(--muted); font-size: 13px; }

/* advantages */
.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.adv-item { background: #fff; border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.adv-item svg { width: 30px; height: 30px; color: var(--orange); margin: 0 auto 10px; }
.adv-item h3 { font-size: 15px; margin-bottom: 4px; }
.adv-item p { color: var(--muted); font-size: 13px; }

/* newsletter */
.newsletter { max-width: 1500px; margin: 0 auto; padding: 20px 16px; }
.newsletter-inner { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.newsletter-inner h2 { font-size: 18px; margin-bottom: 6px; }
.newsletter-inner p { color: var(--muted); margin-bottom: 16px; }
.news-form { display: flex; max-width: 460px; margin: 0 auto; gap: 8px; }
.news-form input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14px; outline: none; }
.news-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,153,0,.25); }
.news-form button { background: var(--yellow); border: none; border-radius: 8px; padding: 10px 20px; font-weight: 500; }
.news-form button:hover { background: var(--yellow-hover); }
.news-note { color: var(--green); margin-top: 10px; }

/* footer */
.footer { background: var(--navy-2); color: #ddd; margin-top: 24px; }
.footer-inner { max-width: 1500px; margin: 0 auto; padding: 36px 16px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 24px; }
.footer-brand .brand-word { color: #fff; font-size: 22px; font-weight: 700; }
.footer-brand p { color: #999; font-size: 13px; margin-top: 8px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; font-weight: 700; }
.footer-col a { display: block; color: #ddd; font-size: 13.5px; padding: 3px 0; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { max-width: 1500px; margin: 0 auto; padding: 18px 16px; border-top: 1px solid #3a4553; display: flex; justify-content: center; gap: 20px; color: #999; font-size: 12.5px; }

/* ============ Overlay ============ */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 70; opacity: 0; transition: opacity .2s; }
.overlay.show { opacity: 1; }

/* ============ Cart drawer ============ */
.cart {
  position: fixed; top: 0; right: 0; height: 100vh; width: 400px; max-width: 92vw;
  background: #fff; z-index: 71; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.22,1,.36,1);
  box-shadow: -4px 0 20px rgba(0,0,0,.2);
}
.cart.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 18px; }
.icon-btn { background: transparent; border: none; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 4px; }
.icon-btn:hover { color: var(--text); background: #f0f2f2; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-empty { color: var(--muted); text-align: center; padding: 40px 20px; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; border-radius: 8px; object-fit: contain; background: #f7fafa; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 14px; }
.cart-item-price { font-weight: 800; font-size: 15px; }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; background: #f0f2f2; color: var(--text); font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.qty button:hover { background: var(--line); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-item-remove { color: var(--muted); align-self: flex-start; margin-top: 10px; }
.cart-item-remove svg { width: 18px; height: 18px; }
.cart-item-remove:hover { color: var(--red); }
.cart-foot { padding: 16px 20px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cart-total > span:first-child { font-weight: 700; font-size: 15px; color: var(--muted); }
.cart-total-value { font-weight: 800; font-size: 22px; }
.checkout-btn { width: 100%; background: var(--yellow); border: none; border-radius: 8px; padding: 12px; font-size: 15px; font-weight: 500; }
.checkout-btn:hover { background: var(--yellow-hover); }
.cart-hint { color: var(--muted); font-size: 12px; text-align: center; margin-top: 10px; }

/* ============ Checkout modal ============ */
.checkout {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: 560px; max-width: 94vw; max-height: 90vh;
  background: #fff; z-index: 72; border-radius: 12px;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .25s cubic-bezier(.22,1,.36,1);
}
.checkout.open { opacity: 1; pointer-events: auto; transform: translate(-50%,-50%) scale(1); }
.checkout-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.checkout-head h2 { font-size: 18px; }
.checkout-body { overflow-y: auto; padding: 20px 24px 24px; }
.checkout-summary { background: #f0f2f2; border-radius: 8px; padding: 6px 14px; margin-bottom: 18px; max-height: 170px; overflow-y: auto; }
.cs-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cs-item:last-child { border-bottom: 0; }
.cs-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; background: #fff; flex: none; }
.cs-name { flex: 1; font-size: 13px; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-qty { font-size: 13px; color: var(--muted); font-weight: 700; }
.cs-price { font-weight: 800; font-size: 14px; }

.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; color: var(--text); background: #fff; outline: none;
}
.field textarea { resize: vertical; min-height: 58px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,153,0,.25); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio { flex: 1; min-width: 130px; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; }
.radio input { accent-color: var(--orange); width: 16px; height: 16px; }
.radio:has(input:checked) { border-color: var(--orange); background: #fff8e7; }

.checkout-totals { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 8px; background: #f7fafa; }
.ct-row { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); }
.ct-row span:last-child { color: var(--text); font-weight: 700; }
.ct-row.grand { font-size: 17px; font-weight: 800; color: var(--text); padding-top: 10px; border-top: 1px solid var(--line); }
.ct-row.free span:last-child { color: var(--green); }
.checkout-submit { width: 100%; background: var(--yellow); border: none; border-radius: 8px; padding: 13px; font-size: 15px; font-weight: 500; }
.checkout-submit:hover { background: var(--yellow-hover); }
.checkout-submit:disabled { opacity: .6; cursor: default; }
.checkout-error { color: var(--red); font-size: 13px; font-weight: 600; text-align: center; }
.checkout-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 26px 8px 8px; }
.checkout-success svg { width: 56px; height: 56px; color: var(--green); }
.checkout-success h3 { font-size: 20px; }
.checkout-success p { color: var(--muted); }
.checkout-success .checkout-submit { margin-top: 12px; }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 8px;
  font-weight: 600; font-size: 14px; z-index: 80; box-shadow: var(--shadow-hover);
  opacity: 0; transition: all .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; border: 1px solid transparent; color: #fff; }
  .menu-btn:hover { border-color: #fff; }
  .nav.mobile-open { display: block; }
  .nav.mobile-open .nav-inner { flex-direction: column; align-items: stretch; padding: 6px 16px 12px; }
  .nav.mobile-open .nav-inner a { padding: 11px 8px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid, .recipe-grid, .advantages { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .deliver-to, .h-link.hide-sm { display: none; }
  .hero-banner { height: 240px; }
  .hero-copy { padding: 24px; }
  .hero-title { font-size: 28px; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card { padding: 10px; }
  .product-media img { height: 120px; }
  .footer-inner { grid-template-columns: 1fr; }
  .search-form select { display: none; }
}

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