/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  --graphite: #1E2530;
  --graphite-2: #262E3B;
  --steel: #3B4859;
  --steel-light: #5A6B80;
  --amber: #FF9F1C;
  --amber-deep: #E8890C;
  --paper: #F6F4EF;
  --paper-dim: #EAE6DC;
  --ink: #14181F;
  --ink-soft: #4A5364;
  --success: #2E7D5B;
  --line: #D8D2C4;

  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--graphite);
  color: var(--paper);
  border-bottom: 3px solid var(--amber);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--paper);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); }

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.logo span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--amber);
  background: rgba(255,159,28,0.12);
  border: 1px solid var(--amber);
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.08em;
}

.header-nav {
  display: flex;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-right: auto;
  margin-left: 28px;
}
.header-nav a:hover { color: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Bouton panier — redessiné, plus vivant */
.cart-btn {
  position: relative;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: var(--ink);
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 6px 16px rgba(255,159,28,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cart-btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 10px 22px rgba(255,159,28,0.45);
}
.cart-btn.pop { animation: cartPop 0.5s ease; }
@keyframes cartPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.18) rotate(-4deg); }
  60% { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1); }
}
.cart-btn-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: rgba(20,24,31,0.12);
  border-radius: 50%;
}
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--ink);
  color: var(--amber);
  border: 2px solid var(--paper);
  border-radius: 50%;
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
}
.cart-count.bump { animation: countBump 0.4s ease; }
@keyframes countBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.cart-btn-label { display: inline; }

/* ============================================
   BANDE D'ANNONCE FILANTE
   ============================================ */
.marquee {
  background: var(--ink);
  color: var(--amber);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  padding: 7px 0;
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marqueeScroll 26s linear infinite;
  padding-left: 60px;
}
.marquee-track span { display: inline-block; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   TIROIRS (menu / mini-panier)
   ============================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,24,31,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--paper);
  z-index: 95;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0,0,0,0.25);
  transition: transform 0.25s ease;
}
.drawer-left { left: 0; transform: translateX(-105%); }
.drawer-left.open { transform: translateX(0); }
.drawer-right { right: 0; transform: translateX(105%); }
.drawer-right.open { transform: translateX(0); }

body.drawer-lock { overflow: hidden; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.drawer-head .icon-btn { color: var(--ink); }
.drawer-head .icon-btn:hover { background: var(--paper-dim); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
}
.drawer-nav a {
  padding: 13px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.drawer-nav a:hover { background: var(--paper-dim); color: var(--amber-deep); }
.drawer-foot { margin-top: auto; padding: 18px 20px; border-top: 1px solid var(--line); }

.mini-cart-body { padding: 16px 20px; display: flex; flex-direction: column; flex: 1; overflow-y: auto; }
.mini-cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.mini-cart-item { display: flex; gap: 12px; align-items: center; }
.mini-cart-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; flex: none; }
.mini-cart-item-info h5 { margin: 0 0 3px; font-size: 0.85rem; }
.mini-cart-item-info span { font-size: 0.78rem; color: var(--ink-soft); font-family: var(--font-mono); }

.shipping-progress { background: var(--paper-dim); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.shipping-progress p { margin: 0 0 8px; font-size: 0.82rem; }
.shipping-progress p.unlocked { color: var(--success); font-weight: 700; }
.shipping-progress-page { margin-bottom: 22px; }
.progress-track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--amber), var(--success)); border-radius: 999px; transition: width 0.4s ease; }

.mini-cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1rem; padding: 12px 0; border-top: 1px dashed var(--line); margin-bottom: 14px; }

/* ============================================
   ANIMATION VOL VERS LE PANIER
   ============================================ */
.fly-to-cart {
  position: fixed;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  z-index: 200;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(.3,.6,.4,1), opacity 0.6s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 90px 24px 56px;
  color: var(--paper);
}

/* Imagens de fundo — 3 slides em crossfade, atrás de tudo */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, var(--graphite) 0%, #161B23 100%);
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-bg-slide.active { opacity: 1; }
.hero-bg-slide img { width: 100%; height: 100%; object-fit: cover; }

/* Camada escura para o título se manter legível sobre as fotos */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15,18,23,0.94) 0%, rgba(15,18,23,0.78) 40%, rgba(15,18,23,0.4) 75%, rgba(15,18,23,0.25) 100%),
    linear-gradient(0deg, rgba(15,18,23,0.5) 0%, rgba(15,18,23,0) 35%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px dashed var(--amber);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  background: rgba(15,18,23,0.4);
  backdrop-filter: blur(2px);
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255,159,28,0.25);
  animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,159,28,0.25); }
  50% { box-shadow: 0 0 0 7px rgba(255,159,28,0.08); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  max-width: 16ch;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero p {
  color: #E4E8EE;
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 28px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 30px;
}
.hero-stat b {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  display: block;
  color: var(--amber);
}
.hero-stat span {
  font-size: 0.78rem;
  color: #C7CEDA;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: none;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--paper);
  color: var(--paper);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

/* Cartão da oferta em destaque — muda com o slide de fundo ativo */
.hero-offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 10px 16px;
  background: rgba(20,24,31,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  color: #fff;
  max-width: 100%;
}
.hero-offer-chip .hero-offer-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--amber);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  flex: none;
}
.hero-offer-chip .hero-offer-name {
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 22ch;
}
.hero-offer-chip .hero-offer-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--amber);
  font-size: 0.92rem;
  flex: none;
}
.hero-offer-chip .hero-offer-price s { color: #9AA5B5; font-weight: 400; margin-left: 4px; }
.hero-offer-chip:hover { border-color: var(--amber); }

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  padding: 0;
}
.hero-dot.active { background: var(--amber); width: 22px; border-radius: 4px; }


/* ============================================
   BARRA DE PESQUISA E FILTROS
   ============================================ */
.search-filter-bar {
  max-width: 1280px;
  margin: -28px auto 0;
  padding: 0 24px 30px;
  position: relative;
  z-index: 2;
}
.search-filter-inner {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(20,24,31,0.16);
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.search-input-wrap {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-dim);
  border-radius: 8px;
  padding: 0 12px;
}
.search-input-wrap svg { flex: none; width: 18px; height: 18px; color: var(--ink-soft); }
.search-input-wrap input {
  border: none;
  background: transparent;
  padding: 12px 4px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  width: 100%;
}
.search-input-wrap input:focus { outline: none; }
.filter-select {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  background: #fff;
  flex: 0 0 auto;
}
.filter-select:focus { outline: 2px solid var(--amber); }
.search-results-info {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.search-results-info b { color: var(--ink); }
.search-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--ink-soft);
}

/* ============================================
   CATEGORY CAROUSELS
   ============================================ */
.catalog {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 20px;
}

.category-block { margin-bottom: 52px; }

.category-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}
.category-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 4px 0 0;
}
.category-nav { display: flex; gap: 8px; }
.category-nav button {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.category-nav button:hover { background: var(--ink); color: var(--paper); }

.carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

/* ============================================
   PRODUCT TICKET CARD
   ============================================ */
.product-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(20,24,31,0.14);
}
.product-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  flex: 1;
}

.product-media {
  background: var(--paper-dim);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-flag {
  position: absolute;
  top: 8px; left: 0;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.62rem;
  padding: 3px 8px 3px 6px;
  border-radius: 0 4px 4px 0;
}
.discount-flag::after {
  content: '';
  position: absolute;
  left: 0; top: 100%;
  border-width: 4px 4px 0 0;
  border-style: solid;
  border-color: var(--amber-deep) transparent transparent transparent;
}

.stock-ribbon {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  text-align: center;
  backdrop-filter: blur(2px);
}
.stock-ribbon.low { background: rgba(180,70,46,0.92); color: #fff; animation: stockPulse 1.4s ease-in-out infinite; }
.stock-ribbon.mid { background: rgba(232,137,12,0.92); color: #fff; }
.stock-ribbon.ok { background: rgba(46,125,91,0.88); color: #fff; }
@keyframes stockPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

.product-body {
  padding: 10px 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.product-body .cat {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.product-ref {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-soft);
  opacity: 0.8;
}
.product-body h3 {
  font-size: 0.82rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  flex-wrap: wrap;
}
.price-row .old {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.price-row .now {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--success);
  font-size: 0.94rem;
}
.product-card .add-btn {
  margin-top: 8px;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 8px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.product-card .add-btn:hover { background: var(--amber); color: var(--ink); }

/* ============================================
   BANDS / TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 26px 24px;
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { flex: none; width: 26px; height: 26px; color: var(--amber); }
.trust-item b { display: block; font-size: 0.92rem; }
.trust-item span { font-size: 0.8rem; color: #9AA5B5; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--graphite);
  color: #9AA5B5;
  padding: 40px 24px 24px;
  margin-top: 40px;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid var(--steel);
  padding-bottom: 24px;
  margin-bottom: 18px;
}
.footer-inner .logo { color: var(--paper); }

/* ============================================
   GENERIC PAGE LAYOUT (product / cart / order / payment)
   ============================================ */
.page-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--amber-deep); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.product-detail .product-media { border-radius: 10px; aspect-ratio: 1/1; }

/* ============================================
   GALERIA DE IMAGENS + ZOOM (ficha do produto)
   ============================================ */
.gallery-main {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--paper-dim);
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.08s ease-out;
  transform-origin: center;
}
.gallery-main.zoomed img { transform: scale(2); }
.gallery-zoom-hint {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(20,24,31,0.75);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 5px 9px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.gallery-thumb {
  flex: 0 0 64px;
  width: 64px; height: 64px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--paper-dim);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--amber); }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,18,23,0.94);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  font-size: 1.2rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  font-size: 1.3rem;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.product-ref-line {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.stock-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
}
.stock-line.low { background: rgba(180,70,46,0.1); color: #B4462E; }
.stock-line.mid { background: rgba(232,137,12,0.1); color: var(--amber-deep); }
.stock-line.ok { background: rgba(46,125,91,0.1); color: var(--success); }
.stock-line.out { background: var(--paper-dim); color: var(--ink-soft); }

.detail-info .cat { font-family: var(--font-mono); font-size: 0.75rem; color: var(--amber-deep); letter-spacing: 0.1em; text-transform: uppercase; }
.detail-info h1 { font-family: var(--font-display); font-size: 1.8rem; margin: 8px 0 14px; line-height: 1.1; }
.detail-info .price-block { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.detail-info .old { text-decoration: line-through; color: var(--ink-soft); font-family: var(--font-mono); font-size: 1.1rem; }
.detail-info .now { font-family: var(--font-mono); font-weight: 700; color: var(--success); font-size: 2rem; }
.detail-info p.desc { color: var(--ink-soft); margin-bottom: 22px; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.qty-control button { width: 38px; height: 38px; background: var(--paper); border: none; font-size: 1rem; }
.qty-control input { width: 44px; text-align: center; border: none; border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); height: 38px; font-family: var(--font-mono); }
.action-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.detail-info .btn { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover { background: #1EBE59; }
.btn-buy-now { border-color: var(--ink); color: var(--ink); }
.btn-buy-now:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.spec-list { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px dashed var(--line); }
.spec-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.88rem; }
.spec-list li b { color: var(--ink-soft); font-weight: 500; }

/* Cart page */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.cart-table th { text-align: left; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item-info { display: flex; gap: 14px; align-items: center; }
.cart-item-info .product-media { width: 70px; height: 70px; flex: none; border-radius: 6px; }
.cart-item-info .product-media svg { width: 60%; height: 60%; }
.cart-item-info h4 { margin: 0 0 4px; font-size: 0.9rem; }
.cart-item-info .cat { font-size: 0.68rem; color: var(--ink-soft); font-family: var(--font-mono); text-transform: uppercase; }
.remove-link { font-family: var(--font-mono); font-size: 0.75rem; color: #B4462E; }
.cart-summary {
  background: var(--paper-dim);
  border-radius: 8px;
  padding: 22px;
  max-width: 360px;
  margin-left: auto;
}
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 10px; }
.summary-row.total { font-weight: 700; font-size: 1.15rem; border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; }
.summary-row .free { color: var(--success); font-weight: 700; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state svg { width: 64px; height: 64px; color: var(--line); margin-bottom: 14px; }

/* Order form */
.order-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--amber);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-recap {
  background: var(--graphite);
  color: var(--paper);
  border-radius: 8px;
  padding: 22px;
  position: sticky;
  top: 90px;
}
.order-recap h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 16px; }
.order-recap .item-row { display: flex; justify-content: space-between; font-size: 0.85rem; padding: 8px 0; border-bottom: 1px solid var(--steel); }
.order-recap .summary-row { color: var(--paper); }
.order-recap .summary-row.total { border-top: 1px dashed var(--steel); color: var(--amber); }

/* ============================================
   PÁGINA DE PAGAMENTO — design moderno em cartões
   ============================================ */
.payment-page-hero {
  text-align: center;
  margin-bottom: 28px;
}
.payment-page-hero .check-icon {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #1f6347);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 10px 24px rgba(46,125,91,0.35);
}
.payment-page-hero h1 { font-family: var(--font-display); font-size: 1.7rem; margin: 0 0 8px; }
.payment-page-hero p { color: var(--ink-soft); max-width: 40ch; margin: 0 auto; }
.order-ref-chip {
  font-family: var(--font-mono);
  background: var(--ink);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  margin-top: 14px;
}

.amount-card {
  background: linear-gradient(135deg, var(--graphite-2), var(--graphite));
  border-radius: 16px;
  padding: 26px 28px;
  color: #fff;
  margin-bottom: 22px;
  text-align: center;
}
.amount-card .label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA5B5;
}
.amount-card .value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--amber);
  margin: 4px 0 0;
}
.amount-breakdown {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem;
  color: #C7CEDA;
}
.amount-breakdown b { color: #fff; }
.amount-breakdown .discount-chip { color: var(--success); }

.card-block {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(20,24,31,0.08);
  border: 1px solid var(--line);
  padding: 24px;
  margin-bottom: 22px;
}
.card-block h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.card-block h2 .icon-chip {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}

.bank-field-grid { display: grid; gap: 12px; }
.bank-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper-dim);
  border-radius: 10px;
  padding: 12px 14px;
}
.bank-field-text { min-width: 0; }
.bank-field-text .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.bank-field-text .value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}
.bank-field.highlight { background: rgba(255,159,28,0.12); border: 1px dashed var(--amber); }
.copy-icon-btn {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.copy-icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.copy-icon-btn.copied { background: var(--success); color: #fff; border-color: var(--success); }

/* Stepper horizontal (vertical em mobile) */
.stepper {
  display: flex;
  gap: 4px;
  margin: 4px 0 6px;
}
.stepper-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 40px;
}
.stepper-step::before {
  content: counter(step-count);
  counter-increment: step-count;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.stepper { counter-reset: step-count; }
.stepper-step::after {
  content: '';
  position: absolute;
  top: 15px; left: calc(50% + 16px);
  width: calc(100% - 32px);
  height: 2px;
  background: var(--line);
}
.stepper-step:last-child::after { display: none; }
.stepper-step b { display: block; font-size: 0.82rem; margin-bottom: 4px; }
.stepper-step span { display: block; font-size: 0.72rem; color: var(--ink-soft); line-height: 1.4; }

.whatsapp-proof-card {
  background: linear-gradient(135deg, #25D366, #1EBE59);
  border-radius: 16px;
  padding: 26px;
  color: #fff;
  text-align: center;
}
.whatsapp-proof-card h2 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 8px; }
.whatsapp-proof-card p { font-size: 0.86rem; opacity: 0.92; margin: 0 0 18px; max-width: 42ch; margin-left: auto; margin-right: auto; }
.whatsapp-proof-card .btn {
  background: #fff;
  color: #1EBE59;
  width: 100%;
  justify-content: center;
  font-weight: 700;
}
.whatsapp-proof-card .btn:hover { background: #f2fff6; }

.note-box {
  background: var(--paper-dim);
  border-left: 3px solid var(--amber);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-radius: 0 6px 6px 0;
}

/* ============================================
   BADGES DE RÉASSURANCE (fiche produit)

   ============================================ */
.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.mini-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.mini-badge svg { width: 16px; height: 16px; color: var(--success); flex: none; }

/* ============================================
   PRODUITS SIMILAIRES ("Vous pourriez aussi aimer")
   ============================================ */
.related-section { margin-top: 56px; }
.related-section .carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

/* ============================================
   FAQ (accordéon)
   ============================================ */
.faq-section {
  max-width: 900px;
  margin: 20px auto 60px;
  padding: 0 24px;
}
.faq-inner h2 { font-family: var(--font-display); font-size: 1.6rem; margin: 4px 0 22px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 18px;
}
.faq-item summary {
  padding: 14px 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--amber-deep);
  flex: none;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--ink-soft); margin: 0 0 16px; font-size: 0.88rem; line-height: 1.6; }

/* ============================================
   NEWSLETTER (antes do rodapé, em todas as páginas)
   ============================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--graphite-2), var(--graphite));
  padding: 44px 24px;
  margin-top: 40px;
}
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--paper);
}
.newsletter-inner .eyebrow { color: var(--amber); }
.newsletter-inner h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 6px 0 8px;
}
.newsletter-inner p { color: #C7CEDA; margin: 0 0 22px; font-size: 0.92rem; }
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1 1 260px;
  padding: 13px 16px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.newsletter-form input:focus { outline: 2px solid var(--amber); }
.newsletter-form button {
  border-radius: 999px;
  padding: 13px 22px;
}
.newsletter-note { font-size: 0.72rem; color: #7C8698; margin-top: 12px; }
.newsletter-success { color: var(--amber); font-weight: 700; margin-top: 14px; font-size: 0.9rem; }

/* ============================================
   CASAS DE VERIFICAÇÃO (CGV / código promocional)
   ============================================ */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.86rem;
}
.check-row input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--amber-deep);
  flex: none;
}
.check-row label { color: var(--ink-soft); line-height: 1.5; }
.check-row a { color: var(--amber-deep); font-weight: 600; text-decoration: underline; }
.check-row.cgv-row { border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 22px; }

.promo-box {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.promo-box.open { max-height: 120px; }
.promo-box-inner { display: flex; gap: 8px; padding-top: 6px; }
.promo-box-inner input {
  flex: 1;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.promo-box-inner button {
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 700;
  font-size: 0.85rem;
}
.promo-feedback { font-size: 0.78rem; margin-top: 6px; }
.promo-feedback.success { color: var(--success); }
.promo-feedback.error { color: #B4462E; }
.form-error {
  color: #B4462E;
  font-size: 0.8rem;
  margin-top: -8px;
  margin-bottom: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .order-recap { position: static; }
  .header-nav { display: none; }
  .cart-btn-label { display: none; }
  .hero { min-height: 480px; padding-top: 76px; }
  .hero h1 { max-width: none; }
  .form-row { grid-template-columns: 1fr; }
  .search-filter-inner { flex-direction: column; align-items: stretch; }
  .gallery-thumb { flex: 0 0 56px; width: 56px; height: 56px; }
  .stepper { flex-direction: column; gap: 22px; }
  .stepper-step { text-align: left; padding-left: 46px; padding-top: 0; }
  .stepper-step::before { top: 0; left: 0; transform: none; }
  .stepper-step::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card { transition: none; }
}

:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
