/* ============================================================
   Moto Zone — stylesheet
   ============================================================ */

:root {
  --dark: #16161f;
  --dark-2: #1e1e2b;
  --dark-3: #262635;
  --red: #ef3b4a;
  --red-dark: #cf2534;
  --amber: #ffb02e;
  --wa: #25d366;
  --wa-dark: #1eb257;
  --ink: #23232e;
  --muted: #6d6d7d;
  --line: #e7e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f5f8;
  --bg-warm: #efe9df;
  --radius: 14px;
  --shadow: 0 10px 30px rgb(22 22 31 / .10);
  --shadow-sm: 0 4px 14px rgb(22 22 31 / .08);
  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); font-size: 15.5px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.container { width: min(1240px, 92vw); margin-inline: auto; }
section { padding: 64px 0; }

svg { width: 1em; height: 1em; }
.p-art, .brand-mark svg, #mz-toast svg { width: auto; height: auto; }

/* ============ header ============ */
#site-header { position: sticky; top: 0; z-index: 60; box-shadow: 0 4px 24px rgb(22 22 31 / .18); }

.topbar { background: var(--red); color: #fff; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 12px; }
.topbar svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 5px; }
.topbar-msg { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar-links { display: flex; gap: 18px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 5px; opacity: .95; }
.topbar-links a:hover { opacity: 1; text-decoration: underline; }

.header-main { background: var(--dark); color: #fff; }
.header-in { display: flex; align-items: center; gap: 28px; padding: 16px 0; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; mix-blend-mode: screen; }
.foot-logo { width: 52px; height: 52px; }
.brand-text { font-family: var(--font-head); font-size: 27px; font-weight: 700; letter-spacing: .04em; line-height: 1; display: flex; flex-direction: column; }
.brand-text em { font-style: normal; color: var(--red); display: inline; }
.brand-text small { font-family: var(--font-body); font-size: 9.5px; font-weight: 500; letter-spacing: .22em; color: #9a9aad; text-transform: uppercase; margin-top: 3px; }

.search { flex: 1; display: flex; background: #fff; border-radius: 10px; overflow: hidden; max-width: 560px; height: 46px; }
.search select { border: 0; background: var(--bg-soft); color: var(--muted); font-size: 13px; padding: 0 10px; border-right: 1px solid var(--line); outline: none; cursor: pointer; }
.search input { flex: 1; border: 0; outline: none; padding: 0 14px; font-size: 14px; color: var(--ink); min-width: 0; }
.search button { background: var(--red); color: #fff; width: 52px; display: grid; place-items: center; transition: background .2s; }
.search button:hover { background: var(--red-dark); }
.search button svg { width: 19px; height: 19px; }

.header-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-shrink: 0; }
.hdr-icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; background: var(--dark-3); border: 1px solid #34344a; border-radius: 50%; transition: .2s; }
.hdr-icon:hover { background: var(--red); border-color: var(--red); }
.hdr-icon svg { width: 20px; height: 20px; }
.hdr-icon .count { position: absolute; top: -4px; right: -4px; background: var(--red); font-size: 10.5px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; font-style: normal; }
.hdr-cart-meta { line-height: 1.25; }
.hdr-cart-meta small { color: #9a9aad; font-size: 11.5px; display: block; }
.hdr-cart-meta strong { font-size: 15px; }

.mainnav { background: var(--dark-2); color: #d8d8e2; border-top: 1px solid #2c2c3d; }
.mainnav-in { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; flex-wrap: wrap; }
.nav-links a { padding: 13px 15px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transition: color .15s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ''; position: absolute; left: 15px; right: 15px; bottom: 8px; height: 2px; background: var(--red); border-radius: 2px; }
.nav-toggle { display: none; color: #fff; padding: 10px 4px; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-wa { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; background: var(--wa); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 999px; margin-block: 6px; transition: background .2s; }
.nav-wa:hover { background: var(--wa-dark); }
.nav-wa svg { width: 16px; height: 16px; }

/* ============ hero ============ */
.hero { background: var(--bg-warm); position: relative; overflow: hidden; padding: 0; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(600px 300px at 85% 20%, rgb(239 59 74 / .10), transparent 65%),
  repeating-linear-gradient(-45deg, rgb(22 22 31 / .025) 0 2px, transparent 2px 14px); }
.hero-track { display: flex; transition: transform .6s cubic-bezier(.7,0,.3,1); }
.hero-slide { min-width: 100%; position: relative; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; min-height: 470px; padding: 44px 0; position: relative; }
.hero-copy .kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero-copy .kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero-copy h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 700; color: var(--dark); }
.hero-copy h1 em { font-style: normal; color: var(--red); }
.hero-copy p { color: #5d5a52; max-width: 46ch; margin: 14px 0 26px; font-size: 16px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art svg { width: min(430px, 88%); height: auto; filter: drop-shadow(0 30px 40px rgb(22 22 31 / .22)); }
.hero-img { max-height: 440px; max-width: min(480px, 92%); width: auto; height: auto; object-fit: contain; border-radius: 16px; box-shadow: 0 30px 60px rgb(22 22 31 / .30); }
.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dots button { width: 26px; height: 5px; border-radius: 3px; background: rgb(22 22 31 / .18); transition: .25s; }
.hero-dots button.active { background: var(--red); width: 40px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 14.5px; padding: 14px 28px; border-radius: 999px; transition: .2s; letter-spacing: .02em; }
.btn svg { width: 17px; height: 17px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 22px rgb(239 59 74 / .35); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px rgb(37 211 102 / .3); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-ghost { border: 2px solid var(--dark); color: var(--dark); padding: 12px 26px; }
.btn-ghost:hover { background: var(--dark); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 15.5px; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ============ promo tiles ============ */
.promos { padding: 26px 0 0; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; padding: 26px; min-height: 168px; display: flex; flex-direction: column; justify-content: center; gap: 4px; isolation: isolate; transition: transform .25s; }
.promo:hover { transform: translateY(-4px); }
.promo::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, rgb(255 255 255 / .05) 0 3px, transparent 3px 18px); z-index: -1; }
.promo small { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.promo h3 { font-size: 30px; }
.promo span { font-size: 13.5px; opacity: .9; }
.promo .promo-icon { position: absolute; right: 18px; bottom: 10px; width: 96px; height: 96px; opacity: .22; z-index: -1; }
.promo .promo-icon svg { width: 100%; height: 100%; }
.promo-1 { background: linear-gradient(120deg, #d92736, #8f0f1c); }
.promo-2 { background: linear-gradient(120deg, #2b2b3d, #16161f); }
.promo-3 { background: linear-gradient(120deg, #e88b00, #b45800); }

/* ============ section headers ============ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); position: relative; padding-left: 16px; }
.sec-head h2::before { content: ''; position: absolute; left: 0; top: 6%; bottom: 6%; width: 5px; border-radius: 3px; background: var(--red); }
.sec-head p { color: var(--muted); font-size: 14px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 16px; border-radius: 999px; transition: .2s; }
.tabs button:hover { color: var(--dark); }
.tabs button.active { background: var(--dark); color: #fff; }

/* ============ product grid / card ============ */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.p-media { position: relative; overflow: hidden; background: #fff; }
.p-media .p-art, .p-media .p-img { width: 100%; height: auto; aspect-ratio: 1 / 1; transition: transform .4s; }
.p-img { object-fit: contain; background: #fff; display: block; padding: 6%; box-sizing: border-box; }
.p-card:hover .p-media :is(.p-art, .p-img) { transform: scale(1.05); }
.p-media::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 var(--line); pointer-events: none; }
.p-badge { position: absolute; top: 12px; left: 12px; font-size: 11.5px; font-weight: 800; color: #fff; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.p-badge.sale { background: var(--red); }
.p-badge.new { background: #2196f3; }
.p-badge.hot { background: var(--amber); color: var(--dark); }

.p-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(10px); transition: .25s; }
.p-card:hover .p-actions { opacity: 1; transform: none; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--dark); transition: .2s; }
.icon-btn:hover { background: var(--dark); color: #fff; }
.icon-btn.active { background: var(--red); color: #fff; }
.icon-btn svg { width: 17px; height: 17px; }

.p-buy { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--wa); color: #fff; font-weight: 700; font-size: 13.5px; padding: 11px; border-radius: 10px; opacity: 0; transform: translateY(12px); transition: .25s; box-shadow: 0 8px 18px rgb(37 211 102 / .35); }
.p-card:hover .p-buy { opacity: 1; transform: none; }
.p-buy:hover { background: var(--wa-dark); }
.p-buy svg { width: 16px; height: 16px; }

.p-info { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.p-name { font-family: var(--font-body); font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.35; }
.p-name a:hover { color: var(--red); }
.p-rating { display: flex; align-items: center; gap: 7px; }
.stars { position: relative; display: inline-flex; height: 15px; }
.stars svg { width: 15px; height: 15px; }
.stars-bg { display: inline-flex; color: #d9d9e2; }
.stars-fg { position: absolute; inset: 0; display: inline-flex; overflow: hidden; color: var(--amber); white-space: nowrap; }
.p-reviews { font-size: 12.5px; color: var(--muted); }
.p-price { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; flex-wrap: wrap; }
.p-price .now { font-weight: 800; font-size: 17px; color: var(--dark); }
.p-price .pct { font-size: 11.5px; font-weight: 800; color: #fff; background: var(--red); padding: 2px 7px; border-radius: 6px; }
.p-price .was { font-size: 13px; color: var(--muted); text-decoration: line-through; }

/* deals section with side banner */
.deals-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: stretch; }
.side-banner { border-radius: var(--radius); overflow: hidden; position: relative; background: linear-gradient(165deg, #d92736 0%, #6e0a14 80%); color: #fff; padding: 30px 26px; display: flex; flex-direction: column; isolation: isolate; }
.side-banner::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, rgb(255 255 255 / .06) 0 3px, transparent 3px 20px); z-index: -1; }
.side-banner h3 { font-size: 42px; line-height: .95; }
.side-banner p { font-size: 13.5px; opacity: .85; margin-top: 12px; }
.side-banner .sb-art { margin: auto 0; opacity: .9; }
.side-banner .sb-art svg { width: 150px; height: 150px; margin-inline: auto; }
.side-banner .btn { align-self: flex-start; margin-top: 18px; background: #fff; color: var(--red-dark); padding: 11px 22px; font-size: 13.5px; }
.side-banner .btn:hover { background: var(--dark); color: #fff; }
.side-banner.blue { background: linear-gradient(165deg, #2450b8 0%, #101c46 80%); }
.side-banner.blue .btn { color: #2450b8; }

.bg-soft { background: var(--bg-soft); }

/* ============ banner strip ============ */
.strip { background: var(--dark); color: #fff; position: relative; overflow: hidden; padding: 58px 0; }
.strip::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(500px 240px at 15% 50%, rgb(239 59 74 / .25), transparent 60%),
  repeating-linear-gradient(-55deg, rgb(255 255 255 / .03) 0 3px, transparent 3px 18px); }
.strip-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip h2 { font-size: clamp(30px, 4vw, 48px); }
.strip h2 em { font-style: normal; color: var(--red); }
.strip p { color: #b9b9c6; max-width: 52ch; margin-top: 8px; }

/* ============ category tiles ============ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile { position: relative; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; transition: .25s; }
.cat-tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.cat-tile .ct-icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-soft); margin-bottom: 8px; }
.cat-tile .ct-icon svg { width: 42px; height: 42px; }
.cat-tile h3 { font-size: 22px; }
.cat-tile p { font-size: 13px; color: var(--muted); }
.cat-tile .ct-link { font-size: 13px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.cat-tile .ct-link svg { width: 15px; height: 15px; transition: transform .2s; }
.cat-tile:hover .ct-link svg { transform: translateX(4px); }
.cat-tile .ct-count { position: absolute; top: 20px; right: 20px; font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--bg-soft); padding: 4px 10px; border-radius: 999px; }

/* ============ newsletter ============ */
.newsletter { background: var(--dark-2); color: #fff; padding: 46px 0; }
.newsletter-in { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.newsletter h2 { font-size: 30px; }
.newsletter p { color: #b9b9c6; font-size: 14px; margin-top: 4px; }
#newsletter-form { display: flex; background: #fff; border-radius: 999px; overflow: hidden; width: min(480px, 100%); height: 52px; }
#newsletter-form input { flex: 1; border: 0; outline: none; padding: 0 20px; font-size: 14px; min-width: 0; }
#newsletter-form button { background: var(--red); color: #fff; font-weight: 700; padding: 0 26px; border-radius: 999px; margin: 5px; transition: background .2s; }
#newsletter-form button:hover { background: var(--red-dark); }

/* ============ footer ============ */
.foot-perks { background: var(--bg-soft); border-top: 1px solid var(--line); }
.perks-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 28px 0; }
.perk { display: flex; align-items: center; gap: 13px; }
.perk > svg { width: 34px; height: 34px; color: var(--red); flex-shrink: 0; }
.perk strong { display: block; font-size: 14.5px; }
.perk span { font-size: 12.5px; color: var(--muted); }

.foot-main { background: var(--dark); color: #b9b9c6; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 54px 0 44px; }
.foot-col h4 { color: #fff; font-size: 17px; letter-spacing: .06em; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 13.5px; padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-about p { font-size: 13.5px; margin: 12px 0 16px; max-width: 40ch; }
.foot-brand .brand-text { font-size: 26px; color: #fff; }
.foot-about address { font-style: normal; font-size: 13.5px; display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.foot-about address svg, .foot-line svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--red); }
.foot-line { display: flex !important; gap: 8px; align-items: flex-start; }
.foot-bar { background: #101018; color: #8a8a9c; font-size: 12.5px; }
.foot-bar-in { display: flex; justify-content: space-between; gap: 10px; padding: 16px 0; flex-wrap: wrap; }
.foot-bar svg { width: 14px; height: 14px; vertical-align: -2px; color: var(--wa); }

/* ============ toast ============ */
#mz-toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px); background: var(--dark); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .3s; z-index: 100; white-space: nowrap; max-width: 92vw; }
#mz-toast.show { opacity: 1; transform: translate(-50%, 0); }
#mz-toast svg { width: 17px; height: 17px; color: var(--red); }

/* ============ page hero (inner pages) ============ */
.page-hero { background: var(--dark); color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(420px 200px at 80% 30%, rgb(239 59 74 / .22), transparent 60%),
  repeating-linear-gradient(-55deg, rgb(255 255 255 / .03) 0 3px, transparent 3px 18px); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.crumbs { font-size: 13px; color: #b9b9c6; margin-top: 6px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs b { color: var(--red); font-weight: 600; }

/* ============ shop ============ */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.shop-side { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 22px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h4 { font-size: 17px; margin-bottom: 12px; letter-spacing: .05em; }
.side-box .cat-link { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--muted); transition: .15s; width: 100%; text-align: left; }
.side-box .cat-link:hover { background: var(--bg-soft); color: var(--dark); }
.side-box .cat-link.active { background: var(--dark); color: #fff; font-weight: 600; }
.side-box .cat-link b { font-size: 11.5px; font-weight: 700; background: rgb(22 22 31 / .08); border-radius: 999px; padding: 2px 9px; }
.side-box .cat-link.active b { background: var(--red); }
.shop-wa-card { background: linear-gradient(150deg, #128c4b, #0a5f33); color: #fff; border: 0; text-align: center; }
.shop-wa-card svg { width: 34px; height: 34px; margin: 0 auto 8px; }
.shop-wa-card p { font-size: 13px; opacity: .9; margin-bottom: 12px; }
.shop-wa-card .btn { background: #fff; color: #0a5f33; padding: 10px 20px; font-size: 13px; width: 100%; }

.shop-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.shop-top .result-note { font-size: 14px; color: var(--muted); }
.shop-top .result-note b { color: var(--dark); }
.shop-top select { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13.5px; color: var(--ink); background: #fff; outline: none; cursor: pointer; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.load-more-wrap { text-align: center; margin-top: 30px; }
.load-more-wrap .btn span { opacity: .65; font-weight: 500; margin-left: 6px; font-size: 13px; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state h3 { font-size: 26px; color: var(--dark); margin-bottom: 8px; }

/* ============ product page ============ */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pd-media { position: sticky; top: 160px; }
.pd-media .p-art { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.pd-main { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.pd-main img, .pd-main .p-art { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; padding: 4%; box-sizing: border-box; }
.pd-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.pd-thumb { border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; transition: border-color .15s; }
.pd-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.pd-thumb:hover { border-color: var(--muted); }
.pd-thumb.active { border-color: var(--red); }
.pd-badges { display: flex; gap: 8px; margin-bottom: 12px; }
.pd-info h1 { font-family: var(--font-body); text-transform: none; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.pd-meta { display: flex; align-items: center; gap: 12px; margin: 10px 0 16px; flex-wrap: wrap; }
.pd-meta .p-cat { background: var(--bg-soft); padding: 4px 12px; border-radius: 999px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.pd-price .now { font-size: 34px; font-weight: 800; }
.pd-price .was { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.pd-price .save { font-size: 13px; font-weight: 700; color: #128c4b; background: #e5f6ec; padding: 4px 12px; border-radius: 999px; }
.pd-desc { color: #4b4b58; }
.pd-qty-row { display: flex; align-items: center; gap: 14px; margin: 22px 0 14px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 44px; font-size: 19px; font-weight: 700; color: var(--muted); transition: .15s; }
.qty button:hover { color: var(--red); }
.qty input { width: 48px; border: 0; text-align: center; font-weight: 700; font-size: 15px; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.pd-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.pd-ctas .btn { flex: 1; min-width: 200px; }
.pd-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
.pd-trust div { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; }
.pd-trust svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); }
.spec-table th { width: 38%; background: var(--bg-soft); font-weight: 600; }
.pd-section-title { font-size: 22px; margin: 26px 0 12px; }

/* ============ cart / wishlist ============ */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cart-row .p-art, .cart-row .p-img { width: 96px; height: 96px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 4px; box-sizing: border-box; aspect-ratio: auto; }
.cart-row h3 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; }
.cart-row .cr-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.cart-row .cr-price { font-size: 14px; color: var(--muted); margin-top: 4px; }
.cart-row .cr-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-row .cr-total { font-weight: 800; font-size: 16px; }
.cart-row .cr-remove { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; transition: color .15s; }
.cart-row .cr-remove:hover { color: var(--red); }
.cart-row .cr-remove svg { width: 15px; height: 15px; }
.cart-row .qty button { height: 36px; width: 34px; }
.cart-row .qty input { width: 38px; font-size: 14px; }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 160px; }
.summary h3 { font-size: 22px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 7px 0; color: var(--muted); }
.sum-row b { color: var(--dark); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 17px; color: var(--dark); font-weight: 800; }
.sum-note { font-size: 12.5px; color: var(--muted); background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; margin: 14px 0; display: flex; gap: 8px; }
.sum-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--wa); margin-top: 2px; }
.summary .btn { width: 100%; }

/* ============ about / contact ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.split h2 em { font-style: normal; color: var(--red); }
.split p { color: #4b4b58; margin-bottom: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; padding: 26px 12px; }
.stat b { display: block; font-family: var(--font-head); font-size: 38px; color: var(--red); line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.about-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-art svg, .about-art img { width: 100%; height: auto; display: block; }
.about-media { position: relative; }
.about-media .about-logo { position: absolute; right: 14px; bottom: 14px; width: 118px; height: 118px; border-radius: 16px; box-shadow: 0 10px 26px rgb(0 0 0 / .45); border: 2px solid rgb(255 255 255 / .25); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.value-card svg { width: 34px; height: 34px; color: var(--red); margin-bottom: 12px; }
.value-card h3 { font-size: 20px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 15px; margin-bottom: 16px; }
.contact-card svg { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.contact-card h3 { font-size: 19px; margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-card a.link { color: var(--red); font-weight: 600; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-form h2 { font-size: 26px; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 14px; outline: none; transition: border-color .15s; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--red); }
.field textarea { resize: vertical; min-height: 120px; }

/* ============ 404 ============ */
.nf { text-align: center; padding: 90px 0; }
.nf h1 { font-size: 110px; color: var(--red); line-height: 1; }
.nf p { color: var(--muted); margin: 10px 0 24px; }

/* ============ reveal animation ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .deals-layout { grid-template-columns: 1fr; }
  .side-banner { flex-direction: row; align-items: center; gap: 20px; }
  .side-banner .sb-art svg { width: 100px; height: 100px; }
  .side-banner h3 br { display: none; }
  .cat-grid, .perks-in, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hdr-cart-meta { display: none; }
}
@media (max-width: 900px) {
  /* header: logo only on left, heart + cart on right, search on its own row */
  .header-in { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .brand-text { display: none; }
  .brand-logo { width: 64px; height: 64px; }
  .search { order: 3; max-width: none; flex: 1 1 100%; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; }
  .pd-layout, .split, .contact-grid { grid-template-columns: 1fr; }
  .pd-media { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 56px; text-align: center; }
  .hero-copy p { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { display: none; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark-2); flex-direction: column; box-shadow: 0 20px 30px rgb(0 0 0 / .3); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 20px; border-top: 1px solid #2c2c3d; }
  .nav-links a.active::after { display: none; }
  .mainnav-in { position: relative; }
}
@media (max-width: 640px) {
  section { padding: 44px 0; }
  .header-cta { gap: 10px; }
  .p-grid, .shop-grid, .p-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .promo-grid, .value-grid, .pd-trust { grid-template-columns: 1fr; }
  .topbar-links { display: none; }
  .topbar-in { justify-content: center; }
  .p-buy { font-size: 12px; padding: 9px; }
  .p-actions { opacity: 1; transform: none; }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row .p-art, .cart-row .p-img { width: 72px; height: 72px; }
  .cart-row .cr-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .newsletter-in { flex-direction: column; text-align: center; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .perks-in { grid-template-columns: 1fr; }
  .foot-bar-in { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
  .p-grid, .shop-grid, .p-grid.cols-3 { grid-template-columns: 1fr; }
  .brand-text { font-size: 23px; }
}
