@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600;700;800&family=Jost:wght@400;500;600;700&display=swap");

:root {
  --teal: #00c9d5;
  --teal-dark: #00b0bb;
  --blue: #57c4e3;
  --gold: #f8b948;
  --sand: #cb8161;
  --mist: #ccdfe3;
  --ink: #0a111e;
  --text: #555555;
  --muted: #5f5f5f;
  --line: #e6e6e6;
  --soft: rgba(87, 196, 227, 0.08);
  --star: #ff8a00;
  --white: #ffffff;
  --danger: #d64550;
  --shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  --font: "Jost", "Segoe UI", sans-serif;
  --display: "Albert Sans", "Jost", sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 0 0 0.4em; }
p { margin: 0 0 0.8em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: #fff;
  padding: 8px 12px; z-index: 100; border-radius: 8px;
}
.skip:focus { top: 12px; }

.topbar { background: var(--teal); color: #fff; font-size: 15px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 46px; gap: 16px; }
.offer { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.offer span { font-weight: 700; }
.account { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.account:hover { opacity: 0.85; }

.site-header {
  position: sticky; top: 0; z-index: 40; background: #fff;
  border-bottom: 1px solid transparent;
}
.site-header.stuck { box-shadow: var(--shadow); border-bottom-color: #f2f2f2; }
.header-main { display: flex; align-items: center; gap: 22px; min-height: 86px; }
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo img { width: 48px; height: 48px; }
.logo strong { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.logo small { display: block; color: var(--teal); font-weight: 700; letter-spacing: 0.16em; font-size: 10px; text-transform: uppercase; }

.search-bar {
  display: flex; align-items: center; flex: 1; max-width: 460px;
  border: 1px solid #ececec; border-radius: 8px; background: #fff; overflow: hidden; min-height: 48px;
}
.cat-wrap { display: flex; align-items: center; gap: 6px; padding-left: 12px; color: var(--teal); border-right: 1px solid #eee; }
.cat-wrap select { border: 0; background: transparent; color: var(--ink); font-weight: 500; padding: 8px 8px 8px 0; outline: none; max-width: 120px; }
.search-bar input { flex: 1; border: 0; padding: 12px 14px; outline: none; min-width: 0; color: var(--ink); }
.search-bar button { width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); }
.search-bar button:hover { color: var(--teal); }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav > a, .drop > a { font-weight: 500; color: var(--ink); font-size: 16px; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav > a.active, .drop:hover > a { color: var(--teal); }
.drop { position: relative; }
.submenu {
  position: absolute; top: calc(100% - 2px); left: 0; min-width: 190px; background: #fff;
  border-radius: 12px; box-shadow: 0 12px 40px rgba(10, 17, 30, 0.12); padding: 8px;
  display: none; z-index: 20;
}
.drop:hover .submenu, .drop:focus-within .submenu { display: block; }
.submenu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.submenu a:hover { background: var(--teal); color: #fff; }

.header-tools { display: flex; align-items: center; gap: 8px; }
.tool {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #eee; background: #fff;
  display: grid; place-items: center; position: relative; color: var(--ink);
}
.tool:hover { border-color: var(--teal); color: var(--teal); }
.tool .count {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; border-radius: 99px;
  background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px;
}
#search-toggle { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #eee; background: #fff; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

.hero {
  position: relative;
  background: linear-gradient(180deg, #c8f3f6 0%, #e7fbfd 42%, #f7feff 100%);
  padding: 54px 0 110px;
  overflow: hidden;
}
.hero-blob {
  position: absolute; border-radius: 50%; background: rgba(0, 201, 213, 0.18); pointer-events: none;
}
.hero-blob.a { width: 180px; height: 180px; right: 8%; top: 30px; }
.hero-blob.b { width: 90px; height: 90px; right: 28%; bottom: 80px; background: rgba(248, 185, 72, 0.35); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 30px; align-items: center; position: relative; z-index: 1; }
.eyebrow { font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.hero h1 { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; max-width: 640px; margin: 8px 0 14px; }
.hero p { max-width: 540px; font-size: 17px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 380px; }
.hero-visual img {
  width: 100%; height: 460px; object-fit: contain; position: relative; z-index: 1;
  filter: drop-shadow(0 18px 30px rgba(10, 17, 30, 0.08));
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 600; transition: 0.25s ease;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.teal:hover { background: var(--ink); border-color: var(--ink); }
.btn.full { width: 100%; }

.section { padding: 70px 0; }
.section.tight { padding-top: 10px; }
.section.soft { background: var(--soft); }
.offer-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: -70px; position: relative; z-index: 2; }
.offer-card {
  position: relative; height: 280px; border-radius: 15px; padding: 36px 28px; overflow: hidden; color: #fff;
}
.offer-card.blue { background: var(--blue); }
.offer-card.gold { background: var(--gold); }
.offer-card.teal { background: var(--teal); }
.offer-card h3 { color: #fff; font-size: 24px; font-weight: 700; max-width: 230px; position: relative; z-index: 1; }
.offer-card p { color: #fff; position: relative; z-index: 1; margin-top: 6px; }
.offer-card img {
  position: absolute; right: 0; bottom: 0; width: 52%; height: 78%; object-fit: cover;
  border-top-left-radius: 80px; mask-image: linear-gradient(90deg, transparent, #000 28%);
}
.offer-card .shop-link {
  position: relative; z-index: 1; display: inline-block; margin-top: 14px;
  color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.timer { display: flex; gap: 8px; margin-top: 16px; position: relative; z-index: 1; }
.timer .num {
  background: #fff; color: var(--teal); min-width: 52px; height: 46px; border-radius: 8px;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px;
}
.timer small { display: block; text-align: center; color: #fff; font-size: 12px; margin-top: 4px; }

.center { text-align: center; }
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 100px; border: 1px solid var(--teal);
  color: var(--teal); font-weight: 600; font-size: 14px; margin-bottom: 10px;
}
.pill.gold { border-color: #ffb22c; color: #ffb22c; }
.section h2 { font-size: 32px; font-weight: 700; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.product-card { position: relative; }
.thumb {
  position: relative; background: #f6f8f8; border-radius: 16px; overflow: hidden; height: 250px;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.product-card:hover .thumb img { transform: scale(1.05); }
.badge {
  position: absolute; left: 12px; top: 12px; background: var(--teal); color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 99px; padding: 4px 10px; z-index: 1;
}
.icon-box { position: absolute; top: 14px; right: 14px; display: grid; gap: 8px; }
.icon-box button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--teal); background: #fff; color: var(--teal);
  display: grid; place-items: center;
}
.icon-box button:hover, .icon-box button.on { background: var(--teal); color: #fff; }
@media (hover: hover) {
  .icon-box { opacity: 0; transform: translateX(6px); transition: 0.25s ease; }
  .product-card:hover .icon-box, .product-card:focus-within .icon-box { opacity: 1; transform: none; }
}
.pinfo { padding: 14px 4px 6px; }
.price { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.price .old { color: #9a9a9a; text-decoration: line-through; font-weight: 500; }
.price .now { color: var(--teal); font-size: 18px; }
.pinfo h3 { font-size: 18px; font-weight: 600; margin: 4px 0; }
.pinfo h3 a:hover { color: var(--teal); }
.stars { color: #d0d0d0; letter-spacing: 2px; font-size: 14px; }
.stars .on { color: var(--star); }

.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.arrows { display: flex; gap: 10px; }
.arrows button {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--teal); background: #fff; color: var(--teal); font-size: 18px;
}
.arrows button.next { background: var(--teal); color: #fff; }
.arrows button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 14px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller .product-card { scroll-snap-align: start; }

.promo { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.promo-main, .promo-side article {
  border-radius: 12px; position: relative; overflow: hidden; color: #fff; min-height: 250px;
}
.promo-main { background: var(--teal); min-height: 470px; padding: 48px; display: flex; align-items: flex-end; }
.promo-main .copy, .promo-side .copy { position: relative; z-index: 1; max-width: 420px; }
.promo-main h2, .promo-side h3 { color: #fff; }
.kicker { font-weight: 800; letter-spacing: 0.04em; font-size: 14px; }
.promo-main img, .promo-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-main::after, .promo-side article::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 201, 213, 0.92) 0%, rgba(0, 201, 213, 0.35) 70%);
}
.promo-side { display: grid; gap: 18px; }
.promo-side article { padding: 28px; display: flex; align-items: center; }
.promo-side article.sand::after { background: linear-gradient(90deg, rgba(203, 129, 97, 0.92), rgba(203, 129, 97, 0.25)); }
.promo-side article.mist { color: var(--ink); }
.promo-side article.mist::after { background: linear-gradient(90deg, rgba(204, 223, 227, 0.94), rgba(204, 223, 227, 0.45)); }
.promo-side article.mist h3, .promo-side article.mist p, .promo-side article.mist .kicker { color: var(--ink); }
.promo-side .btn { margin-top: 8px; min-height: 40px; padding: 0 14px; background: var(--teal); border-color: var(--teal); }
.flat { font-weight: 700; }

.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--teal); color: #fff; border-radius: 30px; padding: 42px 36px;
}
.feature { display: flex; gap: 14px; align-items: center; }
.feature svg { flex: 0 0 auto; }
.feature h4 { color: #fff; margin: 0 0 2px; font-size: 18px; }
.feature p { margin: 0; color: #fff; font-size: 14px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: #fff; }
.blog-card .photo { position: relative; border-radius: 16px; overflow: hidden; height: 230px; }
.blog-card img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; left: 14px; bottom: 14px; background: var(--teal); color: #fff;
  border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 600;
}
.meta { display: flex; gap: 16px; color: var(--muted); font-size: 14px; margin: 14px 0 8px; }
.blog-card h3 { font-size: 20px; }
.blog-card h3 a:hover { color: var(--teal); }
.more { color: var(--teal); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.more:hover { gap: 10px; }

.footer { background: var(--ink); color: #c9cdd4; padding-top: 28px; }
.footer-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 10px 0 28px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.f-item { display: flex; gap: 14px; align-items: center; }
.f-item .ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(0, 201, 213, 0.15); color: var(--teal); display: grid; place-items: center; }
.f-item p { margin: 0; font-size: 14px; }
.f-item strong { display: block; color: #fff; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; padding: 42px 0; }
.footer .logo strong { color: #fff; }
.footer h3 { color: #fff; font-size: 20px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--teal); }
.footer a:hover { color: var(--teal); }
.footer li { margin: 8px 0; }
.footer li a { display: inline-flex; gap: 8px; align-items: center; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center; color: #fff;
}
.socials a:hover { background: var(--teal); border-color: var(--teal); }
.news-form { display: flex; background: #fff; border-radius: 8px; overflow: hidden; margin-top: 10px; }
.news-form input { flex: 1; border: 0; padding: 12px 14px; outline: none; color: var(--ink); min-width: 0; }
.news-form button { width: 48px; border: 0; background: var(--teal); color: #fff; }
.form-error, .field-error { color: #ffb4b8; font-size: 13px; margin-top: 6px; }
.form-ok { color: #b6f3e2; font-size: 14px; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0 22px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.legal { display: flex; gap: 16px; flex-wrap: wrap; }
.legal a { color: #fff; font-weight: 600; }
.pays { display: flex; gap: 8px; }
.pays span { background: #fff; color: var(--ink); border-radius: 4px; font-size: 11px; font-weight: 800; padding: 4px 7px; letter-spacing: 0.04em; }

.page-hero { background: linear-gradient(180deg, #d5f6f8, #f5feff); padding: 48px 0 36px; text-align: center; position: relative; }
.page-hero h1 { font-size: 42px; font-weight: 800; }
.crumbs { color: var(--muted); }
.crumbs a { color: var(--teal); font-weight: 600; }

.layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.cart-layout, .two-col { grid-template-columns: 1.15fr 0.85fr; }
.two-col { display: grid; gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.panel h3 { font-size: 18px; margin-bottom: 10px; }
.filter { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.filter label { display: flex; gap: 8px; align-items: center; color: var(--ink); font-size: 15px; }
.shop-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.shop-top select { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.pager button { min-width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.pager button.on, .pager button:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.product-view { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; }
.gallery { background: #f6f8f8; border-radius: 18px; overflow: hidden; min-height: 420px; }
.gallery img { width: 100%; height: 520px; object-fit: cover; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 38px; height: 42px; border: 0; background: #fff; font-size: 18px; }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 700; color: var(--ink); }
.specs { width: 100%; border-collapse: collapse; margin-top: 12px; }
.specs td { border-bottom: 1px solid var(--line); padding: 8px 0; }
.specs td:first-child { color: var(--ink); font-weight: 600; width: 40%; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 14px; color: var(--muted); padding-bottom: 8px; }
.cart-table td { border-top: 1px solid var(--line); padding: 14px 8px; vertical-align: middle; }
.cart-product { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 600; }
.cart-product img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; }
.summary { background: #f7feff; border: 1px solid #d7f3f5; border-radius: 16px; padding: 20px; }
.summary row, .sum-line { display: flex; justify-content: space-between; margin: 8px 0; color: var(--ink); }
.remove { border: 0; background: transparent; color: var(--danger); font-weight: 700; }

.form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #e0e0e0; border-radius: 10px; padding: 12px 14px; color: var(--ink); background: #fff; outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 201, 213, 0.15); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--danger); }
.field .field-error { color: var(--danger); }
.check { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.success-box, .thankyou {
  background: #f3fcfd; border: 1px solid #b7eef2; border-radius: 16px; padding: 28px; text-align: center;
}
.thankyou h2 { font-size: 28px; margin-bottom: 10px; }

.prose { max-width: 860px; }
.prose h2 { font-size: 24px; margin-top: 28px; }
.prose h3 { font-size: 18px; margin-top: 18px; }
.prose ul, .prose ol { margin: 0 0 14px 18px; }
.prose li { margin: 6px 0; }
.article { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.article img.wide { width: 100%; height: 360px; object-fit: cover; border-radius: 16px; margin: 12px 0 16px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.split img { width: 100%; height: 360px; object-fit: cover; border-radius: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.stat { background: #f3fcfd; border-radius: 14px; padding: 16px; text-align: center; }
.stat strong { display: block; color: var(--teal); font-size: 28px; font-family: var(--display); }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }

.modal, .drawer-bg { position: fixed; inset: 0; background: rgba(10, 17, 30, 0.45); z-index: 60; display: none; }
.modal.open, .drawer-bg.open { display: block; }
.modal-card {
  width: min(860px, calc(100% - 28px)); margin: 6vh auto; background: #fff; border-radius: 18px;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; position: relative;
}
.modal-card img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.modal-card .body { padding: 28px; }
.close-x { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; font-size: 20px; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 100%); background: #fff; z-index: 70;
  transform: translateX(100%); transition: 0.3s ease; padding: 22px; overflow: auto;
}
.drawer.open { transform: none; }
.toast {
  position: fixed; right: 16px; bottom: 16px; background: var(--ink); color: #fff; padding: 12px 16px;
  border-radius: 10px; z-index: 80; display: none; max-width: 280px;
}
.toast.show { display: block; }
.to-top {
  position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--teal); color: #fff; display: none; z-index: 30;
}
.to-top.show { display: grid; place-items: center; }
.empty { padding: 30px; text-align: center; background: #f7fbfc; border-radius: 16px; }

@media (max-width: 1100px) {
  .hero h1 { font-size: 48px; }
  .product-grid, .features { grid-template-columns: repeat(2, 1fr); }
  .scroller { grid-auto-columns: calc(50% - 10px); }
  .footer-grid, .offer-row, .promo, .blog-grid, .layout, .product-view, .split, .footer-contact { grid-template-columns: 1fr 1fr; }
  .promo-main { min-height: 320px; }
}
@media (max-width: 860px) {
  .burger, #search-toggle { display: inline-block; }
  #search-toggle { display: grid; }
  .search-bar { display: none; }
  .search-bar.open { display: flex; position: absolute; left: 20px; right: 20px; top: 132px; max-width: none; background: #fff; z-index: 30; box-shadow: var(--shadow); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: flex-start; padding: 10px 20px 16px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .submenu { position: static; display: block; box-shadow: none; padding: 0 0 8px 10px; }
  .header-main { min-height: 72px; }
  .hero { padding-top: 30px; }
  .hero-grid, .offer-row, .product-grid, .features, .blog-grid, .footer-grid, .layout, .cart-layout, .two-col, .product-view, .split, .footer-contact, .promo, .stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-visual { min-height: 0; }
  .hero-visual img { height: 280px; }
  .scroller { grid-auto-columns: 80%; }
  .modal-card { grid-template-columns: 1fr; }
  .features { border-radius: 18px; padding: 22px; }
  .footer-bottom .container { align-items: flex-start; }
}
#shop-grid { grid-template-columns: repeat(3, 1fr); }
.filter select, #filter-q {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--ink); background: #fff;
}
@media (max-width: 1100px) {
  #shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  #shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
