/* Store layout (centered-logo header, dark hero, product rails, category tiles,
   badges) dressed in Apple's visual language: warm cream canvas, white rounded
   cards with soft shadows, system SF type, pill buttons. */
:root {
  --bg: #f7f4ee;            /* cream canvas */
  --bg-2: #efebe3;
  --surface: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.16);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --dim: #a1a1a6;
  --link: #0066cc;
  --select: #0071e3;
  --brand: #ffd935;         /* Phone House yellow */
  --jbl: #ff5a1f;           /* JBL orange */
  --ink: #1d1d1f;
  --green: #1a8a3a;
  --red: #c9342b;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.05), 0 18px 40px -16px rgba(0, 0, 0, 0.22);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Noto Sans Myanmar", "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font);
  --fs: 1;                  /* text size scale — S / M / L in the Website Editor */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: calc(16px * var(--fs)); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px; /* mobile contact bar */
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
/* Myanmar script stacks marks above and below the line — tight Latin leading clips them. */
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.025em; font-weight: 700; font-family: var(--font-heading); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.eyebrow { display: block; font-size: calc(14px * var(--fs)); font-weight: 600; color: #bf4800; margin-bottom: 2px; letter-spacing: 0; }

/* ------------------------------ top ------------------------------ */
.announce {
  background: var(--ink); color: rgba(255, 255, 255, 0.86); text-align: center;
  font-size: calc(12px * var(--fs)); padding: 8px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 244, 238, 0.8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 56px; padding: 0 10px; max-width: 1200px; margin: 0 auto;
}
.tb-left, .tb-right { display: flex; align-items: center; gap: 2px; }
.tb-right { justify-content: flex-end; gap: 12px; }
.tb-link { font-size: calc(13px * var(--fs)); color: var(--muted); }
.tb-link:hover { color: var(--text); }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer; transition: background 0.15s ease;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.icon-btn:hover { background: rgba(0, 0, 0, 0.05); }
.logo { display: flex; align-items: center; gap: 9px; }
.logo-mark {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--brand); color: var(--ink); font-weight: 800; font-size: calc(12px * var(--fs));
}
.logo-word { font-weight: 600; font-size: calc(17px * var(--fs)); letter-spacing: -0.02em; }
/* Uploaded wordmark (shop.logoUrl) replaces the word; the PH mark stays. */
.logo-img { display: none; height: 26px; width: auto; max-width: 200px; object-fit: contain; }
.logo.has-img .logo-img { display: block; }
.logo.has-img .logo-word { display: none; }
.call-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: calc(13px * var(--fs)); font-weight: 600;
}
.call-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.searchbar { display: flex; gap: 8px; padding: 0 12px 12px; max-width: 640px; margin: 0 auto; }
.searchbar[hidden] { display: none; }
.searchbar input {
  flex: 1; min-width: 0; background: var(--surface); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font: inherit; font-size: calc(15px * var(--fs)); outline: none;
}
.searchbar input:focus { border-color: var(--select); box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15); }
.searchbar button {
  border: 0; border-radius: 999px; padding: 0 20px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: calc(14px * var(--fs)); cursor: pointer;
}
.catnav {
  display: flex; justify-content: center; gap: 26px; overflow-x: auto; scrollbar-width: none;
  padding: 0 16px 10px;
}
.catnav::-webkit-scrollbar { display: none; }
.catnav a { flex-shrink: 0; font-size: calc(13px * var(--fs)); color: var(--muted); padding: 2px 0; border-bottom: 1.5px solid transparent; }
.catnav a:hover { color: var(--text); }
.catnav a.on { color: var(--text); border-bottom-color: var(--text); }

/* ------------------------------ drawer ------------------------------ */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.3); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 86vw);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform 0.25s ease;
  box-shadow: 20px 0 60px -20px rgba(0, 0, 0, 0.25);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 24px; }
.drawer-title { font-size: calc(13px * var(--fs)); color: var(--muted); }
#drawer-nav { display: flex; flex-direction: column; padding: 4px 0; overflow-y: auto; }
#drawer-nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 24px; font-size: calc(24px * var(--fs)); font-weight: 600; letter-spacing: -0.02em; }
#drawer-nav a:hover { color: var(--link); }
#drawer-nav small { font-size: calc(13px * var(--fs)); font-weight: 400; color: var(--muted); }
.drawer-contact { margin-top: auto; padding: 16px 24px 28px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------ hero ------------------------------ */
.hero-wrap { padding-top: 16px; }
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  border-radius: 28px; min-height: 460px;
  display: grid; place-items: center; padding: 56px 20px;
  background:
    radial-gradient(70% 60% at 80% 20%, rgba(255, 90, 31, 0.55), transparent 70%),
    radial-gradient(60% 50% at 10% 90%, rgba(255, 217, 53, 0.22), transparent 70%),
    #0b0b0c;
  box-shadow: var(--shadow);
}
.hero::before {
  /* oversized outline wordmark */
  content: "JBL"; position: absolute; right: -6%; bottom: -14%;
  font-weight: 800; font-size: 60vw; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.07); pointer-events: none;
}
.hero-inner { position: relative; }
.hero-kicker { font-size: calc(14px * var(--fs)); font-weight: 600; color: #ff9f6b; }
.hero h1 { font-size: calc(clamp(46px, 10vw, 104px) * var(--fs)); line-height: 1.02; letter-spacing: -0.045em; margin: 10px 0 14px; }
.hero h1 .accent { color: var(--brand); }
.hero p { margin: 0 auto; max-width: 480px; color: rgba(255, 255, 255, 0.8); font-size: calc(clamp(16px, 2vw, 19px) * var(--fs)); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ------------------------------ buttons ------------------------------ */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap;
  padding: 12px 24px; border-radius: 999px; font-size: calc(15px * var(--fs)); font-weight: 500;
  transition: transform 0.12s ease, opacity 0.15s ease;
}
.pill:active { transform: scale(0.98); }
.pill.light { background: #fff; color: var(--ink); }
.pill.dark { background: var(--ink); color: #fff; }
.pill.ghost { color: #fff; padding-left: 8px; padding-right: 8px; }
.pill.ghost:hover { text-decoration: underline; }
.pill.light:hover, .pill.dark:hover { opacity: 0.88; }
.cbtn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  padding: 12px 22px; border-radius: 999px; font-size: calc(15px * var(--fs)); font-weight: 500;
  background: var(--ink); color: #fff; transition: opacity 0.15s ease, transform 0.12s ease;
}
.cbtn:hover { opacity: 0.88; }
.cbtn:active { transform: scale(0.98); }
.cbtn.facebook { background: #1877f2; }
.cbtn.telegram { background: #229ed9; }
.cbtn.viber { background: #7360f2; }
.arr { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ------------------------------ blocks / rails ------------------------------ */
main { min-height: 60vh; }
.block { padding: 48px 0 4px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.block-head h2 { font-size: calc(clamp(26px, 3.6vw, 36px) * var(--fs)); }
.shop-all { display: inline-flex; align-items: center; gap: 2px; font-size: calc(15px * var(--fs)); color: var(--link); white-space: nowrap; }
.shop-all:hover { text-decoration: underline; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px 16px 28px; max-width: 1200px; margin: 0 auto; scroll-padding: 0 16px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }

/* ------------------------------ cards ------------------------------ */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 1; background: var(--surface); }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14%; transition: transform 0.35s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card.is-oos .card-img > img, .card.is-oos .ph-img { opacity: 0.5; }
.ph-img {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16px; background: linear-gradient(160deg, #f5f5f7, #ebe7df); color: #86868b;
}
.ph-img b { font-size: calc(12px * var(--fs)); font-weight: 700; letter-spacing: 0.22em; color: var(--jbl); }
.ph-img span { font-weight: 700; font-size: calc(clamp(16px, 2.2vw, 20px) * var(--fs)); letter-spacing: -0.02em; margin-top: 4px; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: calc(11px * var(--fs)); font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.badge.soldout { background: rgba(29, 29, 31, 0.78); color: #fff; }
.badge.hot { background: var(--jbl); color: #fff; }
.badge.second { background: var(--brand); color: var(--ink); }
.card-body { display: flex; flex-direction: column; gap: 3px; padding: 4px 18px 20px; flex: 1; }
.card-tag { font-size: calc(12px * var(--fs)); font-weight: 600; color: #bf4800; }
.card-body h3 { font-size: calc(16px * var(--fs)); font-weight: 600; letter-spacing: -0.015em; }
.price { margin-top: auto; padding-top: 6px; font-size: calc(14px * var(--fs)); color: var(--text); }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 4px -3px 0; }
.sw {
  width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: transparent;
  display: grid; place-items: center; transition: box-shadow 0.15s ease;
}
.sw::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.sw:hover, .sw.on { box-shadow: 0 0 0 1.5px var(--text); }
.sw.oos::before { opacity: 0.35; }
.swatches em { font-style: normal; font-size: calc(11px * var(--fs)); color: var(--muted); }

/* ------------------------------ category tiles ------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-tile {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cat-tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.cat-tile.alt { background: linear-gradient(160deg, #fff6cc, #ffffff 70%); }
.cat-copy { padding: 20px 20px 0; }
.cat-copy h3 { font-size: calc(clamp(20px, 2.6vw, 26px) * var(--fs)); }
.cat-copy span { font-size: calc(13px * var(--fs)); color: var(--muted); }
.cat-tile img { flex: 1; min-height: 0; width: 100%; object-fit: contain; padding: 12% 14% 14%; transition: transform 0.35s ease; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-ph {
  flex: 1; display: grid; place-items: center; font-size: calc(clamp(34px, 6vw, 56px) * var(--fs)); font-weight: 800;
  letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.1);
}

/* ------------------------------ brand tiles ------------------------------ */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.brand-tile {
  position: relative; overflow: hidden; min-height: 150px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); display: flex; align-items: flex-end;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.brand-tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.brand-tile img { position: absolute; right: -6%; top: 8%; width: 62%; height: 70%; object-fit: contain; opacity: 0.95; }
.brand-tile.jbl { grid-column: 1 / -1; min-height: 190px; }
.brand-tile.jbl img { right: 2%; width: 45%; }
.brand-copy { position: relative; padding: 20px; }
.brand-copy h3 { font-size: calc(clamp(26px, 4vw, 40px) * var(--fs)); letter-spacing: -0.04em; font-weight: 800; }
.brand-copy span { display: inline-flex; align-items: center; gap: 2px; font-size: calc(13px * var(--fs)); color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -8px 0 22px; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; font-size: calc(14px * var(--fs)); padding: 7px 16px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line-2); color: var(--text); white-space: nowrap;
}
.chip:hover { border-color: var(--text); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.drawer-sub { padding: 18px 24px 4px; font-size: calc(13px * var(--fs)); color: var(--muted); }

/* ------------------------------ banner / props / store ------------------------------ */
.banner, .store {
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
  padding: 32px 26px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow);
}
.banner { background: linear-gradient(135deg, #fff6cc 0%, #ffffff 65%); }
.banner h2, .store h2 { font-size: calc(clamp(28px, 4.2vw, 44px) * var(--fs)); }
.banner p, .store p { margin: 10px 0 0; max-width: 540px; color: var(--muted); }
.store a[href^="tel"] { color: var(--link); font-weight: 500; }
.props { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.props div { padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.props b { display: block; font-size: calc(16px * var(--fs)); font-weight: 600; }
.props .prop-text { font-size: calc(13px * var(--fs)); color: var(--muted); }

/* ------------------------------ listing ------------------------------ */
.page { padding-top: 16px; padding-bottom: 48px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: calc(13px * var(--fs)); color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--link); }
.crumbs a:hover { text-decoration: underline; }
.listing-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.listing-head h1 { font-size: calc(clamp(36px, 6vw, 56px) * var(--fs)); letter-spacing: -0.04em; }
.listing-head p { margin: 4px 0 0; color: var(--muted); }
.listing-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.count { font-size: calc(14px * var(--fs)); color: var(--muted); }
.note { background: var(--surface); padding: 20px 22px; margin-bottom: 24px; border-radius: 18px; box-shadow: var(--shadow); }
.note b { font-weight: 600; }
.note p { margin: 8px 0 0; color: #3a3a3c; }
.note-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ------------------------------ product page ------------------------------ */
.pdp { display: grid; gap: 28px; }
.pdp-img { border-radius: 28px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.pdp-img img, .pdp-img .ph-img { transition: opacity 0.25s ease; }
.pdp-img.swapping img, .pdp-img.swapping .ph-img { opacity: 0; }
.card-img img { transition: transform 0.35s ease, opacity 0.2s ease; }
.pdp-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.pdp-img .ph-img span { font-size: calc(clamp(26px, 5vw, 38px) * var(--fs)); }
.pdp-info h1 { font-size: calc(clamp(32px, 4.6vw, 48px) * var(--fs)); letter-spacing: -0.035em; margin: 2px 0 10px; }
.pdp-price { font-size: calc(22px * var(--fs)); font-weight: 500; }
.stock-line { font-size: calc(14px * var(--fs)); font-weight: 500; margin: 6px 0 24px; }
.stock-line.in { color: var(--green); }
.stock-line.out { color: var(--red); }
.opt { margin-bottom: 24px; }
.opt-label { font-size: calc(15px * var(--fs)); color: var(--muted); margin-bottom: 10px; }
.opt-label b { color: var(--text); font-weight: 600; }
.colour-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cchip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text); font-size: calc(14px * var(--fs));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cchip i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.cchip:hover { border-color: var(--text); }
.cchip.on { border-color: var(--select); box-shadow: 0 0 0 1px var(--select); }
.cchip.oos span { color: var(--dim); text-decoration: line-through; }
.pdp-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp-cta .cbtn { flex: 1; min-width: 130px; padding: 14px; }
.pdp-hint { font-size: calc(13px * var(--fs)); color: var(--muted); margin: 10px 0 0; }
.details { margin-top: 26px; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary {
  list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: calc(16px * var(--fs)); font-weight: 600;
}
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: calc(22px * var(--fs)); line-height: 1; font-weight: 300; color: var(--muted); }
.details details[open] summary::after { content: "–"; }
.details details > div { padding: 0 0 18px; color: #3a3a3c; font-size: calc(15px * var(--fs)); }

/* ------------------------------ misc ------------------------------ */
.empty { text-align: center; padding: 70px 16px; color: var(--muted); }
.empty h1 { color: var(--text); font-size: calc(28px * var(--fs)); margin-bottom: 8px; }
.empty .pill, .empty .note-cta { margin-top: 18px; justify-content: center; }
.loading { display: flex; justify-content: center; gap: 6px; padding: 120px 0; }
.loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); animation: pulse 1s infinite ease-in-out; }
.loading span:nth-child(2) { animation-delay: 0.15s; }
.loading span:nth-child(3) { animation-delay: 0.3s; }
@keyframes pulse { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1); } }

.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 40px 0 24px; margin-top: 48px; font-size: calc(13px * var(--fs)); color: var(--muted); }
.footer-grid { display: grid; gap: 26px; }
.footer .logo-word { color: var(--text); font-size: calc(15px * var(--fs)); }
.footer h4 { color: var(--text); font-size: calc(13px * var(--fs)); font-weight: 600; margin-bottom: 10px; letter-spacing: 0; }
.footer p { margin: 12px 0 0; }
.footer a[href^="tel"] { color: var(--link); }
#footer-nav, #footer-brands { display: flex; flex-direction: column; gap: 6px; }
#footer-nav a:hover, #footer-brands a:hover { color: var(--text); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links .cbtn { padding: 8px 16px; font-size: calc(13px * var(--fs)); }

.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 244, 238, 0.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
}
.contact-bar .cbtn { flex: 1; padding: 12px 8px; }

/* iOS-style action sheet (Viber): Liquid Glass panels, spring in. */
.sheet-root { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-scrim {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32);
  opacity: 0; transition: opacity 0.3s ease;
}
.sheet {
  position: relative; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 10px;
  padding: 0 10px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%) scale(0.96); opacity: 0.6;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease;
}
.sheet-root.open .sheet-scrim { opacity: 1; }
.sheet-root.open .sheet {
  transform: none; opacity: 1;
  /* spring: fast rise, small overshoot, settle */
  transition: transform 0.55s linear(0, 0.2 6%, 0.62 15%, 0.9 24%, 1.03 33%, 1.06 40%, 1.04 50%, 1.01 62%, 1 75%, 1), opacity 0.2s ease;
}
.sheet-root.closing .sheet { transition-duration: 0.28s; }
.sheet-card {
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 -1px 1px rgba(255, 255, 255, 0.25), 0 12px 40px -8px rgba(0, 0, 0, 0.3);
}
.sheet-card { border-radius: 34px; padding: 22px 14px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sheet-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, #8c7bff, #6552e8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: sheet-pop 0.5s 0.08s both linear(0, 0.5 20%, 1.12 45%, 0.97 70%, 1);
}
.sheet-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
@keyframes sheet-pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-title { margin: 4px 8px 0; font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--muted); text-align: center; line-height: 1.5; }
.sheet-number { margin: 0 0 8px; font-size: calc(26px * var(--fs)); font-weight: 600; letter-spacing: 0.01em; color: var(--text); font-variant-numeric: tabular-nums; user-select: all; }
/* Liquid Glass buttons: clear, blurred, with a specular rim — the page shows through. */
.sheet-btn {
  --tint: 255, 255, 255;
  position: relative; overflow: hidden; isolation: isolate;
  width: 100%; min-height: 52px; border-radius: 999px; display: grid; place-items: center;
  font: 600 calc(17px * var(--fs)) / 1 var(--font); color: var(--text); cursor: pointer;
  background: linear-gradient(180deg, rgba(var(--tint), 0.30), rgba(var(--tint), 0.12));
  backdrop-filter: blur(14px) saturate(200%) brightness(1.06); -webkit-backdrop-filter: blur(14px) saturate(200%) brightness(1.06);
  border: 0.5px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.9),
    inset 0 -1px 1px rgba(255, 255, 255, 0.35),
    inset 0 0 12px rgba(var(--tint), 0.18),
    0 4px 14px -6px rgba(0, 0, 0, 0.22);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s linear(0, 0.6 25%, 1.04 55%, 1), background 0.2s ease, color 0.2s ease;
}
/* specular sheen across the top half */
.sheet-btn::before {
  content: ""; position: absolute; inset: 0 0 50% 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  opacity: 0.55; pointer-events: none;
}
/* press: glass swells and brightens, like iOS */
.sheet-btn:active { transform: scale(1.04); transition-duration: 0.12s; background: linear-gradient(180deg, rgba(var(--tint), 0.42), rgba(var(--tint), 0.2)); }
.sheet-btn.primary { --tint: 115, 96, 242; color: #5a45e0; }
.sheet-btn.done { --tint: 52, 199, 89; color: #1a8a3a; }
.sheet-btn.done span { animation: sheet-pop 0.35s both; }
.sheet-btn.ok { min-height: 56px; color: #007aff; }
.sheet-btn:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }
@media (min-width: 720px) {
  .sheet-root { align-items: center; }
  .sheet { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet-root.open .sheet, .sheet-btn { transition: opacity 0.2s ease; transform: none; }
  .sheet-icon, .sheet-btn.done span { animation: none; }
}

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .call-btn { padding: 9px; }
  .logo-word { font-size: calc(16px * var(--fs)); }
  .logo-img { height: 22px; max-width: 150px; }
  .catnav { justify-content: flex-start; }
}
@media (min-width: 720px) {
  .wrap { padding: 0 24px; }
  .rail { grid-auto-columns: 34%; gap: 18px; padding: 4px 24px 28px; scroll-padding: 0 24px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .brand-tile.jbl { grid-column: span 2; min-height: 150px; }
  .hero { min-height: 560px; }
  .hero::before { font-size: 42vw; }
  .props { grid-template-columns: repeat(4, 1fr); }
  .banner, .store { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 48px; }
  .listing-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .contact-bar { display: none; }
  .rail { grid-auto-columns: calc((100% - 48px - 54px) / 4); }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .hero { min-height: 620px; }
  .pdp { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
  .pdp-img { position: sticky; top: 124px; aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
