/* ====================================================
   McDONALD'S BRASIL · COPA 2026 — styles.css v5.0
   Clean · Modern · Authentic
   Primary: Yellow #FFC72C  ·  Red #DA291C
   Copa: Green #009C3B  ·  Blue #002776
   ==================================================== */

/* ── VARIABLES ─────────────────────────────────── */
:root {
  /* Brand */
  --yellow:    #FFC72C;
  --yellow-dk: #E6B000;
  --red:       #DA291C;
  --red-dk:    #B8201A;
  /* Copa Brasil */
  --copa-g:    #009C3B;
  --copa-b:    #002776;
  /* Neutrals */
  --white:     #FFFFFF;
  --bg:        #F4F0EB;
  --card:      #FFFFFF;
  --border:    rgba(0,0,0,0.08);
  /* Text */
  --text:      #1A1A1A;
  --text-sec:  #5A5A5A;
  --text-mute: #9E9E9E;
  /* Shadows */
  --sh-xs: 0 1px 4px rgba(0,0,0,0.07);
  --sh-sm: 0 2px 12px rgba(0,0,0,0.10);
  --sh-md: 0 6px 24px rgba(0,0,0,0.13);
  --sh-lg: 0 12px 40px rgba(0,0,0,0.18);
  /* Radii */
  --r-sm:  8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  /* Layout */
  --nav-h:  68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Nunito', 'Inter', sans-serif; }
img    { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; -webkit-tap-highlight-color: transparent; }
input, textarea, select { font-family: inherit; }
a     { text-decoration: none; color: inherit; }

/* ── APP WRAPPER ────────────────────────────────── */
#app {
  max-width: 500px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  /* overflow: clip recorta o conteúdo horizontal sem criar scroll container
     — ao contrário de overflow-x: hidden, não quebra position: sticky nos filhos */
  overflow-x: clip;
}

/* ── SPLASH ─────────────────────────────────────── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.splash.hiding { opacity: 0; transform: scale(1.03); pointer-events: none; }
.splash.hidden { display: none; }
.splash-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  animation: splashPop 0.55s var(--ease) both;
}
@keyframes splashPop {
  from { transform: scale(0.6) rotate(-10deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.splash-tag {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.splash-prog-wrap {
  width: 130px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 99px;
  overflow: hidden;
}
.splash-prog {
  height: 100%; width: 0;
  background: var(--yellow);
  border-radius: 99px;
  transition: width 1.4s var(--ease);
}
.splash-copa {
  font-size: 13px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ── HEADER (scrolls away — NOT sticky) ─────────── */
.app-header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.hd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 0;
}
.hd-logo-wrap { display: flex; align-items: center; }
.hd-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.hd-right { display: flex; align-items: center; gap: 10px; }

/* Threads avatar in header */
.threads-avatar-wrap {
  position: relative;
  cursor: pointer;
}
.threads-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
}
.threads-dot {
  position: absolute;
  bottom: 0; right: 0;
  width: 10px; height: 10px;
  background: var(--copa-g);
  border-radius: 50%;
  border: 2px solid white;
}
.hd-notif-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-sec);
}
.hd-notif-btn svg { width: 20px; height: 20px; }

/* Copa band */
.copa-band {
  margin: 10px 16px 0;
  border-radius: var(--r-md);
  background: linear-gradient(120deg, var(--copa-g) 0%, #007a2e 45%, var(--copa-b) 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
}
.copa-band-left { display: flex; align-items: center; gap: 10px; }
.copa-live {
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.copa-band-title { color: white; font-size: 14px; font-weight: 800; font-family: 'Nunito', sans-serif; }
.copa-band-sub   { color: rgba(255,255,255,0.8); font-size: 11px; }
.copa-ball-wrap  { font-size: 32px; animation: ballRoll 3s linear infinite; }
@keyframes ballRoll {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Greeting */
.hd-greeting { padding: 12px 16px 2px; }
.hd-greeting h1 {
  font-size: 22px;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  line-height: 1.2;
}
.hd-greeting h1 span { color: var(--red); }

/* Search */
.hd-search { padding: 10px 16px; }
.search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 11px 14px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.search-inner:focus-within { border-color: var(--yellow); background: var(--white); }
.search-inner svg { width: 17px; height: 17px; color: var(--text-mute); flex-shrink: 0; }
#searchInput {
  flex: 1; border: none; background: transparent;
  font-size: 14px; color: var(--text); outline: none; min-width: 0;
}
#searchInput::placeholder { color: var(--text-mute); }

/* ── CHIPS NAV BAR ──────────────────────────────── */
/* Posição natural: abaixo da busca, no fluxo do documento.
   Quando o usuário rola até ela chegar no topo, ela gruda (sticky).
   overflow-x: clip no #app garante que sticky funciona. */
.chips-sticky {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.09);
  border-bottom: 1px solid var(--border);
}
.chips-scroller { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.chips-scroller::-webkit-scrollbar { display: none; }
.chips-row { display: flex; gap: 8px; padding: 10px 16px 12px; width: max-content; }
.chip {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 13px; font-weight: 700;
  color: var(--text-sec);
  background: var(--bg);
  border: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.18s var(--ease);
  cursor: pointer;
}
.chip:hover { background: rgba(218,41,28,0.08); color: var(--red); border-color: rgba(218,41,28,0.18); }
/* Active: yellow fill = McDonald's primary CTA, always readable */
.chip.active {
  background: var(--yellow);
  color: var(--text);
  border-color: var(--yellow-dk);
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(255,199,44,0.45);
}
.chip-icon { font-size: 13px; }

/* ── MENU CONTAINER ─────────────────────────────── */
.menu-wrap { padding: 8px 0 calc(var(--nav-h) + 24px); }

/* ── COUPON BANNER ─────────────────────────────────── */
.coupon-banner {
  margin: 8px 16px 4px;
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
  border: 1.5px solid #A5D6A7;
  border-radius: 14px;
  padding: 12px 14px;
  overflow: hidden;
}
.cb-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; color: #2E7D32;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.cb-list { display: flex; flex-direction: column; gap: 8px; }
.cb-item {
  display: flex; align-items: flex-start; gap: 10px;
  background: white; border-radius: 10px;
  padding: 8px 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cb-emoji { font-size: 18px; line-height: 1; flex-shrink: 0; }
.cb-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cb-label { font-size: 12px; font-weight: 700; color: #1b5e20; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-meta { font-size: 11px; color: #558B2F; }
.cb-code {
  background: #C8E6C9; color: #1B5E20;
  font-size: 11px; padding: 1px 6px; border-radius: 5px;
  font-family: 'Courier New', monospace; font-weight: 800; font-style: normal;
  letter-spacing: 0.5px;
}

/* Offset for the sticky chips bar when scrolling to a section */
.menu-section,
.copa-featured { scroll-margin-top: var(--chips-h, 52px); }

/* Copa featured horizontal scroll */
.copa-featured { padding: 16px 0 4px; }
.copa-featured-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 10px;
}
.copa-featured-title {
  font-size: 18px; font-weight: 900;
  font-family: 'Nunito', sans-serif;
  display: flex; align-items: center; gap: 6px;
}
.copa-featured-title .copa-dot { color: var(--copa-g); }
.copa-see-all { font-size: 13px; font-weight: 700; color: var(--copa-g); cursor: pointer; }
.copa-scroll { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.copa-scroll::-webkit-scrollbar { display: none; }
.copa-cards { display: flex; gap: 12px; padding: 0 16px 4px; width: max-content; }

/* Copa featured card */
.copa-card {
  width: 200px;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid rgba(0,156,59,0.12);
}
.copa-card:active { transform: scale(0.97); }
.copa-card-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--copa-g); color: white;
  font-size: 10px; font-weight: 800; padding: 3px 8px;
  border-radius: 99px; letter-spacing: 0.3px;
}
.copa-card-img {
  height: 130px; background: #F0EDE9;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.copa-card-img img { width: 100%; height: 100%; object-fit: cover; }
.copa-card-body { padding: 10px 12px 12px; }
.copa-card-name { font-size: 13px; font-weight: 800; font-family: 'Nunito', sans-serif; margin-bottom: 6px; }
.copa-card-footer { display: flex; align-items: center; justify-content: space-between; }
.copa-card-price { font-size: 15px; font-weight: 800; color: var(--copa-g); }
.copa-card-add {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--copa-g); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 300; line-height: 1;
}

/* ── REGULAR SECTIONS ───────────────────────────── */
.menu-section { padding: 16px 0 4px; }
.sec-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 12px;
}
.sec-title { font-size: 18px; font-weight: 900; font-family: 'Nunito', sans-serif; }
.sec-see-all { font-size: 13px; font-weight: 700; color: var(--red); cursor: pointer; }

/* ── PRODUCT GRID ───────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }

/* ── PRODUCT CARD ───────────────────────────────── */
.product-card {
  background: var(--card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  position: relative;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.product-card:hover  { transform: translateY(-2px); box-shadow: var(--sh-md); }
.product-card:active { transform: scale(0.97); box-shadow: var(--sh-xs); }

.card-like-btn {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
}
.card-like-btn svg { width: 13px; height: 13px; color: var(--text-mute); transition: color 0.2s, fill 0.2s; }
.card-like-btn.liked svg { fill: var(--red); stroke: var(--red); }

.card-img-wrap {
  aspect-ratio: 1; background: #F0EDE9;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .card-img-wrap img { transform: scale(1.06); }

.card-body { padding: 10px 12px 12px; }
.card-title {
  font-size: 13px; font-weight: 700; font-family: 'Nunito', sans-serif;
  color: var(--text); line-height: 1.3; margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-sub { font-size: 11px; color: var(--text-mute); margin-bottom: 8px; }
.card-ft { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-size: 15px; font-weight: 800; color: var(--text); }

/* Coupon price preview on cards */
.card-price-wrap { display: flex; flex-direction: column; gap: 1px; }
.card-price-original { font-size: 10px; color: var(--text-mute); text-decoration: line-through; font-weight: 600; line-height: 1.2; }
.card-price-discounted { font-size: 15px; font-weight: 800; color: #2E7D32; line-height: 1.2; }

/* Copa card coupon price */
.copa-card-price-wrap { display: flex; flex-direction: column; gap: 1px; }
.copa-card-price-original { font-size: 10px; color: rgba(255,255,255,0.65); text-decoration: line-through; font-weight: 600; line-height: 1.2; }
.copa-card-price-discounted { font-size: 15px; font-weight: 800; color: #A5D6A7; line-height: 1.2; }

.card-add-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--yellow); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300; line-height: 1;
  box-shadow: 0 2px 8px rgba(255,199,44,0.4);
  transition: background 0.15s, transform 0.1s;
}
.card-add-btn:active { background: var(--yellow-dk); transform: scale(0.92); }

/* Copa badge on card */
.card-copa-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--copa-g); color: white;
  font-size: 9px; font-weight: 800; padding: 2px 6px;
  border-radius: 99px; letter-spacing: 0.3px;
}

/* ── BOTTOM NAV ─────────────────────────────────── */
.btm-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 500px;
  height: var(--nav-h);
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex; align-items: stretch;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
}
.bnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--text-mute);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3px;
  transition: color 0.18s;
}
.bnav-item svg { width: 22px; height: 22px; }
.bnav-item span { line-height: 1; }
.bnav-item.active { color: var(--red); }

.bnav-cart { position: relative; }
.bnav-cart-icon { position: relative; display: flex; align-items: center; justify-content: center; }
.cart-badge {
  position: absolute; top: -7px; right: -9px;
  min-width: 17px; height: 17px;
  background: var(--yellow); color: var(--text);
  font-size: 9px; font-weight: 800;
  border-radius: 99px; display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 2px solid var(--white);
  transition: transform 0.2s;
}
.cart-badge.bump { animation: badgeBump 0.3s var(--ease); }
@keyframes badgeBump { 0%{transform:scale(1)} 50%{transform:scale(1.5)} 100%{transform:scale(1)} }

/* ── OVERLAYS ───────────────────────────────────── */
.drk-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 300;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.drk-overlay.active { opacity: 1; visibility: visible; }

.full-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.full-overlay.active { opacity: 1; visibility: visible; }

/* ── BOTTOM SHEETS ──────────────────────────────── */
.bottom-sheet {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%; max-width: 500px;
  background: var(--white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  z-index: 301;
  padding: 0 20px max(24px, env(safe-area-inset-bottom));
  transition: transform 0.38s var(--ease);
}
.bottom-sheet.open { transform: translateX(-50%) translateY(0); }

.sheet-pill {
  width: 38px; height: 4px; background: #DDD;
  border-radius: 99px; margin: 12px auto 16px;
}

.sheet-tall {
  max-height: 92dvh;
  display: flex; flex-direction: column;
  padding: 0;
}
.sheet-tall.open { transform: translateX(-50%) translateY(0); }

/* Tall sheet header */
.tall-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.tall-hd h2 { font-size: 18px; font-weight: 800; font-family: 'Nunito', sans-serif; }

/* Tall sheet scrollable body */
.tall-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }

/* ── CART SIDEBAR ───────────────────────────────── */
.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-lg);
}
.cart-sidebar.open { transform: translateX(0); }

.csb-hd {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.csb-hd h2 { font-size: 18px; font-weight: 800; font-family: 'Nunito', sans-serif; }
.csb-subtitle { font-size: 12px; color: var(--text-mute); margin-top: 2px; }

.csb-items { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.csb-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 10px; color: var(--text-mute); text-align: center; padding: 40px 0;
}
.csb-empty-icon { font-size: 48px; }
.csb-empty p    { font-size: 15px; font-weight: 700; font-family: 'Nunito', sans-serif; }
.csb-empty small { font-size: 13px; }

.cart-item { display: flex; gap: 12px; align-items: flex-start; }
.cart-item-img {
  width: 56px; height: 56px; border-radius: var(--r-sm);
  background: var(--bg); object-fit: cover; flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 700; font-family: 'Nunito', sans-serif; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-unit { font-size: 12px; color: var(--text-mute); margin-bottom: 6px; }
.cart-item-ctrl { display: flex; align-items: center; gap: 8px; }
.ciqb {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; border: 1.5px solid var(--border);
  color: var(--text-sec); transition: all 0.15s;
}
.ciqb.minus { color: var(--red); border-color: var(--red); }
.ciqb.plus  { background: var(--yellow); border-color: var(--yellow); color: var(--text); }
.ciqv { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-del { color: var(--text-mute); font-size: 20px; align-self: center; margin-left: auto; padding: 4px; line-height: 1; }

.csb-ft { padding: 14px 20px; border-top: 1px solid var(--border); padding-bottom: max(14px, env(safe-area-inset-bottom)); }

/* Coupon row */
.coupon-row {
  display: flex; gap: 8px; margin-bottom: 10px;
  background: var(--bg); border-radius: var(--r-md); padding: 8px 12px;
  align-items: center;
}
.coupon-row input {
  flex: 1; border: none; background: transparent; font-size: 13px;
  color: var(--text); outline: none;
}
.coupon-row input::placeholder { color: var(--text-mute); }
.coupon-row button {
  font-size: 12px; font-weight: 700; color: var(--copa-g);
  white-space: nowrap; padding: 4px 8px;
}
.coupon-applied {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0,156,59,0.1); border-radius: var(--r-md);
  padding: 8px 12px; margin-bottom: 10px; font-size: 13px; color: var(--copa-g); font-weight: 600;
}
.coupon-applied button { color: var(--copa-g); font-size: 18px; line-height: 1; }

.csb-total-row, .csb-discount-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0;
  font-size: 14px; color: var(--text-sec);
}
.csb-total-row.total-final {
  font-size: 18px; font-weight: 800; font-family: 'Nunito', sans-serif;
  color: var(--text); padding: 10px 0 14px; border-top: 1px solid var(--border); margin-top: 4px;
}
.discount-val { color: var(--copa-g); font-weight: 700; }
.csb-wa-note { font-size: 11px; color: var(--text-mute); text-align: center; margin-top: 8px; }

/* ── PAYMENT METHOD ──────────────────────────── */
.pm-select { padding: 10px 0 6px; }
.pm-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-mute); margin-bottom: 7px; }
.pm-btns  { display: flex; gap: 6px; }
.pm-btn {
    flex: 1; padding: 8px 4px; border-radius: 10px;
    border: 1.5px solid var(--border, #e0e0e0);
    background: var(--bg, #fff); color: var(--text, #1a1a1a);
    font-size: 11px; font-weight: 700; cursor: pointer; transition: all 0.15s;
    line-height: 1.3;
}
.pm-btn:hover:not(.disabled) { border-color: var(--yellow); }
.pm-btn.active  { border-color: var(--yellow); background: var(--yellow); }
.pm-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.pm-card-msg { font-size: 11px; color: var(--red, #DA291C); margin-top: 6px; text-align: center; }

/* ── PIX MODAL ───────────────────────────────── */
.pix-body { padding: 16px 20px 28px; }
.pix-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 0; color: #666; font-size: 14px; }
.pix-qr-wrap { display: flex; justify-content: center; margin: 16px 0 12px; }
.pix-qr-img  { width: 200px; height: 200px; border-radius: 12px; border: 3px solid #f5f5f5; object-fit: contain; }
.pix-or      { text-align: center; font-size: 12px; color: #888; margin-bottom: 8px; }
.pix-copy-row { display: flex; gap: 6px; margin-bottom: 12px; }
.pix-copy-input { flex: 1; padding: 8px 10px; border-radius: 8px; border: 1.5px solid #ddd; font-size: 11px; font-family: monospace; background: #f9f9f9; color: #333; }
.pix-copy-btn { padding: 8px 14px; background: #009C3B; color: #fff; border: none; border-radius: 8px; font-weight: 700; font-size: 12px; cursor: pointer; white-space: nowrap; }
.pix-info     { font-size: 12px; color: #666; text-align: center; margin-bottom: 12px; }
.pix-status-row { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 10px; background: #f0fdf4; border-radius: 10px; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #166534; }
.pix-spinner  { width: 14px; height: 14px; border: 2px solid #86efac; border-top-color: #16a34a; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pix-amount   { text-align: center; font-size: 22px; font-weight: 900; color: #009C3B; }
.pix-status-row.paid { background: #dcfce7; color: #14532d; }
.pix-manual-msg { text-align: center; padding: 24px 0; }
.pix-manual-msg p { font-size: 24px; margin-bottom: 10px; }
.pix-manual-msg small { font-size: 13px; color: #666; }

/* ── COMMON BUTTONS ─────────────────────────────── */
.btn-yellow {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 15px;
  background: var(--yellow);
  color: var(--text);
  border-radius: var(--r-lg);
  font-size: 15px; font-weight: 800; font-family: 'Nunito', sans-serif;
  letter-spacing: 0.2px;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(255,199,44,0.35);
}
.btn-yellow:active  { background: var(--yellow-dk); transform: scale(0.98); }
.btn-yellow:disabled {
  background: #DDD; color: var(--text-mute);
  cursor: not-allowed; box-shadow: none; transform: none;
}
.btn-ghost {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px;
  background: transparent; border: 1.5px solid var(--border);
  border-radius: var(--r-lg); font-size: 14px; font-weight: 600; color: var(--text-sec);
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: var(--text-sec); }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  color: var(--text-sec); flex-shrink: 0;
}
.icon-btn svg { width: 17px; height: 17px; }
.w-full  { width: 100%; }
.mt-8    { margin-top: 8px; }
.mt-16   { margin-top: 16px; }
.hidden  { display: none !important; }

/* ── GEO BAR (header) ───────────────────────────── */
.geo-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 16px;
  background: #fff7e0;
  border-bottom: 1px solid rgba(255,199,44,0.35);
  font-size: 12px; color: var(--text-sec);
  order: -1;
}
.geo-bar-pin   { font-size: 13px; flex-shrink: 0; }
.geo-bar-label { font-size: 11px; color: var(--text-mute); }
.geo-bar-city  {
  background: none; border: none; padding: 0;
  font-size: 12px; font-weight: 700; color: var(--red);
  cursor: pointer; text-decoration: underline dotted;
  text-underline-offset: 2px;
}
.geo-bar-dot   { color: var(--text-mute); font-size: 10px; }
.geo-bar-tag   { font-size: 10px; color: var(--text-mute); margin-left: auto; }

/* ── GEO SHEET ──────────────────────────────────── */
.geo-icon  { font-size: 44px; text-align: center; margin: 8px 0 10px; }
.geo-title { font-size: 20px; font-weight: 900; font-family: 'Nunito', sans-serif; text-align: center; margin-bottom: 8px; }
.geo-title span { color: var(--red); }
.geo-desc  { font-size: 14px; color: var(--text-sec); text-align: center; line-height: 1.6; margin-bottom: 14px; }
.geo-city-input-wrap { margin-bottom: 16px; }
.geo-city-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: 15px; color: var(--text); background: var(--white);
}
.geo-city-input:focus { outline: none; border-color: var(--yellow); }

/* ── CHECKOUT ───────────────────────────────────── */
.co-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 20px 0; flex-shrink: 0;
}
.co-step-ind {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-mute);
}
.co-step-ind span {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.co-step-ind.active { color: var(--text); }
.co-step-ind.active span { background: var(--yellow); color: var(--text); }
.co-step-sep { flex: 1; height: 1px; background: var(--border); }

.co-panel { display: none; padding: 20px; }
.co-panel.active { display: block; }

.co-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.co-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.co-item-img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; background: var(--bg); flex-shrink: 0; }
.co-item-info { flex: 1; }
.co-item-name { font-weight: 700; font-family: 'Nunito', sans-serif; }
.co-item-opts { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.co-item-total { font-weight: 700; white-space: nowrap; margin-left: auto; }

.co-total-block { border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 18px; }
.co-total-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-sec); padding: 4px 0; }
.co-total-row.final { font-size: 20px; font-weight: 900; font-family: 'Nunito', sans-serif; color: var(--text); padding-top: 10px; border-top: 1px solid var(--border); margin-top: 8px; }
.co-discount-label { color: var(--copa-g); }

/* Checkout form */
.co-field { margin-bottom: 14px; }
.co-field label { display: block; font-size: 11px; font-weight: 700; color: var(--text-sec); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px; }
.co-field input, .co-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: 14px; color: var(--text); background: var(--white);
  transition: border-color 0.2s; resize: none;
}
.co-field input:focus, .co-field textarea:focus { outline: none; border-color: var(--yellow); }
.co-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-form-actions { display: flex; gap: 10px; margin-top: 8px; }
.co-form-actions .btn-ghost { flex: 0 0 auto; width: auto; padding: 14px 16px; font-size: 13px; }
.co-form-actions .btn-yellow { flex: 1; }

.co-success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 32px 0 16px; gap: 12px;
}
.co-success-anim { font-size: 70px; animation: successPop 0.5s var(--ease) both; }
@keyframes successPop { from { transform: scale(0); } to { transform: scale(1); } }
.co-success h3 { font-size: 26px; font-weight: 900; font-family: 'Nunito', sans-serif; }
.co-success p  { font-size: 14px; color: var(--text-sec); line-height: 1.6; max-width: 280px; }
.co-success-details { font-size: 13px; color: var(--text-mute); }

/* Section title inside checkout form */
.co-section-title {
  font-size: 12px; font-weight: 700; color: var(--text-sec);
  text-transform: uppercase; letter-spacing: 0.7px;
  margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}

/* Back button under payment step */
.co-back-pay { margin-top: 16px; font-size: 13px; }

/* ── INLINE PIX (step 3) ────────────────────────── */
.co-pix-loading {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 40px 20px; color: var(--text-sec); font-size: 14px;
}
.co-pix-spinner {
  width: 36px; height: 36px; border: 4px solid #eee;
  border-top-color: var(--copa-g); border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.co-pix-content { padding: 4px 0 8px; }
.co-pix-amount {
  display: flex; justify-content: space-between; align-items: baseline;
  background: #f0fdf4; border-radius: var(--r-md);
  padding: 12px 16px; margin-bottom: 16px;
}
.co-pix-amount span { font-size: 13px; color: #166534; font-weight: 600; }
.co-pix-amount strong { font-size: 26px; font-weight: 900; font-family: 'Nunito', sans-serif; color: #15803d; }
.co-pix-qr-wrap { display: flex; justify-content: center; margin-bottom: 14px; }
.co-pix-qr-img  {
  width: 220px; height: 220px; border-radius: 14px;
  border: 3px solid #e5e7eb; object-fit: contain;
  background: #fff;
}
.co-pix-or {
  text-align: center; font-size: 12px; color: var(--text-mute);
  margin-bottom: 10px;
}
.co-pix-copy-row { display: flex; gap: 6px; margin-bottom: 14px; }
.co-pix-copy-input {
  flex: 1; padding: 9px 11px; border: 1.5px solid #ddd;
  border-radius: var(--r-md); font-size: 11px;
  font-family: monospace; background: #f9f9f9; color: #333;
  min-width: 0;
}
.co-pix-copy-btn {
  padding: 9px 16px; background: var(--copa-g); color: #fff;
  border: none; border-radius: var(--r-md);
  font-weight: 700; font-size: 13px; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.co-pix-status {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  padding: 10px 14px; background: #f0fdf4;
  border-radius: 10px; margin-bottom: 10px;
  font-size: 13px; font-weight: 600; color: #166534;
}
.co-pix-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--copa-g); display: inline-block;
  animation: pulseDot 1.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.co-pix-info { font-size: 12px; color: var(--text-mute); text-align: center; line-height: 1.6; }
.co-pix-manual {
  text-align: center; padding: 32px 16px; color: var(--text-sec);
}
.co-pix-manual-icon { font-size: 48px; margin-bottom: 14px; }
.co-pix-manual p { font-size: 14px; line-height: 1.7; }

/* ── CARD PAYMENT (step 3) ──────────────────────── */
.co-card-block {
  text-align: center; padding: 28px 16px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.co-card-icon { font-size: 52px; }
.co-card-block h3 { font-size: 20px; font-weight: 900; font-family: 'Nunito', sans-serif; }
.co-card-desc { font-size: 14px; color: var(--text-sec); max-width: 260px; line-height: 1.6; }
.co-card-amount-row {
  display: flex; gap: 8px; align-items: baseline;
  font-size: 14px; color: var(--text-sec);
}
.co-card-amount-row strong {
  font-size: 26px; font-weight: 900;
  font-family: 'Nunito', sans-serif; color: var(--red);
}

/* ── PDP MODAL ──────────────────────────────────── */
/* Image hero area */
.pdp-img-hero {
  position: relative;
  height: 260px;
  background: #F0EDE9;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.pdp-img-hero img { width: 100%; height: 100%; object-fit: contain; }
.pdp-x-btn {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-sec); z-index: 2;
}
.pdp-x-btn svg { width: 15px; height: 15px; }
.pdp-copa-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--copa-g); color: white;
  font-size: 10px; font-weight: 800; padding: 4px 10px;
  border-radius: 99px; z-index: 2;
}

/* PDP scrollable content */
.pdp-content {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
}
.pdp-info-block { padding: 20px 20px 0; }
.pdp-title {
  font-size: 22px; font-weight: 900;
  font-family: 'Nunito', sans-serif;
  color: var(--text); margin-bottom: 6px;
}
.pdp-desc-text { font-size: 14px; color: var(--text-sec); line-height: 1.6; margin-bottom: 8px; }
.pdp-base-price { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 4px; }

/* PDP sections */
.pdp-sec {
  border-top: 1px solid var(--border);
  margin: 0 20px;
  padding: 16px 0 0;
}
.pdp-sec-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.pdp-sec-hd-left { display: flex; align-items: center; gap: 8px; }
.pdp-sec-icon { font-size: 16px; }
.pdp-sec-label { font-size: 15px; font-weight: 800; font-family: 'Nunito', sans-serif; color: var(--text); }
.pdp-opcional {
  font-size: 10px; font-weight: 700; color: var(--text-mute);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 2px 7px; letter-spacing: 0.3px;
}
.pdp-obrigatorio {
  font-size: 10px; font-weight: 700; color: var(--red);
  background: rgba(218,41,28,0.08);
  border-radius: 6px; padding: 2px 7px; letter-spacing: 0.3px;
}

/* PDP option row */
.pdp-opt-row {
  display: flex; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  cursor: pointer; gap: 12px; user-select: none;
}
.pdp-opt-row:last-child { border-bottom: none; }
.pdp-opt-info { flex: 1; min-width: 0; }
.pdp-opt-name  { font-size: 14px; color: var(--text); }
.pdp-opt-price { font-size: 12px; color: var(--text-mute); margin-top: 2px; }

/* Radio (circle) */
.pdp-radio {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #C8C8C8; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.pdp-radio.sel { border-color: var(--yellow); background: var(--yellow); }
.pdp-radio.sel::after { content: ''; width: 8px; height: 8px; background: var(--text); border-radius: 50%; }

/* Checkbox (square) */
.pdp-check {
  width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid #C8C8C8; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.pdp-check.sel { border-color: var(--yellow); background: var(--yellow); }
.pdp-check.sel::after { content: '✓'; color: var(--text); font-size: 13px; font-weight: 900; }

/* Removal chip tags (instead of checkboxes) */
.pdp-removal-list { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; }
.pdp-removal-tag {
  padding: 6px 12px; border-radius: 99px;
  border: 1.5px solid var(--border);
  font-size: 13px; color: var(--text-sec); cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.pdp-removal-tag.sel {
  background: #ffebeb; border-color: var(--red); color: var(--red);
}

/* PDP footer */
.pdp-footer {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0; background: var(--white);
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.pdp-qty-ctrl { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pdp-qty-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300; line-height: 1;
}
.pdp-qty-btn.minus { border: 2px solid var(--border); color: var(--text-sec); }
.pdp-qty-btn.minus:active { background: var(--bg); }
.pdp-qty-btn.plus  { background: var(--yellow); color: var(--text); border: 2px solid var(--yellow); }
.pdp-qty-btn.plus:active { background: var(--yellow-dk); }
.pdp-qty-num { font-size: 17px; font-weight: 800; min-width: 24px; text-align: center; }
.pdp-add-btn {
  flex: 1; padding: 14px 12px;
  display: flex; align-items: center; justify-content: center;
  gap: 4px; font-size: 15px;
}

/* ── THREADS MODAL ──────────────────────────────── */
.threads-modal {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  width: 100%; max-width: 380px;
  position: relative;
  animation: modalIn 0.35s var(--ease) both;
  max-height: 90dvh;
  overflow-y: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.threads-modal-x { position: absolute; top: 14px; right: 14px; }
.th-copa-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.th-logos { display: flex; align-items: center; gap: 8px; }
.th-logo-mcd { height: 32px; object-fit: contain; }
.th-times { font-size: 18px; color: var(--text-mute); }
.th-logo-threads { width: 28px; height: 28px; color: var(--text); }
.th-flag { font-size: 28px; }
.th-title { font-size: 20px; font-weight: 900; font-family: 'Nunito', sans-serif; margin-bottom: 10px; }
.th-desc { font-size: 14px; color: var(--text-sec); line-height: 1.65; margin-bottom: 20px; }
.th-input-wrap {
  display: flex; align-items: center; gap: 6px;
  border: 2px solid var(--border); border-radius: var(--r-md);
  padding: 12px 14px; margin-bottom: 14px;
  transition: border-color 0.2s;
}
.th-input-wrap:focus-within { border-color: var(--yellow); }
.th-at { font-size: 16px; font-weight: 700; color: var(--text-mute); }
.th-input { flex: 1; border: none; background: transparent; font-size: 15px; color: var(--text); outline: none; }
.th-legal { font-size: 11px; color: var(--text-mute); text-align: center; margin-top: 10px; line-height: 1.5; }

/* Loading state */
.th-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 40px 0;
}
.th-spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--bg);
  border-top-color: var(--yellow);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.th-loading p { font-size: 14px; color: var(--text-sec); font-weight: 600; }

/* Connected state */
.th-connected {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px;
}
.th-profile-pic-wrap { position: relative; margin-bottom: 4px; }
.th-profile-pic {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--yellow);
  background: var(--bg);
}
.th-verified-badge {
  position: absolute; bottom: 0; right: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--copa-g); color: white;
  font-size: 12px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}
.th-username { font-size: 16px; font-weight: 800; color: var(--text); }
.th-success-badge {
  background: rgba(0,156,59,0.1); color: var(--copa-g);
  font-size: 13px; font-weight: 700; padding: 6px 14px;
  border-radius: 99px;
}
.th-coupons-title { font-size: 16px; font-weight: 800; font-family: 'Nunito', sans-serif; margin-top: 4px; }
.th-coupons-list { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.th-coupon-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border-radius: var(--r-md);
  padding: 12px 14px; text-align: left;
}
.th-coupon-emoji { font-size: 22px; }
.th-coupon-info { flex: 1; }
.th-coupon-label { font-size: 14px; font-weight: 700; font-family: 'Nunito', sans-serif; }
.th-coupon-code  { font-size: 12px; color: var(--text-mute); margin-top: 2px; font-family: monospace; }

/* ── TOAST ──────────────────────────────────────── */
.toast-wrap {
  position: fixed;
  bottom: calc(var(--nav-h) + 14px);
  left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 468px;
  z-index: 600; display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  background: #1A1A1A; color: white;
  border-radius: var(--r-md); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--sh-md);
  animation: toastIn 0.3s var(--ease) both;
  pointer-events: all;
}
.toast.removing { animation: toastOut 0.3s var(--ease) forwards; }
.toast-icon { font-size: 18px; }
.toast-text { font-size: 14px; font-weight: 500; }
@keyframes toastIn  { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(14px); } }

/* ── EMPTY SEARCH ───────────────────────────────── */
.empty-search {
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 24px; text-align: center; gap: 12px;
}
.es-icon { font-size: 56px; }
.empty-search p    { font-size: 15px; font-weight: 700; font-family: 'Nunito', sans-serif; color: var(--text-sec); }
.empty-search small { font-size: 13px; color: var(--text-mute); }

/* ── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 99px; }

/* ── SAFE AREA ──────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .btm-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  }
  .toast-wrap {
    bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 14px);
  }
}
