/* ==========================================================================
   RAYYAAN MOTORS — LIGHT ADVENTURE THEME
   Warm sand base · Trail-blaze orange (close to brand red) · Trail teal · Night ink
   ========================================================================== */
:root {
  --bg: #FBF8F3;            /* warm sand white */
  --bg-sand: #F4EDE2;       /* deeper sand for alternate sections */
  --surface: #FFFFFF;
  --ink: #15222E;           /* night-road ink, headings */
  --ink-2: #44525F;         /* body text */
  --muted: #7B8692;
  --line: #EAE2D6;
  --line-strong: #DCD1C1;

  --primary: #E8441C;       /* blaze orange-red */
  --primary-dark: #C8350F;
  --primary-soft: #FFEDE5;
  --brand-red: #E50914;     /* logo red */
  --teal: #0E7C74;          /* trail teal */
  --teal-soft: #E2F2EF;
  --sun: #FFB21E;           /* sunset amber */
  --wa: #1FAF55;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 6px rgba(21, 34, 46, .06);
  --shadow: 0 12px 30px -10px rgba(21, 34, 46, .18);
  --shadow-lg: 0 30px 60px -20px rgba(21, 34, 46, .28);

  --font-en: 'Montserrat', sans-serif;
  --font-bn: 'Hind Siliguri', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all .3s var(--ease);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-en);
  line-height: 1.55;
  overflow-x: hidden;
}
.bn-text { font-family: var(--font-bn); }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 92%; max-width: 1240px; margin: 0 auto; }
:focus-visible { outline: 3px solid rgba(232, 68, 28, .45); outline-offset: 2px; }

/* ---------- Shared typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.teal { color: var(--teal); }
.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 900; letter-spacing: -.8px; line-height: 1.1;
  color: var(--ink); margin-top: 8px;
}
.section-sub { color: var(--muted); font-size: .98rem; margin-top: 8px; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* ---------- Announcement ---------- */
.top-announcement {
  background: var(--ink);
  color: #F3EDE4;
  font-size: .85rem; font-weight: 500;
  padding: 8px 0;
}
.announce-inner { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; text-align: center; }
.top-announcement a { color: var(--sun); font-weight: 700; }
.top-announcement a:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  font-size: .82rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  border-radius: 999px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: .74rem; }
.btn-red {
  background: linear-gradient(135deg, #F25A26 0%, var(--primary) 55%, #D93A14 100%);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(232, 68, 28, .7);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(232, 68, 28, .8); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18954A; transform: translateY(-2px); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 248, 243, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(21,34,46,.25); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.logo-container { display: inline-flex; align-items: center; }
.logo-svg { height: 40px; width: auto; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-size: .84rem; font-weight: 700; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  transition: var(--transition);
}
.icon-btn.fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }

.cart-btn-trigger {
  position: relative;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  transition: var(--transition);
}
.cart-btn-trigger:hover { background: var(--primary); }
.cart-count-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sun); color: var(--ink);
  font-size: .68rem; font-weight: 900; border-radius: 999px;
  border: 2px solid var(--bg);
}
.cart-count-badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.45)} 100%{transform:scale(1)} }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(255, 178, 30, .18), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, rgba(14, 124, 116, .10), transparent 60%),
    var(--bg);
  overflow-x: clip;
  overflow-y: visible;
}
.hero-topo {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'%3E%3Cg fill='none' stroke='%23D9CCB8' stroke-width='1'%3E%3Cpath d='M-20 80 C 80 20, 180 140, 300 80 S 520 20, 620 90'/%3E%3Cpath d='M-20 110 C 90 50, 190 170, 300 110 S 520 50, 620 120'/%3E%3Cpath d='M-20 140 C 100 80, 200 200, 300 140 S 520 80, 620 150'/%3E%3Cpath d='M-20 250 C 70 210, 160 300, 290 250 S 510 200, 620 260'/%3E%3Cpath d='M-20 280 C 80 240, 170 330, 290 280 S 510 230, 620 290'/%3E%3Cpath d='M-20 310 C 90 270, 180 360, 290 310 S 510 260, 620 320'/%3E%3Cellipse cx='460' cy='200' rx='60' ry='26'/%3E%3Cellipse cx='460' cy='200' rx='34' ry='13'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 400px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
          mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px;
}
.hero-guarantee-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .86rem; font-weight: 600;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-guarantee-badge .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.hero-content h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 900; line-height: 1.02; letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-content h1 .hl {
  font-style: italic;
  background: linear-gradient(100deg, var(--primary) 10%, #F97A1F 60%, var(--sun) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 6px;
}
.hero-bn-highlight {
  font-size: 1.02rem; line-height: 1.7; color: var(--ink-2);
  max-width: 520px; margin-bottom: 28px;
}
.hero-bn-highlight strong { color: var(--primary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 0; }
.stat-item { padding: 0 26px; border-left: 1px solid var(--line-strong); }
.stat-item:first-child { padding-left: 0; border-left: 0; }
.stat-item h3 { font-size: 1.6rem; font-weight: 900; color: var(--ink); letter-spacing: -.5px; }
.stat-item p { font-size: .7rem; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: .8px; }

.hero-visual { position: relative; padding: 20px 10px 30px 30px; }
.hero-sun {
  position: absolute; width: 78%; aspect-ratio: 1; right: -6%; top: -4%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FFD27A, var(--sun) 45%, #F97A1F 100%);
  opacity: .9;
}
.hero-image-wrapper {
  position: relative;
  border-radius: 28px 28px 28px 120px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  transform: rotate(-1.5deg);
}
.hero-image-wrapper img { width: 100%; height: 440px; object-fit: cover; }
.floating-card {
  position: absolute;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  color: var(--ink);
  padding: 14px 18px; border-radius: 14px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.floating-card.deal { left: 0; bottom: 6px; border-left: 4px solid var(--primary); }
.floating-card.check { right: -6px; top: 40px; display: flex; gap: 12px; align-items: center; animation-delay: -2.5s; }
.fc-label { font-size: .64rem; font-weight: 800; color: var(--primary); letter-spacing: 1.5px; }
.fc-title { font-size: .88rem; font-weight: 800; }
.fc-price { font-size: 1.2rem; font-weight: 900; color: var(--ink); }
.fc-sub { font-size: .78rem; color: var(--muted); }
.fc-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }

/* ---------- Finder ---------- */
.finder {
  position: relative; z-index: 2;
  margin: 46px 0 -44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px;
}
.finder-field {
  padding: 8px 16px; border-radius: 12px;
  transition: background .2s;
  border-right: 1px solid var(--line);
}
.finder-field:nth-child(3) { border-right: 0; }
.finder-field:hover { background: var(--bg); }
.finder-field label {
  display: block; font-size: .66rem; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
}
.finder-field select {
  width: 100%; border: 0; background: transparent; outline: none;
  font-family: inherit; font-size: .98rem; font-weight: 700; color: var(--ink);
  cursor: pointer; padding: 2px 0;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237B8692' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
.finder-btn { border-radius: 14px; padding: 14px 28px; }

/* ---------- Brand strip ---------- */
.brand-strip { background: var(--surface); border-bottom: 1px solid var(--line); padding: 78px 0 26px; }
.brand-strip-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.strip-label { font-size: .74rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.brand-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--bg); border: 1.5px solid var(--line);
  font-size: .82rem; font-weight: 800; color: var(--ink); letter-spacing: .5px;
  transition: var(--transition);
}
.brand-chip small { font-size: .7rem; color: var(--muted); font-weight: 700; }
.brand-chip:hover { border-color: var(--primary); color: var(--primary); }
.brand-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.brand-chip.active small { color: rgba(255,255,255,.7); }

/* ---------- Collection ---------- */
.collection-section { padding: 80px 0 90px; }
.collection-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 20px; margin-bottom: 34px;
}
.result-note { font-size: .86rem; color: var(--muted); margin-top: 6px; }
.result-note button { color: var(--primary); font-weight: 700; text-decoration: underline; font-size: .86rem; }
.filter-bar {
  display: flex; gap: 4px; flex-wrap: wrap;
  background: var(--surface); padding: 5px; border-radius: 999px; border: 1px solid var(--line);
}
.filter-btn {
  padding: 9px 18px; font-size: .78rem; font-weight: 800; letter-spacing: .4px;
  border-radius: 999px; color: var(--ink-2);
  transition: var(--transition);
}
.filter-btn:hover { color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; box-shadow: 0 6px 14px -6px rgba(232,68,28,.7); }

.bikes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 26px; }
.bike-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: var(--transition);
  animation: rise .5s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.bike-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-image-box { position: relative; height: 200px; background: var(--bg-sand); overflow: hidden; margin: 10px 10px 0; border-radius: 12px; }
.card-image-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bike-card:hover .card-image-box img { transform: scale(1.06); }
.badge-condition {
  position: absolute; top: 10px; left: 10px;
  font-size: .64rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--teal); color: #fff;
}
.badge-condition.brand-new { background: var(--primary); }
.btn-favorite {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.btn-favorite:hover { transform: scale(1.1); }
.btn-favorite.active { color: var(--primary); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex-grow: 1; }
.bike-meta { font-size: .68rem; font-weight: 800; color: var(--primary); letter-spacing: 1.2px; text-transform: uppercase; }
.bike-name { font-size: 1.12rem; font-weight: 800; color: var(--ink); margin: 3px 0 10px; line-height: 1.3; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.spec-chip {
  font-size: .7rem; font-weight: 600; color: var(--ink-2);
  background: var(--bg); border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 999px;
}
.price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; margin-bottom: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.bike-price { font-size: 1.35rem; font-weight: 900; color: var(--ink); letter-spacing: -.3px; }
.price-tag { font-size: .68rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .8px; }
.card-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
.card-actions .btn { padding: 10px 6px; font-size: .72rem; width: 100%; }
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
}
.empty-state h4 { color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- Steps ---------- */
.steps-section { padding: 80px 0; background: var(--bg-sand); position: relative; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step-card {
  background: var(--surface); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-no {
  font-size: 3.2rem; font-weight: 900; font-style: italic; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--primary);
  margin-bottom: 14px;
}
.step-card h3 { color: var(--ink); font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.step-card p { color: var(--ink-2); font-size: .95rem; }
.step-card::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px;
  border-radius: 50%; background: var(--primary-soft);
}

/* ---------- Happy riders ---------- */
.delivery-showcase { padding: 90px 0; }
.scroll-btns { display: flex; gap: 8px; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--line-strong);
  font-size: 1.5rem; color: var(--ink); line-height: 1;
  transition: var(--transition);
}
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.delivery-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; scrollbar-width: none;
}
.delivery-grid::-webkit-scrollbar { display: none; }
.delivery-card {
  position: relative; scroll-snap-align: start;
  border-radius: 20px; overflow: hidden; background: var(--ink);
  transition: var(--transition);
}
.delivery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.delivery-img { height: 340px; width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.delivery-card:hover .delivery-img { transform: scale(1.05); }
.delivery-info {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: rgba(255,255,255,.95); border-radius: 12px;
  padding: 12px 14px;
}
.delivery-info h4 { font-size: .92rem; font-weight: 800; color: var(--ink); }
.delivery-tag { font-size: .68rem; color: var(--teal); font-weight: 800; text-transform: uppercase; letter-spacing: .8px; margin-top: 2px; }
.delivery-tag::before { content: "● "; color: var(--primary); }

/* ---------- Trust ---------- */
.trust-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--teal-soft) 0%, var(--bg) 100%);
}
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.trust-card {
  background: var(--surface); border: 1px solid #D6E9E5;
  padding: 28px 24px; border-radius: var(--radius);
  transition: var(--transition);
}
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal); }
.trust-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 20px -10px rgba(14,124,116,.8);
}
.trust-card:nth-child(even) .trust-icon { background: var(--primary); box-shadow: 0 10px 20px -10px rgba(232,68,28,.8); }
.trust-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.trust-card p { color: var(--ink-2); font-size: .9rem; }

/* ---------- Location ---------- */
.location-section { padding: 30px 0 90px; }
.location-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  box-shadow: var(--shadow);
}
.location-info { padding: 28px 26px; }
.address-highlight {
  background: var(--primary-soft); border-radius: 14px;
  padding: 16px 18px; margin: 20px 0 18px;
  font-size: .96rem; line-height: 1.65; color: var(--ink);
}
.address-highlight strong { display: block; color: var(--primary); margin-bottom: 4px; }
.hours-list { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
.hours-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.hours-list li > span {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.hours-list strong { display: block; color: var(--ink); font-size: .85rem; }
.loc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-box { border-radius: 16px; overflow: hidden; min-height: 380px; background: var(--bg-sand); }
.map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.9); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(255,178,30,.55), transparent 60%),
    linear-gradient(120deg, #D93A14 0%, var(--primary) 45%, #F97A1F 100%);
  color: #fff; padding: 56px 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background: repeating-linear-gradient(-55deg, transparent 0 22px, rgba(255,255,255,.5) 22px 24px);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
          mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.6px; }
.cta-inner p { opacity: .92; margin-top: 4px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9B3BD; padding: 60px 0 26px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 30px; margin-bottom: 36px; }
.footer-logo { color: #fff; height: 40px; }
.footer-addr { margin-top: 12px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 14px; }
.site-footer a { display: block; margin-bottom: 8px; transition: color .2s; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom {
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .76rem; color: #7C8894;
}

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  background: var(--wa); color: #fff;
  padding: 12px 20px 12px 16px; border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .84rem;
  box-shadow: 0 12px 28px -8px rgba(31,175,85,.65);
  transition: var(--transition);
}
.floating-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(31,175,85,.5); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,175,85,.5) } 70% { box-shadow: 0 0 0 16px rgba(31,175,85,0) } 100% { box-shadow: 0 0 0 0 rgba(31,175,85,0) } }
.floating-whatsapp:hover { transform: translateY(-3px); }

/* ---------- Cart drawer ---------- */
.cart-backdrop {
  position: fixed; inset: 0; background: rgba(21, 34, 46, .45);
  backdrop-filter: blur(3px); z-index: 1100; display: none;
}
.cart-backdrop.open { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: -440px; width: 100%; max-width: 420px; height: 100vh;
  background: var(--bg); z-index: 1200;
  display: flex; flex-direction: column;
  box-shadow: -20px 0 50px -20px rgba(21,34,46,.35);
  transition: right .4s var(--ease);
}
.cart-drawer.open { right: 0; }
.cart-header { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; background: var(--surface); }
.cart-header h3 { font-weight: 900; color: var(--ink); font-size: 1.1rem; }
.close-x {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  font-size: 1.3rem; color: var(--ink); line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.close-x:hover { background: var(--ink); color: #fff; }
.cart-items-container { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { margin: auto; text-align: center; color: var(--muted); }
.cart-empty .big { font-size: 2.6rem; margin-bottom: 6px; }
.cart-item {
  display: flex; gap: 12px; align-items: center;
  background: var(--surface); padding: 10px; border-radius: 14px; border: 1px solid var(--line);
}
.cart-item img { width: 70px; height: 54px; object-fit: cover; border-radius: 10px; }
.ci-name { font-size: .86rem; font-weight: 800; color: var(--ink); }
.ci-price { font-size: .82rem; color: var(--primary); font-weight: 800; }
.qty-ctrl { display: flex; align-items: center; gap: 6px; background: var(--bg); border-radius: 999px; padding: 3px; border: 1px solid var(--line); }
.qty-ctrl button { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); color: var(--ink); font-weight: 800; box-shadow: var(--shadow-sm); }
.qty-ctrl span { font-size: .85rem; font-weight: 800; min-width: 14px; text-align: center; color: var(--ink); }
.ci-remove { color: var(--muted); font-size: 1.2rem; margin-left: 2px; }
.ci-remove:hover { color: var(--primary); }
.cart-footer { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.cart-total-row { display: flex; justify-content: space-between; font-weight: 900; font-size: 1.15rem; color: var(--ink); margin-bottom: 14px; }

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(21, 34, 46, .5);
  backdrop-filter: blur(4px); z-index: 1300;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal-card {
  background: var(--surface); border-radius: 22px;
  width: 100%; max-width: 680px; max-height: 92vh; overflow-y: auto;
  position: relative; padding: 24px;
  box-shadow: var(--shadow-lg);
  animation: rise .35s var(--ease);
}
.modal-close-btn { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal-title { font-size: 1.35rem; font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.modal-sub { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }

.dm-image { height: 280px; overflow: hidden; border-radius: 16px; margin-bottom: 18px; background: var(--bg-sand); }
.dm-image img { width: 100%; height: 100%; object-fit: cover; }
.dm-meta { font-size: .72rem; font-weight: 800; color: var(--primary); letter-spacing: 1.2px; }
.dm-title { font-size: 1.7rem; font-weight: 900; color: var(--ink); margin: 4px 0; letter-spacing: -.5px; }
.dm-price { font-size: 1.4rem; font-weight: 900; color: var(--primary); margin-bottom: 14px; }
.dm-guarantee {
  background: var(--teal-soft); border-radius: 12px;
  padding: 12px 14px; font-size: .9rem; color: var(--ink); margin-bottom: 14px; line-height: 1.7;
}
.dm-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dm-specs div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .86rem; font-weight: 700; color: var(--ink); }
.dm-specs span { display: block; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: 1px; }
.dm-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.dm-actions .btn { flex: 1; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .72rem; font-weight: 800; margin-bottom: 6px; color: var(--ink-2); text-transform: uppercase; letter-spacing: 1px; }
.form-input {
  width: 100%; padding: 12px 14px;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; color: var(--ink); font-family: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); background: #fff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: .86rem; font-weight: 700; z-index: 1400;
  opacity: 0; pointer-events: none; transition: all .35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .finder { grid-template-columns: 1fr 1fr 1fr; }
  .finder-btn { grid-column: 1 / -1; }
}
@media (max-width: 850px) {
  .hero-grid, .location-card { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-visual { order: -1; padding: 10px 10px 20px 10px; }
  .hero-image-wrapper img { height: 300px; }
  .floating-card.check { right: 0; top: 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .location-info { padding: 14px 10px; }
}
@media (max-width: 600px) {
  .logo-svg { height: 32px; }
  .finder { grid-template-columns: 1fr; margin-bottom: -60px; }
  .finder-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .finder-field:nth-child(3) { border-bottom: 0; }
  .brand-strip { padding-top: 94px; }
  .stat-item { padding: 0 14px; }
  .stat-item h3 { font-size: 1.25rem; }
  .filter-bar { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; padding: 9px 14px; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { padding: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .announce-inner { font-size: .78rem; gap: 6px; }
  .dm-specs { grid-template-columns: 1fr; }
}
/* ==========================================================================
   SIDEBAR MENU (off-canvas, left)
   ========================================================================== */
.nav-left { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: var(--surface); border: 1px solid var(--line);
  transition: var(--transition);
}
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: var(--transition); }
.menu-btn span:nth-child(2) { width: 12px; align-self: center; transform: translateX(-3px); }
.menu-btn:hover { border-color: var(--primary); }
.menu-btn:hover span { background: var(--primary); }
.menu-btn:hover span:nth-child(2) { width: 18px; transform: none; }

html.sb-lock, html.sb-lock body { overflow: hidden; }

.sidebar-backdrop {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(21, 34, 46, .5);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.sidebar-backdrop.open { opacity: 1; visibility: visible; }

.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1600;
  width: min(88vw, 360px);
  height: 100vh; height: 100dvh;
  background: var(--bg);
  display: flex; flex-direction: column;
  box-shadow: 30px 0 60px -30px rgba(21,34,46,.45);
  transform: translateX(-105%);
  transition: transform .42s var(--ease);
  padding-left: env(safe-area-inset-left);
  will-change: transform;
}
.sidebar.open { transform: translateX(0); }
.sidebar.dragging { transition: none; }

.sb-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; padding-top: calc(16px + env(safe-area-inset-top));
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.sb-logo { height: 34px; color: var(--ink); }

.sb-body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 16px 16px 24px;
}

.sb-hero {
  position: relative; overflow: hidden;
  border-radius: 16px; padding: 16px;
  color: #fff;
  background:
    radial-gradient(220px 140px at 100% 0%, rgba(255,178,30,.6), transparent 70%),
    linear-gradient(130deg, #D93A14 0%, var(--primary) 50%, #F97A1F 100%);
  margin-bottom: 8px;
}
.sb-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background: repeating-linear-gradient(-55deg, transparent 0 14px, #fff 14px 15px);
}
.sb-hero-text { position: relative; z-index: 1; margin-bottom: 12px; }
.sb-hero-text strong { display: block; font-size: 1rem; font-weight: 800; }
.sb-hero-text span { font-size: .85rem; opacity: .92; }
.sb-hero-actions { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sb-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 12px; border-radius: 999px;
  background: #fff; color: var(--ink);
  font-size: .8rem; font-weight: 800;
  transition: var(--transition);
}
.sb-pill.wa { background: var(--wa); color: #fff; }
.sb-pill:active { transform: scale(.97); }

.sb-label {
  font-size: .66rem; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--muted); margin: 20px 6px 8px;
}

.sb-nav { display: flex; flex-direction: column; gap: 2px; }
.sb-nav a {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 12px;
  font-size: .95rem; font-weight: 700; color: var(--ink);
  transition: background .2s, color .2s;
  opacity: 0; transform: translateX(-12px);
}
.sidebar.open .sb-nav a { opacity: 1; transform: none; transition: background .2s, color .2s, opacity .4s var(--ease), transform .4s var(--ease); }
.sidebar.open .sb-nav a:nth-child(1) { transition-delay: .06s; }
.sidebar.open .sb-nav a:nth-child(2) { transition-delay: .1s; }
.sidebar.open .sb-nav a:nth-child(3) { transition-delay: .14s; }
.sidebar.open .sb-nav a:nth-child(4) { transition-delay: .18s; }
.sidebar.open .sb-nav a:nth-child(5) { transition-delay: .22s; }
.sb-nav a svg { color: var(--muted); flex-shrink: 0; transition: color .2s; }
.sb-nav a:hover { background: var(--surface); }
.sb-nav a.active { background: var(--primary-soft); color: var(--primary); }
.sb-nav a.active svg { color: var(--primary); }
.sb-nav a.active::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--primary);
}
.sb-count {
  margin-left: auto; font-style: normal;
  font-size: .7rem; font-weight: 800; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 999px;
}

.sb-browse { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sb-tile {
  text-align: left; padding: 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  transition: var(--transition);
}
.sb-tile b { display: block; font-size: .86rem; color: var(--ink); }
.sb-tile small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.sb-tile:hover, .sb-tile:active { border-color: var(--primary); }
.sb-tile:hover b { color: var(--primary); }

.sb-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-brands button {
  padding: 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 700; color: var(--ink);
  transition: var(--transition);
}
.sb-brands button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.sb-guarantee {
  margin-top: 20px; padding: 12px 14px; border-radius: 12px;
  background: var(--teal-soft); color: var(--ink); font-size: .86rem;
  display: grid; gap: 6px;
}
.sb-guarantee span {
  display: inline-flex; width: 18px; height: 18px; border-radius: 50%;
  align-items: center; justify-content: center; margin-right: 6px;
  background: var(--teal); color: #fff; font-size: .66rem; font-weight: 900;
}
.sb-address {
  margin-top: 12px; padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .84rem; line-height: 1.6; color: var(--ink-2);
}
.sb-address strong { display: block; color: var(--ink); margin-bottom: 2px; }
.sb-address a { display: inline-block; margin-top: 6px; color: var(--primary); font-weight: 700; font-family: var(--font-en); font-size: .8rem; }

.sb-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; padding-bottom: calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--surface);
  font-size: .74rem; color: var(--muted);
}

/* ==========================================================================
   MOBILE BOTTOM BAR
   ========================================================================== */
.bottom-bar { display: none; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .floating-whatsapp { display: none; }
  .nav-actions .icon-btn.fb { display: none; }
  .nav-container { height: 64px; }
  .menu-btn { width: 40px; height: 40px; }
  .cart-btn-trigger { width: 40px; height: 40px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }

  .bottom-bar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 0 6px env(safe-area-inset-bottom);
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgba(21,34,46,.2);
  }
  .bottom-bar > a, .bottom-bar > button {
    position: relative;
    height: 64px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: .64rem; font-weight: 700; letter-spacing: .3px; color: var(--muted);
    -webkit-tap-highlight-color: transparent;
  }
  .bottom-bar > a.active { color: var(--primary); }
  .bottom-bar > a.active::before {
    content: ""; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary);
  }
  .bottom-bar > *:active { transform: scale(.94); }
  .bb-wa { justify-content: flex-end !important; padding-bottom: 8px; }
  .bb-wa-circle {
    width: 52px; height: 52px; border-radius: 50%;
    margin-top: -22px;
    display: flex; align-items: center; justify-content: center;
    background: var(--wa); color: #fff;
    border: 4px solid var(--bg);
    box-shadow: 0 10px 20px -8px rgba(31,175,85,.8);
  }
  .bb-icon { position: relative; display: inline-flex; }
  .bb-badge {
    position: absolute; top: -6px; right: -10px;
    min-width: 17px; height: 17px; padding: 0 4px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; background: var(--primary); color: #fff;
    font-size: .6rem; font-weight: 900; font-style: normal;
    border: 2px solid #fff;
  }
  .bb-badge:empty, .bb-badge.zero { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.nav-links a.active { color: var(--primary); background: var(--primary-soft); }
