:root {
  --bg: #f4f5f7;
  --card: #fff;
  --ink: #212529;
  --muted: #8a94a6;
  --line: #e7e8ec;
  --blue: #111111;      /* primary (black) */
  --blue-d: #000000;
  --teal: #f5aa03;      /* brand yellow */
  --teal-d: #e09b00;
  --orange: #a86f00;    /* readable amber for text on white */
  --yellow: #f5aa03;
  --yellow-l: #fff4d6;
  --red: #ff3b5c;
  --green: #00b67a;
  --dark: #111111;
  --r: 12px;
  --sh: 0 4px 20px rgba(0, 0, 0, .07);
  --hdr: 0px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.45 Inter, system-ui, -apple-system, Segoe UI, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.ic { display: inline-flex; width: 22px; height: 22px; }
.ic svg { width: 100%; height: 100%; }
[hidden] { display: none !important; }

/* ===== header ===== */
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.hdr-main { display: flex; align-items: center; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; flex: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; font: 800 20px Montserrat, sans-serif; transform: skewX(-8deg); }
.logo-text { font: 800 24px Montserrat, sans-serif; color: var(--blue); letter-spacing: -.02em; }
.btn-cat { flex: none; display: flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; height: 44px; padding: 0 18px; border-radius: 10px; font-size: 16px; font-weight: 600; }
.btn-cat:hover { background: var(--blue-d); }
.burger { width: 16px; display: grid; gap: 3px; }
.burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: .2s; }
.btn-cat.open .burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.btn-cat.open .burger i:nth-child(2) { opacity: 0; }
.btn-cat.open .burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.srch { position: relative; flex: 1; display: flex; height: 44px; min-width: 0; }
.srch input { flex: 1; min-width: 0; border: 2px solid var(--blue); border-right: 0; border-radius: 10px 0 0 10px; padding: 0 14px; outline: 0; background: #fff; }
.srch button { background: var(--blue); color: #fff; padding: 0 20px; border-radius: 0 10px 10px 0; font-size: 15px; font-weight: 600; }
.sugg { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--r); box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: 6px; z-index: 5; max-height: 70vh; overflow: auto; }
.sugg a { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 8px; }
.sugg a:hover, .sugg a.act { background: var(--bg); }
.sugg .si { width: 44px; height: 44px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; font-size: 22px; overflow: hidden; }
.sugg .si img { width: 100%; height: 100%; object-fit: contain; }
.sugg b { color: var(--blue); white-space: nowrap; font-size: 13px; }
.sugg .none { padding: 14px; color: var(--muted); text-align: center; }
.hdr-icons { display: flex; gap: 4px; flex: none; }
.hi { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 8px; font-size: 12px; color: #333; border-radius: 8px; }
.hi:hover { color: var(--blue); }
.hi .cnt, .tabbar .cnt { position: absolute; top: -2px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cnt:empty { display: none !important; }
.m-lang { display: none; }
.subnav { border-top: 1px solid var(--line); }
.subnav-in { display: flex; gap: 6px; height: 46px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 6px 14px; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.subnav a:hover { color: var(--blue); background: var(--bg); }
.subnav a.hot { display: flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; }
.subnav a.hot::before { content: '%'; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: rgba(0,0,0,.35); height: calc(100vh - 118px); }
.mega-in { display: grid; grid-template-columns: 280px 1fr; background: #fff; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--sh); min-height: 380px; max-height: 100%; padding: 0; overflow: hidden; }
.mega-list { list-style: none; margin: 0; padding: 10px; border-right: 1px solid var(--line); overflow: auto; }
.mega-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.mega-list a::after { content: '›'; margin-left: auto; color: var(--muted); font-size: 18px; }
.mega-list a.act, .mega-list a:hover { background: var(--bg); color: var(--blue); }
.mega-list .em { width: 28px; text-align: center; font-size: 20px; }
.mega-panel { padding: 20px 26px; overflow: auto; }
.mega-panel h4 { margin: 0 0 12px; font-size: 18px; }
.mega-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mega-brands a { padding: 6px 12px; border-radius: 8px; background: var(--bg); font-weight: 500; }
.mega-brands a:hover { color: var(--blue); }
.mega-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.mega-prods a { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; }
.mega-prods a:hover { background: var(--bg); }
.mega-prods .si { width: 48px; height: 48px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; font-size: 22px; overflow: hidden; }
.mega-prods .si img { width: 100%; height: 100%; object-fit: contain; }
.mega-prods span { font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-prods b { display: block; color: var(--blue); font-size: 13px; }

/* ===== common ===== */
.view { min-height: 60vh; padding: 20px 0 50px; }
.sec { margin-top: 28px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { margin: 0; font: 700 22px Montserrat, sans-serif; }
.sec-h a { color: var(--blue); font-weight: 500; white-space: nowrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span:last-child { color: var(--ink); }
.box { background: var(--card); border-radius: var(--r); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 600; transition: background .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-blue { background: var(--blue); color: #fff; } .btn-blue:hover { background: var(--blue-d); }
.btn-teal { background: var(--teal); color: #fff; } .btn-teal:hover { background: var(--teal-d); }
.btn-orange { background: var(--orange); color: #fff; } .btn-orange:hover { filter: brightness(.95); }
.btn-light { background: var(--bg); color: var(--ink); } .btn-light:hover { color: var(--blue); }
.btn-out { border: 1.5px solid var(--blue); color: var(--blue); background: #fff; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.w100 { width: 100%; }
.empty-state { text-align: center; padding: 60px 16px; }
.empty-state .big { font-size: 72px; }
.empty-state h3 { font-size: 20px; margin: 10px 0 6px; }
.empty-state p { color: var(--muted); margin: 0 0 18px; }

/* ===== home ===== */
.hero { display: grid; grid-template-columns: 1fr 330px; gap: 16px; }
.slider { position: relative; border-radius: 16px; overflow: hidden; background: var(--dark); aspect-ratio: 2.75 / 1; }
.slides { display: flex; height: 100%; transition: transform .5s ease; }
.slide { flex: 0 0 100%; height: 100%; position: relative; display: block; color: #fff; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-txt { position: absolute; inset: 0; padding: 7% 6%; display: flex; flex-direction: column; justify-content: center; gap: 12px; max-width: 62%; }
.slide-txt h3 { margin: 0; font: 800 clamp(20px, 3.2vw, 40px)/1.1 Montserrat, sans-serif; }
.slide-txt p { margin: 0; opacity: .85; font-size: clamp(13px, 1.4vw, 17px); }
.slide-txt .btn { align-self: flex-start; background: #fff; color: var(--ink); }
.slide-deco { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); font-size: clamp(90px, 16vw, 220px); opacity: .95; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.slide-deco::before { content: ''; position: absolute; inset: -20%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); z-index: -1; }
.sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.85); display: grid; place-items: center; font-size: 22px; color: var(--ink); z-index: 2; }
.sl-arrow.l { left: 12px; } .sl-arrow.r { right: 12px; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.dots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.5); transition: width .2s; }
.dots button.act { width: 22px; background: #fff; }
.deal { background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.deal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.deal-h b { font: 700 16px Montserrat, sans-serif; }
.deal-disc { background: var(--red); color: #fff; font-weight: 700; padding: 3px 9px; border-radius: 8px; font-size: 13px; }
.deal-img { flex: 1; min-height: 110px; display: grid; place-items: center; font-size: 80px; }
.deal-img img { max-height: 150px; object-fit: contain; }
.deal-name { font-weight: 600; line-height: 1.3; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-prices { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.deal-prices s { color: var(--muted); font-size: 13px; }
.deal-prices b { color: var(--red); font-size: 20px; }
.cats-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.cat-tile { background: #fff; border-radius: var(--r); padding: 16px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; transition: box-shadow .2s; }
.cat-tile:hover { box-shadow: var(--sh); color: var(--blue); }
.cat-tile .em { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 28px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perk { background: #fff; border-radius: var(--r); padding: 16px; display: flex; gap: 12px; align-items: center; }
.perk .em { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #e8f1ff; display: grid; place-items: center; font-size: 22px; }
.perk b { display: block; font-size: 14px; }
.perk span { color: var(--muted); font-size: 12px; }

/* ===== product card ===== */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.pc { position: relative; background: #fff; border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; transition: box-shadow .2s; min-width: 0; }
.pc:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.pc-img { position: relative; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 10px; border-radius: 10px; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pc:hover .pc-img img { transform: scale(1.04); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff3d1 0, #fffaf0 55%, #fff 70%); font-size: 64px; }
.ph span { filter: drop-shadow(0 10px 14px rgba(0,0,0,.18)); }
.pc-badge { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 10px; font-weight: 800; letter-spacing: .02em; color: #fff; background: #1d1d1f; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; }
.pc-badge.sale { background: var(--orange); }
.pc-badge.new { background: var(--green); }
.pc-out { position: absolute; inset: auto 0 0 0; background: rgba(255,255,255,.88); text-align: center; font-weight: 700; font-size: 12px; color: var(--muted); padding: 4px; }
.pc-acts { position: absolute; top: 10px; right: 10px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.pc-acts button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #9aa4b5; background: rgba(255,255,255,.9); }
.pc-acts button:hover { color: var(--blue); }
.pc-acts button.on { color: var(--red); }
.pc-acts button.on[data-cmp] { color: var(--blue); }
.pc-acts .ic { width: 20px; height: 20px; }
.pc-title { font-size: 13px; line-height: 1.35; height: 2.7em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 6px; }
.pc-title:hover { color: var(--blue); }
.pc-old { color: var(--muted); text-decoration: line-through; font-size: 12px; min-height: 17px; }
.pc-price { color: var(--blue); font-weight: 700; font-size: 17px; margin-bottom: 6px; white-space: nowrap; }
.pc-inst { border: 1px solid var(--orange); color: var(--orange); border-radius: 6px; font-size: 11px; padding: 3px 7px; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-btns { display: flex; gap: 6px; margin-top: auto; }
.pc-btns .btn { height: 36px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.pc-btns .btn-blue { flex: 1; min-width: 0; }
.pc-btns .btn-teal { flex: none; width: 42px; padding: 0; }
.pc-btns .btn-teal .ic { width: 20px; height: 20px; }
.pc-btns .btn-teal.in { background: var(--green); }

/* ===== listing ===== */
.list-lay { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
.filters { background: #fff; border-radius: var(--r); padding: 4px 16px 16px; position: sticky; top: 134px; max-height: calc(100vh - 150px); overflow: auto; }
.f-sec { border-bottom: 1px solid var(--line); padding: 14px 0; }
.f-sec:last-of-type { border: 0; }
.f-sec h4 { margin: 0 0 12px; font-size: 15px; display: flex; justify-content: space-between; }
.f-price { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; align-items: end; }
.f-price label { font-size: 11px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.f-price input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; min-width: 0; }
.f-price .btn { height: 37px; padding: 0 12px; }
.range { position: relative; height: 24px; margin-top: 10px; }
.range input { position: absolute; width: 100%; top: 4px; pointer-events: none; -webkit-appearance: none; appearance: none; background: none; }
.range input::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); cursor: pointer; }
.range input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); cursor: pointer; }
.range .track { position: absolute; top: 11px; left: 0; right: 0; height: 3px; background: var(--line); border-radius: 2px; }
.range .fill { position: absolute; top: 11px; height: 3px; background: var(--blue); border-radius: 2px; }
.chk { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.chk em { margin-left: auto; color: var(--muted); font-style: normal; font-size: 12px; }
.list-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.list-top h1 { margin: 0; font: 700 24px Montserrat, sans-serif; }
.list-top p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.list-ctrl { display: flex; gap: 8px; }
.sel { border: 1.5px solid var(--blue); color: var(--blue); border-radius: 8px; padding: 6px 10px; background: #fff; font-weight: 500; }
.btn-filter { display: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; background: #fff; border-radius: var(--r); padding: 10px; margin-bottom: 14px; }
.chips button { padding: 5px 12px; border-radius: 8px; background: var(--bg); font-size: 13px; font-weight: 500; }
.chips button.on { background: var(--blue); color: #fff; }
.f-close { display: none; }

/* ===== product page ===== */
.pp-tabs { display: flex; gap: 6px; background: #fff; border-radius: var(--r); padding: 6px; margin-bottom: 14px; overflow-x: auto; }
.pp-tabs a { padding: 8px 16px; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.pp-tabs a:hover { background: var(--bg); color: var(--blue); }
.pp-title { font: 700 22px/1.25 Montserrat, sans-serif; margin: 0 0 14px; }
.pp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.gal { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.gal-th { display: flex; flex-direction: column; gap: 8px; }
.gal-th button { width: 72px; height: 72px; border-radius: 10px; background: #fff; overflow: hidden; border: 2px solid transparent; display: grid; place-items: center; font-size: 30px; }
.gal-th button.act { border-color: var(--blue); }
.gal-th img { width: 100%; height: 100%; object-fit: contain; }
.gal-main { position: relative; background: #fff; border-radius: var(--r); aspect-ratio: 1; overflow: hidden; }
.gal-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track > * { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; }
.gal-track img { width: 100%; height: 100%; object-fit: contain; }
.gal-track .ph { font-size: 140px; }
.gal-main .pc-acts { top: 14px; right: 14px; }
.gal-main .pc-badge { top: 14px; left: 14px; font-size: 12px; }
.gal-dots { display: none; }
.pp-info { display: flex; flex-direction: column; gap: 12px; }
.pp-share { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.pp-share button { color: var(--blue); font-weight: 600; display: flex; gap: 4px; align-items: center; }
.pp-old { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.pp-price { color: var(--orange); font-size: 28px; font-weight: 800; line-height: 1.1; }
.pp-save { color: var(--teal); font-size: 13px; font-weight: 600; }
.pp-props { background: #fff; border-radius: var(--r); padding: 14px 16px; display: grid; gap: 8px; }
.pp-props div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.pp-props div:last-child { border: 0; padding: 0; }
.pp-props span { color: var(--muted); }
.pp-props b { font-weight: 600; text-align: right; }
.pp-props .ok { color: var(--teal); } .pp-props .no { color: var(--red); }
.pp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-btns .btn { height: 48px; }
.pp-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 134px; }
.inst { background: #fff; border-radius: var(--r); padding: 16px; }
.inst h3 { margin: 0 0 12px; font: 700 18px Montserrat, sans-serif; }
.inst-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; background: var(--bg); padding: 4px; border-radius: 10px; }
.inst-months button { padding: 8px 0; border-radius: 8px; font-weight: 600; color: #555; }
.inst-months button.act { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.inst-pay { border: 1.5px solid var(--orange); border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.inst-pay span { color: var(--muted); font-size: 13px; }
.inst-pay b { color: var(--orange); font-size: 20px; }
.inst-total { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.inst-total b { color: var(--ink); }
.side-card { background: #fff; border-radius: var(--r); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.side-card .em { width: 44px; height: 44px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 22px; flex: none; }
.side-card b { display: block; }
.side-card span { color: var(--muted); font-size: 12px; }
.pp-block { background: #fff; border-radius: var(--r); padding: 22px; margin-top: 18px; scroll-margin-top: 140px; }
.pp-block h2 { margin: 0 0 14px; font: 700 20px Montserrat, sans-serif; }
.pp-desc { white-space: pre-line; line-height: 1.65; color: #3a4252; }
.specs { width: 100%; border-collapse: collapse; }
.specs td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:nth-child(odd) td { background: #fafbfe; }
.specs td:first-child { color: var(--muted); width: 40%; }
.m-buybar { display: none; }

/* ===== cart ===== */
.cart-lay { display: grid; grid-template-columns: 1fr 380px; gap: 18px; align-items: start; }
.cart-list { background: #fff; border-radius: var(--r); padding: 6px 18px; }
.ci { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci:last-child { border: 0; }
.ci-img { width: 90px; height: 90px; border-radius: 10px; overflow: hidden; }
.ci-img img { width: 100%; height: 100%; object-fit: contain; }
.ci-img .ph { font-size: 40px; }
.ci-name { font-weight: 600; line-height: 1.35; }
.ci-name:hover { color: var(--blue); }
.ci-unit { color: var(--muted); font-size: 12px; margin-top: 4px; }
.ci-acts { display: flex; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.ci-acts button:hover { color: var(--red); }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 34px; height: 36px; font-size: 18px; color: var(--blue); }
.qty button:hover { background: var(--bg); }
.qty span { min-width: 30px; text-align: center; font-weight: 600; }
.ci-sum { font-weight: 700; font-size: 16px; min-width: 130px; text-align: right; white-space: nowrap; }
.summary { background: #fff; border-radius: var(--r); padding: 18px; position: sticky; top: 134px; }
.summary h3 { margin: 0 0 14px; font: 700 20px Montserrat, sans-serif; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: #555; }
.sum-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 12px; margin: 10px 0 16px; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 500; }
.form input, .form textarea, .form select { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; outline: 0; background: #fff; font-size: 14px; color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(245,170,3,.25); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--bg); padding: 4px; border-radius: 10px; }
.seg button { padding: 9px 4px; border-radius: 8px; font-weight: 600; font-size: 13px; color: #666; }
.seg button.act { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.flabel { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: -4px; }
.inst-note { background: #fff6ee; border: 1px solid #ffd8b8; color: #a54c00; border-radius: 10px; padding: 10px 12px; font-size: 13px; }

/* compare */
.cmp-wrap { background: #fff; border-radius: var(--r); overflow-x: auto; }
.cmp { border-collapse: collapse; min-width: 100%; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 200px; }
.cmp th:first-child, .cmp td:first-child { min-width: 150px; color: var(--muted); font-weight: 500; position: sticky; left: 0; background: #fff; }
.cmp .cmp-card { display: flex; flex-direction: column; gap: 8px; }
.cmp .cmp-card .pc-img { width: 140px; margin: 0; }
.cmp .rm { color: var(--muted); font-size: 12px; text-align: left; }
.cmp .rm:hover { color: var(--red); }

/* track / contacts */
.narrow { max-width: 560px; margin: 0 auto; }
.panel { background: #fff; border-radius: var(--r); padding: 24px; }
.panel h1 { margin: 0 0 6px; font: 700 24px Montserrat, sans-serif; }
.panel > p { color: var(--muted); margin: 0 0 18px; }
.steps { display: grid; gap: 0; margin-top: 18px; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.step::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step i { width: 28px; height: 28px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-style: normal; font-size: 13px; color: #fff; font-weight: 700; }
.step.done i { background: var(--teal); }
.step.done::before { background: var(--teal); }
.step.cancel i { background: var(--red); }
.step b { display: block; padding-top: 4px; }
.contact-list { display: grid; gap: 10px; }
.contact-list a, .contact-list div { display: flex; gap: 12px; align-items: center; background: var(--bg); padding: 14px; border-radius: 10px; font-weight: 600; }
.contact-list .em { font-size: 22px; }
.catalog-list { display: grid; gap: 8px; }
.catalog-list a { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--r); padding: 12px 16px; font-weight: 600; font-size: 15px; }
.catalog-list a::after { content: '›'; margin-left: auto; color: var(--muted); font-size: 22px; }
.catalog-list .em { width: 46px; height: 46px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-size: 24px; }
.catalog-list em { color: var(--muted); font-style: normal; font-weight: 400; font-size: 13px; }

/* ===== footer ===== */
.ftr { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 28px; }
.ftr-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; }
.ftr h4 { margin: 0 0 12px; font-size: 15px; }
.ftr p { color: var(--muted); margin: 8px 0; font-size: 13px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr ul a { color: #555; font-size: 13px; } .ftr ul a:hover { color: var(--blue); }
.ftr .phone { font-size: 20px; font-weight: 800; color: var(--blue); display: block; margin-bottom: 4px; }
.soc { display: flex; gap: 8px; margin-top: 12px; }
.soc a { width: 40px; height: 40px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 18px; }
.soc a:hover { background: #e8f1ff; }
.ftr-copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===== modal / toast ===== */
.ovl { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.mdl { position: relative; background: #fff; border-radius: 16px; width: min(460px, 100%); max-height: 92vh; overflow: auto; padding: 24px; animation: pop .2s ease-out; }
@keyframes pop { from { transform: translateY(20px); opacity: 0; } }
.mdl h3 { margin: 0 0 14px; font: 700 20px Montserrat, sans-serif; padding-right: 30px; }
.x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); font-size: 22px; line-height: 1; }
.qp { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; background: var(--bg); border-radius: 10px; padding: 10px; margin-bottom: 14px; }
.qp .ci-img { width: 64px; height: 64px; background: #fff; }
.qp b { display: block; color: var(--blue); }
.success { text-align: center; padding: 10px 0; }
.success .big { font-size: 64px; }
.success h3 { padding: 0; }
.success p { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 99; background: #1d2433; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 500; box-shadow: var(--sh); display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); }
.toast a { color: #6fb1ff; font-weight: 700; white-space: nowrap; }

.tabbar { display: none; }

/* ===== responsive ===== */
@media (max-width: 1180px) {
  .hi span:not(.ic) { display: none; }
  .hi { padding: 8px; }
  .hi .cnt { right: 0; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .pp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pp-side { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .deal { display: none; }
  .grid, .grid.g4 { grid-template-columns: repeat(3, 1fr); }
  .list-lay { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; top: 0; width: min(340px, 88vw); max-height: none; height: 100%; z-index: 95; border-radius: 0; transform: translateX(-105%); transition: transform .25s; box-shadow: 0 0 0 100vmax rgba(0,0,0,0); padding-bottom: 90px; }
  .filters.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.5); }
  .f-close { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 17px; position: sticky; top: 0; background: #fff; z-index: 1; }
  .f-close button { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); font-size: 22px; }
  .f-apply { position: fixed; bottom: 0; left: 0; width: min(340px, 88vw); padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); }
  .btn-filter { display: inline-flex; height: 34px; padding: 0 12px; border: 1.5px solid var(--blue); color: var(--blue); }
  .cart-lay { grid-template-columns: 1fr; }
  .summary { position: static; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 961px) { .f-apply { display: none; } }
@media (max-width: 760px) {
  :root { --r: 10px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .hdr-main { height: auto; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .logo { margin-right: auto; }
  .logo-mark { width: 30px; height: 30px; font-size: 17px; }
  .logo-text { font-size: 21px; }
  .btn-cat, .hdr-icons { display: none; }
  .m-lang { display: grid; place-items: center; height: 32px; padding: 0 10px; border-radius: 8px; background: var(--bg); font-weight: 700; font-size: 13px; }
  .srch { order: 5; flex-basis: 100%; height: 42px; }
  .srch input { border-width: 1.5px; background: var(--bg); border-color: var(--bg); border-radius: 10px; padding-left: 14px; }
  .srch input:focus { border-color: var(--blue); background: #fff; }
  .srch button { position: absolute; right: 0; top: 0; bottom: 0; width: 46px; padding: 0; font-size: 0; border-radius: 0 10px 10px 0; display: grid; place-items: center; }
  .srch button::before { content: ''; display: block; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 0 1 6.3 12.9l5.4 5.4-1.4 1.4-5.4-5.4A8 8 0 1 1 10 2zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12z'/%3E%3C/svg%3E") center/contain no-repeat; }
  .subnav { display: none; }
  .mega { display: none !important; }
  .view { padding-top: 14px; }
  .sec { margin-top: 22px; }
  .sec-h h2 { font-size: 18px; }
  .slider { aspect-ratio: 1.9 / 1; border-radius: 14px; }
  .slide-txt { max-width: 70%; gap: 8px; padding: 6% 5%; }
  .slide-txt .btn { height: 34px; font-size: 12px; padding: 0 12px; }
  .sl-arrow { display: none; }
  .cats-strip { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .cats-strip::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 92px; padding: 12px 6px; font-size: 11.5px; }
  .cat-tile .em { width: 48px; height: 48px; font-size: 24px; }
  .perks { display: flex; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .perk { flex: 0 0 230px; }
  .grid, .grid.g4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pc { padding: 8px; }
  .pc-badge { top: 8px; left: 8px; }
  .pc-acts { top: 6px; right: 6px; }
  .pc-price { font-size: 15px; }
  .pc-btns .btn-blue { font-size: 11px; padding: 0 6px; }
  .pc-btns .btn-teal { width: 36px; }
  .ph { font-size: 52px; }
  .list-top h1 { font-size: 19px; }
  .list-top { flex-direction: column; }
  .list-ctrl { width: 100%; justify-content: space-between; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chips button { flex: none; }
  .pp-tabs { display: none; }
  .pp-title { font-size: 18px; }
  .pp { grid-template-columns: 1fr; gap: 14px; }
  .gal { grid-template-columns: 1fr; margin: 0 -16px; }
  .gal-th { display: none; }
  .gal-main { border-radius: 0; }
  .gal-dots { display: flex; position: absolute; bottom: 10px; left: 0; right: 0; justify-content: center; gap: 5px; }
  .gal-dots i { width: 6px; height: 6px; border-radius: 3px; background: #cfd6e3; transition: width .2s; }
  .gal-dots i.act { width: 16px; background: var(--blue); }
  .pp-btns { display: none; }
  .pp-side { grid-template-columns: 1fr; }
  .pp-block { padding: 16px; margin-top: 14px; }
  .m-buybar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 30; background: #fff; padding: 8px 12px; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.05); }
  .m-buybar .btn { height: 44px; font-size: 13px; }
  body.has-buybar { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
  .ci { grid-template-columns: 72px 1fr; gap: 10px 12px; }
  .ci-img { width: 72px; height: 72px; grid-row: span 2; }
  .ci-sum { text-align: left; min-width: 0; font-size: 15px; }
  .ci .qty { justify-self: start; }
  .ci-r { display: flex; justify-content: space-between; align-items: center; grid-column: 2; }
  .cart-list { padding: 4px 12px; }
  .ftr { padding-top: 26px; }
  .ftr-in { grid-template-columns: 1fr; gap: 20px; }
  .mdl { align-self: flex-end; border-radius: 18px 18px 0 0; width: 100%; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .ovl { padding: 0; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-buybar .toast { bottom: calc(136px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 10.5px; color: #8a94a6; font-weight: 500; }
  .tabbar a.act { color: var(--blue); }
  .tabbar .cnt { right: calc(50% - 22px); top: 2px; }
  .panel { padding: 18px; }
}
@media (min-width: 761px) { .ci-r { display: contents; } }

/* stores availability */
.st-sum { margin: -6px 0 14px; color: var(--muted); }
.st-sum b { color: var(--teal); }
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.store { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.st-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 20px; }
.st-main { min-width: 0; }
.st-main b { display: block; }
.st-main span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.st-main a { color: var(--blue); }
.st-badge { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.store.in .st-badge { background: #e3f8f1; color: #00936a; }
.store.low .st-badge { background: #fff1e6; color: #d35e00; }
.store.out { opacity: .6; }
.store.out .st-badge { background: var(--bg); color: var(--muted); }
@media (max-width: 760px) { .stores { grid-template-columns: 1fr; } .store { padding: 10px 12px; } }


/* ===== Chargery brand ===== */
.logo-img { height: 46px; width: auto; display: block; }
.ftr .logo-img { height: 54px; }
.btn-cat { background: var(--yellow); color: #111; }
.btn-cat:hover { background: var(--teal-d); }
.srch input { border-color: var(--yellow); }
.srch button { background: var(--yellow); color: #111; }
.srch button:hover { background: var(--teal-d); }
.hi:hover { color: #111; }
.hi:hover .ic { color: var(--teal-d); }
.hi .cnt, .tabbar .cnt { background: var(--yellow); color: #111; }
.subnav a:hover { color: #111; }
.subnav a.hot { color: #111; }
.subnav a.hot::before { background: var(--yellow); color: #111; }
.mega-list a.act, .mega-list a:hover { color: #111; box-shadow: inset 3px 0 0 var(--yellow); }
.mega-brands a:hover, .pc-title:hover, .ci-name:hover, .crumbs a:hover { color: var(--orange); }
.sec-h a { color: #111; font-weight: 600; border-bottom: 2px solid var(--yellow); padding-bottom: 1px; }
.btn-teal, .btn-orange { color: #111; }
.btn-teal:hover { background: var(--teal-d); }
.btn-orange { background: var(--yellow); }
.pc-btns .btn-teal.in { background: #111; color: var(--yellow); }
.pc-price, .sugg b, .mega-prods b { color: #111; }
.pc-badge { background: #111; color: #fff; }
.pc-badge.sale { background: var(--yellow); color: #111; }
.pc-badge.new { background: #16a34a; }
.pc-inst { border-color: var(--yellow); color: var(--orange); background: var(--yellow-l); }
.pc-acts button:hover { color: #111; }
.pc-acts button.on[data-cmp] { color: var(--teal-d); }
.pp-price { color: #111; }
.pp-save { color: #16a34a; }
.pp-props .ok { color: #16a34a; }
.inst-pay { border-color: var(--yellow); background: var(--yellow-l); }
.inst-pay b { color: #111; }
.inst-months button.act, .seg button.act { color: #111; box-shadow: 0 2px 8px rgba(0,0,0,.08), inset 0 -2px 0 var(--yellow); }
.chips button.on { background: #111; color: #fff; }
.chk input { accent-color: #111; }
.sel { border-color: #111; color: #111; }
.range input::-webkit-slider-thumb { border-color: #111; }
.range input::-moz-range-thumb { border-color: #111; }
.gal-th button.act { border-color: var(--yellow); }
.gal-dots i.act { background: var(--yellow); }
.perk .em, .cat-tile .em { background: var(--yellow-l); }
.cat-tile:hover { color: #111; box-shadow: var(--sh), inset 0 -3px 0 var(--yellow); }
.pp-tabs a:hover { color: #111; box-shadow: inset 0 -2px 0 var(--yellow); }
.st-sum b { color: #16a34a; }
.toast a { color: var(--yellow); }
.slide-txt .btn { background: var(--yellow); color: #111; }
.slide-txt h3 span { color: var(--yellow); }
.dots button.act { background: var(--yellow); }
.step.done i, .step.done::before { background: #111; }
.step.done i { color: var(--yellow); }
.contact-list a:hover { box-shadow: inset 3px 0 0 var(--yellow); }
.empty-state .big { filter: grayscale(.2); }
/* footer — black like the brand */
.ftr { background: #111; border-top: 4px solid var(--yellow); color: #c9c9c9; }
.ftr h4 { color: #fff; }
.ftr p { color: #9a9a9a; }
.ftr ul a { color: #cfcfcf; } .ftr ul a:hover { color: var(--yellow); }
.ftr .phone { color: var(--yellow); }
.soc a { background: #222; } .soc a:hover { background: #333; }
.ftr-copy { border-top-color: #2a2a2a; color: #8a8a8a; }
@media (max-width: 760px) {
  .logo-img { height: 36px; }
  .srch input { border-color: var(--bg); }
  .srch input:focus { border-color: var(--yellow); }
  .tabbar a.act { color: #111; }
  .tabbar a.act .ic { color: #111; }
  .tabbar a.act::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--yellow); }
}

/* form validation */
.form input.bad, .form textarea.bad { border-color: #e5383b !important; background: #fff5f5; box-shadow: 0 0 0 3px rgba(229,56,59,.12); }
.ferr { color: #d62828; font-size: 12px; font-weight: 500; }
