/* Dragon Mart storefront — colours derived from the Dragon Mart logo (sky blue, yellow, red, white, dark outline). */
:root {
  --blue: #1ea9f0;
  --blue-600: #0a8fd6;
  --blue-700: #0a6fd1;
  --blue-50: #eaf6fe;
  --yellow: #ffd21f;
  --yellow-600: #f5b400;
  --yellow-50: #fff8d6;
  --red: #e3202a;
  --red-50: #fdecec;
  --green: #17914a;
  --green-50: #e7f6ec;
  --ink: #0b1b30;
  --ink-2: #33445c;
  --muted: #5d6b80;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(12, 42, 84, .06), 0 6px 20px -10px rgba(12, 42, 84, .18);
  --shadow-lg: 0 20px 50px -20px rgba(12, 42, 84, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--font);
  --max: 1240px;
  --gutter: clamp(14px, 4vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(24px, 4vw, 34px); }
h2 { font-size: clamp(20px, 3vw, 26px); }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; }
.hidden { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font: 600 14px/1 var(--font); cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, #ffe35c, var(--yellow) 50%, var(--yellow-600)); color: #111; box-shadow: 0 8px 20px -10px rgba(230, 170, 0, .9); }
.btn-primary:hover { box-shadow: 0 12px 26px -10px rgba(230, 170, 0, 1); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-700)); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); }
.btn-danger { background: #fff; color: var(--red); border-color: #f3c1c3; }
.btn-ghost { background: transparent; color: var(--blue-700); padding: 0 10px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }

/* Forms */
label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
.input, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd9e5; border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 169, 240, .2); }
.field { margin-bottom: 14px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.error, .field .error { color: var(--red); font-size: 13px; margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-700); }
.form-grid { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }

/* Alerts */
.alert { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 14px; border: 1px solid; }
.alert-success { background: var(--green-50); border-color: #b9e3c7; color: #0f5d31; }
.alert-error { background: var(--red-50); border-color: #f3c1c3; color: #8e1419; }
.alert-info { background: var(--blue-50); border-color: #bfe3f9; color: #0a4f82; }
.alert ul { margin: 0; padding-left: 18px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-soft); color: var(--ink-2); white-space: nowrap; }
.badge-success { background: var(--green-50); color: var(--green); }
.badge-warning { background: var(--yellow-50); color: #8a6400; }
.badge-danger { background: var(--red-50); color: var(--red); }
.badge-info { background: var(--blue-50); color: var(--blue-700); }
.badge-muted { background: #eef1f5; color: var(--muted); }
.badge-off { background: var(--red); color: #fff; }

/* Top bar & header */
.topbar { background: var(--ink); color: #dfe8f3; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; min-height: 34px; align-items: center; }
.topbar a { color: #fff; }
.topbar .cod { color: var(--yellow); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex: none; }
.logo img { width: 58px; height: auto; }
.logo b { font-family: var(--display); font-size: 17px; line-height: 1.05; display: none; }
.logo b small { display: block; font: 600 10px var(--font); letter-spacing: .16em; color: var(--blue-700); }
@media (min-width: 900px) { .logo b { display: block; } }
.search { position: relative; flex: 1; min-width: 0; }
.search input { border-radius: 999px; padding-left: 42px; background: var(--bg-soft); border-color: transparent; }
.search input:focus { background: #fff; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; }
.suggest a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.suggest a:hover, .suggest a.active { background: var(--bg-soft); }
.suggest img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; background: var(--bg-soft); }
.suggest .price { margin-left: auto; font-weight: 600; font-size: 13px; }
.suggest .group { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 6px 8px 2px; }
.header-actions { display: flex; gap: 4px; align-items: center; }
.icon-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 12px; color: var(--ink); text-decoration: none !important; font-size: 11px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .label { display: none; }
@media (min-width: 900px) { .icon-btn { padding: 0 10px; } .icon-btn .label { display: block; margin-top: 1px; } }
.count { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 700 11px/18px var(--font); text-align: center; }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: block; padding: 10px 12px; color: var(--ink-2); font-weight: 600; font-size: 13.5px; white-space: nowrap; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--blue-700); border-bottom-color: var(--yellow); }
.nav a.offer { color: var(--red); }
.branch-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.branch-pill select { min-height: 28px; padding: 2px 26px 2px 8px; border-radius: 999px; font-size: 12.5px; background-color: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.branch-pill select option { color: var(--ink); }

/* Sections */
main { min-height: 50vh; }
.section { padding: clamp(22px, 4vw, 40px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.bg-soft { background: var(--bg-soft); }
.breadcrumbs { font-size: 13px; color: var(--muted); padding-top: 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa7b8; }
.breadcrumbs a { color: var(--muted); }
.page-title { padding: 10px 0 18px; }
.page-title h1 { margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #e3f4fe 0%, #f6fbff 55%, #fff9e0 100%); }
.hero-slider { position: relative; }
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.hero-inner { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 5vw, 56px) 0; }
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { font-size: clamp(28px, 5vw, 50px); margin-bottom: 12px; }
.hero h1 em { font-style: normal; color: var(--blue-700); position: relative; z-index: 0; }
.hero h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em; background: var(--yellow); z-index: -1; border-radius: 3px; transform: skewX(-10deg); }
.hero p.lead { font-size: clamp(15px, 1.8vw, 18px); color: var(--ink-2); max-width: 46ch; }
.hero-img { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; box-shadow: var(--shadow-lg); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.hero-art img.logo-big { width: min(78%, 380px); filter: drop-shadow(0 20px 30px rgba(10, 111, 209, .25)); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.hero-points span { display: inline-flex; gap: 6px; align-items: center; }
.hero-points svg { width: 18px; height: 18px; color: var(--green); }
.dots { display: flex; gap: 6px; justify-content: center; padding-bottom: 14px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #bcd3e6; cursor: pointer; padding: 0; }
.dots button.active { background: var(--blue-700); width: 22px; border-radius: 5px; }

/* Category tiles */
.cat-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; color: var(--ink); font-weight: 600; font-size: 13px; text-decoration: none !important; transition: transform .15s, box-shadow .2s, border-color .2s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #bfe3f9; }
.cat-tile .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); font: 700 20px var(--display); overflow: hidden; }
.cat-tile:nth-child(3n+2) .ic { background: var(--yellow-50); color: #8a6400; }
.cat-tile:nth-child(3n) .ic { background: var(--red-50); color: var(--red); }
.cat-tile .ic img { width: 100%; height: 100%; object-fit: contain; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 600; text-decoration: none !important; }
.chip:hover, .chip.active { border-color: var(--blue); color: var(--blue-700); background: var(--blue-50); }

/* Product cards */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 44%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 640px) { .scroller { grid-auto-columns: minmax(190px, 30%); } }
@media (min-width: 960px) { .scroller { grid-auto-columns: calc((100% - 36px) / 4); } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .thumb { display: block; aspect-ratio: 1 / 1; background: #f7fafd; padding: 10px; }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .brand { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card .name { font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; text-decoration: none; }
.card .unit { font-size: 12px; color: var(--muted); }
.card .tags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price .now { font: 700 16px var(--display); color: var(--ink); }
.price .was { font-size: 12.5px; color: var(--muted); text-decoration: line-through; }
.card .actions { margin-top: auto; padding-top: 6px; }
.card .actions .btn { width: 100%; min-height: 38px; font-size: 13px; }
.out { color: var(--red); font-size: 12px; font-weight: 600; }
.low { color: #8a6400; font-size: 12px; font-weight: 600; }
.wish { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.wish svg { width: 18px; height: 18px; }
.wish.on { color: var(--red); }
.wish.on svg { fill: currentColor; }

/* Listing layout */
.listing { display: grid; gap: 18px; }
@media (min-width: 960px) { .listing { grid-template-columns: 240px 1fr; } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; align-self: start; }
.filters h3 { font-size: 14px; margin: 12px 0 8px; }
.filters h3:first-child { margin-top: 0; }
.filters .check { font-size: 13.5px; margin-bottom: 6px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.toolbar select { width: auto; min-height: 38px; }
details.filters-mobile summary { cursor: pointer; font-weight: 600; }
@media (min-width: 960px) { details.filters-mobile > summary { display: none; } }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); background: var(--bg-soft); border-radius: var(--radius); }
.empty svg { width: 48px; height: 48px; margin: 0 auto 10px; color: #9cc7e6; }

/* Product detail */
.pdp { display: grid; gap: 22px; padding: 16px 0 10px; }
@media (min-width: 860px) { .pdp { grid-template-columns: 1fr 1fr; gap: 36px; } }
.gallery .main { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery .thumbs button { width: 64px; height: 64px; flex: none; border: 2px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; }
.gallery .thumbs button.active { border-color: var(--blue); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp h1 { font-size: clamp(22px, 3vw, 30px); }
.pdp .price .now { font-size: 26px; }
.variants { display: flex; gap: 8px; flex-wrap: wrap; }
.variant { border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 14px; background: #fff; cursor: pointer; text-align: left; font: inherit; }
.variant small { display: block; color: var(--muted); font-size: 12px; }
.variant.active { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue); }
.variant[aria-disabled=true] { opacity: .55; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cfd9e5; border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 42px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty input { width: 52px; border: 0; text-align: center; min-height: 42px; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 32px; height: 34px; } .qty.sm input { width: 40px; min-height: 34px; }
.info-list { display: grid; gap: 8px; margin: 16px 0; padding: 14px; background: var(--bg-soft); border-radius: var(--radius); font-size: 14px; }
.info-list div { display: flex; gap: 8px; align-items: center; }
.info-list svg { width: 18px; height: 18px; color: var(--blue-700); flex: none; }
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; margin-top: 24px; }
.tabs button { background: none; border: 0; padding: 10px 14px; font: 600 14px var(--font); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--ink); border-bottom-color: var(--yellow); }
.tab-panel { padding: 16px 0; }
.prose { max-width: 75ch; }
.prose img { border-radius: var(--radius); }
.stars { color: var(--yellow-600); letter-spacing: 1px; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }

/* Cart & checkout */
.layout-2 { display: grid; gap: 20px; }
@media (min-width: 960px) { .layout-2 { grid-template-columns: 1fr 360px; align-items: start; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.panel + .panel { margin-top: 14px; }
.panel h2, .panel h3 { font-size: 17px; }
.sticky { position: sticky; top: 90px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line img { width: 64px; height: 64px; object-fit: contain; background: var(--bg-soft); border-radius: 10px; padding: 4px; }
.line .name { font-weight: 600; color: var(--ink); }
.totals { display: grid; gap: 8px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .discount { color: var(--green); }
.totals .grand { font: 700 18px var(--display); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; }
.option { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; margin-bottom: 8px; font-weight: 500; }
.option:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.option input { margin-top: 3px; accent-color: var(--blue-700); }
.option b { display: block; }

/* Account */
.account { display: grid; gap: 20px; padding-bottom: 30px; }
@media (min-width: 900px) { .account { grid-template-columns: 240px 1fr; } }
.side-nav { display: flex; gap: 6px; overflow-x: auto; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none; }
.side-nav a:hover { background: var(--bg-soft); }
.side-nav a.active { background: var(--blue-50); color: var(--blue-700); }
@media (min-width: 900px) { .side-nav { flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; align-self: start; } }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stat b { display: block; font: 700 22px var(--display); }
.stat span { color: var(--muted); font-size: 13px; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.table-wrap { overflow-x: auto; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; position: relative; padding-bottom: 14px; }
.timeline li::before { content: ""; position: absolute; left: 12px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 26px; height: 26px; border-radius: 50%; background: #e7edf4; display: grid; place-items: center; color: #fff; }
.timeline li.done .dot { background: var(--green); }
.timeline .dot svg { width: 14px; height: 14px; }
.address-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }

/* Stores */
.store-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.store-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.store-card h3 { margin: 0; }
.store-card .open { color: var(--green); font-weight: 600; font-size: 13px; }
.store-card .closed { color: var(--red); font-weight: 600; font-size: 13px; }
.hours { width: 100%; font-size: 14px; border-collapse: collapse; }
.hours td { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; }
.map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: var(--bg-soft); }

/* Info strip, FAQ, brand, banners */
.strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.strip .item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.strip .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); flex: none; }
.strip .ic svg { width: 22px; height: 22px; }
.strip b { display: block; font-size: 14.5px; }
.strip span { font-size: 13px; color: var(--muted); }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; background: #fff; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 13px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--blue-700); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 14px; color: var(--ink-2); }
.brand-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.brand-tile { display: grid; place-items: center; height: 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; color: var(--ink-2); font-weight: 700; text-align: center; font-size: 13px; text-decoration: none !important; }
.brand-tile img { max-height: 46px; width: auto; object-fit: contain; }
.banners { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.banner { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 2 / 1; background: linear-gradient(135deg, var(--blue), var(--blue-700)); color: #fff; text-decoration: none !important; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner .text { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.banner .text b { font: 700 18px var(--display); display: block; }
.countdown { font: 700 14px var(--display); background: var(--red); color: #fff; padding: 4px 10px; border-radius: 8px; }
.stores-strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Footer */
.footer { background: var(--ink); color: #c4d0de; margin-top: 30px; font-size: 14px; }
.footer a { color: #e8eef6; }
.footer-grid { display: grid; gap: 26px; padding-top: 36px; padding-bottom: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer .brand-row { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.footer .brand-row img { width: 64px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; padding-bottom: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.color-bar { height: 4px; background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--blue) 66%); }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; }

/* Floating WhatsApp & toast & mobile bottom nav */
.whatsapp { position: fixed; right: 16px; bottom: 80px; z-index: 50; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.whatsapp svg { width: 28px; height: 28px; }
@media (min-width: 900px) { .whatsapp { bottom: 22px; } }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; opacity: 0; transition: .25s; z-index: 80; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; color: var(--muted); font-size: 11px; font-weight: 600; text-decoration: none; position: relative; }
.bottom-nav a.active { color: var(--blue-700); }
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav .count { top: 2px; right: calc(50% - 22px); }
body { padding-bottom: 64px; }
@media (min-width: 900px) { .bottom-nav { display: none; } body { padding-bottom: 0; } }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 22px 0 6px; list-style: none; padding: 0; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none; background: #fff; }
.pagination .active span { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.pagination .disabled span { opacity: .45; }

/* Auth */
.auth { max-width: 440px; margin: 30px auto; }
.auth .panel { padding: 24px; }
.auth h1 { font-size: 24px; }

@media print { .header, .footer, .bottom-nav, .whatsapp, .topbar { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
