
/* ---------- 1. Tokens ---------- */
:root {
  --ink: #1a1a1a;
  --ink-soft: #333;
  --muted: #5c5c5c;
  --blue: #006196;
  --blue-dark: #004a73;
  --sky: #e6f2f8;
  --sky-btn: #9fd0f7;
  --soft: #f4f4f4;
  --line: #dedede;
  --field: #8a8a8a;
  --sand: #f7e8c8;
  --danger: #b3261e;
  --success: #0b6b38;
  --success-bg: #e7f5ec;
  --wa: #128c4a;
  --star-color: #f2a900;
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1680px;
  --gutter: clamp(16px, 3vw, 32px);
  font-family: "MTN Brighter Sans Regular", sans-serif !important;
}
@font-face {
  font-family: "MTN Brighter Sans Regular";
  src: url("https://db.onlinewebfonts.com/t/4baee4a2550da10078fd0d6dd9440bc1.eot");
  src: url("https://db.onlinewebfonts.com/t/4baee4a2550da10078fd0d6dd9440bc1.eot?#iefix")format("embedded-opentype"),
      url("https://db.onlinewebfonts.com/t/4baee4a2550da10078fd0d6dd9440bc1.woff2")format("woff2"),
      url("https://db.onlinewebfonts.com/t/4baee4a2550da10078fd0d6dd9440bc1.woff")format("woff"),
      url("https://db.onlinewebfonts.com/t/4baee4a2550da10078fd0d6dd9440bc1.ttf")format("truetype"),
      url("https://db.onlinewebfonts.com/t/4baee4a2550da10078fd0d6dd9440bc1.svg#MTN Brighter Sans Regular")format("svg");
}

body {
  font-family: "MTN Brighter Sans Regular", sans-serif !important;
  font-weight: 300;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
strong,
u,
b,
em {

  font-family: "MTN Brighter Sans Regular", sans-serif !important;
}
/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%;  scroll-behavior: smooth; }
[x-cloak] { display: none !important; }
body { margin: 0; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
input, select, textarea { font: inherit; color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input[type=search] { -webkit-appearance: none; appearance: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
body.no-scroll { overflow: hidden; }   /* set while the mobile menu is open */

/* ---------- 3. Layout helpers ---------- */
.wrap, .product_page { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* ---------- 4. Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 26px; border: 2px solid transparent; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky); border-color: var(--sky); }
.btn--wa { background: #fff; border-color: var(--wa); color: var(--success); }
.btn--wa:hover { background: var(--wa); color: #fff; }

/* ---------- 5. Header ---------- */
.brandbar { background: var(--soft); font-size: 13px; }
.brandbar .wrap { display: flex; gap: 24px; padding-block: 8px; }
.brandbar a:hover { text-decoration: underline; }

.header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding-block: 14px; }
.logo { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.logo span { color: var(--ink); }
.logo img{
  height: 80px;
}
.search { display: flex; justify-content: space-between; min-width: 0; border: 1px solid var(--field); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.search input { min-width: 0; width: 95%; padding: 12px 20px; border: 0; outline: 0; background: transparent; }
.search input::placeholder { font-style: italic; color: #767676; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.search button { padding: 0 18px; border: 0; background: transparent; width: 5%;}

.actions { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin-left: auto; font-size: 14px; }
.act { display: flex; align-items: center; gap: 10px; line-height: 1.25; }
.act > span { display: flex; flex-direction: column; }
.act b { font-weight: 500; }
.act small { color: var(--muted); font-size: 13px; font-weight: 400; }
.act:hover > span { text-decoration: underline; }
.signin { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-sm); background: var(--sky-btn); color: #0b2a40; font-weight: 600; white-space: nowrap; }
.signin:hover { background: #86c3f2; }

/* ---------- 6. Category nav + mega menu ---------- */
.nav > ul { display: flex; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
.nav > ul::-webkit-scrollbar { display: none; }
.nav > ul > li { display: flex; flex: 0 0 auto; position: static; }   /* static: the mega menu positions against .header */
.nav > ul > li > a { display: flex; align-items: center; justify-content: center; min-height: 64px; max-width: 160px; padding: 10px 16px; border-bottom: 2px solid transparent; font-size: 14px; line-height: 1.5; text-align: center; transition: border-color .15s; }
.nav > ul > li:hover > a,
.nav > ul > li:focus-within > a { border-color: var(--ink); }
.nav a:focus-visible { outline-offset: -3px; }
.nav .is-deal, .dnav .is-deal { color: var(--danger); }

.mega { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 160px); overflow-y: auto; padding: 32px 0 40px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); }
.nav > ul > li:hover .mega,
.nav > ul > li:focus-within .mega { display: block; }
.mega__inner { display: grid; grid-template-columns: 1fr clamp(220px, 20vw, 300px); gap: 48px; align-items: start; }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px; padding-right: 48px; border-right: 1px solid var(--line); }
.mega__col { display: flex; flex-direction: column; }
.mega__col a { padding: 5px 0; font-size: 14px; }
.mega__col a:hover { text-decoration: underline; }
.mega__col .mega__head { margin-bottom: 6px; font-size: 16px; font-weight: 600; }
.mega__promo { display: block; }
.mega__promo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.mega__promo b { display: block; margin-top: 12px; font-size: 16px; font-weight: 600; }
.mega__promo:hover b { text-decoration: underline; }

/* ---------- 6b. Mobile menu: burger button + slide-in drawer ---------- */
/* Hidden everywhere by default. The 960px block in section 13 switches it on. */
.burger { display: none; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; }
.burger:hover { background: var(--soft); }
.drawer-backdrop { display: none; }
.drawer { display: none; flex-direction: column; background: #fff; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 800; }
.drawer__close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; }
.drawer__close:hover { background: var(--soft); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 16px; }
.drawer__foot { padding: 16px; border-top: 1px solid var(--line); }
.drawer__foot .btn { width: 100%; }

/* nested list: category > subcategory > product */
.dnav > li { border-bottom: 1px solid var(--line); }
.dnav__row { display: flex; align-items: stretch; }
.dnav__link { display: flex; flex: 1; align-items: center; min-height: 52px; padding: 10px 16px; font-weight: 600; }
.dnav__link:hover { background: var(--soft); }
.dnav__toggle { display: grid; place-items: center; width: 52px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--muted); }
.dnav__toggle svg { transition: transform .15s; }
.dnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dnav__sub { background: var(--soft); }
.dnav__sub .dnav__link { min-height: 46px; padding-left: 32px; font-size: 15px; font-weight: 500; }
.dnav__sub .dnav__toggle { width: 46px; }
.dnav__sub--2 .dnav__link { padding-left: 48px; font-size: 14px; font-weight: 400; }
.dnav__sub .dnav__all { font-weight: 700; color: var(--blue); }

/* ---------- 7. Home: promo strip, hero, trust bar ---------- */
.promo { background: var(--sky); text-align: center; font-size: 14px; }
.promo .wrap { padding-block: 10px; }
.promo a { margin-left: 10px; font-weight: 600; text-decoration: underline; }

.hero { background: var(--soft); }
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(20px, 3vw, 40px); padding-block: 10px; }
.hero h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.hero p { margin: 18px 0 28px; max-width: 46ch; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; overflow: hidden; aspect-ratio: 16 / 5; border-radius: var(--radius); background: #e3e3e3; }
.hero__media a { display: block; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.dots button.is-on { background: var(--ink); }

.trust { border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 22px; }
.trust b { display: block; font-size: 15px; }
.trust span { color: var(--muted); font-size: 14px; }

/* ---------- 8. Home: sections, rows, tiles, cards ---------- */
.section { padding: clamp(32px, 5vw, 48px) 0; }
.section--soft { background: var(--soft); }
.section__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.section__head h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.01em; }
.link { font-weight: 700; text-decoration: underline; }
.arrows { display: flex; gap: 8px; margin-left: auto; }
.arrows button { width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; }
.arrows button:hover { background: var(--ink); color: #fff; }

.row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.row::-webkit-scrollbar { display: none; }
.row > * { flex: 0 0 auto; scroll-snap-align: start; }

.tile { width: clamp(140px, 17vw, 220px); }
.tile__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #e9e9e9; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile__label { display: block; margin-top: 10px; font-weight: 700; }
.tile:hover .tile__label { text-decoration: underline; }

.card { display: block; width: clamp(160px, 19vw, 240px); }
.card__img { display: block; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.section--soft .card__img { border-color: transparent; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__name { display: block; margin-top: 10px; font-weight: 700; }
.card:hover .card__name { text-decoration: underline; }
.card__price { display: block; color: var(--muted); font-size: 14px; }
.card__rating { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.card__rating small { color: var(--muted); font-size: 13px; }

.stars {
  --r: 0%;
  --star-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'%3E%3Cpath d='M8 0l2.2 4.6 5 .6-3.7 3.4 1 5L8 11.1 3.5 13.6l1-5L.8 5.2l5-.6z'/%3E%3C/svg%3E");
  position: relative; display: inline-block; width: 80px; height: 14px;
  background: linear-gradient(90deg, var(--star-color) var(--r), #d4d4d4 var(--r));
  -webkit-mask: var(--star-shape) 0 0 / 16px 14px repeat-x;
          mask: var(--star-shape) 0 0 / 16px 14px repeat-x;
}

.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.banner { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; min-height: clamp(240px, 26vw, 320px); padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); }
.banner small { font-weight: 600; }
.banner h3 { max-width: 16ch; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.banner p { margin: 0 0 8px; max-width: 36ch; }
.banner--blue { background: var(--blue); color: #fff; }
.banner--sand { background: var(--sand); }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.service { display: block; overflow: hidden; border-radius: var(--radius); background: #fff; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service b { display: block; padding: 14px 16px; }
.service:hover b { color: var(--blue); text-decoration: underline; }

.video { width: clamp(220px, 24vw, 280px); }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.video b { display: block; margin-top: 8px; font-size: 15px; }
.video small { color: var(--muted); }
.skeleton { width: clamp(220px, 24vw, 280px); height: 190px; border-radius: var(--radius); background: linear-gradient(90deg, #eee, #f7f7f7, #eee) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.about h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.about h3 { margin-bottom: 6px; font-size: 18px; }
.about p { max-width: 70ch; color: var(--ink-soft); }
.about .wrap { display: flex; justify-content: center; }
.about__cols { display: flex; flex-direction: column; align-items: start; justify-content: center; margin-top: 3rem; padding: 8px 25px; }

/* ---------- 9. Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 40px; }
.footer h4 { margin-bottom: 12px; font-size: 16px; }
.footer li { margin-bottom: 8px; font-size: 14px; }
.footer li a:hover { text-decoration: underline; }
.footer p { margin: 0; font-size: 14px; color: var(--muted); }
.footer__base { background: var(--soft); font-size: 13px; }
.footer__base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-block: 16px; }
.footer__base a { margin-left: 14px; }

/* ---------- 10. Shop and category pages ---------- */
.crumbs { border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.crumbs .wrap { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs b { color: var(--ink); font-weight: 600; }

.pagehead { padding: 20px 0 8px; }
.pagehead h1 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.pagehead p { margin: 10px 0 0; max-width: 62ch; font-size: 17px; color: var(--ink-soft); }

.listing { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 24px; padding-bottom: 64px; }

/* sidebar: parent categories with collapsible children */
.filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.filters h2 { margin-bottom: 10px; font-size: 16px; }
.filters li a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 15px; }
.filters li a:hover { background: var(--soft); }
.filters li a.is-active { background: var(--sky); color: var(--blue-dark); font-weight: 700; }

/* filter form inside .filters */
.filterbox form { display: grid; gap: 20px; }
.filterbox__label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.filterbox__range { display: flex; gap: 8px; }
.filterbox input[type=number], .filterbox select { width: 100%; min-width: 0; padding: 10px 14px; border: 1px solid var(--field); border-radius: 999px; background: #fff; }
.filterbox input[type=number]:focus, .filterbox select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.filterbox__check { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; }
.filterbox__check input { width: 18px; height: 18px; accent-color: var(--blue); }
.pagehead + .hero__media { margin-top: 16px; }

/* .gallery .swiper-slide .gallery__main img { object-fit: cover; } */
/* subcategory item count under the .service label */
.service small { display: block; margin-top: -8px; padding: 0 16px 14px; color: var(--muted); font-size: 13px; }

/* pagination */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.pager a:hover { border-color: var(--ink); }
.pager .is-current { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 700; }
.pager .is-disabled { color: #bbb; }
.pager .is-gap { border: 0; }

@media (max-width: 960px) { .filters.filterbox { max-height: none; overflow: visible; } }   /* the form shouldn't scroll inside a small box */
@media (max-width: 640px) { .filterbox input, .filterbox select { font-size: 16px; } }       /* stops iOS zoom */

.tree__row { display: flex; align-items: center; }
.tree__row > a { flex: 1; }
.tree__toggle { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--muted); }
.tree__toggle:hover { background: var(--soft); color: var(--ink); }
.tree__toggle svg { transition: transform .15s; }
.tree__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.tree__sub { margin: 2px 0 8px 14px; border-left: 2px solid var(--line); }
.tree__sub a { font-size: 14px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.toolbar__count { margin: 0 auto 0 0; font-weight: 700; }
.field { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.field input, .field select { padding: 10px 14px; border: 1px solid var(--field); border-radius: 999px; background: #fff; }
.field input { min-width: 240px; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 20px; transition: opacity .15s; }
.grid.is-loading { opacity: .5; }
.grid .card { width: auto; }

.more { margin-top: 40px; text-align: center; }
.more p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.empty { padding: 64px 16px; border-radius: var(--radius); background: var(--soft); text-align: center; }
.empty h2 { font-size: 22px; }
.empty p { margin: 8px 0 20px; color: var(--muted); }

/* ---------- 11. Item page ---------- */
.product { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; padding-top: 10px; padding-bottom: 56px; }

.gallery__main { /* aspect-ratio: 1; */ overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.gallery__main img { width: auto; height: auto; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery__thumbs button { flex: 0 0 76px; height: 76px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--radius-sm); background: var(--soft); }
.gallery__thumbs button.is-on { border-color: var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy { position: sticky; top: 16px; }
.buy h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.01em; }
.buy__from { margin: 14px 0 4px; font-size: 16px; }
.buy__from b { font-size: 22px; }
.buy__from small { margin-left: 6px; color: var(--muted); }
.buy__summary { margin: 10px 0 0; color: var(--ink-soft); }
.buy__actions { display: grid; gap: 12px; }

/* options: size inputs, choice chips, quantity stepper */
.opt { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.opt legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.opt__size { display: flex; align-items: flex-end; gap: 12px; }
.opt__size label { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; color: var(--muted); }
.opt__size input { width: 100%; padding: 12px 14px; border: 1px solid var(--field); border-radius: 10px; background: #fff; color: var(--ink); }
.opt__size input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.opt__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__btn { padding: 9px 16px; border: 1px solid var(--field); border-radius: var(--radius-sm); background: #fff; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.opt__btn:hover { border-color: var(--ink); }
.opt__btn.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); font-weight: 700; }

.qty { display: inline-flex; align-items: stretch; overflow: hidden; border: 1px solid var(--field); border-radius: 999px; }
.qty:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.qty button { width: 46px; border: 0; background: #fff; font-size: 20px; }
.qty button:hover:not(:disabled) { background: var(--soft); }
.qty button:disabled { color: #bbb; cursor: not-allowed; }
.qty input { width: 76px; padding: 12px 0; border: 0; border-inline: 1px solid var(--line); outline: 0; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.error { margin: 8px 0 0; font-size: 14px; color: var(--danger); }
.total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; margin: 26px 0 18px; padding: 18px 20px; border-radius: var(--radius); background: var(--soft); }
.total span { color: var(--muted); }
.total b { font-size: 26px; }
.total small { grid-column: 2; text-align: right; color: var(--muted); }
.added { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--success-bg); color: var(--success); font-weight: 600; }

.perks { display: grid; gap: 8px; margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.perks li { position: relative; padding-left: 22px; }
.perks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 8px; height: 4px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.tabs { display: flex; gap: 28px; margin-bottom: 24px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs button { flex: 0 0 auto; margin-bottom: -1px; padding: 12px 0; border: 0; border-bottom: 3px solid transparent; background: none; font-weight: 700; color: var(--muted); }
.tabs button.is-on { border-color: var(--blue); color: var(--ink); }
.prose { max-width: 72ch; line-height: 1.65; }
.prose ol { padding-left: 20px; }

/* ---------- 12. Services pages ---------- */
.svc-page { overflow: hidden; }
.svc-eyebrow { display: inline-block; margin-bottom: 12px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--blue); }

.svc-hero { padding: 38px 0; background: linear-gradient(110deg, #f3f8fb 0%, #fff 65%); }
.svc-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.svc-hero__copy h1,
.svc-detail-hero__copy h1 { margin: 0 0 18px; font-size: clamp(34px, 4.2vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; }
.svc-hero__copy > p,
.svc-detail-hero__copy > p { max-width: 52ch; font-size: 17px; line-height: 1.75; color: #444f5d; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.svc-hero__visual { position: relative; min-height: 350px; overflow: hidden; border-radius: 18px; background: var(--sky); }
.svc-hero__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-hero__floating { position: absolute; top: 18px; right: 18px; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 10px; background: var(--blue); color: #fff; box-shadow: 0 8px 24px #0002; }
.svc-hero__floating span { font-size: 11px; letter-spacing: .12em; }
.svc-hero__floating strong { font-size: 19px; }
.svc-hero__placeholder,
.svc-card__placeholder { display: grid; place-content: center; min-height: 240px; padding: 24px; background: var(--sky); color: var(--blue); font-size: 24px; font-weight: 800; text-align: center; }
.svc-hero__trust { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 30px; font-size: 12px; font-weight: 600; color: #344354; }
.svc-hero__trust b { margin-right: 5px; color: var(--blue); }

.svc-benefits { background: #fff; border-block: 1px solid var(--line); }
.svc-benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.svc-benefits__grid > div { display: flex; align-items: center; gap: 14px; padding: 23px 24px; }
.svc-benefits__grid > div + div { border-left: 1px solid var(--line); }
.svc-benefits__grid b { display: block; font-size: 14px; }
.svc-benefits__grid p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.svc-benefit__icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #c9e0ee; border-radius: 50%; color: var(--blue); font-size: 20px; }

.svc-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.svc-section-heading h2,
.svc-description h2,
.svc-consult h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.svc-section-heading p { margin: 10px 0 0; color: var(--muted); }
.svc-count { padding: 8px 12px; border-radius: 999px; background: var(--sky); color: var(--blue-dark); font-size: 12px; font-weight: 700; white-space: nowrap; }
.svc-listing { padding-top: 64px; padding-bottom: 76px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.svc-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-4px); border-color: #c2dbea; box-shadow: 0 12px 30px #163e5810; }
.svc-card__image { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky); }
.svc-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.svc-card:hover .svc-card__image img { transform: scale(1.04); }
.svc-card__placeholder { height: 100%; min-height: 0; font-size: 20px; }
.svc-card__arrow { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--blue); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.svc-card:hover .svc-card__arrow { opacity: 1; transform: none; }
.svc-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 4px; }
.svc-card__body h3 { margin: 0 0 2px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.svc-card__body p { margin: 0 0 5px; font-size: 12px; line-height: 1.3; color: var(--muted); }
.svc-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 12px; font-weight: 600; color: var(--blue); }
.svc-card:hover .svc-card__link { text-decoration: underline; }

.svc-consult { padding-top: 0; padding-bottom: 64px; }
.svc-consult__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 40px; border-radius: 16px; background: var(--sand); }
.svc-consult__inner p { max-width: 60ch; margin: 10px 0 0; color: #4c4c4c; }
.svc-consult__inner .btn,
.svc-final-cta__inner .btn { flex-shrink: 0; }

.svc-detail-hero { padding: 42px 0; }
.svc-detail-hero__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.svc-detail-hero__copy h1 { font-size: clamp(32px, 4vw, 54px); }
.svc-detail-hero__media { height: 360px; overflow: hidden; border-radius: 16px; background: var(--sky); }
.svc-detail-hero__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.svc-checklist { display: grid; gap: 13px; margin: 24px 0; padding: 0; list-style: none; }
.svc-checklist li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.svc-checklist li span { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--sky); color: var(--blue); font-weight: 800; }

.svc-description { padding-block: 60px; }
.svc-description__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.svc-description__main h2 { margin-bottom: 20px; }
.svc-rich-content { line-height: 1.8; color: #444; overflow-wrap: anywhere; }
.svc-rich-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.svc-rich-content h2,
.svc-rich-content h3 { color: var(--ink); line-height: 1.3; }
.svc-description__aside { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.svc-description__aside h3 { margin: 0 0 12px; font-size: 22px; }
.svc-description__aside p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.svc-description__aside .btn { width: 100%; margin-top: 10px; }

.svc-varieties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-variety { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.svc-variety__number { font-size: 13px; font-weight: 800; color: var(--blue); }
.svc-variety h3 { margin: 18px 0 8px; font-size: 18px; }
.svc-variety p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }

.svc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.svc-steps article { padding: 10px 24px 10px 0; }
.svc-steps article > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; }
.svc-steps h3 { margin: 0 0 8px; font-size: 18px; }
.svc-steps p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }

.svc-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-related-products .card { flex-shrink: 0; }

.svc-final-cta { padding-top: 0; padding-bottom: 60px; }
.svc-final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 40px; border-radius: 14px; background: linear-gradient(115deg, var(--blue), var(--blue-dark)); color: #fff; }
.svc-final-cta__inner h2 { margin: 0; font-size: clamp(23px, 3vw, 32px); }
.svc-final-cta__inner p { margin: 8px 0 0; color: #e1eff7; }
/* variety card extras */
.svc-variety { display: flex; flex-direction: column; }
.svc-variety__icon { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; background: var(--sky); color: var(--blue); }
.svc-variety__icon img { width: 100%; height: 100%; object-fit: cover; }
.svc-variety__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: 16px 0 8px; }
.svc-variety__head h3 { margin: 0; }
.svc-variety p { flex: 1; }
.svc-variety__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-variety__foot .btn { margin-left: auto; }
.svc-variety__price small { display: block; color: var(--muted); font-size: 12px; }
.svc-variety__price b { font-size: 20px; }

/* sticky category tabs (reuses .tabs) */
.svc-tabs { position: sticky; top: 0; z-index: 20; background: #fff; border-block: 1px solid var(--line); }
.svc-tabs .tabs { margin: 0; border: 0; }
.svc-group { scroll-margin-top: 64px; }
.svc-group + .svc-group { margin-top: 48px; }

/* =====================================================================
   13. Responsive: every breakpoint lives here, widest first
   ===================================================================== */

/* ---- laptop / small desktop ---- */
@media (max-width: 1200px) {
  .nav > ul > li > a { padding: 10px 12px; }
  .mega__inner { grid-template-columns: 1fr; }
  .mega__promo { display: none; }
  .mega__cols { padding-right: 0; border-right: 0; }
  .listing { grid-template-columns: 210px minmax(0, 1fr); gap: 28px; }
  .product { gap: 32px; }
  .svc-description__grid { gap: 40px; }
}

/* ---- tablet ---- */
@media (max-width: 960px) {
  .brandbar { display: none; }
  .mega { display: none !important; }   /* hover menus do not work on touch: categories stay reachable through the nav bar and /shop */

  /* header: logo + icon actions on row 1, full-width search on row 2 */
  .header__row { flex-wrap: wrap; gap: 12px 14px; padding-block: 12px; }
  .logo { font-size: 28px; }
  .logo img{
    height: 60px;
  }
  /* .search { order: 3; flex: 1 1 100%; } */
  /* .sbox { order: 3; flex: 1 1 100%; }  */
  .actions { gap: 14px; }
  .burger { display: grid; }

  /* slide-in menu: closed by default, 80% of the screen from the right when open */
  .drawer-backdrop { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .5); }
  .drawer { display: flex; position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: 80%; max-width: 480px; box-shadow: -8px 0 24px rgba(0, 0, 0, .18); transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s .28s; }
  .drawer.is-open { transform: none; visibility: visible; transition: transform .28s ease; }
  .act > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* icon only, label stays for screen readers */

  /* category nav becomes a swipeable bar */
  .nav > ul { justify-content: flex-start; }
  .nav > ul > li > a { min-height: 48px; max-width: none; padding: 8px 14px; white-space: nowrap; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16 / 7; }
  .about .wrap { flex-direction: column; align-items: flex-start; }
  .about__cols { margin-top: 1.5rem; padding: 0; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  /* shop */
  .listing, .product { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; max-height: 14rem; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
  .field input { min-width: 0; width: 100%; }
  .field--search { flex: 1 1 100%; order: 3; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 14px; }
  .buy { position: static; }

  /* services */
  .svc-hero__grid, .svc-detail-hero__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .svc-grid, .svc-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-description__grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
  .svc-steps { gap: 18px; }
}

/* ---- phone ---- */
@media (max-width: 640px) {
  .nav{ display: none;  }
  .promo { font-size: 13px; }
  .search input, .field input, .field select, .opt__size input, .qty input { font-size: 16px; }   /* 16px stops iOS zooming into inputs */
  .signin { gap: 0; padding: 10px; border-radius: 50%; font-size: 0; }   /* icon-only sign in */
  .hero__grid { display: flex; flex-direction: column-reverse; }
  .hero__media { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); }
  .hero__cta .btn { flex: 1 1 100%; }
  .trust .wrap { grid-template-columns: 1fr; gap: 12px; padding-block: 16px; }

  .section__head { flex-wrap: wrap; gap: 8px 14px; }
  .row { gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }   /* rows bleed to the screen edge */
  .banners { grid-template-columns: 1fr; gap: 16px; }
  .banner { min-height: 220px; }
  .services { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
  .footer__base .wrap { flex-direction: column; }
  .footer__base a { margin: 0 14px 0 0; }

  .crumbs .wrap { gap: 6px; }
  .toolbar { gap: 10px; }
  .toolbar__count { flex: 1 0 100%; }
  .field:not(.field--search) { flex: 1; }
  .field select { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }

  .gallery__thumbs button { flex-basis: 64px; height: 64px; }
  .opt__size { gap: 8px; }
  .total { padding: 14px 16px; }
  .total b { font-size: 22px; }
  .tabs { gap: 20px; }

  .svc-hero, .svc-detail-hero { padding: 28px 0; }
  .svc-hero__grid, .svc-detail-hero__grid, .svc-description__grid { grid-template-columns: 1fr; }
  .svc-hero__copy h1, .svc-detail-hero__copy h1 { font-size: 36px; }
  .svc-hero__visual { min-height: 260px; }
  .svc-detail-hero__media, .svc-detail-hero__media img { min-height: 260px; }
  .svc-hero__trust { gap: 10px 14px; }
  .svc-benefits__grid { grid-template-columns: 1fr; }
  .svc-benefits__grid > div { padding: 16px 0; }
  .svc-benefits__grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .svc-listing, .svc-description { padding-block: 42px; }
  .svc-section-heading { align-items: flex-start; }
  .svc-section-heading h2 { font-size: 27px; }
  .svc-count { font-size: 11px; }
  .svc-grid { gap: 16px 12px; }
  .svc-card__body { padding: 12px; }
  .svc-card__body h3 { font-size: 15px; }
  .svc-card__body p, .svc-card__link { font-size: 12px; }
  .svc-consult__inner, .svc-final-cta__inner { flex-direction: column; align-items: stretch; padding: 26px 22px; }
  .svc-varieties, .svc-steps { grid-template-columns: 1fr; }
  .svc-related-grid { gap: 14px; }
}

/* ---- small phone ---- */
@media (max-width: 400px) {
  .logo { font-size: 24px; }
  .logo img{
    height: 40px;
  }
  .header__row { gap: 10px; }
  .actions { gap: 10px; }
  .svc-hero__copy h1, .svc-detail-hero__copy h1 { font-size: 30px; }
  .listing { display: flex; flex-direction: column-reverse; }
  .filters { max-height: 100%; }
}

/* ---- touch devices: no hover, so show hover-only controls ---- */
@media (hover: none) {
  .arrows { display: none; }   /* rows are swiped instead */
  .svc-card__arrow { opacity: 1; transform: none; }
}

/* ---- accessibility: one reduced-motion rule for the whole site ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* cart */
/* =====================================================================
   Cart sidebar  (append to the main stylesheet, after the tokens)
   Uses: --ink --muted --blue --blue-dark --sky --soft --line --field
         --danger --success --success-bg --radius --radius-sm
         plus existing .btn, .btn--primary, .btn--ghost, .btn--wa, .qty, .error, .link
   ===================================================================== */

   .cart { position: relative; z-index: 200; }

   /* ---------- backdrop + panel (slide in from the right) ---------- */
   .cart__backdrop {
     position: fixed; inset: 0; z-index: 1;
     background: rgba(0, 0, 0, .5);
     opacity: 0; transition: opacity .28s ease;
   }
   .cart__backdrop.is-open { opacity: 1; }
   
   .cart__panel {
     position: fixed; top: 0; right: 0; bottom: 0; z-index: 2;
     display: flex; flex-direction: column;
     width: 100%; max-width: 440px;
     background: #fff;
     box-shadow: -8px 0 24px rgba(0, 0, 0, .18);
     transform: translateX(100%);
     transition: transform .28s ease;
   }
   .cart__panel.is-open { transform: none; }
   
   /* ---------- header ---------- */
   .cart__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 14px 20px; border-bottom: 1px solid var(--line); }
   .cart__head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
   .cart__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--sky); color: var(--blue-dark); font-size: 13px; font-weight: 700; }
   .cart__close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; }
   .cart__close:hover { background: var(--soft); }
   
   /* ---------- scrollable body ---------- */
   .cart__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
   
   /* ---------- alerts ---------- */
   .cart__alert { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 14px 16px; border: 1px solid; border-radius: var(--radius-sm); }
   .cart__alert p { margin: 0; font-weight: 600; }
   .cart__alert--ok { border-color: #b9e0c8; background: var(--success-bg); color: var(--success); }
   .cart__alert--err { border-color: #f0c4c1; background: #fdeceb; color: var(--danger); }
   
   /* ---------- items ---------- */
   .cart__items { display: flex; flex-direction: column; }
   .cart__item { padding: 18px 0; border-bottom: 1px solid var(--line); }
   .cart__item:first-child { padding-top: 0; }
   .cart__item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
   .cart__item-info h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
   .cart__item-info p { margin: 4px 0 0; font-size: 14px; }
   .cart__remove { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); }
   .cart__remove:hover { background: #fdeceb; color: var(--danger); }
   
   .cart__dims { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
   .cart__dims label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
   .cart__dims input { width: 100%; padding: 10px 12px; border: 1px solid var(--field); border-radius: 10px; background: #fff; color: var(--ink); }
   .cart__dims input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
   .cart__dims input.is-invalid { border-color: var(--danger); background: #fdeceb; }
   
   .cart__item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
   .cart__item-total { display: flex; flex-direction: column; align-items: flex-end; }
   .cart__item-total b { font-size: 16px; }
   
   /* compact variant of the existing quantity stepper */
   .qty--sm button { width: 36px; font-size: 18px; }
   .qty--sm input { width: 52px; padding: 8px 0; }
   
   /* ---------- form sections ---------- */
   .cart__section { margin-top: 24px; }
   .cart__section h3 { font-size: 18px; font-weight: 800; }
   .cart__switch { margin: 6px 0 14px; font-size: 14px; }
   .cart__sub { margin-top: 6px; font-size: 15px; font-weight: 700; }
   .cart__form { display: grid; gap: 12px; }
   .cart__control { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
   .cart__label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
   .cart__hint { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
   
   .cart__control input,
   .cart__select,
   .cart__textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--field); border-radius: 10px; background: #fff; color: var(--ink); }
   .cart__control input:focus,
   .cart__select:focus,
   .cart__textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
   .cart__control input::placeholder,
   .cart__textarea::placeholder { color: #767676; }
   .cart__textarea { resize: vertical; min-height: 84px; }
   
   .cart__file { width: 100%; padding: 10px; border: 1px dashed var(--field); border-radius: 10px; background: var(--soft); font-size: 14px; cursor: pointer; }
   .cart__file::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
   .cart__file::file-selector-button:hover { background: var(--blue-dark); }
   
   /* ---------- empty state ---------- */
   .cart__empty { display: flex; flex-direction: column; align-items: center; padding: 64px 16px; text-align: center; color: var(--muted); }
   .cart__empty h3 { margin-top: 16px; font-size: 20px; font-weight: 800; color: var(--ink); }
   .cart__empty p { margin: 6px 0 22px; }
   
   /* ---------- sticky footer ---------- */
   .cart__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -6px 16px rgba(0, 0, 0, .05); }
   .cart__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
   .cart__total span { color: var(--muted); }
   .cart__total b { font-size: 24px; letter-spacing: -.01em; }
   .cart__warn { margin: -4px 0 12px; }
   .cart__submit { width: 100%; min-height: 52px; font-size: 16px; }
   .cart__submit:disabled { background: #b8b8b8; cursor: not-allowed; opacity: 1; }
   .cart__loading { display: inline-flex; align-items: center; gap: 10px; }
   .cart__spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: cart-spin .7s linear infinite; }
   @keyframes cart-spin { to { transform: rotate(360deg); } }
   
   /* ---------- phones ---------- */
   @media (max-width: 640px) {
     .cart__panel { max-width: none; }
     .cart__body { padding: 16px; }
     .cart__foot { padding-inline: 16px; }
     .cart__control input, .cart__select, .cart__textarea, .cart__dims input { font-size: 16px; }   /* stops iOS zoom */
   }