/* Insaaf Auto campaign landing page — standalone static stylesheet (not on the app's SCSS build). */

:root {
  --c-primary: #16A34A;
  --c-primary-rgb: 22 163 74;
  --c-primary-hover: #15803D;
  --c-primary-soft: #4ADE80;
  --c-bg: #0B1120;
  --c-bg-rgb: 11 17 32;
  --c-bg-alt: #0F172A;
  --c-surface: #111827;
  --c-surface-2: #162032;
  --c-border: #1F2937;
  --c-border-strong: #2B3647;
  --c-text: #F8FAFC;
  --c-text-2: #CBD5E1;
  --c-muted: #94A3B8;
  --c-warning: #FACC15;
  --c-danger: #F87171;
  --c-radius: 16px;
  /* Noto Sans Bengali is loaded for the ৳ glyph only — Inter has no Taka sign. */
  --c-font: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--c-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }

.c-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.c-center { text-align: center; }
.c-muted { color: var(--c-muted); }

/* Header */
.c-header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(var(--c-bg-rgb) / 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.c-header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.c-brand img { height: 44px; width: auto; }
.c-header-cta {
  font-weight: 600; font-size: 14px; text-decoration: none;
  padding: 9px 18px; border-radius: 999px;
  background: var(--c-primary); color: #fff;
  transition: background .15s;
}
.c-header-cta:hover { background: var(--c-primary-hover); }

/* Buttons */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--c-font);
  background: var(--c-primary); color: #fff; text-decoration: none;
  padding: 15px 28px; border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: 0 8px 24px rgb(var(--c-primary-rgb) / 0.3);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.c-btn:hover { background: var(--c-primary-hover); box-shadow: 0 10px 28px rgb(var(--c-primary-rgb) / 0.4); }
.c-btn:active { transform: translateY(1px); }
.c-btn:focus-visible, .c-header-cta:focus-visible { outline: 2px solid var(--c-primary-soft); outline-offset: 3px; }
.c-btn:disabled { opacity: .6; cursor: wait; }
.c-btn-lg { padding: 18px 36px; font-size: 17px; }
.c-btn-block { width: 100%; }

/* States */
.c-state { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; }
.c-state h1 { margin: 0 0 8px; font-size: 26px; }
.c-state p { color: var(--c-muted); max-width: 460px; }
.c-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--c-border); border-top-color: var(--c-primary);
  animation: c-spin .8s linear infinite;
}
@keyframes c-spin { to { transform: rotate(360deg); } }

/* Hero */
.c-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  padding: 96px 0;
}
.c-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('assets/hero-bg.jpg') center / cover no-repeat;
}
.c-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgb(var(--c-bg-rgb) / 0.35), rgb(var(--c-bg-rgb) / 0.8) 70%),
    linear-gradient(180deg, rgb(var(--c-bg-rgb) / 0.3) 0%, rgb(var(--c-bg-rgb) / 0.6) 60%, var(--c-bg) 100%);
}
.c-hero-inner { max-width: 860px; text-align: center; }
.c-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-primary-soft); background: rgb(var(--c-primary-rgb) / 0.15);
  border: 1px solid rgb(var(--c-primary-rgb) / 0.45);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.c-hero h1 {
  font-size: clamp(34px, 6.2vw, 64px); line-height: 1.08; font-weight: 800;
  margin: 0 0 18px; letter-spacing: -0.025em;
  text-shadow: 0 2px 24px rgb(0 0 0 / 0.45);
}
.c-hero-sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--c-text-2); margin: 0 auto 22px; max-width: 620px; }
.c-hero-price {
  display: inline-block; margin: 0 0 28px;
  font-size: 18px; font-weight: 700; color: var(--c-primary-soft);
}

.c-countdown { margin: 0 auto 34px; }
.c-countdown-label { display: block; font-size: 12px; font-weight: 600; color: var(--c-text-2); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.c-countdown-cells { display: inline-flex; gap: 10px; }
.c-countdown-cells div {
  min-width: 72px; padding: 12px 8px 10px; border-radius: 12px;
  background: rgb(var(--c-bg-rgb) / 0.65); border: 1px solid rgb(255 255 255 / 0.1);
  backdrop-filter: blur(8px);
}
.c-countdown-cells b { display: block; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.c-countdown-cells span { font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }

/* Sections */
.c-section { padding: 88px 0; }
.c-section h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
.c-section-head { text-align: center; margin: 0 auto 44px; max-width: 640px; }
.c-section-head h2 { margin: 0; }
.c-kicker {
  display: block; margin-bottom: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary-soft);
}

/* Offer + campaign details */
.c-offer-section { padding-top: 56px; }
.c-offer-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch;
}
.c-offer-section.is-single .c-offer-grid { grid-template-columns: minmax(0, 560px); justify-content: center; }

.c-offer-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--c-surface-2), var(--c-surface));
  border: 1px solid rgb(var(--c-primary-rgb) / 0.45);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35), 0 0 0 4px rgb(var(--c-primary-rgb) / 0.06);
}
.c-offer-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--c-border); }
.c-offer-body { padding: 32px; }
.c-offer-body h3 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
.c-offer-body > .c-muted { margin: 0; }
.c-pill {
  display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  background: var(--c-primary); color: #fff; padding: 6px 12px; border-radius: 8px; margin-bottom: 16px;
}
.c-items { list-style: none; margin: 24px 0 0; padding: 0; }
.c-items li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-top: 1px dashed var(--c-border-strong);
}
.c-items li > span:first-child { display: flex; gap: 10px; align-items: baseline; }
.c-items li > span:first-child::before { content: '✓'; color: var(--c-primary-soft); font-weight: 700; }
.c-price {
  margin: 20px 0 24px; padding: 18px 20px; border-radius: 14px;
  background: rgb(var(--c-primary-rgb) / 0.1); border: 1px solid rgb(var(--c-primary-rgb) / 0.25);
}
.c-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.c-price-new { font-size: 44px; line-height: 1; font-weight: 800; color: var(--c-primary-soft); letter-spacing: -0.02em; }
.c-price-old { color: var(--c-muted); text-decoration: line-through; font-size: 18px; }
.c-price-save {
  display: inline-block; margin-top: 10px;
  font-size: 13px; font-weight: 700; color: var(--c-warning);
}
/* Optional YouTube video section (hidden unless the campaign has a video link). */
.c-video {
  position: relative; max-width: 880px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--c-border); background: var(--c-surface);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
}
.c-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.c-price-starts {
  display: block; margin-top: 6px;
  font-size: 13px; font-weight: 600; color: var(--c-muted);
}

.c-details {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 20px;
  padding: 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.c-details h3 { font-size: 20px; margin: 0 0 14px; }
#details p { color: var(--c-text-2); font-size: 17px; margin: 0 0 14px; white-space: pre-line; }
#details p:last-child { margin-bottom: 0; }

/* Why */
.c-why { background: var(--c-bg-alt); border-block: 1px solid var(--c-border); }
.c-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-why-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.c-why-card:hover { border-color: rgb(var(--c-primary-rgb) / 0.45); transform: translateY(-2px); }
.c-why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: rgb(var(--c-primary-rgb) / 0.14); color: var(--c-primary-soft);
}
.c-why-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-why-card h3 { margin: 0 0 6px; font-size: 18px; }
.c-why-card p { margin: 0; color: var(--c-muted); }

/* Customer reviews slider (static cards, scroll-snap track; JS adds arrows/dots/autoplay) */
.c-slider { position: relative; }
.c-slider-track {
  --per-view: 3;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * 20px) / var(--per-view));
  gap: 20px; margin: 0; padding: 4px 2px 8px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.c-slider-track::-webkit-scrollbar { display: none; }
.c-slider-track:focus-visible { outline: 2px solid var(--c-primary-soft); outline-offset: 4px; border-radius: var(--c-radius); }
.c-review-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius); padding: 28px;
}
.c-review-stars { color: var(--c-warning); font-size: 18px; letter-spacing: 3px; line-height: 1; }
.c-review-text { margin: 0; flex: 1; color: var(--c-text-2); font-size: 16px; line-height: 1.65; }
.c-review-text::before { content: '“'; color: var(--c-primary-soft); font-weight: 800; margin-right: 2px; }
.c-review-text::after { content: '”'; color: var(--c-primary-soft); font-weight: 800; margin-left: 2px; }
.c-review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--c-border); }
.c-review-avatar {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgb(var(--c-primary-rgb) / 0.16); color: var(--c-primary-soft); font-weight: 800;
}
.c-review-author b { display: block; font-size: 15px; }
.c-review-author div span { display: block; font-size: 13px; color: var(--c-muted); }

.c-slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.c-slider-nav[hidden] { display: none !important; }
.c-slider-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border-strong);
  transition: border-color .2s, background .2s, opacity .2s;
}
.c-slider-btn:hover:not(:disabled) { border-color: var(--c-primary); background: rgb(var(--c-primary-rgb) / 0.12); }
.c-slider-btn:focus-visible { outline: 2px solid var(--c-primary-soft); outline-offset: 3px; }
.c-slider-btn:disabled { opacity: .35; cursor: default; }
.c-slider-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.c-slider-dots { display: flex; gap: 8px; }
.c-slider-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: var(--c-border-strong); transition: width .25s, background .25s;
}
.c-slider-dots button[aria-current="true"] { width: 26px; background: var(--c-primary); }
.c-slider-dots button:focus-visible { outline: 2px solid var(--c-primary-soft); outline-offset: 3px; }

@media (max-width: 900px) { .c-slider-track { --per-view: 2; } }
@media (max-width: 620px) { .c-slider-track { --per-view: 1; } .c-review-card { padding: 22px 18px; } }
@media (prefers-reduced-motion: reduce) { .c-slider-track { scroll-behavior: auto; } }

/* Claim */
.c-claim {
  background:
    radial-gradient(ellipse at 15% 30%, rgb(var(--c-primary-rgb) / 0.12), transparent 55%),
    var(--c-bg);
}
.c-claim-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center;
}
.c-claim-intro > .c-muted { font-size: 17px; margin: 0 0 32px; max-width: 440px; }
.c-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.c-steps li { display: flex; gap: 16px; align-items: flex-start; }
.c-steps b {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--c-primary-soft);
  background: rgb(var(--c-primary-rgb) / 0.14); border: 1px solid rgb(var(--c-primary-rgb) / 0.4);
}
.c-steps strong { display: block; font-size: 16px; }
.c-steps span { color: var(--c-muted); font-size: 15px; }

/* Form */
.c-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 20px;
  padding: 32px; box-shadow: 0 24px 60px rgb(0 0 0 / 0.4);
}
.c-field { margin-bottom: 16px; }
.c-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.c-field label span { color: var(--c-danger); }
.c-field label em { font-style: normal; font-weight: 400; color: var(--c-muted); }
.c-field input, .c-field textarea {
  width: 100%; font: 400 16px/1.4 var(--c-font); color: var(--c-text);
  background: var(--c-bg); border: 1px solid var(--c-border-strong); border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.c-field textarea { resize: vertical; min-height: 88px; }
.c-field input::placeholder, .c-field textarea::placeholder { color: #64748B; }
.c-field input:focus, .c-field textarea:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgb(var(--c-primary-rgb) / 0.25);
}
.c-field .is-invalid { border-color: var(--c-danger); }
.c-error { display: block; color: var(--c-danger); font-size: 13px; margin-top: 4px; }
.c-error:empty { display: none; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.c-form-error {
  color: var(--c-danger); background: rgb(248 113 113 / 0.1); border: 1px solid rgb(248 113 113 / 0.35);
  padding: 10px 12px; border-radius: 10px; font-size: 14px;
}
.c-fineprint { font-size: 12px; color: var(--c-muted); text-align: center; margin: 12px 0 0; }
.c-success { text-align: center; padding: 24px 0; }
.c-success h2 { font-size: 26px; margin: 0 0 8px; }
.c-success-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; color: #fff; background: var(--c-primary);
  box-shadow: 0 0 0 8px rgb(var(--c-primary-rgb) / 0.15);
}
.c-success p { color: var(--c-text-2); margin: 0; }

/* Footer */
.c-footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--c-border); font-size: 14px; background: var(--c-bg-alt); }
.c-footer p { margin: 4px 0; }
.c-footer-logo { height: 40px; width: auto; margin: 0 auto 12px; }

@media (max-width: 900px) {
  /* Tablet + phone: one column, but capped so cards and the form don't stretch across a tablet. */
  .c-offer-grid, .c-claim-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
  .c-offer-section.is-single .c-offer-grid { grid-template-columns: minmax(0, 1fr); }
  .c-claim-grid { gap: 36px; }

}
@media (max-width: 800px) {
  .c-hero { min-height: 0; padding: 72px 0 64px; }
  .c-section { padding: 60px 0; }
  .c-offer-section { padding-top: 40px; }
  .c-section-head { margin-bottom: 32px; }
}
@media (max-width: 520px) {
  .c-header-row { height: 60px; }
  .c-brand img { height: 38px; }
  .c-row { grid-template-columns: 1fr; gap: 0; }
  .c-card, .c-offer-body, .c-details { padding: 22px 18px; }
  .c-countdown-cells { gap: 8px; }
  .c-countdown-cells div { min-width: 60px; }
  .c-countdown-cells b { font-size: 24px; }
  .c-price-new { font-size: 36px; }
  .c-btn-lg { padding: 17px 24px; width: 100%; }
}

/* Dynamic claim form — order fields (shown when the campaign's Form tab is "Order"). */
.c-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.c-fieldset[hidden] { display: none; }
.c-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.c-label span { color: var(--c-danger); }
.c-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-field .c-choice {
  position: relative; display: flex; flex-direction: column; gap: 2px; cursor: pointer;
  padding: 12px 14px; border: 1px solid var(--c-border-strong); border-radius: 10px; background: var(--c-bg);
  transition: border-color .15s, background .15s;
}
.c-choice input { position: absolute; opacity: 0; pointer-events: none; }
.c-field .c-choice span { font-weight: 600; font-size: 15px; color: var(--c-text); }  /* beat .c-field label span (required-star red) */
.c-choice small { color: var(--c-muted); font-size: 13px; }
.c-choice:has(input:checked) { border-color: var(--c-primary); background: rgb(var(--c-primary-rgb) / 0.12); }
.c-choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgb(var(--c-primary-rgb) / 0.25); }
.c-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--c-border-strong); border-radius: 10px; overflow: hidden; }
.c-field .c-qty input {
  width: 64px; text-align: center; border: 0; border-radius: 0; padding: 10px 4px; -moz-appearance: textfield;
}
.c-qty input::-webkit-outer-spin-button, .c-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.c-qty-btn {
  width: 44px; border: 0; background: var(--c-surface-2); color: var(--c-text);
  font: 600 20px/1 var(--c-font); cursor: pointer;
}
.c-qty-btn:hover { background: var(--c-border-strong); }
.c-summary {
  margin: 4px 0 16px; padding: 14px 16px; border-radius: 12px;
  background: var(--c-bg); border: 1px dashed var(--c-border-strong); font-size: 15px;
}
.c-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--c-text-2); }
.c-summary-total { border-top: 1px solid var(--c-border); margin-top: 6px; padding-top: 10px !important; }
.c-summary-total span { color: var(--c-text); font-weight: 800; font-size: 18px; }
.c-summary-total span:last-child { color: var(--c-primary-soft); }
.c-success-total { font-weight: 700; color: var(--c-primary-soft); }
/* The two delivery areas sit side by side down to small phones; stack only below 340px. */
@media (max-width: 340px) { .c-choices { grid-template-columns: 1fr; } }

/* 6-digit reference token on the thank-you screen. */
.c-token {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin: 20px auto 8px; padding: 16px 20px; max-width: 320px; border-radius: 14px;
  background: rgb(var(--c-primary-rgb) / 0.1); border: 1px dashed rgb(var(--c-primary-rgb) / 0.55);
}
.c-token span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.c-token strong {
  font-size: 40px; font-weight: 800; letter-spacing: .18em; line-height: 1.1;
  color: var(--c-primary-soft); font-variant-numeric: tabular-nums; user-select: all;
}
.c-token small { font-size: 13px; color: var(--c-text-2); }

/* Visit us — map, address, social (config.js location / social). */
.c-visit-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: stretch;
}
.c-visit-info {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--c-radius);
  padding: 28px; display: flex; flex-direction: column; gap: 4px;
}
.c-visit-info h3 { margin: 0 0 12px; font-size: 22px; }
.c-visit-row { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 12px; color: var(--c-text-2); }
.c-visit-row span { white-space: pre-line; }
.c-visit-row a { color: var(--c-text); font-weight: 600; text-decoration: none; }
.c-visit-row a:hover { color: var(--c-primary-soft); }
.c-visit-row svg, .c-social-link svg {
  flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.c-visit-row svg { color: var(--c-primary-soft); margin-top: 2px; }
.c-visit-actions { margin: 8px 0 16px; }
.c-map {
  min-height: 340px; border-radius: var(--c-radius); overflow: hidden;
  border: 1px solid var(--c-border); background: var(--c-surface);
}
.c-map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

.c-social { display: flex; flex-wrap: wrap; gap: 10px; }
.c-social-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--c-text); text-decoration: none;
  background: var(--c-surface-2); border: 1px solid var(--c-border-strong); transition: background .15s, border-color .15s;
}
.c-social-link.is-fb:hover { background: rgb(24 119 242 / 0.18); border-color: #1877F2; }
.c-social-link.is-yt:hover { background: rgb(255 0 0 / 0.16); border-color: #FF0000; }
.c-social-footer { justify-content: center; margin: 12px 0; }

@media (max-width: 700px) {
  .c-visit-grid { grid-template-columns: minmax(0, 1fr); }
  .c-map, .c-map iframe { min-height: 280px; }
}

/* ── Mobile / tablet polish ── */
/* Why-us cards: 3 across on tablets, stacked only on phones. */
@media (max-width: 640px) { .c-why-grid { grid-template-columns: 1fr; } }

/* Order summary: a long product name wraps; the ৳ amount never breaks. */
.c-summary > div > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.c-summary > div > span:last-child { white-space: nowrap; text-align: right; }

/* Phone number: a comfortable tap target without changing the row's look. */
.c-visit-row a { display: inline-block; padding: 9px 0; margin: -9px 0; }

@media (max-width: 520px) {
  .c-visit-info { padding: 22px 18px; }
  .c-visit-actions .c-btn { width: 100%; justify-content: center; }
  .c-social { justify-content: center; }
  .c-field .c-choice { padding: 10px 12px; }
}
