/* Bombay Watch Company store. Same design language as indiareptime.com
   (07-websites\design\design-system.md, direction C): white page, heavy sans headlines,
   small mono labels, hairline rules, square corners, one accent. */
:root {
  --acc: #0f5c4a;        /* the one accent: change these two lines to recolour the store */
  --acc-dark: #0a4135;
  --soft: #f2f5f3;
  --bg: #fff; --ink: #111; --ink-2: #333; --mute: #5a5a5a; --rule: #dedede;
  --pad: 18px; --wide: 1200px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Consolas, "Roboto Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--acc); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--acc-dark); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
p { margin: 0 0 18px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0; }
h1 { font-size: 34px; letter-spacing: -.04em; line-height: 1.04; margin: 6px 0 12px; }
h2 { font-size: 26px; margin: 0 0 12px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 30; }
.wide { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad); }
.kicker { display: block; font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--acc); margin: 0 0 6px; }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 38em; }
.crumbs { font: 12px/44px var(--mono); color: var(--mute); margin: 4px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--acc); text-decoration: underline; }

/* masthead */
.masthead { border-top: 4px solid var(--acc); border-bottom: 1px solid var(--ink); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.masthead .bar { display: flex; flex-wrap: wrap; align-items: stretch; }
.brand { flex: 1 1 100%; display: flex; align-items: baseline; padding: 2px var(--pad) 0; font: 800 21px/42px var(--sans); letter-spacing: -.03em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand .dot { color: var(--acc); }
.brand small { margin-left: auto; padding-left: 12px; font: 400 12px/1.2 var(--mono); letter-spacing: 0; color: var(--mute); }
nav.top { flex: 1 1 100%; display: flex; border-top: 1px solid var(--rule); }
nav.top a { flex: 1 1 auto; padding: 0 6px; font: 600 14px/44px var(--sans); text-align: center; color: var(--ink); text-decoration: none; white-space: nowrap; border-right: 1px solid var(--rule); }
nav.top a:last-child { border-right: 0; }
nav.top a:hover, nav.top a[aria-current] { background: var(--ink); color: #fff; }
nav.top .n { font: 500 12px/1 var(--mono); margin-left: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; font: 600 16px/1.2 var(--sans); text-decoration: none; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0; cursor: pointer; }
.btn:hover { background: #000; color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; fill: #35d07f; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.ghost[aria-pressed=true] { background: var(--soft); color: var(--ink); border-color: var(--acc); }

/* catalogue head: search + filters stay one thumb away */
.cat-head { padding: 10px 0 0; }
.cat-head h1 { margin-bottom: 4px; }
.cat-head .lede { margin-bottom: 14px; }
.tools { display: flex; gap: 8px; margin: 0 0 10px; }
.tools input[type=search] { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 12px; font: 17px/1 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none; }
.seg { display: flex; border: 1px solid var(--ink); flex: none; }
.seg button { min-width: 52px; height: 46px; padding: 0 10px; background: #fff; border: 0; border-right: 1px solid var(--rule); font: 600 13px/1 var(--sans); color: var(--ink); cursor: pointer; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed=true] { background: var(--ink); color: #fff; }
.chips { display: flex; overflow-x: auto; border: 1px solid var(--ink); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: 0 0 auto; padding: 0 14px; font: 600 14px/44px var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; border-right: 1px solid var(--rule); }
.chips a:last-child { border-right: 0; }
.chips a .n { font: 400 11px/1 var(--mono); color: var(--mute); margin-left: 5px; }
.chips a:hover, .chips a[aria-current] { background: var(--ink); color: #fff; }
.chips a:hover .n, .chips a[aria-current] .n { color: #fff; }
.count { font: 13px/1.3 var(--mono); color: var(--mute); margin: 12px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }

/* grid of watches */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; padding: 14px 0 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); min-width: 0; }
.card[hidden] { display: none; }
.card .pic { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--soft); border: 1px solid var(--rule); overflow: hidden; }
.card .pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card .flag { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font: 500 11px/22px var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 0 7px; }
.card .lbl { font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--acc); margin: 10px 0 4px; }
.card strong { font: 700 16px/1.25 var(--sans); letter-spacing: -.015em; }
.card .var { font-size: 14px; line-height: 1.4; color: var(--mute); margin-top: 3px; }
.card:hover strong { color: var(--acc); }
.none { padding: 36px 0; max-width: 32em; }
.none[hidden] { display: none; }

/* product page */
.product { padding-bottom: 12px; }
.gallery { position: relative; margin: 0 calc(-1 * var(--pad)); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; position: relative; }
.slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.slide iframe { width: 100%; height: 100%; border: 0; background: #000; }
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .25); border: 0; cursor: pointer; padding: 0; }
.play span { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font: 600 15px/48px var(--sans); padding: 0 18px; }
.counter { position: absolute; right: 0; top: 0; background: var(--ink); color: #fff; font: 500 12px/28px var(--mono); padding: 0 10px; }
.thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 8px var(--pad) 0; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: 0 0 60px; height: 60px; padding: 0; border: 1px solid var(--rule); background: var(--soft); cursor: pointer; position: relative; }
.thumbs button[aria-current=true] { border: 2px solid var(--ink); }
.thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumbs .v::after { content: "\25B6"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0, 0, 0, .35); font-size: 16px; }
.info { padding-top: 18px; }
.info h1 { font-size: 30px; margin: 0 0 6px; }
.info .var { font-size: 18px; color: var(--ink-2); margin: 0 0 16px; }
.cta { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.cta .btn { width: 100%; }
.facts { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 16px; border-top: 1px solid var(--ink); }
.facts th { text-align: left; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 11px 12px 11px 0; width: 38%; vertical-align: top; border-bottom: 1px solid var(--rule); }
.facts td { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.how { background: var(--soft); border-left: 4px solid var(--acc); padding: 14px 16px; font-size: 16px; line-height: 1.5; margin: 0 0 18px; }
.how ol { margin: 6px 0 0; padding-left: 1.2em; }
.how li { margin: 0 0 4px; }
.caveat { border: 1px solid var(--rule); border-left: 4px solid var(--ink); padding: 12px 14px; font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0 0 18px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ink); padding: 28px 0 10px; }
.sec-head h2 { margin: 0; }
.sec-head a { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

/* shortlist */
.sl-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.sl-row img { display: block; width: 76px; height: 95px; object-fit: cover; border: 1px solid var(--rule); }
.sl-row a { color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.25; }
.sl-row small { display: block; font: 13px/1.4 var(--sans); color: var(--mute); font-weight: 400; }
.sl-row button { min-width: 44px; min-height: 44px; background: none; border: 0; color: var(--mute); font: 500 13px/1 var(--sans); text-decoration: underline; cursor: pointer; }

/* brands index */
.brand-list { display: grid; grid-template-columns: 1fr; margin: 0 0 12px; border-top: 1px solid var(--ink); }
.brand-list a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 2px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand-list a span { font: 400 13px/1 var(--mono); color: var(--mute); }
.brand-list a:hover { color: var(--acc); }

/* footer + floating WhatsApp */
footer.site { margin-top: 48px; border-top: 1px solid var(--ink); padding: 28px 0 110px; font-size: 15px; line-height: 1.55; color: var(--mute); }
footer.site .cols { display: grid; gap: 22px; }
footer.site h4 { font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
footer.site p { margin: 0 0 8px; max-width: 36em; }
footer.site a { color: var(--ink); }
footer.site .cols > div > a { display: block; padding: 11px 0; line-height: 20px; text-decoration: none; }
footer.site .legal { border-top: 1px solid var(--rule); margin-top: 22px; padding-top: 14px; font: 12px/1.6 var(--mono); }
.wa-float { position: fixed; right: 14px; bottom: 14px; z-index: 25; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.wa-float svg { width: 28px; height: 28px; fill: #35d07f; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 26; display: flex; background: #fff; border-top: 1px solid var(--ink); padding: 8px var(--pad); gap: 8px; }
.buybar .btn { flex: 1 1 auto; min-height: 48px; }
.buybar .btn.ghost { flex: 0 0 auto; padding: 0 14px; }
body.has-buybar .wa-float { display: none; }

@media (min-width: 760px) {
  :root { --pad: 28px; }
  h1 { font-size: 52px; }
  .brand { flex: 0 0 auto; font-size: 24px; line-height: 56px; padding-top: 0; }
  .brand small { margin-left: 14px; }
  nav.top { flex: 1 1 auto; border-top: 0; justify-content: flex-end; }
  nav.top a { flex: 0 0 auto; padding: 0 22px; line-height: 56px; border-right: 0; border-left: 1px solid var(--rule); }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
  .card strong { font-size: 18px; }
  .tools { max-width: 640px; }
  .product-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .gallery { margin: 0; position: sticky; top: 76px; }
  .slides { border: 1px solid var(--rule); }
  .thumbs { padding-left: 0; padding-right: 0; flex-wrap: wrap; }
  .info { padding-top: 0; }
  .info h1 { font-size: 40px; }
  .buybar { display: none; }
  body.has-buybar .wa-float { display: flex; }
  footer.site { padding-bottom: 40px; }
  footer.site .cols { grid-template-columns: 1.4fr 1fr 1fr; }
  .brand-list { grid-template-columns: repeat(3, 1fr); column-gap: 28px; }
}
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) { .slides { scroll-behavior: smooth; } }
