/* ==========================================================
   SK ရွှေခေတ် Laptop Store — Customer site theme
   Bootstrap 5.3 + custom brand tokens
   Direction: local e-commerce — product-dense, white cards, brand yellow/charcoal
   ========================================================== */

/* ---------- 1. Brand tokens ---------- */
:root {
  --sk-yellow: #FCD800;        /* logo yellow */
  --sk-yellow-600: #E5C400;    /* hover */
  --sk-yellow-100: #FFF6C7;    /* soft tint */
  --sk-ink: #2E2E2E;           /* logo charcoal */
  --sk-ink-800: #1F1F1F;
  --sk-ink-900: #161616;
  --sk-ink-600: #4A4A4A;
  --sk-muted: #75726A;
  --sk-line: #E3E1DB;          /* hairline */
  --sk-line-soft: #ECE9E2;
  --sk-bg: #F4F4F1;            /* light page bg behind white cards */
  --sk-surface: #FFFFFF;
  --sk-tile: #FFFFFF;          /* product photo backdrop */
  --sk-success: #1E8E5A;
  --sk-warning: #C77700;
  --sk-danger: #C8372D;
  --sk-radius: 12px;
  --sk-radius-sm: 8px;
  --sk-ease: cubic-bezier(.22,.8,.24,1);
  --sk-shadow-sm: 0 1px 2px rgba(20,20,20,.05);
  --sk-shadow: 0 12px 32px -16px rgba(20,20,20,.22);

  /* Map onto Bootstrap variables */
  --bs-body-font-family: "Inter", "Noto Sans Myanmar", system-ui, sans-serif;
  --bs-body-color: var(--sk-ink);
  --bs-body-bg: var(--sk-bg);
  --bs-border-color: var(--sk-line);
  --bs-border-radius: var(--sk-radius-sm);
  --bs-link-color: var(--sk-ink);
  --bs-link-hover-color: #000;
  --bs-primary: #FCD800;
  --bs-primary-rgb: 252,216,0;
}

body { line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--sk-yellow); color: var(--sk-ink); }
/* Myanmar script needs taller line-height to avoid clipped stacked glyphs */
:lang(my), .my { line-height: 1.9; }
h1,h2,h3,h4,h5,.fw-display { font-weight: 800; letter-spacing: -.02em; line-height: 1.45; }
img { max-width: 100%; height: auto; }
.text-muted { color: var(--sk-muted) !important; }
.bg-ink { background: var(--sk-ink) !important; }
.bg-yellow { background: var(--sk-yellow) !important; }
.bg-yellow-soft { background: var(--sk-yellow-100) !important; }
.text-yellow { color: var(--sk-yellow) !important; }
.section { padding: 88px 0; }
@media (max-width: 767.98px) { .section { padding: 56px 0; } }
.section-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin-bottom: .25rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--sk-line); }
.section-head .section-title { margin: 0; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sk-muted); margin-bottom: .35rem; }
.kicker { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--sk-muted); margin-bottom: 1.25rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--sk-ink); text-decoration: none;
  border-bottom: 2px solid var(--sk-yellow); padding-bottom: 2px; white-space: nowrap; }
.link-arrow .bi { transition: transform .2s; }
.link-arrow:hover { color: #000; }
.link-arrow:hover .bi { transform: translateX(3px); }

/* ---------- 2. Buttons ---------- */
.btn { border-radius: 999px; font-weight: 700; padding: .68rem 1.4rem; }
.btn-lg { padding: .85rem 1.75rem; font-size: 1rem; }
.btn-sk {
  --bs-btn-bg: var(--sk-yellow); --bs-btn-color: var(--sk-ink-900); --bs-btn-border-color: var(--sk-yellow);
  --bs-btn-hover-bg: var(--sk-yellow-600); --bs-btn-hover-border-color: var(--sk-yellow-600); --bs-btn-hover-color: var(--sk-ink-900);
  --bs-btn-active-bg: var(--sk-yellow-600); --bs-btn-active-color: var(--sk-ink-900);
  --bs-btn-focus-shadow-rgb: 252,216,0;
}
.btn-ink {
  --bs-btn-bg: var(--sk-ink-800); --bs-btn-color: #fff; --bs-btn-border-color: var(--sk-ink-800);
  --bs-btn-hover-bg: #000; --bs-btn-hover-color: var(--sk-yellow); --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000; --bs-btn-active-color: var(--sk-yellow);
}
.btn-outline-ink {
  --bs-btn-color: var(--sk-ink); --bs-btn-border-color: var(--sk-ink); --bs-btn-bg: transparent;
  --bs-btn-hover-bg: var(--sk-ink-800); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--sk-ink-800);
  --bs-btn-active-bg: var(--sk-ink-800); --bs-btn-active-color: #fff;
}
.btn-messenger { --bs-btn-bg: #0866FF; --bs-btn-color:#fff; --bs-btn-border-color:#0866FF; --bs-btn-hover-bg:#0656d6; --bs-btn-hover-color:#fff; --bs-btn-hover-border-color:#0656d6; }
.btn-viber { --bs-btn-bg: #7360F2; --bs-btn-color:#fff; --bs-btn-border-color:#7360F2; --bs-btn-hover-bg:#5e4be0; --bs-btn-hover-color:#fff; --bs-btn-hover-border-color:#5e4be0; }
.btn-tiktok { --bs-btn-bg: #111; --bs-btn-color:#fff; --bs-btn-border-color:#111; --bs-btn-hover-bg:#000; --bs-btn-hover-color:#fff; --bs-btn-hover-border-color:#000; }
.btn:focus-visible, a:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 .22rem rgba(252,216,0,.55) !important; border-color: var(--sk-ink);
}
.form-check-input:checked { background-color: var(--sk-ink); border-color: var(--sk-ink); }
.form-range::-webkit-slider-thumb { background: var(--sk-ink); }
.form-range::-moz-range-thumb { background: var(--sk-ink); }

/* ---------- 3. Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; }
.header-main { background: var(--sk-ink-800); }
.header-main .container { min-height: 72px; }
.header-brand img { height: 44px; width: auto; display: block; }
.header-search { position: relative; display: flex; max-width: 640px; margin: 0 auto; }
.header-search .form-control { background: #fff; border: 0; color: var(--sk-ink); border-radius: 999px 0 0 999px; padding: .65rem 1rem .65rem 2.6rem; }
.header-search .form-control::placeholder { color: #8E8B84; }
.header-search .form-control:focus { box-shadow: none !important; }
.header-search .bi { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #8E8B84; z-index: 1; }
.header-search .btn { border-radius: 0 999px 999px 0; padding: .55rem 1.4rem; white-space: nowrap; flex-shrink: 0; }
.header-call { align-items: center; gap: .6rem; color: #fff; text-decoration: none; padding: .25rem .5rem; line-height: 1.25; white-space: nowrap; }
.header-call .bi { font-size: 1.3rem; color: var(--sk-yellow); }
.header-call small { display: block; font-size: .7rem; color: #A9A69D; }
.header-call:hover { color: var(--sk-yellow); }
.icon-btn { position: relative; color: #fff; font-size: 1.25rem; padding: .35rem .5rem; }
.icon-btn:hover { color: var(--sk-yellow); }
button.icon-btn { background: none; border: 0; border-radius: var(--sk-radius-sm); }
.icon-btn[aria-expanded="true"] { color: var(--sk-yellow); }
.icon-btn .badge { position: absolute; top: 0; right: -2px; background: var(--sk-yellow); color: var(--sk-ink); font-size: .65rem; }
.navbar-toggler { border: 0; color: #fff; padding: .25rem .5rem; }
.header-nav { background: #fff; border-bottom: 1px solid var(--sk-line); }
.header-nav .nav-link { position: relative; display: block; color: var(--sk-ink); font-weight: 600; font-size: .95rem; white-space: nowrap; padding: .7rem 1rem; line-height: 1.5; }
.header-nav li:first-child .nav-link { padding-left: 0; }
.header-nav .nav-link::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 3px; background: var(--sk-yellow); transform: scaleX(0); transition: transform .2s; }
.header-nav li:first-child .nav-link::after { left: 0; }
.header-nav .nav-link:hover::after, .header-nav .nav-link.active::after { transform: scaleX(1); }
.header-nav .nav-link.active { font-weight: 800; }
.header-nav-note { font-size: .82rem; color: var(--sk-muted); white-space: nowrap; }
.header-nav-note a { color: var(--sk-ink); font-weight: 600; }
.offcanvas.mobile-menu { background: var(--sk-ink-900); color: #fff; }
.offcanvas.mobile-menu .nav-link { color: #fff; font-size: 1.05rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }

/* ---------- 4. Home ---------- */
.home-top { padding-top: 20px; }
.home-block { padding-top: 40px; }
@media (min-width: 992px) { .home-block { padding-top: 56px; } }

/* Banner slider (Bootstrap carousel) */
.home-banner { border-radius: var(--sk-radius); overflow: hidden; }
.banner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; min-height: 400px; padding: 44px 64px; }
.banner--ink { background: var(--sk-ink-800); color: #fff; }
.banner--yellow { background: var(--sk-yellow); color: var(--sk-ink-900); }
.banner--light { background: #fff; color: var(--sk-ink); }
.banner-tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .02em; border-radius: 4px; padding: .2rem .6rem; margin-bottom: 1rem;
  background: var(--sk-yellow); color: var(--sk-ink-900); }
.banner--yellow .banner-tag { background: var(--sk-ink-800); color: var(--sk-yellow); }
.banner h1, .banner h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); line-height: 1.4; letter-spacing: -.025em; margin-bottom: .9rem; }
.banner--ink h1 span { color: var(--sk-yellow); }
.banner p { max-width: 460px; margin-bottom: 1.5rem; opacity: .85; }
.banner-product { position: relative; display: block; text-decoration: none; color: inherit; }
.banner-product img { display: block; width: 100%; max-width: 440px; margin: 0 auto; border-radius: var(--sk-radius); }
.banner--yellow .banner-product img, .banner--light .banner-product img { mix-blend-mode: multiply; }
.banner-price { position: absolute; right: 0; bottom: -6px; background: var(--sk-yellow); color: var(--sk-ink-900); font-weight: 800; font-size: 1.25rem;
  border-radius: var(--sk-radius-sm); padding: .45rem .9rem; line-height: 1.3; }
.banner-price small { display: block; font-size: .72rem; font-weight: 600; }
.home-banner .carousel-control-prev, .home-banner .carousel-control-next { width: 44px; height: 44px; top: 50%; transform: translateY(-50%); margin: 0 12px;
  border-radius: 50%; background: #fff; color: var(--sk-ink); opacity: 0; font-size: 1.1rem; box-shadow: var(--sk-shadow-sm); transition: opacity .2s; }
.home-banner:hover .carousel-control-prev, .home-banner:hover .carousel-control-next { opacity: .95; }
.home-banner .carousel-indicators { margin-bottom: 14px; }
.home-banner .carousel-indicators [data-bs-target] { width: 22px; height: 4px; border-radius: 2px; border: 0; background: #A9A69D; opacity: .6; }
.home-banner .carousel-indicators .active { background: var(--sk-yellow); opacity: 1; width: 34px; }

/* Trust strip under the banner */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--sk-line); border: 1px solid var(--sk-line);
  border-radius: var(--sk-radius); overflow: hidden; margin: 16px 0 0; }
.trust-row li { display: flex; align-items: center; gap: .75rem; background: #fff; padding: 14px 18px; }
.trust-row .bi { font-size: 1.4rem; color: var(--sk-ink); }
.trust-row strong { display: block; font-size: .9rem; white-space: nowrap; }
.trust-row span { display: block; font-size: .78rem; color: var(--sk-muted); }

/* Category row: product picture + label */
.cat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-pick { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--sk-ink); }
.cat-pick-img { display: grid; place-items: center; width: 100%; aspect-ratio: 4/3; background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius);
  overflow: hidden; margin-bottom: .6rem; transition: border-color .2s; }
.cat-pick-img img { width: 86%; transition: transform .5s var(--sk-ease); }
.cat-pick:hover .cat-pick-img { border-color: var(--sk-ink); }
.cat-pick:hover .cat-pick-img img { transform: scale(1.06); }
.cat-pick--all .cat-pick-img { background: var(--sk-yellow); border-color: var(--sk-yellow); font-size: 2rem; }
.cat-pick-name { font-weight: 700; font-size: .95rem; }
.cat-pick-count { font-size: .78rem; color: var(--sk-muted); }

/* Section heading for product rows */
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 16px; }
.row-head h2 { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); margin: 0; padding-left: 12px; border-left: 4px solid var(--sk-yellow); line-height: 1.4; }
.see-all { font-size: .88rem; font-weight: 700; color: var(--sk-ink); text-decoration: none; white-space: nowrap; }
.see-all:hover { text-decoration: underline; text-decoration-color: var(--sk-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Side-scrolling product rail */
.product-rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 0 6px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; }
.rail-nav { position: absolute; top: 34%; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sk-line); background: #fff;
  color: var(--sk-ink); display: grid; place-items: center; box-shadow: var(--sk-shadow-sm); transition: opacity .2s, background .2s; }
.rail-nav.prev { left: -20px; }
.rail-nav.next { right: -20px; }
.rail-nav:hover { background: var(--sk-yellow); border-color: var(--sk-yellow); }
.rail-nav:disabled { opacity: 0; pointer-events: none; }

/* Promo tiles */
.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo { display: flex; flex-direction: column; gap: .35rem; min-height: 160px; border-radius: var(--sk-radius); padding: 22px 24px; text-decoration: none; }
.promo strong { font-size: 1.15rem; line-height: 1.5; letter-spacing: -.01em; }
.promo-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.promo-link { margin-top: auto; font-weight: 700; font-size: .88rem; }
.promo-link .bi { transition: transform .2s; display: inline-block; }
.promo:hover .promo-link .bi { transform: translateX(3px); }
.promo--ink { background: var(--sk-ink-800); color: #fff; }
.promo--ink:hover { color: var(--sk-yellow); }
.promo--yellow { background: var(--sk-yellow); color: var(--sk-ink-900); }
.promo--yellow:hover { color: var(--sk-ink-900); }
.promo--light { background: #fff; color: var(--sk-ink); border: 1px solid var(--sk-line); }
.promo--light:hover { color: var(--sk-ink); border-color: var(--sk-ink); }

/* How to buy + why */
.info-panel { background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 32px; }
.info-title { font-size: 1.25rem; margin-bottom: 1.1rem; }
.buy-steps li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--sk-line-soft); }
.buy-steps li:first-child { border-top: 0; padding-top: 0; }
.buy-steps span { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sk-yellow); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.buy-steps strong { display: block; }
.buy-steps p, .why-grid p { margin: 0; font-size: .88rem; color: var(--sk-muted); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.why-grid .bi { display: block; font-size: 1.5rem; margin-bottom: .3rem; }
.why-grid strong { display: block; margin-bottom: .15rem; }

/* CTA: flat yellow block */
.cta-block { display: flex; flex-direction: column; gap: 1.5rem; background: var(--sk-yellow); color: var(--sk-ink-900); border-radius: var(--sk-radius); padding: 36px 44px; margin-top: 56px; }
.cta-block h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
@media (min-width: 992px) { .cta-block { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- 5. Product card ---------- */
.product-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sk-line);
  border-radius: var(--sk-radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.product-card:hover { border-color: #C9C6BD; box-shadow: var(--sk-shadow); }
.product-card .thumb { position: relative; aspect-ratio: 4/3; background: #fff; border-bottom: 1px solid var(--sk-line-soft); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .6s var(--sk-ease); }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; }
.product-card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card .brand { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sk-muted); }
.product-card .title { font-size: .95rem; font-weight: 700; line-height: 1.45; margin: 0; }
.product-card .title a { color: inherit; text-decoration: none; }
.product-card .title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable → product page */
.product-card:hover .title a { text-decoration: underline; text-decoration-color: var(--sk-yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
/* Price sits at the bottom so prices line up across a row */
.product-card .price-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.product-card .price { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.product-card .price small { font-size: .72rem; font-weight: 600; color: var(--sk-muted); }
/* Discount: old price struck through above the sale price */
.price-old { display: block; font-size: .78rem; font-weight: 500; color: var(--sk-muted); text-decoration-thickness: 1px; line-height: 1.2; letter-spacing: 0; }
.price-sale { color: var(--sk-danger); }
.product-card.is-sold .thumb img { filter: grayscale(1); opacity: .45; }
.product-card.is-sold .thumb::after {
  content: "SOLD OUT"; position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 800; letter-spacing: .3em; color: var(--sk-ink); font-size: .9rem;
}

/* Card specs read as one quiet line: "i5-8350U · 16GB · 256GB SSD" */
.spec-chips { display: flex; flex-wrap: wrap; gap: 0; }
.spec-chip { font-size: .78rem; color: var(--sk-muted); }
.spec-chip + .spec-chip::before { content: "·"; margin: 0 .35em; }
.use-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.use-tag { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 600; line-height: 1.6;
  padding: 0 .5rem; border-radius: 999px; background: var(--sk-yellow-100); color: var(--sk-ink-600); white-space: nowrap; }

/* status / condition badges */
.badge-sk { display: inline-flex; align-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .02em; border-radius: 4px; padding: .35em .6em; }
.badge-used { background: var(--sk-ink-800); color: var(--sk-yellow); }
.badge-available, .badge-reserved, .badge-sold { background: #fff; }
.badge-available { color: var(--sk-success); }
.badge-reserved { color: var(--sk-warning); }
.badge-sold { color: var(--sk-danger); }
.badge-new { background: var(--sk-yellow); color: var(--sk-ink); }

/* ---------- 6. Listing page ---------- */
.page-head { background: var(--sk-surface); border-bottom: 1px solid var(--sk-line); }
.breadcrumb { font-size: .84rem; margin: 0; }
.breadcrumb a { color: var(--sk-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--sk-ink); }
.filter-panel { background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 20px; position: sticky; top: 136px; }
@media (min-width: 992px) { .filter-panel { max-height: calc(100vh - 152px); overflow-y: auto; overscroll-behavior: contain; } }   /* long spec lists stay reachable */
.filter-group { border-bottom: 1px solid var(--sk-line-soft); padding: 16px 0; }
.filter-group:last-child { border-bottom: 0; }
.filter-group h6 { font-size: .86rem; font-weight: 700; margin-bottom: .7rem; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }   /* hidden but still keyboard-focusable */
.chip-check input:focus-visible + label { box-shadow: 0 0 0 .2rem rgba(252,216,0,.6); border-color: var(--sk-ink); }
.chip-check label { display: inline-block; border: 1px solid var(--sk-line); border-radius: 999px; padding: .25rem .85rem; font-size: .84rem; cursor: pointer; margin: 0 4px 6px 0; background: #fff; transition: all .15s; }
.chip-check label:hover { border-color: var(--sk-ink); }
.chip-check input:disabled + label { opacity: .45; cursor: not-allowed; border-color: var(--sk-line); }   /* e.g. a branch with none of these items */
.chip-check input:checked + label { background: var(--sk-ink-800); color: var(--sk-yellow); border-color: var(--sk-ink-800); }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 1rem; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 600;
  background: var(--sk-yellow-100); color: var(--sk-ink); }
.active-chip .bi { font-size: .62rem; }
.active-chip:hover { background: var(--sk-yellow); }
.active-clear { border: 0; background: none; padding: .2rem .4rem; font-size: .8rem; color: var(--sk-muted); text-decoration: underline; }
.active-clear:hover { color: var(--sk-ink); }
.filter-count { display: inline-grid; place-items: center; min-width: 1.15rem; height: 1.15rem; margin-left: .35rem; padding: 0 .3rem; border-radius: 999px;
  background: var(--sk-yellow); color: var(--sk-ink); font-size: .68rem; font-weight: 800; }
.filter-count[hidden] { display: none; }
.mobile-search { background: var(--sk-ink-800); padding-bottom: 12px; }
.mobile-search .header-search { max-width: none; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a { white-space: nowrap; border: 1px solid var(--sk-line); background: #fff; border-radius: 999px; padding: .42rem 1.05rem; font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--sk-ink); transition: all .15s; }
.cat-tabs a:hover { border-color: var(--sk-ink); }
.cat-tabs a.active { background: var(--sk-ink-800); color: var(--sk-yellow); border-color: var(--sk-ink-800); }
.pagination { --bs-pagination-active-bg: var(--sk-ink); --bs-pagination-active-border-color: var(--sk-ink); --bs-pagination-active-color: var(--sk-yellow); --bs-pagination-color: var(--sk-ink); --bs-pagination-border-radius: 8px; }

/* ---------- 7. Product detail ---------- */
@media (min-width: 992px) { .pd-gallery { position: sticky; top: 136px; } }   /* photos stay in view while the specs scroll */
.gallery-main { position: relative; background: var(--sk-tile); border-radius: var(--sk-radius); aspect-ratio: 4/3; overflow: hidden; touch-action: pan-y; user-select: none; }
.gallery-main:focus-visible { outline: 3px solid var(--sk-yellow); outline-offset: 2px; }
.gallery-track { display: flex; height: 100%; transition: transform .5s var(--sk-ease); will-change: transform; }
.gallery-track.is-dragging { transition: none; }
.gallery-slide { flex: 0 0 100%; height: 100%; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; mix-blend-mode: multiply; }
.gallery-slide { position: relative; }
.gallery-slide.is-hidden, .gallery-thumbs button.is-hidden { display: none; }
/* Placeholder only: tint the backdrop with the image's color + label it. Real photos don't need this. */
.gallery-slide[style*="--tint"], .gallery-thumbs button[style*="--tint"] { background: color-mix(in srgb, var(--tint) 28%, #fff); }
.ph-label { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.9); color: var(--sk-ink); font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 3px 11px; }
.gallery-main.is-sold .gallery-slide img { filter: grayscale(1); opacity: .6; }
.gallery-nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--sk-ink); display: grid; place-items: center; font-size: 1.1rem;
  transform: translateY(-50%); transition: background .2s, opacity .2s; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-nav:hover { background: var(--sk-yellow); }
.gallery-nav:disabled { opacity: 0; pointer-events: none; }
@media (hover: hover) and (min-width: 992px) {
  .gallery-nav { opacity: 0; }
  .gallery-main:hover .gallery-nav:not(:disabled), .gallery-main:focus-within .gallery-nav:not(:disabled) { opacity: 1; }
}
.gallery-counter { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: var(--sk-ink-800); color: #fff;
  font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 3px 11px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--sk-radius-sm); overflow: hidden; background: var(--sk-tile); aspect-ratio: 1; opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button.active { border-color: var(--sk-ink); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.swatch { width: 36px; height: 36px; border-radius: 50%; padding: 0; border: 3px solid var(--sk-bg); background: var(--swatch);
  box-shadow: 0 0 0 1px var(--sk-line); transition: box-shadow .2s; }
.swatch.active { box-shadow: 0 0 0 2px var(--sk-ink); }
.color-dots { display: flex; gap: 3px; flex-shrink: 0; }
.color-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--sk-ink-800); --bs-nav-pills-link-active-color: var(--sk-yellow); --bs-nav-link-color: var(--sk-ink); --bs-nav-link-hover-color: #000; }
.nav-pills .nav-link { border: 1px solid var(--sk-line); background: #fff; font-weight: 600; padding: .5rem 1.1rem; }
.nav-pills .nav-link.active { border-color: var(--sk-ink-800); }
.pd-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.pd-price { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.pd-price.is-sale { color: var(--sk-danger); }
.pd-price-old { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 1rem; color: var(--sk-muted); }
.pd-price-old del { text-decoration-thickness: 1px; }
.pd-save { font-size: .85rem; font-weight: 700; color: var(--sk-danger); }
.mobile-buybar del { color: var(--sk-muted); }
.banner-price del { font-size: .85rem; font-weight: 600; opacity: .6; margin-right: .2rem; }
.pd-box { background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 20px; }
/* Help page */
.help-page { max-width: 880px; }
.help-page > [id] { scroll-margin-top: 136px; }   /* clear the sticky header when jumping to #warranty etc. */
@media (max-width: 991.98px) { .help-page > [id] { scroll-margin-top: 88px; } }
.help-faq { --bs-accordion-border-color: var(--sk-line); --bs-accordion-border-radius: var(--sk-radius); --bs-accordion-inner-border-radius: var(--sk-radius);
  --bs-accordion-active-bg: var(--sk-yellow-100); --bs-accordion-active-color: var(--sk-ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(252,216,0,.6); }
.help-faq .accordion-button { font-weight: 600; font-size: .95rem; }
.help-faq .accordion-body { font-size: .9rem; color: var(--sk-ink-600); }
.pd-perks a { color: inherit; text-decoration-color: var(--sk-yellow); text-decoration-thickness: 2px; }
.battery-bar { height: 6px; background: var(--sk-line-soft); border-radius: 99px; overflow: hidden; }
.battery-bar span { display: block; height: 100%; background: var(--sk-ink); border-radius: 99px; }
.spec-table { --bs-table-bg: transparent; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; color: var(--sk-muted); font-weight: 600; font-size: .9rem; }
.spec-table td { font-weight: 600; }
.spec-table td, .spec-table th { padding: .85rem 1.25rem; border-color: var(--sk-line-soft); }
.key-specs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--sk-line); }
.key-spec { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sk-line); }
.key-spec:nth-child(odd) { padding-right: 12px; }
.key-spec .bi { font-size: 1.1rem; color: var(--sk-muted); flex-shrink: 0; }
.key-spec small { display: block; color: var(--sk-muted); font-size: .72rem; }
.key-spec strong { font-size: .9rem; }
.use-box { padding: 16px 20px 8px; }
.use-box li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--sk-line-soft); }
.use-box li:first-child { border-top: 0; }
.use-box li > .bi { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--sk-yellow-100); flex-shrink: 0; }
.use-box strong { display: block; font-size: .9rem; }
.use-box small { display: block; color: var(--sk-muted); font-size: .76rem; }
.load-more { text-align: center; margin-top: 2rem; }
.load-more p { font-size: .82rem; color: var(--sk-muted); margin-bottom: .6rem; }
.load-more-bar { width: 160px; height: 3px; margin: 0 auto .9rem; border-radius: 3px; background: var(--sk-line); overflow: hidden; }
.load-more-bar span { display: block; height: 100%; background: var(--sk-ink); transition: width .3s var(--sk-ease); }
.pd-perks li { display: flex; align-items: center; gap: .6rem; }
.pd-branch { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--sk-radius-sm); background: var(--sk-yellow-100); font-size: .9rem; }
.pd-branch > .bi { font-size: 1.15rem; flex-shrink: 0; }
.pd-branch small { display: block; color: var(--sk-ink-600); font-size: .78rem; }
.pd-branch a { margin-left: auto; flex-shrink: 0; font-size: .82rem; font-weight: 700; color: var(--sk-ink); text-decoration-color: var(--sk-yellow-600); text-decoration-thickness: 2px; }
.pd-branch a .bi { font-size: .7rem; }
.mobile-buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff;
  border-top: 1px solid var(--sk-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.mobile-buybar strong, .mobile-buybar .btn { white-space: nowrap; }
@media (max-width: 991.98px) { body.has-buybar { padding-bottom: 84px; } }

/* ---------- 8. Contact ---------- */
.info-card { background: var(--sk-surface); border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 22px; height: 100%; }
.info-card .bi { font-size: 1.3rem; display: block; }
.map-wrap { border-radius: var(--sk-radius); overflow: hidden; border: 1px solid var(--sk-line); aspect-ratio: 16/10; background: #eee; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
/* Branch card: shop photo left, details right (stacks on phones) */
.branch-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); overflow: hidden; }
.branch-photo { position: relative; background: var(--sk-line-soft); min-height: 280px; }
.branch-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.branch-tag { position: absolute; top: 14px; left: 14px; background: var(--sk-ink-800); color: var(--sk-yellow); font-size: .78rem; font-weight: 700; border-radius: 4px; padding: .2rem .6rem; }
.branch-body { display: flex; flex-direction: column; padding: 26px 28px; }
.open-status { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .15rem .65rem; }
.open-status:empty { display: none; }
.open-status.is-open { background: #E3F4EA; color: var(--sk-success); }
.open-status.is-closed { background: #F4E0DE; color: var(--sk-danger); }
.open-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: .4rem; vertical-align: middle; }
.branch-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.branch-info { margin: 0 0 1rem; }
.branch-info > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--sk-line-soft); }
.branch-info > div:first-child { border-top: 0; padding-top: 0; }
.branch-info dt { font-weight: 600; font-size: .88rem; color: var(--sk-muted); }
.branch-info dt .bi { margin-right: .4rem; }
.branch-info dd { margin: 0; }
.branch-info dd small { display: block; color: var(--sk-muted); }
.phone-pills, .service-list { display: flex; flex-wrap: wrap; gap: 6px; }
.phone-pills a { font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; text-decoration: none; color: var(--sk-ink);
  border: 1px solid var(--sk-line); border-radius: 999px; padding: .2rem .75rem; transition: background .15s, border-color .15s; }
.phone-pills a:hover { background: var(--sk-yellow); border-color: var(--sk-yellow); }
.service-list span { font-size: .8rem; background: var(--sk-bg); border-radius: 4px; padding: .15rem .55rem; }
.branch-online { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sk-line-soft); }
.branch-online > span { font-size: .85rem; font-weight: 600; color: var(--sk-muted); }
@media (max-width: 767.98px) {
  .branch-card { grid-template-columns: 1fr; }
  .branch-photo { min-height: 0; aspect-ratio: 21/9; }   /* short banner — keeps the call button on the first screen */
  .branch-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .branch-actions .btn { padding: .6rem .4rem; font-size: .9rem; white-space: nowrap; }
  .branch-body { padding: 20px; }
  .branch-info > div { grid-template-columns: 1fr; gap: .2rem; }
  .branch-online > div { display: grid !important; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .branch-online .btn { padding: .5rem .3rem; font-size: .8rem; white-space: nowrap; }
  .branch-online .btn .bi { margin-right: .25rem !important; }
}
.form-control, .form-select { border-radius: var(--sk-radius-sm); padding: .7rem .95rem; border-color: var(--sk-line); }

/* ---------- 9. Footer ---------- */
.site-footer { color: #A9A69D; font-size: .92rem; background: var(--sk-ink-900); }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.site-footer a { color: #A9A69D; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--sk-yellow); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: inline-grid; place-items: center; color: #fff; margin-right: 6px; transition: all .2s; }
.social a:hover { background: var(--sk-yellow); color: var(--sk-ink); border-color: var(--sk-yellow); }
.footer-branches { display: grid; gap: 14px; }
.footer-branch strong { display: block; color: #fff; margin-bottom: .2rem; }
.footer-branch div { font-size: .88rem; }

/* ---------- 10. Floating call button ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 1035; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
/* Product pages on phones already have call + Messenger in the bottom buy bar */
@media (max-width: 991.98px) { body.has-buybar .float-actions { display: none; } }
.float-btn { width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 1.35rem;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); transition: transform .2s; }
.float-btn:hover { transform: scale(1.06); }
.float-btn--call { background: var(--sk-yellow); color: var(--sk-ink-900); }
.float-btn--call[aria-expanded="true"] { background: var(--sk-ink-800); color: var(--sk-yellow); }
.float-hint { position: absolute; right: 66px; bottom: 12px; white-space: nowrap; background: var(--sk-ink-900); color: #fff; font-size: .82rem; font-weight: 600;
  border-radius: 999px; padding: .4rem .9rem; box-shadow: var(--sk-shadow); opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .3s, transform .3s; }
.float-actions.show-hint .float-hint { opacity: 1; transform: none; }
.call-menu { width: 260px; background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); box-shadow: var(--sk-shadow); padding: 8px; }
.call-menu-title { font-size: .78rem; font-weight: 700; color: var(--sk-muted); padding: 4px 8px 6px; }
.call-menu a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--sk-radius-sm); text-decoration: none; color: var(--sk-ink); line-height: 1.4; }
.call-menu a:hover { background: var(--sk-yellow-100); }
.call-menu .bi { width: 34px; height: 34px; border-radius: 50%; background: var(--sk-yellow); display: grid; place-items: center; flex-shrink: 0; }
.call-menu strong { display: block; font-size: .85rem; }
.call-menu span { font-size: .9rem; font-variant-numeric: tabular-nums; }
/* Attention nudge: two short hops, a few seconds after load (see app.js) — never loops */
@keyframes sk-hop { 0%,100% { transform: translateY(0); } 20% { transform: translateY(-10px); } 40% { transform: translateY(0); } 55% { transform: translateY(-5px); } 70% { transform: translateY(0); } }
.float-actions.nudge .float-btn { animation: sk-hop .9s ease; }

/* ---------- 11. Motion (quiet) ---------- */
/* Scroll reveal — only hidden when JS has added .js-motion, so content never disappears without JS */
.js-motion [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s var(--sk-ease); transition-delay: var(--reveal-delay, 0s); }
.js-motion [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes sk-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: sk-rise .7s var(--sk-ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.btn { transition: color .15s, background-color .15s, border-color .15s; }
.battery-bar span { transition: width 1.2s var(--sk-ease) .2s; }
.js-motion .battery-bar:not(.is-visible) span { width: 0 !important; }
.tab-pane.fade { transition: opacity .25s linear; }
#productGrid > .col { transition: opacity .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-motion [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 12. Fixes & responsive ---------- */
.h1,.h2,.h3,.h4 { font-weight: 800; }
@media (max-width: 1199.98px) {
  .rail-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .rail-nav.prev { left: -8px; }
  .rail-nav.next { right: -8px; }
}
@media (max-width: 991.98px) {
  .banner { grid-template-columns: 1fr; padding: 32px 28px 48px; min-height: 0; }
  .banner-product { max-width: 360px; width: 100%; margin: 0 auto; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .cat-row { grid-template-columns: repeat(5, 120px); overflow-x: auto; scrollbar-width: none; gap: 12px; }
  .cat-row::-webkit-scrollbar { display: none; }
  .rail-track { grid-auto-columns: 44%; }
  .rail-nav { display: none; }
  .promo-row { grid-template-columns: 1fr; gap: 12px; }
  .promo { min-height: 0; }
  .info-panel { padding: 24px; }
}
@media (max-width: 575.98px) {
  .banner { padding: 24px 20px 44px; }
  .banner-price { font-size: 1.05rem; }
  .trust-row li { padding: 12px; gap: .55rem; }
  .trust-row .bi { font-size: 1.15rem; }
  .trust-row strong { font-size: .8rem; }
  .trust-row span { font-size: .7rem; }
  .rail-track { grid-auto-columns: 62%; gap: 12px; }
  .row-head h2 { font-size: 1.1rem; padding-left: 10px; }
  .see-all { font-size: .8rem; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 28px 22px; margin-top: 40px; }
  .product-card .body { padding: 10px 10px 12px; }
  .product-card .title { font-size: .86rem; }
  .product-card .price { font-size: .98rem; }
  .product-card .spec-chip:nth-child(n+3) { display: none; }   /* show 2 key specs only */
  .product-card .use-tag:nth-child(n+3) { display: none; }    /* and 2 use tags */
  .use-tag { font-size: .64rem; padding: 0 .4rem; }
  .product-card .badge-sk { font-size: .6rem; }
  .pd-price { font-size: 1.9rem; }
}
