/* ==================================================
   RESET
   ================================================== */

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


/* ==================================================
   TEMA PADRÃO
   ================================================== */

:root {

  --bg: #080808;

  --surface: #111111;

  --surface2: #161616;

  --accent: #d6ae55;

  --accent-hover: #f1d78d;

  --text: #f4f0e8;

  --muted: #a6a19a;

  --line: #292722;

  --button-text: #080808;

  --header-bg: rgba(8, 8, 8, 0.92);

  --menu-bg: #090909;

  --hero-center: #211b10;

  --hero-middle: #0b0b0b;

  --hero-edge: #080808;

  --hero-detail: rgba(214, 174, 85, 0.06);

  --hero-glow: rgba(214, 174, 85, 0.10);

  --about-start: #111111;

  --about-end: #0b0b0b;

  --modal-bg: #101010;

  --overlay: rgba(0, 0, 0, 0.82);

  --shadow: rgba(0, 0, 0, 0.45);

  --serif:
    "Cormorant Garamond",
    Georgia,
    serif;

  --sans:
    "Montserrat",
    Arial,
    sans-serif;

}


/* ==================================================
   BASE
   ================================================== */

html {
  scroll-behavior: smooth;
}


body {

  background:
    var(--bg);

  color:
    var(--text);

  font-family:
    var(--sans);

  line-height:
    1.6;

  transition:
    background 0.35s ease,
    color 0.35s ease;

}


body.modal-open {
  overflow: hidden;
}


a {

  color:
    inherit;

  text-decoration:
    none;

}


button,
input {

  font:
    inherit;

}


button {
  cursor: pointer;
}


/* ==================================================
   LOGO COMPARTILHADA
   ================================================== */

.logo-slot {

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

}


.logo-slot img {

  display:
    block;

  object-fit:
    contain;

}


.logo-fallback {
  line-height: 1;
}


/* ==================================================
   LOADER
   ================================================== */

.page-loader {

  position:
    fixed;

  inset:
    0;

  z-index:
    1000;

  display:
    grid;

  place-content:
    center;

  text-align:
    center;

  background:
    var(--bg);

  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;

}


.page-loader.hide {

  opacity:
    0;

  visibility:
    hidden;

}


.loader-logo {

  width:
    100px;

  height:
    100px;

  margin:
    0 auto 15px;

}


.loader-logo img {

  max-width:
    100%;

  max-height:
    100%;

}


.loader-logo .logo-fallback {

  font-size:
    52px;

}


.loader-name {

  color:
    var(--accent);

  font-size:
    11px;

  letter-spacing:
    4px;

}


/* ==================================================
   HEADER
   ================================================== */

.header {

  height:
    72px;

  padding:
    0 20px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  position:
    sticky;

  top:
    0;

  z-index:
    50;

  background:
    var(--header-bg);

  border-bottom:
    1px solid var(--line);

  backdrop-filter:
    blur(12px);

}


.brand {

  min-width:
    0;

  display:
    flex;

  align-items:
    center;

  gap:
    10px;

}


.header-logo {

  width:
    38px;

  height:
    38px;

  flex:
    0 0 38px;

}


.header-logo img {

  max-width:
    38px;

  max-height:
    38px;

}


.header-logo .logo-fallback {

  font-size:
    26px;

}


.brand-name {

  max-width:
    210px;

  overflow:
    hidden;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;

  color:
    var(--accent);

  font-family:
    var(--serif);

  font-size:
    20px;

  font-weight:
    700;

  letter-spacing:
    0.5px;

}


.menu-button {

  width:
    40px;

  height:
    40px;

  display:
    grid;

  place-content:
    center;

  gap:
    5px;

  background:
    transparent;

  border:
    0;

}


.menu-button span {

  display:
    block;

  width:
    22px;

  height:
    1px;

  background:
    var(--accent);

}


/* ==================================================
   MENU MOBILE
   ================================================== */

.mobile-menu {

  position:
    fixed;

  inset:
    0;

  z-index:
    100;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    24px;

  background:
    var(--menu-bg);

  transform:
    translateX(100%);

  transition:
    transform 0.45s ease;

}


.mobile-menu.open {

  transform:
    translateX(0);

}


.menu-close {

  position:
    absolute;

  top:
    15px;

  right:
    20px;

  background:
    transparent;

  border:
    0;

  color:
    var(--accent);

  font-size:
    36px;

}


.menu-brand {

  margin-bottom:
    15px;

  display:
    grid;

  justify-items:
    center;

  gap:
    10px;

}


.menu-brand strong {

  color:
    var(--accent);

  font-family:
    var(--serif);

  font-size:
    19px;

}


.menu-logo {

  width:
    80px;

  height:
    80px;

}


.menu-logo img {

  max-width:
    100%;

  max-height:
    100%;

}


.menu-logo .logo-fallback {

  font-size:
    45px;

}


.mobile-menu > a {

  font-family:
    var(--serif);

  font-size:
    29px;

  transition:
    color 0.2s ease;

}


.mobile-menu > a:hover {

  color:
    var(--accent);

}


/* ==================================================
   HERO
   ================================================== */

.hero {

  min-height:
    calc(100svh - 72px);

  padding:
    70px 25px;

  display:
    grid;

  place-items:
    center;

  position:
    relative;

  overflow:
    hidden;

  text-align:
    center;

  background:
    radial-gradient(
      circle at 50% 35%,
      var(--hero-center) 0%,
      var(--hero-middle) 38%,
      var(--hero-edge) 72%
    );

}


.hero::before {

  content:
    "";

  position:
    absolute;

  inset:
    0;

  pointer-events:
    none;

  background:
    linear-gradient(
      135deg,
      transparent 32%,
      var(--hero-detail) 50%,
      transparent 68%
    );

}


.hero-glow {

  position:
    absolute;

  width:
    280px;

  height:
    280px;

  border-radius:
    50%;

  background:
    var(--hero-glow);

  filter:
    blur(75px);

}


.hero-content {

  width:
    100%;

  max-width:
    620px;

  position:
    relative;

  z-index:
    1;

}


.hero-logo {

  width:
    125px;

  height:
    125px;

  margin:
    0 auto 24px;

}


.hero-logo img {

  max-width:
    100%;

  max-height:
    100%;

  filter:
    drop-shadow(
      0 8px 25px var(--shadow)
    );

}


.hero-logo .logo-fallback {

  font-size:
    70px;

}


.hero h1 {

  margin:
    0 auto 20px;

  font-family:
    var(--serif);

  font-size:
    clamp(48px, 13vw, 78px);

  font-weight:
    500;

  line-height:
    0.95;

}


.hero-text {

  max-width:
    430px;

  margin:
    0 auto 30px;

  color:
    var(--muted);

  font-size:
    13px;

}


/* ==================================================
   BOTÕES
   ================================================== */

.primary-button {

  min-height:
    48px;

  padding:
    14px 21px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    18px;

  background:
    var(--accent);

  border:
    1px solid var(--accent);

  color:
    var(--button-text);

  font-size:
    10px;

  font-weight:
    700;

  letter-spacing:
    1.6px;

  transition:
    0.25s ease;

}


.primary-button:hover {

  background:
    var(--accent-hover);

  border-color:
    var(--accent-hover);

  transform:
    translateY(-2px);

}


.primary-button.full {
  width: 100%;
}


.outline-button {

  display:
    inline-block;

  padding:
    12px 18px;

  color:
    var(--accent);

  border:
    1px solid var(--accent);

  font-size:
    9px;

  letter-spacing:
    1.4px;

  transition:
    0.2s ease;

}


.outline-button:hover {

  background:
    var(--accent);

  color:
    var(--button-text);

}


/* ==================================================
   CATÁLOGO
   ================================================== */

.catalog-section {

  max-width:
    900px;

  margin:
    auto;

  padding:
    76px 18px 90px;

}


.section-heading {

  margin-bottom:
    28px;

  text-align:
    center;

}


.eyebrow {

  color:
    var(--accent);

  font-size:
    9px;

  font-weight:
    600;

  letter-spacing:
    3.2px;

}


.section-heading h2 {

  margin:
    8px 0;

  font-family:
    var(--serif);

  font-size:
    43px;

  font-weight:
    500;

  line-height:
    1;

}


.section-heading h2 em {

  color:
    var(--accent);

  font-style:
    italic;

}


.section-heading > p:last-child {

  color:
    var(--muted);

  font-size:
    12px;

}


/* ==================================================
   BUSCA
   ================================================== */

.catalog-tools {

  margin-bottom:
    12px;

  display:
    flex;

  justify-content:
    flex-end;

  position:
    relative;

}


.search-toggle {

  width:
    42px;

  height:
    42px;

  background:
    var(--surface);

  border:
    1px solid var(--line);

  color:
    var(--accent);

  font-size:
    24px;

}


.search-box {

  position:
    absolute;

  top:
    0;

  right:
    50px;

  width:
    0;

  overflow:
    hidden;

  transition:
    width 0.3s ease;

}


.search-box.open {

  width:
    calc(100% - 50px);

}


.search-box input {

  width:
    100%;

  height:
    42px;

  padding:
    0 13px;

  outline:
    0;

  background:
    var(--surface);

  border:
    1px solid var(--accent);

  color:
    var(--text);

  font-size:
    12px;

}


.search-box input::placeholder {

  color:
    var(--muted);

}


/* ==================================================
   FILTROS
   ================================================== */

.filters {

  display:
    flex;

  gap:
    7px;

  overflow-x:
    auto;

  scrollbar-width:
    none;

}


.filters::-webkit-scrollbar {
  display: none;
}


.main-filters {

  padding-bottom:
    9px;

}


.sub-filters {

  min-height:
    15px;

  margin-bottom:
    16px;

}


.filter {

  flex:
    0 0 auto;

  padding:
    8px 13px;

  white-space:
    nowrap;

  background:
    transparent;

  border:
    1px solid var(--line);

  color:
    var(--muted);

  font-size:
    9px;

  letter-spacing:
    1px;

}


.filter.active {

  background:
    var(--accent);

  border-color:
    var(--accent);

  color:
    var(--button-text);

}


/* ==================================================
   PRODUTOS
   ================================================== */

.product-grid {

  display:
    grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    12px;

}


.product-card {

  overflow:
    hidden;

  cursor:
    pointer;

  background:
    var(--surface);

  border:
    1px solid var(--line);

  transition:
    0.25s ease;

}


.product-card:hover {

  border-color:
    var(--accent);

  transform:
    translateY(-3px);

}


.product-image {

  width:
    100%;

  aspect-ratio:
    1 / 1.15;

  display:
    block;

  object-fit:
    cover;

  background:
    var(--surface2);

}


.product-info {

  padding:
    13px 12px 15px;

}


.product-name {

  font-family:
    var(--serif);

  font-size:
    21px;

  line-height:
    1.05;

}


.product-category {

  margin:
    5px 0;

  color:
    var(--muted);

  font-size:
    7px;

  letter-spacing:
    1.5px;

  text-transform:
    uppercase;

}


.product-price {

  color:
    var(--accent);

  font-size:
    12px;

  font-weight:
    600;

}


.empty-state {

  display:
    none;

  padding:
    40px;

  color:
    var(--muted);

  text-align:
    center;

  font-size:
    12px;

}


/* ==================================================
   SOBRE
   ================================================== */

.about {

  padding:
    0 18px 90px;

}


.about-card {

  max-width:
    650px;

  margin:
    auto;

  padding:
    55px 25px;

  text-align:
    center;

  border:
    1px solid var(--line);

  background:
    linear-gradient(
      145deg,
      var(--about-start),
      var(--about-end)
    );

}


.about-logo {

  width:
    95px;

  height:
    95px;

  margin:
    0 auto 18px;

}


.about-logo img {

  max-width:
    100%;

  max-height:
    100%;

}


.about-logo .logo-fallback {

  font-size:
    45px;

}


.about h2 {

  max-width:
    520px;

  margin:
    8px auto 18px;

  font-family:
    var(--serif);

  font-size:
    40px;

  font-weight:
    500;

  line-height:
    1.05;

}


.about-card > p {

  max-width:
    470px;

  margin:
    0 auto 25px;

  color:
    var(--muted);

  font-size:
    12px;

}


/* ==================================================
   FOOTER
   ================================================== */

.footer {

  padding:
    55px 20px 30px;

  text-align:
    center;

  border-top:
    1px solid var(--line);

}


.footer h3 {

  color:
    var(--accent);

  font-family:
    var(--serif);

  font-size:
    26px;

}


.footer-subtitle {

  color:
    var(--muted);

  font-size:
    7px;

  letter-spacing:
    3px;

}


.footer-contact {

  max-width:
    500px;

  margin:
    22px auto 0;

  display:
    grid;

  gap:
    6px;

  color:
    var(--muted);

  font-size:
    9px;

}


.footer-contact a {

  color:
    var(--accent);

}


.footer-links {

  margin:
    25px 0;

  display:
    flex;

  justify-content:
    center;

  gap:
    20px;

  color:
    var(--muted);

  font-size:
    9px;

}


.footer-links a:hover {

  color:
    var(--accent);

}


.footer small {

  color:
    var(--muted);

  opacity:
    0.72;

  font-size:
    8px;

}


/* ==================================================
   WHATSAPP
   ================================================== */

.whatsapp-float {

  position:
    fixed;

  right:
    18px;

  bottom:
    18px;

  z-index:
    40;

  width:
    54px;

  height:
    54px;

  border-radius:
    50%;

  background:
    var(--surface);

  border:
    1px solid var(--accent);

  color:
    var(--accent);

  box-shadow:
    0 8px 30px var(--shadow);

  font-size:
    19px;

}


/* ==================================================
   MODAL
   ================================================== */

.modal {

  position:
    fixed;

  inset:
    0;

  z-index:
    200;

  display:
    none;

}


.modal.open {
  display: block;
}


.modal-backdrop {

  position:
    absolute;

  inset:
    0;

  background:
    var(--overlay);

  backdrop-filter:
    blur(5px);

}


.modal-card {

  position:
    absolute;

  left:
    50%;

  top:
    50%;

  width:
    min(92%, 480px);

  max-height:
    92svh;

  overflow:
    auto;

  transform:
    translate(-50%, -48%);

  background:
    var(--modal-bg);

  border:
    1px solid var(--line);

  box-shadow:
    0 30px 80px var(--shadow);

  animation:
    modalIn 0.3s ease;

}


.modal-close {

  position:
    absolute;

  right:
    10px;

  top:
    8px;

  z-index:
    2;

  width:
    35px;

  height:
    35px;

  border-radius:
    50%;

  background:
    var(--surface);

  border:
    1px solid var(--line);

  color:
    var(--text);

  font-size:
    23px;

}


.modal-image-wrap {

  background:
    var(--surface2);

}


.modal-image-wrap img {

  display:
    block;

  width:
    100%;

  aspect-ratio:
    1 / 1;

  object-fit:
    cover;

}


.modal-content {

  padding:
    22px;

}


.modal-content h2 {

  margin:
    5px 0;

  font-family:
    var(--serif);

  font-size:
    38px;

  font-weight:
    500;

  line-height:
    1;

}


.modal-price {

  margin-bottom:
    13px;

  color:
    var(--accent);

  font-weight:
    600;

}


.modal-content > p:not(.eyebrow) {

  margin-bottom:
    22px;

  color:
    var(--muted);

  font-size:
    12px;

}


/* ==================================================
   ANIMAÇÕES
   ================================================== */

@keyframes modalIn {

  from {

    opacity:
      0;

    transform:
      translate(-50%, -44%);

  }

  to {

    opacity:
      1;

    transform:
      translate(-50%, -48%);

  }

}


/* ==================================================
   DESKTOP
   ================================================== */

@media (min-width: 700px) {

  .header {
    padding:
      0 40px;
  }


  .brand-name {

    max-width:
      350px;

    font-size:
      22px;

  }


  .product-grid {

    grid-template-columns:
      repeat(3, 1fr);

  }


  .catalog-section {

    padding-left:
      30px;

    padding-right:
      30px;

  }


  .about-card {

    padding:
      70px;

  }


  .product-info {

    padding:
      15px;

  }


  .product-name {

    font-size:
      23px;

  }

}

/* ==================================================
   V3 - ACESSIBILIDADE E FALLBACKS
   ================================================== */
.product-card:focus-visible,
.menu-button:focus-visible,
.filter:focus-visible,
.primary-button:focus-visible,
.outline-button:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.product-card.featured {
  border-color: var(--accent);
}

.product-card.image-missing::before,
.modal-image-wrap.image-missing::before {
  content: "IMAGEM INDISPONÍVEL";
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.15;
  padding: 20px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.4px;
  text-align: center;
}

.modal-image-wrap.image-missing::before {
  aspect-ratio: 1 / 1;
}

.logo-slot[hidden] { display: none !important; }

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


/* ==================================================
   V3.1 — LEGIBILIDADE, LOGO E REDES SOCIAIS
   ================================================== */

/* Logos principais mais presentes */
.loader-logo {
  width: 160px;
  height: 160px;
  margin-bottom: 20px;
}

.hero-logo {
  width: min(48vw, 190px);
  height: min(48vw, 190px);
  margin-bottom: 28px;
}

.about-logo {
  width: 110px;
  height: 110px;
}

.header-logo {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.header-logo img {
  max-width: 44px;
  max-height: 44px;
}

/* Tipografia: nenhum texto funcional importante excessivamente pequeno */
.loader-name { font-size: 12px; }
.brand-name { font-size: 21px; }
.eyebrow { font-size: 11px; }
.hero-text { font-size: 15px; line-height: 1.7; }
.primary-button { font-size: 11px; }
.outline-button { font-size: 10.5px; }
.section-heading > p:last-child { font-size: 14px; }
.search-box input { font-size: 13px; }
.filter { font-size: 10.5px; }
.product-category { font-size: 10px; letter-spacing: 1.15px; }
.product-price { font-size: 14px; }
.empty-state { font-size: 13px; }
.about-card > p { font-size: 14px; line-height: 1.75; }
.footer-subtitle { font-size: 10px; }
.footer-contact { font-size: 11px; line-height: 1.7; }
.footer-links { font-size: 11px; }
.footer small { font-size: 10px; }
.modal-content > p:not(.eyebrow) { font-size: 14px; line-height: 1.7; }

/* Botões sociais */
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.social-buttons:empty {
  display: none;
}

.social-button {
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  border-radius: 999px;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

button.social-button {
  font-family: var(--sans);
}

.social-button:hover,
.social-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}

.social-icon {
  font-size: 17px;
  line-height: 1;
}

@media (min-width: 700px) {
  .loader-logo {
    width: 180px;
    height: 180px;
  }

  .hero-logo {
    width: 230px;
    height: 230px;
  }

  .hero-text {
    font-size: 16px;
  }
}

/* ==================================================
   V4 — EXPERIÊNCIA DE COMPRA + ACABAMENTO PREMIUM
   ================================================== */

body.cart-open {
  overflow: hidden;
}

.header {
  box-shadow: 0 12px 35px color-mix(in srgb, var(--shadow) 55%, transparent);
}

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

.cart-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--text);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.cart-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button:hover,
.cart-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--button-text);
  border: 2px solid var(--bg);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.cart-count[hidden] {
  display: none;
}

.cart-count.bump {
  animation: cartBump .42s cubic-bezier(.2,.85,.35,1.3);
}

/* Hero: presença sem exagero */
.hero-content {
  animation: heroReveal .8s cubic-bezier(.2,.75,.25,1) both;
}

.hero-logo img {
  transition: transform .7s cubic-bezier(.2,.75,.25,1), filter .35s ease;
}

.hero-logo:hover img {
  transform: translateY(-3px) scale(1.018);
}

.primary-button,
.outline-button,
.filter,
.search-toggle,
.social-button {
  border-radius: 999px;
}

.primary-button {
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 18%, transparent);
}

.primary-button:active,
.outline-button:active,
.product-add:active,
.cart-button:active {
  transform: translateY(0) scale(.98);
}

/* Cards com profundidade sutil */
.product-card {
  position: relative;
  border-radius: 18px;
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--surface) 96%, var(--accent) 4%),
      var(--surface));
  box-shadow: 0 14px 36px color-mix(in srgb, var(--shadow) 35%, transparent);
  transform-origin: center;
  will-change: transform;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(125deg, transparent 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 72%);
  transition: opacity .3s ease;
}

.product-card:hover::after {
  opacity: 1;
}

.product-image {
  border-radius: 17px 17px 0 0;
}

.product-info {
  display: grid;
  gap: 4px;
}

.product-add {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 72%, var(--line));
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.product-add:hover,
.product-add:focus-visible {
  background: var(--accent);
  color: var(--button-text);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 18%, transparent);
  outline: none;
  transform: translateY(-1px);
}

.product-card.featured::before {
  content: "DESTAQUE";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.15px;
}

/* Modal glass */
.modal-card {
  border-radius: 24px;
  overflow: hidden;
  background: color-mix(in srgb, var(--modal-bg) 92%, transparent);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
}

.modal-image-wrap img {
  border-radius: 0;
}

.modal-actions {
  display: grid;
  gap: 10px;
}

.modal-actions .full {
  width: 100%;
}

.modal-actions .outline-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

/* Sacola lateral */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 350;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: color-mix(in srgb, var(--overlay) 94%, transparent);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: opacity .32s ease;
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92vw, 440px);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(104%);
  border-left: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: -24px 0 80px var(--shadow);
  backdrop-filter: blur(30px) saturate(135%);
  -webkit-backdrop-filter: blur(30px) saturate(135%);
  transition: transform .38s cubic-bezier(.2,.75,.25,1);
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  min-height: 92px;
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
}

.cart-close,
.cart-remove {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface2) 78%, transparent);
  border: 1px solid var(--line);
  color: var(--text);
}

.cart-close {
  width: 42px;
  height: 42px;
  font-size: 27px;
}

.cart-close:hover,
.cart-close:focus-visible,
.cart-remove:hover,
.cart-remove:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.cart-body {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  overscroll-behavior: contain;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface2) 68%, transparent);
  animation: cartItemIn .28s ease both;
}

.cart-item-media {
  position: relative;
  width: 82px;
  height: 96px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface2);
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-media.image-missing::before {
  content: "SEM IMAGEM";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.3;
  letter-spacing: 1px;
  text-align: center;
}

.cart-item-media.image-missing img {
  display: none;
}

.cart-item-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.cart-item h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.05;
}

.cart-item-top p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .9px;
  text-transform: uppercase;
}

.cart-remove {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  font-size: 18px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-bottom strong {
  color: var(--accent);
  font-size: 13px;
  white-space: nowrap;
}

.quantity-stepper {
  display: inline-grid;
  grid-template-columns: 32px 32px 32px;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-stepper button {
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 17px;
}

.quantity-stepper button:hover,
.quantity-stepper button:focus-visible {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  outline: none;
}

.quantity-stepper span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.cart-empty {
  min-height: 55vh;
  padding: 42px 18px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.cart-empty[hidden] {
  display: none;
}

.cart-empty-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 28px;
}

.cart-empty h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.cart-empty p {
  max-width: 290px;
  color: var(--muted);
  font-size: 13px;
}

.cart-footer {
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
}

.cart-footer[hidden] {
  display: none;
}

.cart-total-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.cart-total-row span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .5px;
}

.cart-total-row strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
}

.cart-note {
  margin: 5px 0 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.cart-checkout {
  width: 100%;
}

.cart-continue {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-continue:hover,
.cart-continue:focus-visible {
  color: var(--accent);
  outline: none;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 500;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 11px 16px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px) scale(.98);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  box-shadow: 0 15px 45px var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: opacity .22s ease, transform .22s ease;
}

.cart-toast.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@keyframes cartBump {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.28); }
}

@keyframes cartItemIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .product-card:hover {
    transform: perspective(900px) translateY(-7px) rotateX(1.25deg) rotateY(-1deg);
    box-shadow: 0 24px 55px color-mix(in srgb, var(--shadow) 48%, transparent);
  }
}

@media (min-width: 700px) {
  .product-grid {
    gap: 18px;
  }

  .product-card {
    border-radius: 20px;
  }

  .product-image {
    border-radius: 19px 19px 0 0;
  }

  .product-info {
    padding: 18px;
  }

  .product-add {
    min-height: 44px;
    margin-top: 12px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    max-width: 150px;
    font-size: 18px;
  }

  .header {
    padding-inline: 14px;
  }

  .header-actions {
    gap: 5px;
  }

  .cart-button,
  .menu-button {
    width: 42px;
    height: 42px;
  }

  .product-info {
    padding: 12px 10px 13px;
  }

  .product-name {
    font-size: 20px;
  }

  .product-add {
    padding-inline: 10px;
    font-size: 9px;
    letter-spacing: .8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .cart-item,
  .cart-count.bump {
    animation: none !important;
  }

  .cart-panel,
  .cart-backdrop,
  .cart-toast {
    transition: none !important;
  }

  .product-card:hover,
  .hero-logo:hover img {
    transform: none !important;
  }
}

/* V4: ações explícitas evitam controles interativos aninhados no card */
.product-actions {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 7px;
  margin-top: 10px;
}

.product-details,
.product-add {
  min-height: 42px;
  margin-top: 0;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .85px;
}

.product-details {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.product-details:hover,
.product-details:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.product-details:focus-visible,
.product-add:focus-visible,
.cart-button:focus-visible,
.cart-close:focus-visible,
.cart-remove:focus-visible,
.quantity-stepper button:focus-visible,
.cart-continue:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 380px) {
  .product-actions {
    grid-template-columns: 1fr;
  }
}


/* ==================================================
   V4.1 — MOBILE MODAL + FORMAS DE PAGAMENTO
   ================================================== */

.payment-methods {
  margin: 14px 0 10px;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.payment-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .45px;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.payment-option input:checked + span {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 12%, transparent);
}

.payment-option input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.payment-option:active span {
  transform: scale(.98);
}

@media (max-width: 640px) {
  .modal {
    padding: 0;
  }

  .modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .modal-card {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: min(94svh, 820px);
    max-height: 94svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: none;
    border-radius: 24px 24px 0 0;
    animation: modalMobileIn .3s cubic-bezier(.2,.8,.2,1);
  }

  .modal-close {
    position: fixed;
    top: calc(6svh + 10px);
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 26px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .modal-image-wrap {
    flex: 0 0 min(32svh, 275px);
    min-height: 190px;
    overflow: hidden;
  }

  .modal-image-wrap img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .modal-content {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px 18px max(16px, env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .modal-content h2 {
    margin: 4px 0 5px;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.02;
  }

  .modal-price {
    margin-bottom: 9px;
    font-size: 17px;
  }

  .modal-content > p:not(.eyebrow) {
    min-height: 52px;
    flex: 1 1 auto;
    margin-bottom: 12px;
    padding-right: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    -webkit-overflow-scrolling: touch;
  }

  .modal-actions {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--modal-bg) 96%, transparent) 16px);
  }

  .modal-actions .primary-button,
  .modal-actions .outline-button {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 11px;
    letter-spacing: .8px;
  }

  .cart-panel {
    width: min(100%, 480px);
  }

  .cart-footer {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .payment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-option span {
    min-height: 44px;
    font-size: 12px;
  }
}

@media (max-width: 360px), (max-height: 670px) and (max-width: 640px) {
  .modal-card {
    height: 96svh;
    max-height: 96svh;
  }

  .modal-image-wrap {
    flex-basis: min(25svh, 190px);
    min-height: 130px;
  }

  .modal-content {
    padding-top: 14px;
  }

  .modal-content h2 {
    font-size: 27px;
  }

  .modal-content > p:not(.eyebrow) {
    min-height: 42px;
    font-size: 13px;
  }
}

@keyframes modalMobileIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .modal-card {
    animation: none !important;
  }
}
\n\n/* ==================================================\n   V5 — ACESSIBILIDADE, LEGIBILIDADE E POLIMENTO FINAL\n   ================================================== */\n\n.skip-link {\n  position: fixed;\n  top: 12px;\n  left: 12px;\n  z-index: 5000;\n  transform: translateY(-160%);\n  padding: 11px 15px;\n  border-radius: 999px;\n  background: var(--accent);\n  color: var(--button-text);\n  font-size: 12px;\n  font-weight: 800;\n  letter-spacing: .7px;\n  transition: transform .2s ease;\n}\n\n.skip-link:focus { transform: translateY(0); }\n\n.noscript-message {\n  position: relative;\n  z-index: 3000;\n  padding: 12px 16px;\n  border-bottom: 1px solid var(--line);\n  background: var(--surface);\n  color: var(--text);\n  text-align: center;\n  font-size: 13px;\n}\n\n:focus-visible {\n  outline: 2px solid var(--accent);\n  outline-offset: 3px;\n}\n\nbutton,\n[role="button"],\na {\n  -webkit-tap-highlight-color: transparent;\n}\n\n.product-card.image-missing::before,\n.modal-image-wrap.image-missing::before { font-size: 10px; }\n.product-card.featured::before { font-size: 10px; }\n.cart-item-media.image-missing::before { font-size: 9px; }\n.cart-item-top p { font-size: 10px; }\n.product-details,\n.product-add { font-size: 10px; }\n\n.hero h1,\n.section-title,\n.about-title,\n.modal-content h2 { text-wrap: balance; }\n\n.hero-text,\n.about-text,\n.modal-content p { text-wrap: pretty; }\n\n@media (max-width: 640px) {\n  .product-details,\n  .product-add {\n    min-height: 44px;\n    font-size: 10.5px;\n  }\n\n  .product-category { font-size: 10.5px; }\n  .product-price { font-size: 13px; }\n  .cart-item-top p { font-size: 10.5px; }\n\n  .modal-actions .primary-button,\n  .modal-actions .outline-button,\n  .cart-checkout,\n  .cart-continue { min-height: 48px; }\n}\n\n@media (max-width: 380px) {\n  .product-details,\n  .product-add {\n    padding-inline: 8px;\n    font-size: 10px;\n    letter-spacing: .55px;\n  }\n}\n\n@media print {\n  .header, .mobile-menu, .page-loader, .cart-drawer, .modal, .hero-button, .product-actions { display: none !important; }\n  body { background: #fff; color: #000; }\n}\n