/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000;
  --surface: #0b0b0b;
  --surface-2: #121212;
  --border: #1a1a1a;
  --text: #fff;
  --muted: #8a8a8a;
  --accent: #22c55e;
  --danger: #f87171;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
html { overscroll-behavior-y: none; }
body { min-height: 100vh; min-height: 100dvh; }
img { max-width: 100%; height: auto; }

body.lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
@media (max-width: 768px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ---------- Sticky marquee ---------- */
.marquee-bar {
  position: sticky;
  top: 0; left: 0;
  width: 100%;
  background: #000;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  z-index: 60;
  height: 36px;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-left 36s linear infinite;
  will-change: transform;
}
.marquee-item {
  padding: 0 26px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.marquee-item .dot { width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0.4; }
.marquee-item .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Brand nav ---------- */
.nav {
  position: sticky;
  top: 36px;
  z-index: 55;
  background: rgba(0,0,0,0.88);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 480px) {
  .nav { padding: 14px 16px; }
}
.icon-btn {
  color: #fff;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 2px;
  transition: background 0.15s ease;
  position: relative;
}
#openMenu { justify-self: start; }
.icon-btn:hover { background: rgba(255,255,255,0.08); }

.nav-right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav-faq {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  color: #e6e6e6;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.nav-faq:hover {
  background: rgba(255,255,255,0.08);
  border-color: #444;
  color: #fff;
}
.nav-faq svg { opacity: 0.85; }
.nav-faq:hover svg { opacity: 1; }
/* On very small screens, collapse to icon-only to keep logo visible */
@media (max-width: 380px) {
  .nav-faq {
    width: 32px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .nav-faq span { display: none; }
}

.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  transform: scale(0);
  transition: transform 0.18s cubic-bezier(.2,.9,.3,1.4);
}
.cart-count.show { transform: scale(1); }

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}
.brand img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .brand { height: 64px; }
  .brand img { height: 60px; max-width: 300px; }
}

/* ---------- Deal banner ---------- */
.deal {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 140px at 20% 0%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(900px 120px at 85% 100%, rgba(255,255,255,0.05), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #060606 100%);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}
.deal::before {
  content: "";
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: dealSheen 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes dealSheen {
  0%   { transform: translateX(0); }
  60%  { transform: translateX(450%); }
  100% { transform: translateX(450%); }
}
.deal-grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.deal-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.deal-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
@media (min-width: 768px) {
  .deal-inner { padding: 12px 20px; gap: 14px; }
  .deal-main {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
  }
}

.deal-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.deal-text {
  color: #fff;
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deal-text strong { font-weight: 700; }
@media (min-width: 768px) {
  .deal-text { font-size: 14px; white-space: nowrap; }
}

.deal-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.deal-timer-label {
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 2px;
  white-space: nowrap;
}
.deal-box {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: #fff;
  color: #000;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-width: 30px;
  justify-content: center;
}
.deal-box em {
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .deal-timer-label { font-size: 10px; }
  .deal-box { padding: 4px 8px; font-size: 13px; min-width: 34px; border-radius: 6px; }
}

.deal-close {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: #b8b8b8;
  transition: background 0.15s ease, color 0.15s ease;
}
.deal-close:hover { background: rgba(255,255,255,0.08); color: #fff; }

.deal.out {
  animation: dealCollapse 0.25s ease forwards;
}
@keyframes dealCollapse {
  to { transform: translateY(-4px); opacity: 0; max-height: 0; padding: 0; border: 0; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 28px 20px 6px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hero-logo {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: 0 auto 4px;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2aabee 0%, #229ed9 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(42,171,238,0.28), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.tg-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(42,171,238,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
.tg-btn:active { transform: translateY(0); }

@media (min-width: 768px) {
  .hero { padding: 56px 24px 16px; }
  .hero-logo { max-width: 560px; }
}

/* ---------- Search ---------- */
.search-wrap { max-width: 520px; margin: 0 auto; padding: 14px 14px 2px; }
@media (min-width: 480px) {
  .search-wrap { padding: 16px 16px 4px; }
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  transition: border-color 0.15s ease;
}
.search:focus-within { border-color: #333; color: #fff; }
.search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 14px;
}
.search input::placeholder { color: var(--muted); }

/* ---------- Category chips ---------- */
.chips {
  display: flex;
  gap: 8px;
  padding: 12px 12px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 480px) {
  .chips { padding: 12px 16px 16px; }
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid #2a2a2a;
  color: #cfcfcf;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: #444; color: #fff; }
.chip.active { background: #fff; color: #000; border-color: #fff; }

/* ---------- Product grid ---------- */
main { padding: 4px 12px 40px; max-width: 1200px; margin: 0 auto; }
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 480px) {
  main { padding: 4px 16px 48px; }
  .grid { gap: 12px; }
}
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  main  { padding: 4px 20px 80px; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

.empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
}

/* ---------- Card ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid #141414;
  overflow: hidden;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: #2a2a2a; }

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0a0a;
  cursor: pointer;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
  display: block;
  transition: transform 0.6s ease;
}
.card:hover .card-media img { transform: scale(1.03); }

.badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.badge.new  { color: rgba(255,255,255,0.85); }
.badge.low  { color: rgba(251,191,36,0.9); }
.badge.sold { color: rgba(248,113,113,0.9); }

.card-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.card-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.card-price { font-size: 12.5px; font-weight: 500; color: #e5e5e5; flex-shrink: 0; }
.card-sub {
  font-size: 10.5px;
  color: #8a8a8a;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-rating {
  font-size: 10.5px; color: #b8b8b8;
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 3px;
}
.card-rating .stars {
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
  font-size: 10px;
  line-height: 1;
  font-variant-numeric: normal;
}
.card-rating .stars-back {
  color: #3a3a3a;
}
.card-rating .stars-front {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
@media (min-width: 480px) {
  .card-actions { flex-direction: row; }
}

.btn {
  flex: 1;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 9px 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn.primary { background: #fff; color: #000; border-color: #fff; }
.btn.full    { width: 100%; flex: none; padding: 14px; font-size: 12px; }
.btn:hover        { background: rgba(255,255,255,0.12); }
.btn.primary:hover{ background: #e8e8e8; }
.btn:active       { transform: translateY(1px); }
.btn:disabled     { opacity: 0.4; cursor: not-allowed; }

/* ---------- Newsletter ---------- */
.newsletter {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 24px auto 0;
}
.newsletter h2 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.newsletter p  { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
@media (min-width: 480px) {
  .nl-form { flex-direction: row; }
  .newsletter { padding: 44px 20px; }
  .newsletter h2 { font-size: 22px; }
}
.nl-form input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px 14px;
  border-radius: 4px;
  outline: 0;
  font-size: 14px;
  transition: border-color 0.15s ease;
  min-width: 0;
}
.nl-form input:focus { border-color: #333; }
.nl-form .btn { padding: 12px 20px; }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--border);
  max-width: 780px;
  margin: 0 auto;
  padding: 44px 20px 36px;
}
.faq-head {
  text-align: center;
  margin-bottom: 20px;
}
.faq-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.faq-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
@media (min-width: 768px) {
  .faq { padding: 60px 24px 48px; }
  .faq-title { font-size: 32px; }
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: #ececec;
  line-height: 1.45;
  transition: color 0.15s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: #fff; }
.faq-chev {
  flex-shrink: 0;
  position: relative;
  width: 14px; height: 14px;
  opacity: 0.65;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), opacity 0.15s ease;
}
.faq-chev::before,
.faq-chev::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
.faq-chev::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
.faq-item[open] > summary { color: #fff; }
.faq-item[open] .faq-chev { opacity: 1; }
.faq-item[open] .faq-chev::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item > p {
  padding: 0 4px 18px;
  margin: -2px 0 0;
  color: #b8b8b8;
  font-size: 13.5px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  max-width: 640px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 28px 20px 48px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}
.foot-brand img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.foot-links a { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; transition: color 0.15s ease; }
.foot-links a:hover { color: #fff; }
.foot-legal { font-size: 11px; color: #555; letter-spacing: 0.05em; }

/* ---------- Overlay ---------- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.2s ease, backdrop-filter 0.25s ease, background 0.25s ease;
}
.overlay.show { opacity: 1; }

/* When Order Copied modal is open, use a stronger blur and darker wash */
body:has(#orderModal.show) .overlay {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
/* ...and blur the cart (and any open drawer) behind the modal */
body:has(#orderModal.show) .drawer.show {
  filter: blur(10px) brightness(0.8);
  transition: filter 0.25s ease;
  pointer-events: none;
}

/* ---------- Drawers ---------- */
.drawer {
  position: fixed;
  top: 0; bottom: 0;
  width: min(420px, 100%);
  background: #000;
  border-left: 1px solid var(--border);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
}
.drawer-left  { left: 0;  border-left: 0; border-right: 1px solid var(--border); transform: translateX(-100%); }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer.show.drawer-left  { transform: translateX(0); }
.drawer.show.drawer-right { transform: translateX(0); }
.drawer[hidden] { display: flex; }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.drawer-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.menu-links {
  display: flex; flex-direction: column;
  padding: 10px 0;
}
.menu-links a {
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease, padding 0.15s ease;
}
.menu-links a:hover { background: #0a0a0a; padding-left: 28px; }

/* Cart */
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 14px;
}
.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
  font-size: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cart-item img {
  width: 60px; height: 60px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.ci-info { min-width: 0; }
.ci-name {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ci-flavor {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ci-deal-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #fff;
  color: #000;
  padding: 2px 6px;
  border-radius: 999px;
}
.ci-qty {
  display: inline-flex; align-items: center; gap: 2px;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
}
.ci-qty button {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
}
.ci-qty button:hover { background: #141414; }
.ci-qty span { font-size: 12px; min-width: 22px; text-align: center; }
.ci-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
}
.ci-price { font-size: 13px; font-weight: 600; white-space: nowrap; }
.ci-remove {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: right;
  white-space: nowrap;
}
.ci-remove:hover { color: var(--danger); }

/* Packaging row */
.pack-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  padding: 12px;
  margin-top: 12px;
  background: #0c0c0c;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  align-items: flex-start;
}
.pack-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  padding: 4px;
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  display: block;
}
.pack-info { min-width: 0; }
.pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pack-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.pack-price {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #4ade80);
}
.pack-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}
.pack-select-wrap {
  position: relative;
  display: block;
  margin-top: 8px;
  width: 100%;
}
.pack-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  padding: 8px 28px 8px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.pack-select:hover { border-color: #333; background: #0d0d0d; }
.pack-select:focus { border-color: #fff; }
.pack-select option { background: #0a0a0a; color: #fff; }
.pack-select-caret {
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  color: #8a8a8a;
  pointer-events: none;
}

/* Upsell */
.upsell {
  margin-top: 18px;
  padding: 14px 12px;
  background: #0c0c0c;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.upsell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 80px at 0% 0%, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
}
.upsell-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.upsell-head-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.upsell-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}
.upsell-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8b8b8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.upsell-timer b {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 1px 0 3px;
}
.upsell-timer-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
  margin-right: 2px;
}
.upsell-save {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  background: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.upsell-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
}
.upsell-item img {
  width: 48px; height: 48px;
  object-fit: contain;
  padding: 4px;
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
}
.us-info { min-width: 0; }
.us-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.us-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 3px;
  flex-wrap: wrap;
}
.us-select-wrap {
  position: relative;
  display: block;
  margin-top: 8px;
  width: 100%;
}
.us-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  padding: 8px 28px 8px 10px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.us-select:hover { border-color: #333; background: #0d0d0d; }
.us-select:focus { border-color: #fff; }
.us-select option {
  background: #0a0a0a;
  color: #fff;
}
.us-select-caret {
  position: absolute;
  top: 50%; right: 10px;
  transform: translateY(-50%);
  color: #8a8a8a;
  pointer-events: none;
}
.us-strike {
  font-size: 10.5px;
  color: #666;
  text-decoration: line-through;
}
.us-price {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.us-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: #fff;
  color: #000;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.25);
  animation: usPulse 2.4s ease-in-out infinite;
}
@keyframes usPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50%      { box-shadow: 0 0 0 6px rgba(255,255,255,0);   }
}
.us-add:hover  { background: #e8e8e8; }
.us-add:active { transform: translateY(1px); }

.cart-foot {
  border-top: 1px solid var(--border);
  padding: 16px;
  background: #000;
}
.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  color: #c0c0c0;
  font-variant-numeric: tabular-nums;
}
.cart-line span:last-child { color: #fff; font-weight: 500; }
.cart-line .free {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11.5px;
}
.cart-line-total {
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.cart-line-total span:last-child { font-size: 16px; font-weight: 700; }

.cart-note {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 10px;
  transition: color 0.2s ease;
}
.cart-note.nudge    { color: #fbbf24; }
.cart-note.unlocked { color: var(--accent); }

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}
.modal[hidden] { display: none; }
.modal.show { pointer-events: auto; }
.modal-inner {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), opacity 0.2s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.modal.show .modal-inner { transform: translateY(0) scale(1); opacity: 1; }

.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #0a0a0a;
  z-index: 2;
}
.modal-title { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }

.pd-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
}
.pd-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pd-body { padding: 18px 18px 22px; }
.pd-name { font-size: 22px; font-weight: 600; }
.pd-sub  { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pd-price { font-size: 18px; font-weight: 600; margin-top: 12px; }
.pd-desc  { font-size: 13.5px; color: #c8c8c8; line-height: 1.6; margin-top: 12px; }

.pd-section-title {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 18px 0 8px;
}
.pd-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  font-size: 12.5px;
}
.pd-specs dt { color: var(--muted); }
.pd-specs dd { color: #fff; }

.pd-badges {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}
.pd-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  font-size: 13.5px;
  font-weight: 500;
  color: #ececec;
  line-height: 1.3;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pd-badge:last-child { border-bottom: 0; }
.pd-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: #fff;
  opacity: 0.85;
}
.pd-badge-label {
  min-width: 0;
  letter-spacing: 0.005em;
  flex: 1;
}
.pd-badge-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #9a9a9a;
  background: transparent;
  border: 1px solid #2a2a2a;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.pd-badge-info:hover,
.pd-badge-info:focus-visible,
.pd-badge-info.open {
  color: #fff;
  border-color: #555;
  background: #181818;
  outline: 0;
}
.pd-badge-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: -6px;
  width: 260px;
  max-width: calc(100vw - 80px);
  padding: 10px 12px;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.55);
  color: #e8e8e8;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.005em;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
  z-index: 10;
}
.pd-badge-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 10px;
  width: 10px; height: 10px;
  background: #141414;
  border-right: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  transform: translateY(-50%) rotate(45deg);
}
.pd-badge-info:hover .pd-badge-tip,
.pd-badge-info:focus-visible .pd-badge-tip,
.pd-badge-info.open .pd-badge-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.pd-note {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-note-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #c8c8c8;
}
.pd-note-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #9a9a9a;
}
.pd-note-link {
  color: #5fb4ff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(95,180,255,0.3);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.pd-note-link:hover {
  color: #8acbff;
  border-bottom-color: rgba(138,203,255,0.55);
}

.flavor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 480px) {
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
}
.flavor-chip {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: left;
  background: #0f0f0f;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.flavor-chip:hover { border-color: #333; background: #121212; }
.flavor-chip.selected { border-color: #fff; background: #141414; }
.flavor-chip .fc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.flavor-chip .fc-name { font-size: 13px; font-weight: 600; }
.flavor-chip .fc-sub  { font-size: 11px; color: var(--muted); margin-top: 2px; }
.flavor-chip.sold-out {
  opacity: 0.45;
  cursor: not-allowed;
}
.flavor-chip.sold-out:hover { border-color: var(--border); background: #0f0f0f; }
.flavor-chip.sold-out .fc-name { color: #888; }
.flavor-chip.low-stock .fc-name::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #d97706;
  margin-left: 7px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.fc-pill {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a7a7a;
}
.fc-pill.low { color: #d97706; }
.fc-pill.out { color: #7a7a7a; }

.us-select option:disabled { color: #555; }

.pd-actions { margin-top: 18px; display: flex; gap: 8px; }

/* Flavor modal: sticky Add-to-Cart footer */
#flavorModal .modal-inner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#flavorModal .modal-head { flex-shrink: 0; }
#flavorModal .flavor-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.flavor-actions {
  flex-shrink: 0;
  padding: 12px 16px;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 24px rgba(0,0,0,0.35);
}

/* ---------- Telegram Gate ---------- */
.tg-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.tg-gate[hidden] { display: none; }
.tg-gate.show { opacity: 1; pointer-events: auto; }

.tg-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: 14px;
  padding: 28px 22px 22px;
  text-align: center;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease;
}
.tg-gate.show .tg-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.tg-glow {
  position: absolute;
  top: -60px; left: 50%;
  width: 260px; height: 160px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}

.tg-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #000;
  position: relative;
  animation: tgFloat 3.6s ease-in-out infinite;
}
.tg-icon::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  animation: tgRing 2.2s ease-out infinite;
}
@keyframes tgFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-4px); }
}
@keyframes tgRing {
  0%,
  100% { transform: scale(0.9); opacity: 0; }
  15%  { opacity: 0.55; }
  99%  { transform: scale(1.5); opacity: 0; }
}

.tg-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.tg-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.tg-sub {
  font-size: 13px;
  color: #b8b8b8;
  line-height: 1.55;
  margin-bottom: 18px;
}

.tg-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(180deg, #2aabee 0%, #229ed9 100%);
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(42, 171, 238, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}
.tg-channel:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(42, 171, 238, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  filter: brightness(1.05);
}
.tg-channel:active { transform: translateY(0); }
.tg-channel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
  animation: pulse 1.6s ease-in-out infinite;
}

.tg-ok {
  position: relative;
  width: 100%;
  height: 46px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  border: 1px solid #fff;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.1s ease, box-shadow 0.25s ease;
}
.tg-ok:disabled {
  background: #121212;
  color: #8a8a8a;
  border-color: #1f1f1f;
  cursor: not-allowed;
}
.tg-ok:not(:disabled) {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.35);
  animation: tgReady 1.8s ease-in-out infinite;
}
.tg-ok:not(:disabled):hover  { transform: translateY(-1px); background: #f0f0f0; }
.tg-ok:not(:disabled):active { transform: translateY(0); }

@keyframes tgReady {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(255,255,255,0);   }
}

.tg-ok-progress {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #1f1f1f, #2a2a2a);
  transition: width 5s linear, opacity 0.25s ease;
  z-index: 0;
}
.tg-ok.counting .tg-ok-progress { width: 100%; }
.tg-ok:not(:disabled) .tg-ok-progress { opacity: 0; }
.tg-ok-label { position: relative; z-index: 1; }

/* ---------- Cart ship row ---------- */
.ship-row {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  background: #0c0c0c;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  text-align: left;
  width: 100%;
}
.ship-row.ship-empty {
  cursor: pointer;
  color: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ship-row.ship-empty:hover { border-color: #2a2a2a; background: #0f0f0f; }
.ship-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ship-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ship-value {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ship-change {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #222;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.ship-change:hover { color: #fff; border-color: #3a3a3a; }
.ship-eta {
  grid-column: 1 / -1;
  border-top: 1px dashed #1a1a1a;
  padding-top: 10px;
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.ship-eta-date {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ship-eta-sub {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Country picker modal ---------- */
.country-body { padding: 20px; }
.country-confirm { padding: 26px 22px 22px; text-align: center; }
.country-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.country-sub {
  font-size: 13px;
  color: #b8b8b8;
  line-height: 1.55;
  margin-bottom: 16px;
}
.country-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #0f0f0f;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  color: var(--muted);
  transition: border-color 0.15s ease;
  margin-bottom: 10px;
}
.country-search:focus-within { border-color: #333; color: #fff; }
.country-search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 14px;
}
.country-search input::placeholder { color: var(--muted); }

.country-list {
  list-style: none;
  max-height: 42vh;
  overflow-y: auto;
  margin: 0 -20px;
  padding: 0 20px;
}
.country-list::-webkit-scrollbar { width: 6px; }
.country-list::-webkit-scrollbar-thumb { background: #1f1f1f; border-radius: 3px; }
.country-item {
  padding: 11px 4px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid #141414;
  cursor: pointer;
  transition: color 0.12s ease, padding 0.12s ease;
}
.country-item:hover { padding-left: 8px; color: #fff; background: linear-gradient(90deg, rgba(255,255,255,0.04), transparent); }
.country-item:last-child { border-bottom: 0; }
.country-empty {
  padding: 20px 4px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Confirm step */
.check-ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: checkPop 0.45s cubic-bezier(.2,.9,.3,1.4) both;
}
.check-ring::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  animation: tgRing 2.2s ease-out infinite;
}
@keyframes checkPop {
  0%   { transform: scale(0.6); opacity: 0; }
  70%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.eta-card {
  margin: 16px 0 18px;
  padding: 14px 16px;
  border: 1px solid #1a1a1a;
  background: #0f0f0f;
  border-radius: 10px;
  text-align: center;
}
.eta-card-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.eta-card-date {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.eta-card-sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Order Copied modal ---------- */
.order-body {
  padding: 26px 22px 22px;
  text-align: center;
}
.order-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.order-sub {
  font-size: 13px;
  color: #b8b8b8;
  line-height: 1.55;
  margin-bottom: 16px;
}
.order-tg { margin-bottom: 16px; }

.order-preview {
  text-align: left;
  margin: 0 0 18px;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  background: #0a0a0a;
  overflow: hidden;
}
.order-preview > summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s ease;
}
.order-preview > summary::-webkit-details-marker { display: none; }
.order-preview > summary::after {
  content: "\203A";
  font-size: 18px;
  transition: transform 0.15s ease;
  transform: rotate(90deg);
}
.order-preview[open] > summary::after { transform: rotate(-90deg); }
.order-preview > summary:hover { color: #fff; }
.order-pre {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.55;
  color: #e0e0e0;
  background: #070707;
  padding: 14px;
  margin: 0;
  border-top: 1px solid #1a1a1a;
  white-space: pre;
  overflow-x: auto;
  max-height: 260px;
  overflow-y: auto;
  font-variant-numeric: tabular-nums;
}
.order-recopy {
  display: block;
  width: calc(100% - 20px);
  margin: 10px 10px 12px;
  padding: 9px 12px;
  font-size: 10.5px;
  background: transparent;
  color: #fff;
  border: 1px solid #2a2a2a;
}
.order-recopy:hover { border-color: #fff; background: rgba(255,255,255,0.04); }

.pay-section {
  border-top: 1px solid #1a1a1a;
  padding-top: 14px;
  margin-top: 6px;
}
.pay-title {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.pay-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.pay-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #d0d0d0;
  padding: 6px 10px;
  border: 1px solid #1f1f1f;
  background: #0f0f0f;
  border-radius: 999px;
}

/* ---------- Toast ---------- */
.toasts {
  position: fixed;
  left: 0; right: 0; bottom: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 200;
  pointer-events: none;
  padding: 0 16px;
}
.toast {
  background: #fff;
  color: #000;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(10px);
  animation: toastIn 0.22s ease forwards;
  will-change: opacity, transform;
}
.toast.out { animation: toastOut 0.22s ease forwards; }
@keyframes toastIn  {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0);    }
  to   { opacity: 0; transform: translateY(10px); }
}

/* Respect reduced-motion preferences everywhere */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
