/* ==========================================================================
   GrabDealls — Core Stylesheet
   Design tokens, base styles, layout primitives, header, footer, homepage.
   All colors, spacing and type live as CSS variables so they can be
   re-themed from one place later.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — deep royal blue + saffron accent */
  --c-primary:        #1d3fa8;   /* brand royal blue            */
  --c-primary-dark:   #142c78;   /* headers, hovers             */
  --c-primary-darker: #0e1f57;   /* footer, deep surfaces       */
  --c-primary-light:  #eaf0ff;   /* tint backgrounds            */
  --c-primary-tint:   #f4f7ff;   /* very light section wash     */

  --c-accent:         #ff7a18;   /* CTA / deals saffron-orange  */
  --c-accent-dark:    #e8620a;   /* accent hover                */
  --c-accent-tint:    #fff3e9;

  --c-sale:           #e11d48;   /* discount / sale red         */
  --c-success:        #12924b;   /* in stock / success          */
  --c-warning:        #d97706;
  --c-star:           #ffb100;   /* rating stars                */

  /* Neutrals */
  --c-ink:            #131a2b;   /* primary text                */
  --c-ink-soft:       #45506b;   /* secondary text              */
  --c-muted:          #6b7590;   /* tertiary / captions         */
  --c-line:           #e5e8f0;   /* borders                     */
  --c-line-soft:      #eef1f7;
  --c-surface:        #ffffff;   /* cards                       */
  --c-bg:             #ffffff;   /* page background             */
  --c-bg-alt:         #f5f7fb;   /* light gray sections         */

  /* Typography */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  --fs-xs:   0.75rem;   /* 12 */
  --fs-sm:   0.8125rem; /* 13 */
  --fs-base: 0.9375rem; /* 15 */
  --fs-md:   1.0625rem; /* 17 */
  --fs-lg:   1.25rem;   /* 20 */
  --fs-xl:   1.5rem;    /* 24 */
  --fs-2xl:  2rem;      /* 32 */
  --fs-3xl:  2.75rem;   /* 44 */

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;

  /* Spacing scale (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(19, 26, 43, .06);
  --shadow-sm: 0 2px 8px rgba(19, 26, 43, .07);
  --shadow-md: 0 8px 24px rgba(19, 26, 43, .10);
  --shadow-lg: 0 18px 48px rgba(19, 26, 43, .14);

  /* Layout */
  --container:   1240px;
  --header-h:    72px;
  --radius-card: var(--r-lg);
  --transition:  180ms ease;

  /* Z-index scale */
  --z-header:   900;
  --z-drawer:   950;
  --z-toast:    1000;
  --z-modal:    1100;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Number-heavy UI (prices, counts) uses tabular figures */
.num, .price, .price-was, .price-now { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.section { padding-block: var(--sp-8); }
.section--tint { background: var(--c-bg-alt); }
.section--brand-tint { background: var(--c-primary-tint); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-2);
}
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { color: var(--c-ink-soft); margin-top: var(--sp-1); }
.section-head .link-more {
  font-weight: var(--fw-semibold);
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  white-space: nowrap;
}
.section-head .link-more:hover { color: var(--c-accent); }

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-5);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: -60px;
  background: var(--c-primary); color: #fff;
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-sm);
  z-index: var(--z-modal); transition: top var(--transition);
}
.skip-link:focus { top: var(--sp-2); }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.announce-bar {
  background: var(--c-primary-darker);
  color: #dfe6ff;
  font-size: var(--fs-sm);
  text-align: center;
  padding: var(--sp-2) var(--sp-4);
}
.announce-bar strong { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.header-main {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
  padding-block: var(--sp-3);
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  color: var(--c-ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand .brand-mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
  color: var(--c-primary);
}
.brand .brand-grab { color: var(--c-ink); }
.brand .brand-dealls { color: var(--c-primary); }

/* Search */
.header-search {
  flex: 1;
  max-width: 620px;
  display: flex;
  align-items: center;
  background: var(--c-bg-alt);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  padding: 0 var(--sp-2) 0 var(--sp-4);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search:focus-within {
  border-color: var(--c-primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--c-primary-light);
}
.header-search input {
  flex: 1;
  border: none;
  background: none;
  padding: var(--sp-3) 0;
  font-size: var(--fs-base);
}
.header-search input:focus { outline: none; }
.header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  transition: background var(--transition);
}
.header-search button:hover { background: var(--c-primary-dark); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.icon-action {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--sp-2);
  border-radius: var(--r-md);
  color: var(--c-ink-soft);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  transition: background var(--transition), color var(--transition);
}
.icon-action:hover { background: var(--c-bg-alt); color: var(--c-primary); }
.icon-action svg { width: 24px; height: 24px; }
.icon-action .badge-count {
  position: absolute;
  top: 0; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--c-accent);
  color: #fff;
  font-size: 11px;
  font-weight: var(--fw-bold);
  line-height: 18px;
  text-align: center;
  border-radius: var(--r-pill);
}

/* Primary navigation */
.header-nav { border-top: 1px solid var(--c-line-soft); }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.nav-list a {
  display: inline-block;
  padding: var(--sp-3) var(--sp-4);
  font-weight: var(--fw-medium);
  color: var(--c-ink-soft);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}
.nav-list a .tag-hot {
  font-size: 10px;
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  vertical-align: super;
  margin-left: 2px;
}

/* Mobile-only header bits — hidden on desktop */
.header-burger,
.header-mobile-icons { display: none; }

/* --------------------------------------------------------------------------
   5. Mobile navigation drawer
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(84vw, 360px);
  background: #fff;
  z-index: var(--z-drawer);
  transform: translateX(-100%);
  transition: transform 240ms ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4);
  border-bottom: 1px solid var(--c-line);
}
.mobile-drawer__body { overflow-y: auto; padding: var(--sp-2) 0; }
.mobile-drawer__body a {
  display: block;
  padding: var(--sp-4);
  font-weight: var(--fw-medium);
  border-bottom: 1px solid var(--c-line-soft);
}
.mobile-drawer__body a:hover { background: var(--c-bg-alt); color: var(--c-primary); }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 31, 87, .45);
  z-index: var(--z-drawer);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

/* Mobile bottom nav */
.bottom-nav { display: none; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,122,24,.16), transparent 60%),
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 55%, var(--c-primary-darker) 100%);
  color: #fff;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: var(--sp-7);
  padding-block: var(--sp-8);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.hero h1 {
  color: #fff;
  font-size: var(--fs-3xl);
  line-height: 1.08;
  margin-bottom: var(--sp-4);
}
.hero h1 .hl { color: #ffd7b3; }
.hero__text {
  color: #dbe3ff;
  font-size: var(--fs-md);
  max-width: 46ch;
  margin-bottom: var(--sp-6);
}
.hero__cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: var(--sp-6);
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}
.hero__stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: #fff;
}
.hero__stats .stat span { font-size: var(--fs-sm); color: #b9c6ff; }

/* Hero visual — a stacked "deal tag" motif built with CSS, no external image */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background:
    linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
}
.hero__tag {
  width: 62%;
  background: #fff;
  color: var(--c-ink);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
}
.hero__tag .off {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: var(--fw-bold);
  color: var(--c-sale);
  line-height: 1;
}
.hero__tag .lbl { color: var(--c-ink-soft); font-weight: var(--fw-medium); }
.hero__tag .barcode {
  height: 44px;
  margin-top: var(--sp-4);
  background: repeating-linear-gradient(90deg, var(--c-ink) 0 3px, transparent 3px 7px);
  border-radius: 3px;
  opacity: .85;
}
.hero__chip {
  position: absolute;
  background: #fff;
  color: var(--c-ink);
  border-radius: var(--r-pill);
  padding: var(--sp-2) var(--sp-4);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.hero__chip svg { width: 18px; height: 18px; color: var(--c-success); }
.hero__chip--tl { top: 8%; left: -6%; }
.hero__chip--br { bottom: 10%; right: -4%; }

/* --------------------------------------------------------------------------
   7. Category strip
   -------------------------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-light);
}
.category-card__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: var(--r-lg);
  background: var(--c-primary-tint);
  color: var(--c-primary);
}
.category-card__icon svg { width: 30px; height: 30px; }
.category-card__name { font-weight: var(--fw-semibold); font-size: var(--fs-base); }
.category-card__count { font-size: var(--fs-xs); color: var(--c-muted); }

/* --------------------------------------------------------------------------
   8. Flash deals band + countdown
   -------------------------------------------------------------------------- */
.deals-band {
  background: linear-gradient(120deg, #fff5ee, #fff);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.deals-band__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.deals-band__title {
  display: flex; align-items: center; gap: var(--sp-3);
}
.deals-band__title .bolt {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--c-accent); color: #fff;
}
.deals-band__title h2 { font-size: var(--fs-xl); }
.deals-band__title p { font-size: var(--fs-sm); color: var(--c-ink-soft); }

.countdown { display: flex; align-items: center; gap: var(--sp-2); }
.countdown .lbl { font-size: var(--fs-sm); color: var(--c-ink-soft); margin-right: var(--sp-1); }
.countdown .unit {
  min-width: 46px;
  text-align: center;
  background: var(--c-ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  line-height: 1.1;
}
.countdown .unit small { display: block; font-size: 9px; font-weight: var(--fw-regular); color: #b9c6ff; }
.countdown .sep { font-weight: var(--fw-bold); color: var(--c-ink-soft); }

/* --------------------------------------------------------------------------
   9. Promo / special deals banners
   -------------------------------------------------------------------------- */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.promo-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6);
  color: #fff;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-card--blue { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-darker)); }
.promo-card--accent { background: linear-gradient(135deg, #ff9538, var(--c-accent-dark)); }
.promo-card small { font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.promo-card h3 { color: #fff; font-size: var(--fs-xl); margin: var(--sp-2) 0 var(--sp-4); max-width: 22ch; }
.promo-card .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   10. Why choose / trust features
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}
.feature-card {
  text-align: center;
  padding: var(--sp-5) var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
}
.feature-card__icon {
  width: 52px; height: 52px; margin: 0 auto var(--sp-3);
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--c-primary-tint); color: var(--c-primary);
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h4 { font-size: var(--fs-base); margin-bottom: var(--sp-1); }
.feature-card p { font-size: var(--fs-sm); color: var(--c-ink-soft); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  padding: var(--sp-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}
.trust-item { display: flex; align-items: center; gap: var(--sp-3); }
.trust-item svg { width: 34px; height: 34px; color: var(--c-primary); flex-shrink: 0; }
.trust-item strong { display: block; font-size: var(--fs-base); }
.trust-item span { font-size: var(--fs-sm); color: var(--c-muted); }

/* --------------------------------------------------------------------------
   11. Reviews
   -------------------------------------------------------------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.review-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-card);
  padding: var(--sp-5);
  box-shadow: var(--shadow-xs);
}
.review-card .rating { margin-bottom: var(--sp-3); }
.review-card blockquote { color: var(--c-ink-soft); margin-bottom: var(--sp-4); }
.review-card .reviewer { display: flex; align-items: center; gap: var(--sp-3); }
.review-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-primary); color: #fff;
  font-weight: var(--fw-bold);
}
.review-card .reviewer strong { display: block; font-size: var(--fs-base); }
.review-card .reviewer span { font-size: var(--fs-xs); color: var(--c-muted); }

/* --------------------------------------------------------------------------
   12. Newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary-darker));
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  color: #fff;
}
.newsletter h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--sp-2); }
.newsletter p { color: #cdd8ff; max-width: 52ch; margin: 0 auto var(--sp-5); }
.newsletter form {
  display: flex;
  gap: var(--sp-2);
  max-width: 480px;
  margin: 0 auto;
}
.newsletter input {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  background: #fff;
}
.newsletter input:focus { outline: none; border-color: var(--c-accent); }
.newsletter .form-note { font-size: var(--fs-xs); color: #b9c6ff; margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-primary-darker);
  color: #c3cdee;
  padding-top: var(--sp-8);
  margin-top: var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-col h4 {
  color: #fff;
  font-size: var(--fs-base);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--sp-4);
}
.footer-col ul li { margin-bottom: var(--sp-2); }
.footer-col ul a { color: #c3cdee; transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }
.footer-about .brand { color: #fff; margin-bottom: var(--sp-3); }
.footer-about .brand .brand-grab,
.footer-about .brand .brand-dealls { color: #fff; }
.footer-about p { font-size: var(--fs-sm); line-height: 1.7; margin-bottom: var(--sp-4); }
.footer-contact li {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  font-size: var(--fs-sm); margin-bottom: var(--sp-2);
}
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--c-accent); }
.footer-legal-note {
  font-size: var(--fs-xs);
  color: #8b96c4;
  line-height: 1.7;
  margin-top: var(--sp-4);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
}
.footer-pay { display: flex; align-items: center; gap: var(--sp-2); }
.footer-pay span { font-size: var(--fs-xs); color: #8b96c4; }
.footer-pay .chip {
  background: rgba(255,255,255,.10);
  border-radius: var(--r-sm);
  padding: 3px var(--sp-2);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: #dfe6ff;
}

/* --------------------------------------------------------------------------
   14. Back-to-top
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: var(--z-header);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--c-primary-dark); }

/* --------------------------------------------------------------------------
   15. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
