:root {
  --bg: #fff9ef;
  --ink: #14131a;
  --surface: #ffffff;
  --border: #14131a;
  --text: #14131a;
  --text-muted: #55525c;
  --blue: #0057b8;
  --blue-bright: #1e90ff;
  --red: #e8262f;
  --yellow: #ffd200;
  --pink: #ff3ea5;
  --teal: #10a37f;
  --terracotta: #cc785c;
  --charcoal: #2b2b2b;
  --indigo: #6c5ce7;
  --success: #00b84a;
  --radius: 14px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-lg: 9px 9px 0 var(--ink);
  --font: 'Baloo 2', system-ui, -apple-system, sans-serif;
  --font-display: 'Bangers', 'Baloo 2', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ---------- Promo banner ---------- */
.promo-banner {
  background: repeating-linear-gradient(-45deg, var(--red) 0 24px, var(--yellow) 24px 48px);
  border-bottom: 4px solid var(--ink);
  padding: 12px 16px;
  position: relative;
}
.promo-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.promo-banner-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: #ffffff;
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
  letter-spacing: 0.3px;
}
.promo-banner-text strong { color: var(--ink); -webkit-text-stroke: 0; }
.promo-banner-timer {
  background: var(--ink);
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
.promo-banner-timer strong {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 1px;
}
.promo-banner-cta {
  background: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 7px 18px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
  white-space: nowrap;
}
.promo-banner-cta:hover { transform: translate(-2px, -2px); }

/* ---------- Background decor ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.halftone-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ink) 1.4px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.07;
}

/* ---------- Custom cursor ---------- */
@media (pointer: fine) {
  body.custom-cursor-active,
  body.custom-cursor-active a,
  body.custom-cursor-active button {
    cursor: none;
  }
}
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
}
.cursor-dot {
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  background: var(--red);
  border: 1.5px solid var(--ink);
  clip-path: polygon(50% 0%, 61% 38%, 98% 38%, 68% 59%, 79% 100%, 50% 76%, 21% 100%, 32% 59%, 2% 38%, 39% 38%);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 2.5px dashed var(--ink);
  border-radius: 50%;
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.cursor-dot.cursor-hover { background: var(--yellow); }
.cursor-ring.cursor-hover {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-color: var(--blue);
  background: rgba(0, 87, 184, 0.08);
}
.cursor-ring.cursor-click {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
}

/* ---------- Klik efekt (POW / BAM / ZAP) ---------- */
.click-burst {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10001;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  will-change: transform, opacity;
  white-space: nowrap;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

img { max-width: 100%; display: block; }

.text-pop {
  color: var(--yellow);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: 3px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(2.6); opacity: 0; }
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--ink);
}

.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

.btn-header-cta { display: none; }

.btn-block { width: 100%; }

.btn-gold {
  background: var(--yellow);
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 4px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}
.logo span { color: var(--red); }
.logo-mark {
  height: 40px;
  width: auto;
  border-radius: 9px;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.15s ease;
  white-space: nowrap;
}
.lang-switch-btn:hover { transform: translate(-1px, -1px); }
.lang-switch-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 170px;
  z-index: 200;
}
.lang-switch.is-open .lang-switch-menu { display: flex; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.lang-option:hover { background: var(--yellow); }
.lang-option.is-active { background: var(--ink); color: #ffffff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 70px;
  text-align: center;
  z-index: 0;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-image: radial-gradient(currentColor 6px, transparent 7px);
  background-size: 22px 22px;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.hero::before { top: -60px; right: -70px; color: var(--red); }
.hero::after { top: -40px; left: -80px; color: var(--yellow); }

.hero-inner { position: relative; z-index: 1; }

.badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  color: var(--ink);
}

.hero-subtitle {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-features {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-mascot {
  width: 190px;
  margin: 20px auto 0;
  animation: mascotBob 3s ease-in-out infinite;
}
.hero-mascot svg { width: 100%; height: auto; display: block; }

@keyframes mascotBob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@media (min-width: 1000px) {
  .hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    text-align: left;
  }
  .hero-copy { text-align: left; max-width: 640px; }
  .hero-copy .hero-subtitle { margin: 0 0 34px; }
  .hero-copy .hero-actions { justify-content: flex-start; }
  .hero-copy .hero-features { justify-content: flex-start; }
  .hero-mascot { width: 280px; margin: 0; flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mascot { animation: none; }
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 3px solid var(--ink);
  padding: 14px 20px;
  border-radius: var(--radius);
  text-align: left;
  min-width: 230px;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
}
.feature-pill strong { display: block; font-size: 0.94rem; }
.feature-pill span { color: var(--text-muted); font-size: 0.82rem; }

/* ---------- How it works ---------- */
.how-it-works {
  padding: 50px 0 70px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--ink);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Product sections ---------- */
.category-section { padding: 70px 0; }
.category-section:not(:last-child) { border-bottom: 3px dashed var(--ink); }

.category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}
.category-header h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.category-icon { font-size: 1.4rem; }
.category-count { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }

.category-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}
.brand-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 6px;
}
.brand-icon img,
.brand-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.product-card {
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--ink);
}
.category-section.accent-blue .product-card::before { background: var(--blue); }
.category-section.accent-pink .product-card::before { background: var(--pink); }
.category-section.accent-yellow .product-card::before { background: var(--yellow); }

.category-section.accent-blue .category-header h2 { color: var(--blue); }
.category-section.accent-pink .category-header h2 { color: var(--pink); }
.category-section.accent-yellow .category-header h2 { color: #b58900; }

.category-section.accent-blue .btn-gold { background: var(--blue); color: #fff; }
.category-section.accent-pink .btn-gold { background: var(--pink); color: #fff; }
.category-section.accent-yellow .btn-gold { background: var(--yellow); color: var(--ink); }

.product-card:hover {
  transform: translate(-3px, -5px);
  box-shadow: 10px 12px 0 var(--ink);
}

.product-card-sale {
  border-color: var(--red);
  padding-top: 56px;
  box-shadow: 8px 8px 0 var(--red);
  animation: saleGlow 1.8s ease-in-out infinite;
}
.product-card-sale:hover {
  transform: translate(-3px, -5px);
  box-shadow: 11px 13px 0 var(--red);
}
@keyframes saleGlow {
  0%, 100% { box-shadow: 8px 8px 0 var(--red); }
  50% { box-shadow: 8px 8px 0 var(--yellow); }
}
.sale-ribbon {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--red);
  color: #ffffff;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 4px 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 2;
  white-space: nowrap;
}

.product-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.product-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: #ffffff;
  padding: 5px;
  object-fit: contain;
}
.product-name {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
  min-height: 44px;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-price {
  display: inline-block;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  padding: 3px 12px;
  transform: rotate(-2deg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
}
.product-price small {
  font-size: 0.62rem;
  font-family: var(--font);
  font-weight: 700;
  color: var(--text-muted);
}
.product-price-original {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--ink);
  text-decoration: line-through;
  margin-right: 6px;
  opacity: 0.6;
}

.stock-badge {
  font-size: 0.72rem;
  color: #ffffff;
  background: var(--success);
  border: 2px solid var(--ink);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Payment methods ---------- */
.payments { padding: 20px 0 10px; }
.section-title-small {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--ink);
  margin: 0 0 26px;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}
.payment-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.payment-badge:hover {
  transform: translate(-2px, -3px);
  box-shadow: 7px 8px 0 var(--ink);
}
.payment-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--ink);
  padding: 9px;
}
.payment-icon img,
.payment-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.payment-icon-bank { padding: 8px; }

/* ---------- FAQ ---------- */
.faq { padding: 80px 0; }
.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.3rem;
  color: var(--ink);
  margin: 0 0 40px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.faq-item {
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--blue); }
.faq-item p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #ffffff;
  border-top: 4px solid var(--ink);
  padding: 50px 0 20px;
}
.site-footer .logo-mark { border-color: #ffffff; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 30px;
}
.footer-tagline { color: #cfcfd6; margin: 8px 0 0; font-size: 0.9rem; }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a { color: #ffffff; font-size: 0.9rem; font-weight: 600; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  color: #cfcfd6;
  font-size: 0.82rem;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  max-width: 90vw;
  background: #ffffff;
  border: 3px solid var(--ink);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
  text-align: center;
}
.toast.toast-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Recent orders (anonymous activity) ---------- */
.recent-order-toast {
  position: fixed;
  left: 20px;
  bottom: 34px;
  z-index: 998;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 14px 16px;
  width: 290px;
  box-shadow: var(--shadow);
  transform: translateX(-130%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  pointer-events: none;
}
.recent-order-toast.is-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.recent-order-toast::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -15px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-top: 17px solid var(--ink);
}
.recent-order-toast::before {
  content: "";
  position: absolute;
  left: 29px;
  bottom: -9px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-top: 13px solid #ffffff;
  z-index: 1;
}
.recent-order-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  font-size: 1.15rem;
}
.recent-order-body { min-width: 0; flex: 1; }
.recent-order-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.recent-order-product {
  margin: 3px 0 0;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.recent-order-time { margin: 5px 0 0; font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
.recent-order-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}
.recent-order-close:hover { color: var(--ink); }

@media (max-width: 640px) {
  .recent-order-toast { left: 12px; width: calc(100vw - 90px); bottom: 16px; padding: 12px 14px; }
}

/* ---------- Focus accessibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Quick category nav ---------- */
.quick-nav-wrap {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: var(--bg);
  border-bottom: 3px solid var(--ink);
}
.quick-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 24px;
  max-width: 1180px;
  margin: 0 auto;
  scrollbar-width: none;
}
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  background: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.quick-nav a:hover { transform: translateY(-2px); }
.quick-nav a.active { background: var(--ink); color: #ffffff; }

/* ---------- Product search ---------- */
.product-search-wrap { padding: 24px 0 0; text-align: center; }
.product-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: var(--shadow-sm);
}
.product-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.product-search input::placeholder { color: var(--text-muted); }
.product-search-empty {
  display: none;
  text-align: center;
  font-weight: 700;
  color: var(--text-muted);
  margin: 30px 0 0;
}
.product-search-empty.is-visible { display: block; }
.product-card.is-hidden { display: none; }
.category-section.is-hidden { display: none; }

/* ---------- Trust stamp ---------- */
.payments .container { position: relative; }
.trust-stamp {
  position: absolute;
  top: -6px;
  right: 24px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px solid var(--success);
  outline: 2px dashed var(--success);
  outline-offset: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-10deg);
  color: var(--success);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.15;
  background: #ffffff;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 997;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px) scale(1.05); }

/* ---------- Confetti ---------- */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 9999;
  top: 0;
  left: 0;
  will-change: transform, opacity;
}

@media (max-width: 640px) {
  .back-to-top { right: 14px; bottom: 90px; width: 42px; height: 42px; font-size: 1.1rem; }
  .trust-stamp { width: 74px; height: 74px; font-size: 0.7rem; right: 12px; top: -4px; }
}

/* ---------- AI guide (Gemini vs ChatGPT vs Claude) ---------- */
.ai-guide { padding: 70px 0; }
.ai-guide-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
  font-weight: 500;
}
.ai-guide-intro strong { color: var(--ink); }

.ai-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ai-guide-card {
  background: #ffffff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ai-guide-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--ink);
}
.ai-guide-gemini::before { background: var(--blue); }
.ai-guide-chatgpt::before { background: var(--teal); }
.ai-guide-claude::before { background: var(--terracotta); }
.ai-guide-grok::before { background: var(--charcoal); }
.ai-guide-perplexity::before { background: var(--indigo); }

.ai-guide-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-guide-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--ink);
  padding: 8px;
}
.ai-guide-icon img { width: 100%; height: 100%; object-fit: contain; }
.ai-guide-icon-emoji { font-size: 1.3rem; padding: 0; }
.ai-guide-gemini .ai-guide-icon-emoji { background: var(--blue); }
.ai-guide-chatgpt .ai-guide-icon-emoji { background: var(--teal); }
.ai-guide-claude .ai-guide-icon-emoji { background: var(--terracotta); color: #ffffff; }
.ai-guide-grok .ai-guide-icon-emoji { background: var(--charcoal); color: #ffffff; }

.ai-guide-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
}

.ai-guide-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.ai-guide-label {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: 0.88rem;
}

.ai-guide-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-guide-pros-cons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 2px dashed var(--ink);
}
.ai-guide-pros strong { color: var(--success); font-size: 0.85rem; }
.ai-guide-cons strong { color: var(--red); font-size: 0.85rem; }
.ai-guide-pros ul, .ai-guide-cons ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ai-guide-card .btn { margin-top: auto; }

.ai-guide-verdict {
  margin-top: 40px;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 22px 26px;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 500;
}
.ai-guide-verdict strong { color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 4px solid var(--ink);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }
}

@media (min-width: 640px) {
  .btn-header-cta { display: inline-flex; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 0 50px; }
  .feature-pill { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .product-card-sale { animation: none !important; }
}
