/* SHFAVOUR — wholesale pet products site
   Design language inspired by petlou.com: white canvas, navy type, crimson accents. */

:root {
  --navy: #041e42;
  --navy-2: #002b80;
  --red: #bf0d3e;
  --red-dark: #8f0a2e;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --line: #e8e9eb;
  --soft: #f6f7f9;
  --white: #fff;
  --max: 1280px;
  --shadow: 0 10px 30px rgba(4, 30, 66, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }

/* ---------- top utilities ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  letter-spacing: .06em;
}
.topbar .container {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar a:hover { color: #ffc9d5; }
.topbar-links { display: flex; gap: 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.site-header .container {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { width: 42px; height: 42px; color: var(--red); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  color: var(--navy);
  font-size: 25px;
  letter-spacing: .11em;
  font-weight: 800;
}
.logo-text small {
  color: var(--red);
  font-size: 9px;
  letter-spacing: .24em;
  margin-top: 5px;
  font-weight: 700;
}
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > li { list-style: none; position: relative; }
.site-nav > li > a {
  display: block;
  padding: 10px 13px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav > li > a:hover, .site-nav > li.active > a {
  color: var(--red);
  border-bottom-color: var(--red);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.site-nav li:hover .dropdown, .site-nav li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a { display: block; padding: 8px 20px; font-size: 13px; color: var(--navy); }
.dropdown a:hover { background: var(--soft); color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.lang-switch { display: flex; align-items: center; border: 1px solid var(--line); margin-right: 4px; }
.lang-switch button {
  background: transparent; border: 0; padding: 6px 9px; color: var(--muted);
  font-size: 10px; font-weight: 800; letter-spacing: .06em; line-height: 1.2;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button.active { background: var(--navy); color: #fff; }
.lang-switch button:hover:not(.active) { color: var(--red); }
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 50%;
  color: var(--navy);
}
.icon-btn:hover { background: var(--soft); color: var(--red); }
.icon-btn svg { width: 19px; height: 19px; }
.btn-header {
  margin-left: 6px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  padding: 11px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
  transition: background .2s;
}
.btn-header:hover { background: var(--red-dark); }
.menu-toggle { display: none; }
.mobile-panel { display: none; }

/* ---------- hero carousel ---------- */
.hero { position: relative; height: 540px; overflow: hidden; background: var(--navy); }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,30,66,.88) 0%, rgba(4,30,66,.62) 38%, rgba(4,30,66,.08) 72%);
}
.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  color: #fff;
}
.hero-content .container { max-width: var(--max); }
.hero-copy { max-width: 610px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .24em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 800;
}
.hero p { font-size: 17px; max-width: 500px; color: rgba(255,255,255,.88); margin: 0 0 30px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: 10px; }
.hero-nav {
  position: absolute; z-index: 4; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
}
.hero-dot {
  width: 34px; height: 4px; border: 0; padding: 0;
  background: rgba(255,255,255,.45); border-radius: 2px;
}
.hero-dot.active { background: var(--red); width: 48px; }
.hero-arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.14);
  color: #fff; display: grid; place-items: center;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.32); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-arrow svg { width: 20px; height: 20px; }

/* ---------- shared sections ---------- */
section { padding: 80px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-kicker {
  display: block; color: var(--red); font-size: 11px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2, .split h2 {
  margin: 0; color: var(--navy); font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18; letter-spacing: -.015em; font-weight: 800;
}
.section-head p { color: var(--muted); max-width: 460px; margin: 10px 0 0; }
.text-link {
  color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; border-bottom: 1px solid var(--red); padding-bottom: 5px;
  white-space: nowrap;
}
.text-link:hover { color: var(--red); }
.soft-bg { background: var(--soft); }

/* trust bar */
.trustbar { padding: 0; border-bottom: 1px solid var(--line); }
.trustbar .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 12px; border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 30px; height: 30px; color: var(--red); flex: 0 0 auto; }
.trust-item strong { display: block; color: var(--navy); font-size: 14px; }
.trust-item span { display: block; color: var(--muted); font-size: 12px; }

/* category cards */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4,30,66,.82) 100%);
}
.cat-card-body { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; color: #fff; }
.cat-card-body h3 { margin: 0 0 3px; font-size: 20px; font-weight: 800; }
.cat-card-body span { font-size: 12px; color: rgba(255,255,255,.8); }
.cat-card-body .arrow { position: absolute; right: 0; bottom: 4px; font-size: 22px; transition: transform .2s; }
.cat-card:hover .arrow { transform: translateX(5px); }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.tag {
  position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff;
  padding: 4px 9px; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.tag.navy { background: var(--navy); }
.product-info { padding: 17px 16px 18px; }
.product-cat { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-info h3 { margin: 6px 0 10px; font-size: 15px; color: var(--navy); font-weight: 700; line-height: 1.35; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-meta span { font-size: 12px; color: var(--muted); }
.product-meta a { color: var(--navy); font-size: 11px; font-weight: 800; border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.product-meta a:hover { color: var(--red); }
.center-cta { text-align: center; margin-top: 36px; }

/* promo split */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo {
  min-height: 350px; position: relative; display: flex; align-items: center;
  padding: 44px; overflow: hidden; color: #fff; background: var(--navy);
}
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,30,66,.9), rgba(4,30,66,.35)); }
.promo-content { position: relative; z-index: 2; max-width: 420px; }
.promo-content .section-kicker { color: #ff9bb4; }
.promo h3 { margin: 0 0 12px; font-size: 30px; line-height: 1.2; font-weight: 800; }
.promo p { color: rgba(255,255,255,.84); margin: 0 0 24px; }

/* about strip */
.about-strip { background: var(--navy); color: #fff; }
.about-strip .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-strip h2 { color: #fff; }
.about-strip p { color: rgba(255,255,255,.76); }
.about-copy .section-kicker { color: #ff9bb4; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.16); }
.stat { background: var(--navy); padding: 26px 20px; }
.stat strong { display: block; color: #fff; font-size: 34px; line-height: 1.1; font-weight: 800; }
.stat span { color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .04em; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 44px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0; font-size: 28px; font-weight: 800; }
.cta-band p { margin: 5px 0 0; color: rgba(255,255,255,.85); }

/* ---------- footer ---------- */
.site-footer { background: #03162f; color: rgba(255,255,255,.72); padding: 70px 0 22px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 45px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand p { margin: 20px 0 18px; max-width: 300px; }
.footer-brand .logo-mark { color: #ff5b83; }
.site-footer h4 { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 13px; line-height: 1.5; }
.footer-contact svg { width: 16px; height: 16px; color: #ff5b83; flex: 0 0 auto; margin-top: 3px; }
.newsletter { display: flex; margin-top: 18px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid rgba(255,255,255,.25);
  border-right: 0; background: rgba(255,255,255,.07); color: #fff; font-size: 12px;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter button { background: var(--red); color: #fff; border: 0; padding: 0 16px; font-size: 11px; font-weight: 800; }
.footer-bottom {
  margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 20px; font-size: 11px;
}

/* ---------- inner pages ---------- */
.page-hero {
  background: var(--navy); color: #fff; padding: 62px 0;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -110px; width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .08em; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.01em; }
.page-hero p { margin: 0; max-width: 650px; color: rgba(255,255,255,.78); }

.catalog-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; }
.filter-panel { border: 1px solid var(--line); padding: 22px; align-self: start; }
.filter-panel h3 { margin: 0 0 18px; font-size: 13px; color: var(--navy); letter-spacing: .08em; text-transform: uppercase; }
.filter-group { border-top: 1px solid var(--line); padding: 16px 0; }
.filter-group h4 { margin: 0 0 12px; font-size: 12px; color: var(--navy); }
.filter-option { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 13px; color: #444; cursor: pointer; }
.filter-option input { accent-color: var(--red); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.catalog-toolbar span { color: var(--muted); font-size: 13px; }
.catalog-toolbar select { border: 1px solid var(--line); padding: 9px 12px; color: var(--navy); background: #fff; }
.catalog-grid .product-grid { grid-template-columns: repeat(3, 1fr); }

/* product detail */
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 55px; }
.gallery-main { border: 1px solid var(--line); background: var(--soft); aspect-ratio: 1 / 1; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 2px solid transparent; cursor: pointer; }
.gallery-thumbs img.active { border-color: var(--red); }
.product-detail h1 { color: var(--navy); font-size: 34px; margin: 6px 0 12px; font-weight: 800; line-height: 1.2; }
.detail-sub { color: var(--muted); margin-bottom: 20px; }
.detail-price { color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .08em; margin-bottom: 20px; }
.detail-bullets { list-style: none; padding: 0; margin: 0 0 26px; }
.detail-bullets li { padding-left: 24px; position: relative; margin-bottom: 9px; color: #444; }
.detail-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: 13px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; color: var(--navy); font-weight: 700; background: var(--soft); }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* simple forms */
.inquiry-form { background: #fff; border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.form-note { font-size: 11px; color: var(--muted); margin: 0; }
.form-success { display: none; background: #eef8f1; color: #16713a; border: 1px solid #bfe4cc; padding: 12px; margin-bottom: 16px; font-size: 13px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
.contact-card {
  border: 1px solid var(--line); padding: 24px; margin-bottom: 16px; display: flex; gap: 16px;
}
.contact-card svg { width: 24px; height: 24px; color: var(--red); flex: 0 0 auto; }
.contact-card h3 { margin: 0 0 5px; font-size: 14px; color: var(--navy); }
.contact-card p { margin: 0; color: var(--muted); font-size: 13px; }
.contact-card a:hover { color: var(--red); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.timeline-item { border-top: 3px solid var(--red); padding-top: 20px; }
.timeline-item strong { display: block; color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.timeline-item p { color: var(--muted); font-size: 13px; margin: 0; }
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dept-card { background: #fff; border: 1px solid var(--line); padding: 32px 26px; }
.dept-card .dept-num { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.dept-card h3 { color: var(--navy); margin: 12px 0 10px; font-size: 20px; }
.dept-card p { color: var(--muted); font-size: 13px; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.split .section-kicker { margin-bottom: 12px; }
.split p { color: var(--muted); }

/* search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(3,22,47,.82);
  display: none; align-items: flex-start; justify-content: center; padding: 100px 20px 20px;
}
.search-overlay.open { display: flex; }
.search-box { background: #fff; width: min(680px, 100%); padding: 28px; }
.search-box form { display: flex; gap: 10px; }
.search-box input { flex: 1; padding: 12px; border: 1px solid var(--line); }
.search-close { margin-top: 14px; background: transparent; border: 0; color: var(--muted); font-size: 12px; }

/* toast */
.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 120;
  background: var(--navy); color: #fff; padding: 14px 20px; font-size: 13px;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .site-nav > li > a { padding: 10px 8px; font-size: 11px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
}
@media (max-width: 900px) {
  .site-nav, .header-actions .btn-header { display: none; }
  .menu-toggle { display: grid; margin-left: auto; }
  .mobile-panel { display: none; background: #fff; border-top: 1px solid var(--line); }
  .mobile-panel.open { display: block; }
  .mobile-panel ul { list-style: none; margin: 0; padding: 10px 24px 20px; }
  .mobile-panel a { display: block; padding: 10px 0; color: var(--navy); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
  .hero { height: 500px; }
  .hero-slide::after { background: linear-gradient(90deg, rgba(4,30,66,.9), rgba(4,30,66,.45)); }
  .hero-copy { max-width: 100%; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip .container, .split, .contact-layout, .product-detail { grid-template-columns: 1fr; gap: 34px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .filter-panel h3, .filter-group { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .site-header .container { min-height: 68px; gap: 8px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-text strong { font-size: 19px; }
  .logo-text small { font-size: 7px; letter-spacing: .18em; margin-top: 3px; }
  .header-actions { gap: 2px; margin-left: 0; }
  .header-actions .icon-btn { width: 32px; height: 32px; }
  .header-actions a.icon-btn { display: none; }
  .lang-switch { margin-right: 0; }
  .lang-switch button { padding: 5px 6px; font-size: 9px; }
  .topbar-links { display: none; }
  section { padding: 56px 0; }
  .hero { height: 560px; }
  .hero-content { top: auto; bottom: 74px; transform: none; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 14px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-buttons .btn { max-width: 100%; }
  .topbar > .container { overflow: hidden; }
  .topbar > .container > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
  .trust-item { padding: 18px 8px; gap: 8px; }
  .trust-item svg { width: 24px; height: 24px; }
  .trust-item strong { font-size: 12px; }
  .trust-item span { font-size: 10px; }
  .hero-arrow { display: none; }
  .hero-nav { bottom: 24px; }
  .trustbar .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .category-grid, .product-grid, .catalog-grid .product-grid, .promo-grid, .dept-grid, .timeline { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: 1fr; }
  .catalog-toolbar { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .product-detail h1 { font-size: 28px; }
}
