/* ==========================================================================
   LUNA — PORTAS & JANELAS
   Arquivo: styles.css (refactor visual “tech” — sem mexer na estrutura HTML)
   ========================================================================== */

/* ==========================================================================
   1) VARIÁVEIS & RESET
   ========================================================================== */
:root {
  /* Brand */
  --brand: #00347A;          /* Azul Luna */
  --accent: #ff4e1f;         /* Laranja destaque */
  --ink: #0b1220;            /* Texto principal */
  --muted: #64748b;          /* Texto secundário */

  /* Superfícies */
  --bg: #f6f8fb;
  --card: #ffffff;

  /* “Tech” tokens */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;

  --border: rgba(2, 6, 23, .10);
  --border-2: rgba(2, 6, 23, .16);

  --shadow: 0 10px 24px rgba(2, 6, 23, .08);
  --shadow-lg: 0 18px 46px rgba(2, 6, 23, .14);
  --shadow-soft: 0 8px 18px rgba(2, 6, 23, .06);

  --ring: rgba(56, 189, 248, .25);     /* “neon ring” */
  --ring-strong: rgba(56, 189, 248, .38);

  /* Gradientes e brilho */
  --glow: radial-gradient(600px 240px at 20% 0%, rgba(56,189,248,.18), transparent 55%),
          radial-gradient(500px 260px at 85% 10%, rgba(255,78,31,.12), transparent 55%);
  --hairline: linear-gradient(90deg, transparent, rgba(2,6,23,.12), transparent);

  /* Cart (v2) */
  --luna-blue: #00347A;
  --luna-blue-600: #014a9a;
  --luna-accent: #ff4e1f;
  --cart-bg: #ffffff;
  --cart-text: #111827;
  --cart-muted: #6b7280;
  --cart-border: #e5e7eb;
}

/* Reset básico */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fundo com “glow” sutil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: var(--glow);
  opacity: .9;
  z-index: -1;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Utilitários */
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }
.ratio-4x3 { aspect-ratio: 4/3; }
.w-100 { width: 100%; }

/* Acessibilidade — reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

  /* ==========================================================================
    2) HEADER / NAVBAR
    ========================================================================== */
  header.sticky-top,
  .site-header.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: saturate(1.3) blur(10px);
  }

  .site-header {
    background: rgba(255,255,255,.86);
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 1100;
  }

  /* ===== Faixa Promocional ===== */
  .promo-bar {
background: linear-gradient(90deg, #0a1b38 0%, #0d2349 50%, #041526 100%);
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0 12px;
    overflow: hidden;
    position: relative;
  }

  .promo-bar::after{
    content:"";
    position:absolute;
    left: -40%;
    top: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
    transform: skewX(-16deg);
    animation: promo-sheen 3.8s ease-in-out infinite;
    opacity: .9;
  }
  @keyframes promo-sheen {
    0%, 65% { transform: translateX(0) skewX(-16deg); opacity: .0; }
    75% { opacity: .9; }
    100% { transform: translateX(280%) skewX(-16deg); opacity: 0; }
  }

  .promo-text {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0 12px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .45s ease, transform .45s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .promo-text.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
  }

  @media (max-width: 640px) {
    .promo-bar { font-size: 13px; height: 34px; }
  }

  .span-header {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
  }

  .site-header.is-sticky {
    box-shadow: 0 10px 30px rgba(2,6,23,.10);
    border-bottom: 1px solid rgba(2,6,23,.06);
  }

  /* ===== Área principal do header ===== */
  .header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(255,255,255,.78);
    border-bottom: 1px solid rgba(2,6,23,.06);
  }

  .navbar {
    background: rgba(255,255,255,.78);
    border-bottom: 1px solid rgba(2,6,23,.06);
    box-shadow: 0 8px 24px rgba(2,6,23,.06);
    min-height: 64px;
  }

  /* Marca */
  .brandmark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--brand), #0b5bd3);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0,52,122,.22);
    position: relative;
  }
  .brandmark::after{
    content:"";
    position:absolute;
    inset:-2px;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.20), transparent);
    transform: translateX(-120%);
    transition: transform .7s ease;
  }
  .brandmark:hover::after{ transform: translateX(120%); }

  .brandmark img { width: 100%; height: 100%; object-fit: cover; }

  .navbar .navbar-brand { padding: 8px 0; }

  .navbar .navbar-brand h1,
  .brand-title {
    color: #111a2e;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    margin: 0;
  }

  /* Navegação */
  .navbar .nav-link {
    color: #172036;
    font-weight: 700;
    padding: .55rem .85rem;
    position: relative;
    transition: color .18s ease, transform .18s ease;
  }
  .navbar .nav-link:hover,
  .navbar .nav-link:focus {
    color: var(--brand);
    text-decoration: none;
    transform: translateY(-1px);
  }

  /* Sublinhado animado */
  .nav-underline .nav-link::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .25rem;
    height: 2px;
    background: transparent;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease, background .18s ease;
  }
  .nav-underline .nav-link:hover::after,
  .nav-underline .nav-link:focus::after {
    background: linear-gradient(90deg, var(--brand), rgba(56,189,248,.9));
    transform: scaleX(1);
  }
  .nav-underline .nav-link.active,
  .nav-underline .nav-link[aria-current="page"] { color: var(--brand); }
  .nav-underline .nav-link.active::after {
    background: linear-gradient(90deg, var(--brand), rgba(56,189,248,.9));
    transform: scaleX(1);
  }

  /* Toggler (mobile) */
  .navbar-toggler {
    border-color: rgba(2,6,23,.18);
    padding: .42rem .62rem;
    border-radius: 12px;
    background: rgba(255,255,255,.75);
  }
  .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem var(--ring-strong);
  }
  .navbar-toggler-icon { filter: invert(25%); }

  /* Busca (header) */
  .search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(2,6,23,.10);
    border-radius: 999px;
    padding: 6px 10px;
    min-width: 220px;
    box-shadow: 0 10px 22px rgba(2,6,23,.05);
    transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
  }
  .search:hover { transform: translateY(-1px); }
  .search:focus-within {
    border-color: rgba(56,189,248,.45);
    box-shadow: 0 0 0 4px var(--ring), 0 14px 30px rgba(2,6,23,.10);
  }

  .search input {
    border: 0;
    outline: 0;
    width: 160px;
    background: transparent;
    font-weight: 700;
    color: #111a2e;
  }

  .search-btn {
    border: 0;
    background: linear-gradient(135deg, rgba(0,52,122,.10), rgba(56,189,248,.12));
    color: var(--brand);
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .search-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 20px rgba(0,52,122,.12);
  }

  .kbd {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #64748b;
    border: 1px solid rgba(2,6,23,.10);
    border-bottom-width: 2px;
    padding: 0 6px;
    border-radius: 8px;
    background: rgba(255,255,255,.92);
    display: none;
  }
  @media (min-width: 992px) { .kbd { display: inline-block; } }
  @media (max-width: 991.98px) {
    .search { min-width: 0; width: 100%; }
    .search input { width: 100%; }
  }

  /* CTA vermelho do header */
  .btn.btn-accent {
    --bs-btn-font-weight: 800;
    --bs-btn-padding-x: 1rem;
    --bs-btn-border-radius: 999px;
    --bs-btn-bg: #e53935;
    --bs-btn-border-color: #e53935;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #d32f2f;
    --bs-btn-hover-border-color: #d32f2f;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #c62828;
    --bs-btn-active-border-color: #c62828;
    --bs-btn-active-color: #fff;
    --bs-btn-focus-shadow-rgb: 229, 57, 53;

    background: linear-gradient(135deg, #ff3b30, #d81b60) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 16px 36px rgba(229,57,53,.24);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }
  .btn.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(229,57,53,.28);
    filter: saturate(1.05);
  }
  .btn.btn-accent:focus {
    box-shadow: 0 0 0 0.25rem rgba(229,57,53,.22) !important;
  }

  /* Carrinho (botão no header) */
  .cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(2,6,23,.12);
    background: rgba(255,255,255,.86);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(2,6,23,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(2,6,23,.12);
    border-color: rgba(56,189,248,.35);
  }
  .cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 19px;
    height: 19px;
    padding: 0 6px;
    background: linear-gradient(135deg, var(--accent), #ff7a3d);
    color: #fff;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 18px rgba(255,78,31,.22);
  }

/* ==========================================================================
   3) HERO & CARROSSEL
   ========================================================================== */
section { padding: 56px 0; }

.hero {
  padding: 64px 0 24px;
  background:
    radial-gradient(900px 320px at 15% 0%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(700px 300px at 85% 10%, rgba(0,52,122,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(241,245,251,.92));
  border-bottom: 1px solid rgba(2,6,23,.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 991.98px) { .hero-grid { grid-template-columns: 1fr; } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,52,122,.10), rgba(56,189,248,.12));
  color: var(--brand);
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(56,189,248,.20);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
}

.hero h2 {
  font-size: 42px;
  line-height: 1.08;
  margin: 14px 0;
  letter-spacing: -0.4px;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero .actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid rgba(2,6,23,.12);
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2,6,23,.12);
  border-color: rgba(56,189,248,.35);
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand), #0b5bd3);
  color: #fff;
  border: 0;
  box-shadow: 0 20px 46px rgba(0,52,122,.22);
}
.btn.primary:hover { filter: saturate(1.05); }

.hero-card {
  background: rgba(255,255,255,.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(2,6,23,.08);
}

.hero-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: linear-gradient(90deg, #0b1220, #0f172a);
  color: #fff;
}

/* Carrossel */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(148,163,184,.35), rgba(226,232,240,.6));
}

.car-track { position: relative; overflow: hidden; }

.car-slide {
  display: none;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #e6eaf2;
  image-rendering: -webkit-optimize-contrast;
}
.car-slide.is-active { display: block; }

.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(15, 23, 42, .55);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  z-index: 2;
  box-shadow: 0 18px 40px rgba(2,6,23,.20);
}
.car-btn:hover {
  background: rgba(15, 23, 42, .82);
  transform: translateY(-50%) scale(1.06);
}
.car-btn.prev { left: 10px; }
.car-btn.next { right: 10px; }

.car-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  padding: 12px 0;
  background: rgba(255, 255, 255, .65);
  border-top: 1px solid rgba(2,6,23,.06);
}
.car-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(148,163,184,.9);
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.car-dot:hover { transform: scale(1.15); }
.car-dot.is-active { background: linear-gradient(135deg, var(--brand), rgba(56,189,248,.9)); }

/* ==========================================================================
   4) HIGHLIGHTS
   ========================================================================== */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.tag {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(2,6,23,.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: start;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.tag::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(56,189,248,.35), rgba(0,52,122,.12), rgba(255,78,31,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
  opacity: .7;
}

.tag svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--brand);
}
.tag strong { display: block; font-weight: 900; }
.tag span { color: var(--muted); font-size: 14px; line-height: 1.45; }

@media (max-width: 991.98px) { .highlights { grid-template-columns: 1fr; } }

/* ==========================================================================
   5) PRODUTOS (grade, cards, filtros)
   ========================================================================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}
.section-head h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.35px;
}
.section-head small {
  color: var(--muted);
  font-weight: 600;
}

/* Grade */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 991.98px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .grid { grid-template-columns: 1fr; } }

/* Card do produto */
.card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(2,6,23,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .20s ease, box-shadow .20s ease, border-color .20s ease, filter .20s ease;
  position: relative;
}
.card::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(56,189,248,.30), rgba(0,52,122,.10), rgba(255,78,31,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
  opacity: .55;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(56,189,248,.22);
  filter: saturate(1.02);
}

.card__img {
  aspect-ratio: 4/3;
  background: #eef2f7 center/cover no-repeat;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  height: 570px;
}

/* IDs específicos */
#janela_01,
#janela_02 {
  aspect-ratio: 4/3;
  background: #eef2f7 center/cover no-repeat;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  height: 500px;
}

/* shimmer mais “premium” */
.card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .50) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-110%);
  animation: shimmer 1.35s ease-in-out infinite;
  opacity: .22;
}
.card:hover .card__img::after { opacity: .10; }

@keyframes shimmer { to { transform: translateX(110%); } }

.card__body { padding: 14px; }

/* Variações de produto */
.product-variants {
  margin: 10px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-variants label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.product-variants select[data-variant-selector] {
  border-radius: 999px;
  border: 1px solid rgba(2,6,23,.10);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  background: rgba(255,255,255,.90);
  outline: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(2,6,23,.05);
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease, background .18s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* seta */
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(148,163,184,.95) 50%),
    linear-gradient(135deg, rgba(148,163,184,.95) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 10px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.product-variants select[data-variant-selector]:hover {
  border-color: rgba(56,189,248,.35);
  transform: translateY(-1px);
}
.product-variants select[data-variant-selector]:focus {
  border-color: rgba(56,189,248,.55);
  box-shadow: 0 0 0 4px var(--ring), 0 14px 30px rgba(2,6,23,.10);
}
.product-variants small { font-size: 12px; color: var(--muted); }

.price {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: -0.2px;
}

.badge-mini {
  display: inline-block;
  padding: 5px 10px;
  background: linear-gradient(135deg, rgba(0,52,122,.10), rgba(56,189,248,.12));
  color: var(--brand);
  border: 1px solid rgba(56,189,248,.20);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(2,6,23,.05);
}

/* Ações do card */
.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn.add-cart {
  background: linear-gradient(135deg, var(--brand), #0b5bd3);
  color: #fff;
  font-weight: 900;
  border: 0;
  box-shadow: 0 18px 40px rgba(0,52,122,.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn.add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(0,52,122,.28);
  filter: saturate(1.06);
}

.btn[data-cta="whats"] {
  background: rgba(255,255,255,.90);
  color: var(--brand);
  border: 1px solid rgba(0,52,122,.25);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(2,6,23,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn[data-cta="whats"]:hover {
  background: linear-gradient(135deg, rgba(0,52,122,.10), rgba(56,189,248,.12));
  border-color: rgba(56,189,248,.35);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2,6,23,.12);
}

.btn:focus {
  outline: 3px solid rgba(56,189,248,.40);
  outline-offset: 2px;
}

/* Filtros */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin: 10px 0 18px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.filter-group strong {
  font-size: 14px;
  color: var(--muted);
  margin-right: 2px;
  font-weight: 800;
}

.pill {
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.88);
  color: #16203a;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(2,6,23,.05);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pill:hover {
  border-color: rgba(56,189,248,.32);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(2,6,23,.10);
}
.pill.is-active {
  background: linear-gradient(135deg, rgba(0,52,122,.10), rgba(56,189,248,.14));
  color: var(--brand);
  border-color: rgba(56,189,248,.35);
  box-shadow: 0 18px 40px rgba(2,6,23,.10);
}

.filter-meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   6) LIGHTBOX (imagens dos produtos)
   ========================================================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 6, 23, .86);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox.is-active {
  display: flex;
  animation: fadeIn .22s ease both;
}

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 26px 70px rgba(0, 0, 0, .55);
  object-fit: contain;
  background: rgba(255,255,255,.04);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  font-weight: 800;
  border-radius: 14px;
  transition: transform .18s ease, background .18s ease;
}
.lightbox-close:hover { transform: scale(1.05); background: rgba(255,255,255,.10); }

body.no-scroll { overflow: hidden; }

/* ==========================================================================
   7) CONTATO & MAPA
   ========================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}
@media (max-width: 991.98px) { .contact-wrap { grid-template-columns: 1fr; } }

.contact-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(2,6,23,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
}

.list {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
}
.list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.map {
  border: 0;
  width: 100%;
  height: 330px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.map-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.map-buttons .btn {
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   8) FOOTER
   ========================================================================== */
footer,
.footer {
  background: radial-gradient(1000px 360px at 25% 0%, rgba(56,189,248,.10), transparent 60%),
              linear-gradient(180deg, #0b1220, #0f172a);
  color: #d6e2ff;
  padding: 48px 0 28px;
  font-size: 15px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer a { color: #d6e2ff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 36px;
  align-items: start;
}

.footer-col h4 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.3px;
}
.footer-col h5 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
}
.footer-col p {
  margin: 6px 0 0;
  color: rgba(214,226,255,.86);
  line-height: 1.55;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact svg { flex: 0 0 18px; color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  margin-top: 40px;
  padding-top: 18px;
  text-align: center;
  font-size: 14px;
  color: rgba(170,182,214,.92);
}

.brandmark.small {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #0b5bd3);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  box-shadow: 0 16px 40px rgba(0,52,122,.22);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-contact li { justify-content: center; }
}

/* Redes sociais no footer */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.footer-social a {
  color: #d6e2ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow .2s ease;
}
.footer-social a:hover {
  background: linear-gradient(135deg, rgba(0,52,122,.45), rgba(56,189,248,.22));
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2,6,23,.30);
}
@media (max-width: 640px) { .footer-social { justify-content: center; } }

/* Botão flutuante do WhatsApp */
.zap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: linear-gradient(135deg, #25D366, #16a34a);
  color: white;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  box-shadow: 0 18px 44px rgba(22,163,74,.22);
  border: 1px solid rgba(255,255,255,.22);
  z-index: 60;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.zap:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(22,163,74,.28);
  filter: saturate(1.06);
}

/* ==========================================================================
   9) CARRINHO (DRAWER) — v2
   ========================================================================== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .50);
  z-index: 1000;
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .16s ease-out;
}
.cart-backdrop.show { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(92vw, 420px);
  background: rgba(255,255,255,.92);
  color: var(--cart-text);
  transform: translateX(100%);
  transition: transform .22s ease-out, box-shadow .22s ease-out;
  z-index: 1001;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: -10px 0 60px rgba(2, 6, 23, .18);
  border-left: 1px solid rgba(2,6,23,.10);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(2,6,23,.08);
  background: rgba(255,255,255,.92);
}
.cart-header h4 { margin: 0; color: var(--luna-blue); font-weight: 900; }

.cart-close {
  background: rgba(2,6,23,.06);
  border: 1px solid rgba(2,6,23,.08);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--cart-text);
  border-radius: 12px;
  padding: 6px 10px;
  transition: transform .18s ease, background .18s ease;
}
.cart-close:hover { background: rgba(2,6,23,.10); transform: scale(1.03); }

.cart-list {
  flex: 1 1 auto;
  overflow: auto;
  padding: 12px 14px;
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,.88);
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 16px;
  padding: 10px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 26px rgba(2,6,23,.06);
}
.cart-item__img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: rgba(2,6,23,.04) center/cover no-repeat;
  border: 1px solid rgba(2,6,23,.10);
}

.cart-item__main { display: flex; flex-direction: column; gap: 6px; }
.cart-item__title { font-weight: 900; }
.cart-item__meta { color: var(--cart-muted); font-size: .92rem; font-weight: 600; }
.cart-item__total { font-weight: 900; white-space: nowrap; }

.cart-item__qty,
.cart-item__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-item__qty button,
.cart-item__controls button {
  background: rgba(2,6,23,.06);
  border: 1px solid rgba(2,6,23,.08);
  padding: 6px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .14s ease, background .14s ease;
}
.cart-item__qty button:hover,
.cart-item__controls button:hover {
  background: rgba(2,6,23,.10);
  transform: translateY(-1px);
}

.cart-item__controls input {
  width: 48px;
  text-align: center;
  border: 1px solid rgba(2,6,23,.10);
  border-radius: 12px;
  padding: 6px 8px;
  outline: none;
  font-weight: 900;
  background: rgba(255,255,255,.94);
}
.cart-item__controls input:focus {
  box-shadow: 0 0 0 4px var(--ring);
  border-color: rgba(56,189,248,.55);
}

.cart-item__remove {
  background: transparent !important;
  color: var(--cart-muted);
  border: 0;
  padding: 6px 8px;
  cursor: pointer;
  font-weight: 900;
  margin-left: 6px;
}
.cart-item__remove:hover { color: #0b1220; }

/* Estado vazio */
.cart-empty {
  border: 2px dashed rgba(2,6,23,.16);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  color: var(--cart-muted);
  background: rgba(2,6,23,.02);
}
.cart-empty__icon { font-size: 28px; margin-bottom: 8px; }

.btn-outline {
  display: inline-block;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(2,6,23,.12);
  color: #111;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(2,6,23,.05);
}
.btn-outline:hover {
  background: rgba(2,6,23,.03);
  transform: translateY(-1px);
}

/* Footer do carrinho */
.cart-footer {
  border-top: 1px solid rgba(2,6,23,.08);
  padding: 12px 14px;
  background: rgba(255,255,255,.92);
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 12px;
}

.cart-totals { display: grid; gap: 8px; }
.totals-row { display: flex; align-items: baseline; justify-content: space-between; }
.totals-row strong { font-size: 1.125rem; }
.totals-row--total strong { font-size: 1.25rem; }
.totals-hint { color: var(--cart-muted); font-weight: 600; }

.btn-red,
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--luna-blue), #0b5bd3);
  color: #fff;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  padding: 12px 14px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0,52,122,.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-red:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0,52,122,.28);
  filter: saturate(1.06);
}

.is-disabled { opacity: .6; cursor: not-allowed; }

/* Mobile (carrinho) */
@media (max-width: 420px) {
  .cart-item { grid-template-columns: 64px 1fr auto; }
  .cart-item__img { width: 64px; height: 64px; }
}

/* ==========================================================================
   10) AJUSTES FINAIS
   ========================================================================== */
.cart-drawer,
.cart-backdrop { z-index: 1000; }

/* ==========================================================================
   11) TOAST / FEEDBACK DE AÇÃO
   ========================================================================== */
.toast-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
  z-index: 1100;
}
@media (max-width: 480px) { .toast-stack { left: 16px; right: 16px; } }

.toast {
  background: linear-gradient(135deg, #0b1220, #0f172a);
  color: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.10);
  animation: toast-in .18s ease-out both;
}

.toast__icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 10px 18px rgba(34,197,94,.22);
}

.toast__text { font-weight: 800; font-size: 14px; }

.toast__close {
  border: 0;
  background: transparent;
  color: rgba(203,213,225,.9);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.toast__close:hover { color: #fff; }

@keyframes toast-in {
  from { transform: translateY(8px); opacity: 0 }
  to { transform: translateY(0); opacity: 1 }
}
@keyframes toast-out {
  to { transform: translateY(8px); opacity: 0 }
}
.toast.is-hiding { animation: toast-out .16s ease-in both; }

