:root {
  /* ==========================================================================
     Marca — as duas cores da logo. Todo o resto deriva daqui.
     ========================================================================== */
  --brand-1: #51a8b1; /* turquesa */
  --brand-2: #f68750; /* laranja  */

  /* Escala do turquesa */
  --teal-50:  #f2fafb;
  --teal-100: #e4f4f6;
  --teal-200: #c4e7ea;
  --teal-300: #9bd5da;
  --teal-400: #74c1c8;
  --teal-500: #51a8b1;
  --teal-600: #2f8f99;
  --teal-700: #1d7076;
  --teal-800: #145257;
  --teal-900: #0e393d;

  /* Escala do laranja */
  --orange-50:  #fff7f2;
  --orange-100: #fff0e6;
  --orange-200: #fedfcb;
  --orange-300: #fcc4a3;
  --orange-400: #faa47a;
  --orange-500: #f68750;
  --orange-600: #dd6c2f;
  --orange-700: #b8541f;
  --orange-800: #8a3d15;

  /* ==========================================================================
     Papéis semânticos
     ========================================================================== */
  --primary: var(--teal-700);          /* branco sobre ele: 5.8:1 */
  --primary-hover: var(--teal-800);
  --primary-soft: var(--teal-100);
  --primary-softer: var(--teal-50);
  --on-primary: #ffffff;

  --accent: var(--orange-500);
  --accent-hover: var(--orange-600);
  --accent-soft: var(--orange-100);
  --accent-text: var(--orange-700);    /* laranja legível sobre branco: 4.9:1 */
  --on-accent: #43200c;                /* escuro sobre laranja: 6:1 */

  /* Superfícies — o fundo do site é sempre branco */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: var(--teal-50);
  --surface-3: var(--teal-100);
  --surface-invert: var(--teal-900);
  --on-invert: #eaf6f7;

  /* Texto */
  --text: #12262a;                     /* 14:1 no branco */
  --text-2: #3a5559;                   /* 8:1  */
  --muted: #5d787c;                    /* 5.2:1 */
  --on-dark-muted: #a8c9cc;

  /* Linhas e divisores */
  --line: #dde9ea;
  --line-strong: #c2d8da;
  --focus-ring: rgba(81, 168, 177, 0.45);

  /* Estados */
  --success: #157a4a;
  --success-soft: #e7f6ee;
  --warning: #a75b12;
  --warning-soft: #fdf1e3;
  --danger: #b3261e;
  --danger-soft: #fdecea;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(18, 38, 42, 0.06);
  --shadow-sm: 0 2px 8px rgba(18, 38, 42, 0.07);
  --shadow-md: 0 8px 24px rgba(18, 38, 42, 0.10);
  --shadow-lg: 0 18px 48px rgba(18, 38, 42, 0.16);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* Formas e movimento */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 0.15s;
  --dur-2: 0.28s;
  --dur-3: 0.45s;

  --overlay: rgba(14, 57, 61, 0.55);

  /* Largura do conteúdo em desktop e altura fixa da tarja de ofertas */
  --container: 1250px;
  --gutter: 24px;
  --top-offer-h: 40px;

  /* Compatibilidade com nomes antigos ainda usados no código */
  --soft: var(--surface-2);
  --pink: var(--accent-soft);
  --rose: var(--accent);
  --secundary: var(--accent);
}
* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: manipulation;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--surface);
  overflow-x: clip;
  max-width: 100vw;
  touch-action: manipulation;
}
.top-offer {
  background: var(--accent-soft);
  text-align: center;
  padding: 10px 16px;
  font-size: 15px;
}
.main-header {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 40;
  border-bottom: 1px solid var(--line);
}
.header-row {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
}
.country,
.icons {
  font-size: 14px;
  display: flex;
  gap: 22px;
  align-items: center;
}

.header-tracking {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.header-tracking:hover {
  text-decoration: underline;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--surface-2);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  overflow: visible;
}
.nav-scroll {
  display: flex;
  justify-content: center;
  gap: 38px;
  padding: 18px 20px;
  width: 100%;
}
.nav a {
  color: inherit;
  text-decoration: none;
}
.cart {
  border: none;
  outline: none;
  padding: 3px 7px;
  border-radius: 2px;
}
.hero {
  display: block;
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.hero img,
.hero-link {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 25px
}
.hero-link {
  text-decoration: none;
}
.link {
  font-weight: 800;
  color: var(--text);
  text-decoration: underline;
  font-size: 22px;
}
.section {
  padding: 70px 42px;
  max-width: 100%;
  overflow-x: clip;
}
.section.alt {
  background: var(--surface-2);
}
.section h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  text-align: center;
  font-weight: 500;
  margin: 0 0 34px;
  color: var(--primary);
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1450px;
  margin: auto;
}
.grid4.tools-single {
  grid-template-columns: 1fr;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.tool {
  display: block;
  color: inherit;
  text-decoration: none;
}
.cat img,
.exclusive img,
.tool img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  background: var(--surface-2);
}
.cat p,
.exclusive p,
.tool p {
  text-align: center;
  font-size: 20px;
  margin: 18px 0 0;
}
.carousel-head {
  display: flex;
  justify-content: center;
  position: relative;
}
.arrows {
  position: absolute;
  right: 48px;
  top: 6px;
  font-size: 42px;
  letter-spacing: 25px;
}
.products {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 20px;
  scroll-snap-type: x mandatory;
  max-width: 100%;
  width: 100%;
}
.categories {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 0 0 20px;
  scroll-snap-type: x mandatory;
  max-width: 100%;
  width: 100%;
}
.cat {
  flex: 0 0 auto;
  min-width: 300px;
  scroll-snap-align: start;
}
.product {
  min-width: 330px;
  scroll-snap-align: start;
  padding: 0 18px 18px;
}
.product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-link:hover h3 {
  color: var(--primary);
}
.product-img {
  aspect-ratio: 1/1;
  width: 100%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Troca para a 2ª imagem da galeria no hover do card.
   A camada de hover só existe no desktop com mouse: em celular e tablet o toque
   dispara :hover e a imagem ficava travada na segunda foto. */
.product-img-hover {
  display: none;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .product-img-main,
  .product-img-hover {
    transition: opacity 0.35s ease;
  }

  .product-img-hover {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
  }

  .product.has-hover-image:hover .product-img-hover,
  .product.has-hover-image:focus-within .product-img-hover {
    opacity: 1;
  }

  .product.has-hover-image:hover .product-img-main,
  .product.has-hover-image:focus-within .product-img-main {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-img-main,
  .product-img-hover {
    transition: none;
  }
}
.heart {
  position: absolute;
  right: 16px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  text-align: center;
  line-height: 34px;
  font-size: 23px;
}
.btn {
  width: 100%;
  height: 52px;
  background: var(--surface);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.banner {
  display: block;
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: var(--surface);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.banner img,
.banner-link {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.banner-link {
  text-decoration: none;
}
.banner-carousel {
  position: relative;
  overflow: hidden;
}
.banner-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: grab;
  touch-action: pan-y;
  will-change: transform;
}
.banner-carousel-track.is-dragging {
  transition: none;
  cursor: grabbing;
}
.banner-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  user-select: none;
}
.banner-carousel-slide img,
.banner-carousel-slide a {
  -webkit-user-drag: none;
}
.banner-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 0;
}
.banner-carousel-dots[hidden] {
  display: none;
}
.banner-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line-strong);
  cursor: pointer;
}
.banner-carousel-dots button.is-active {
  background: var(--brand-1);
}
.banner-carousel--responsive .banner-carousel-track {
  gap: 16px;
  cursor: default;
  touch-action: auto;
}
.banner-carousel--responsive .banner-carousel-slide {
  flex: 1 1 0;
  width: auto;
}
.banner-carousel--responsive .banner-carousel-dots {
  display: none;
}
.feature-strip {
  padding: 42px var(--gutter);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .banner-carousel--responsive .banner-carousel-track {
    gap: 0;
    cursor: grab;
    touch-action: pan-y;
  }
  .banner-carousel--responsive .banner-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
  }
  .banner-carousel--responsive .banner-carousel-dots {
    display: flex;
  }
  .feature-strip {
    padding: 18px var(--gutter);
  }
}

/* Mosaico da faixa de imagens: coluna com 1 imagem grande + coluna com 2
   pequenas empilhadas (juntas fecham a mesma altura da grande), repetindo.
   Sempre em esteira horizontal — no mobile mostra 1 grupo por vez com scroll
   para os próximos, no desktop cabem vários grupos lado a lado. */
.feature-mosaic {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scroll-padding-left: var(--gutter, 42px);
}
.feature-mosaic-group {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.feature-mosaic-large {
  width: 410px;
  height: 420px;
  flex: 0 0 auto;
}
.feature-mosaic-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-mosaic-small-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 200px;
  height: 420px;
  flex: 0 0 auto;
}
.feature-mosaic-small {
  flex: 1 1 0;
  min-height: 0;
}
.feature-mosaic-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .feature-mosaic-large {
    width: 48vw;
    height: 300px;
  }
  .feature-mosaic-small-col {
    width: 38vw;
    height: 300px;
    gap: 10px;
  }
  .feature-mosaic {
    gap: 10px;
  }
  .feature-mosaic-group {
    gap: 10px;
  }
}
.sub {
  /* text-align: center; */
  margin-top: -24px;
  margin-bottom: 34px;
  font-size: 17px;
}
.instagram-handle {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.instagram-handle:hover {
  text-decoration: underline;
}
.instagram-feed {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  margin: 0 auto;
}
.instagram-post {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--surface-2);
}
.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.instagram-post:hover img {
  transform: scale(1.05);
}
.instagram-post-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 38, 42, 0.25);
  color: var(--surface);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.instagram-post:hover .instagram-post-overlay {
  opacity: 1;
}
.video-box {
  max-width: 1080px;
  margin: auto;
  background: var(--surface-2);
  padding: 42px 90px 55px;
  text-align: center;
}
.video {
  height: 430px;
  background: linear-gradient(90deg, var(--accent-text), var(--orange-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-size: 34px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video span {
  position: absolute;
}
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 48px;
  text-align: center;
  background: var(--surface-2);
  padding: 52px 35px;
}
.feature {
  flex: 0 1 200px;
  max-width: 220px;
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
}
.cat-icon-wrap {
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface-3));
  color: var(--primary);
}
.cat-icon {
  width: 56px;
  height: 56px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}
.cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-mobile-actions {
  display: none;
}
.mobile-menu,
.mobile-cart,
.mobile-search {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--primary);
  cursor: pointer;
}
.mobile-cart {
  align-items: center;
  gap: 6px;
  border: none !important;
  padding: 3px 7px;
  border-radius: 2px;
  font: inherit;
}
.search-close {
  display: none;
  border: 0;
  background: transparent;
  padding: 4px;
  color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.mobile-search-backdrop {
  display: none;
}
.heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  line-height: 1;
}
.chat svg {
  color: var(--surface);
}
.feature strong {
  display: block;
  font-size: 17px;
  margin: 10px 0 4px;
}
.feature small {
  color: var(--text-2);
  font-size: 14px;
}
.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  padding: 60px 52px;
  max-width: 1440px;
  margin: 0 auto;
}
.footer > div:not(.signup) {
  flex: 0 0 auto;
  min-width: 170px;
}
.footer > div.signup {
  margin-left: auto;
  flex: 0 1 400px;
  max-width: 420px;
}
.footer h4 {
  text-transform: uppercase;
}
.footer a,
.footer p {
  display: block;
  color: var(--text);
  text-decoration: none;
  margin: 20px 0;
  font-size: 16px;
}
.signup-form {
  display: flex;
  width: 100%;
  margin-top: 8px;
}
.signup-form input {
  flex: 1;
  min-width: 0;
  height: 54px;
  border: 1px solid var(--brand-1);
  border-right: 0;
  padding: 0 12px;
  font: inherit;
}
.signup-form button {
  flex-shrink: 0;
  height: 54px;
  border: 0;
  background: var(--brand-1);
  color: var(--surface);
  font-weight: 800;
  padding: 0 18px;
  white-space: nowrap;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.newsletter-strip {
  width: 100%;
  background: var(--soft);
  padding: 56px 24px;
  text-align: center;
}
.newsletter-strip-inner {
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-strip-text h4 {
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: var(--text);
}
.newsletter-strip-text p {
  color: var(--text-2);
  margin: 0 0 20px;
  font-size: 15px;
}
.newsletter-strip .signup-form {
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-strip-terms {
  font-size: 12px !important;
  color: var(--text-2);
  margin: 16px 0 0 !important;
}
@media (max-width: 520px) {
  .newsletter-strip {
    padding: 40px 20px;
  }
}
@media (min-width: 901px) {
  .newsletter-strip {
    padding: 40px var(--gutter);
    text-align: left;
  }
  .newsletter-strip-inner {
    max-width: calc(var(--container) + var(--gutter) * 2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
  }
  .newsletter-strip-text {
    flex: 1 1 auto;
    max-width: 480px;
  }
  .newsletter-strip-text h4 {
    text-transform: none;
    letter-spacing: normal;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
  }
  .newsletter-strip-text p {
    margin: 0;
    font-size: 15px;
  }
  .newsletter-strip-form {
    flex: 0 0 420px;
  }
  .newsletter-strip-form .signup-form {
    max-width: none;
    margin: 0;
  }
  .newsletter-strip-terms {
    text-align: left;
    margin: 10px 0 0 !important;
  }
}
.quote {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 42px;
}
.quote-text {
  text-align: center;
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto;
  color: inherit;
}
.quote-text small {
  display: block;
  margin-top: 0.6em;
  font-size: 0.42em;
  line-height: 1.35;
  color: inherit;
}
.payments {
  text-align: center;
  padding: 25px;
  color: var(--text-2);
}
.payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-bottom: 18px;
}
.payment-icons img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}
.payments-copy {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.payments-credit {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.payments-credit a {
  color: inherit;
  text-decoration: none;
}
.payments-credit a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.chat {
  position: fixed;
  right: 36px;
  bottom: 28px;
  width: 76px;
  height: 76px;
  /* background: var(--primary); */
  background: #25D366;
  color: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  z-index: 80;
  box-shadow: 0 8px 30px rgba(18, 38, 42, 0.13);
  text-decoration: none;
}
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-search .search-icon {
  flex-shrink: 0;
  color: var(--primary);
  cursor: pointer;
}
.header-search .search-input {
  width: 0;
  opacity: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
  background: transparent;
  transition:
    width 0.25s ease,
    opacity 0.2s ease,
    border-color 0.2s ease;
}
.header-search .search-input:focus {
  outline: none;
}
.header-search.is-open .search-input,
.header-search .search-input:focus {
  width: 220px;
  opacity: 1;
  border-bottom-color: var(--line);
}
.header-search .search-input::placeholder {
  color: var(--muted);
}
.search-results {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(380px, calc(100vw - 40px));
  max-height: 420px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(18, 38, 42, 0.10);
  z-index: 100;
}
.search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--surface-2);
  transition: background 0.15s ease;
}
.search-item:last-child {
  border-bottom: 0;
}
.search-item:hover,
.search-item:focus {
  background: var(--soft);
}
.search-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
}
.search-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.search-item-info strong {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}
.search-item-info small {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
}
.search-empty {
  margin: 0;
  padding: 20px 16px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.search-see-all {
  display: block;
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--primary);
  border-top: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  bottom: 0;
}
.search-see-all:hover,
.search-see-all:focus {
  background: var(--soft);
}
.top-offer-carousel {
  overflow: hidden;
}
.top-offer-track {
  display: flex;
  height: 100%;
  transition: transform var(--dur-3) var(--ease);
  will-change: transform;
}
.top-offer-slide {
  flex: 0 0 100%;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-size: 15px;
  line-height: 1.4;
}
/* A trava fica no <html>: no <body> ela zerava o scroll e quebrava o sticky.
   A busca mobile não entra aqui — ela abre dentro do próprio header. */
html.cart-open,
html.menu-open,
html.size-modal-open,
html.loyalty-modal-open,
html.install-modal-open,
html.pdp-lightbox-open {
  overflow: hidden;
}
.cart-toggle {
  cursor: pointer;
  background: transparent;
  padding: 3px 7px;
  border-radius: 2px;
  font: inherit;
  color: var(--brand-2);
}
.newsletter-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 180;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.newsletter-overlay:not([hidden]) {
  opacity: 1;
}
.newsletter-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(420px, calc(100vw - 40px));
  background: var(--surface);
  z-index: 190;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(18, 38, 42, 0.15);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.newsletter-modal.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.newsletter-modal[hidden] {
  display: none !important;
}
.newsletter-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--primary);
  cursor: pointer;
  padding: 0 4px;
}
.newsletter-modal h3 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
}
.newsletter-modal p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.newsletter-modal-btn {
  min-width: 140px;
  height: 48px;
  border: 0;
  background: var(--primary);
  color: var(--surface);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font: inherit;
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 180;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cart-overlay:not([hidden]) {
  opacity: 1;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100dvh;
  background: var(--surface);
  z-index: 190;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -8px 0 40px rgba(18, 38, 42, 0.12);
}
.cart-drawer.is-open {
  transform: translateX(0);
}
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-head h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--primary);
}
.cart-drawer-count {
  font-size: 16px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
}
.cart-drawer-close {
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--primary);
  cursor: pointer;
  padding: 0 4px;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
  color: var(--muted);
  gap: 8px;
}
.cart-empty[hidden],
.cart-drawer-foot[hidden] {
  display: none !important;
}
.cart-empty-icon {
  color: var(--brand-2);
  opacity: 0.7;
}
.cart-empty p {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.cart-empty span {
  font-size: 14px;
}
.cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--surface-2);
}
.cart-item-image {
  display: block;
  width: 88px;
  height: 88px;
  background: var(--surface-2);
  overflow: hidden;
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  line-height: 1.25;
}
.cart-item-name:hover {
  color: var(--primary);
}
.cart-item-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.cart-item-price {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  border: 1px solid var(--line);
  padding: 4px 8px;
}
.cart-qty-btn {
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: var(--primary);
  cursor: pointer;
  width: 24px;
  height: 24px;
}
.cart-item-remove {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}
.cart-item-remove:hover {
  color: var(--primary);
}
.cart-drawer-foot {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
}
.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 4px;
}
.cart-subtotal strong {
  font-size: 20px;
  color: var(--primary);
}
.cart-btn {
  height: 52px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cart-btn-outline {
  background: var(--surface);
  border: 1px solid var(--primary);
  color: var(--primary);
}
.cart-btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--surface);
}
.cart-btn-primary:hover {
  background: var(--text);
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 170;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-menu-overlay:not([hidden]) {
  opacity: 1;
}
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: var(--surface);
  z-index: 175;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 8px 0 40px rgba(18, 38, 42, 0.12);
}
.mobile-menu-drawer.is-open {
  transform: translateX(0);
}
.mobile-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-head h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--primary);
}
.mobile-menu-greeting {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.mobile-menu-close {
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--primary);
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--surface-2);
}
.mobile-menu-link svg {
  flex-shrink: 0;
  color: var(--primary);
}
.mobile-menu-link:hover {
  background: var(--soft);
  color: var(--primary);
}
.mobile-menu-link--muted {
  color: var(--muted);
}
.mobile-menu-action {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--surface-2);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.mobile-menu-divider {
  height: 8px;
  background: var(--surface-2);
  margin: 4px 0;
}
.tracking-result {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .top-offer-slide {
    font-size: 12px;
  }
  .header-row {
    height: 64px;
    padding: 0 15px;
    position: relative;
    justify-content: center;
  }
  .country,
  .icons {
    display: none;
  }
  .logo img {
    height: 36px;
  }
  .mobile-menu {
    display: block;
    font-size: 26px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
  .header-mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .mobile-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
  .mobile-cart {
    display: inline-flex;
  }
  .nav-scroll {
    display: flex;
    justify-content: flex-start;
    gap: 28px;
    padding: 12px 24px 12px 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-scroll::after {
    content: "";
    flex: 0 0 12px;
  }
  .nav a,
  .nav-trigger {
    font-size: 12px;
    white-space: nowrap;
  }
  .nav-item {
    flex: 0 0 auto;
  }
  .nav-item .nav-dropdown {
    display: none;
  }
  .nav-mobile-panel[hidden] {
    display: none !important;
  }
  .nav-mobile-panel:not([hidden]) {
    display: block;
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: 6px 0;
  }
  .nav-mobile-panel a {
    display: block;
    padding: 12px 28px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
  }
  .nav-mobile-panel a:hover,
  .nav-mobile-panel a:focus {
    background: var(--soft);
    color: var(--primary);
  }
  .grid4 {
    grid-template-columns: 1fr 1fr;
  }
  .grid4.tools-single {
    grid-template-columns: 1fr;
    max-width: min(380px, 100%);
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
  }
  .cat {
    min-width: 220px;
  }
  .cat img,
  .exclusive img,
  .tool img,
  .cat-icon-wrap {
    height: 210px;
  }
  .instagram-feed {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 20px;
    scroll-snap-type: x mandatory;
    max-width: 100%;
    width: 100%;
  }
  .instagram-feed .instagram-post {
    flex: 0 0 auto;
    min-width: 220px;
    width: 220px;
    scroll-snap-align: start;
  }
  .section {
    padding: 18px !important;
  }
  .product {
    min-width: 270px;
  }
  .features {
    gap: 24px 16px;
  }
  .feature {
    flex: 0 1 calc(50% - 16px);
    max-width: none;
  }
  .footer {
    display: grid;
    grid-template-columns: 1fr;
    padding: 38px 28px;
    gap: 36px;
  }
  .footer > div.signup {
    margin-left: 0;
    max-width: 100%;
  }
  .video-box {
    padding: 30px 18px;
  }
  .video {
    height: 260px;
  }
  .quote {
    padding: 38px 28px;
  }
  .quote-text {
    font-size: 28px;
  }
  .chat {
    width: 58px;
    height: 58px;
    right: 18px;
    bottom: 18px;
  }
  .arrows {
    display: none;
  }
  .cart-drawer {
    width: 100vw;
  }
}
#instagram .arrows {
  display: none;
}
.nav-item {
  position: relative;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.nav-item.is-open .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--surface);
  /* border: 1px solid var(--line); */
  box-shadow: 0 12px 40px rgba(18, 38, 42, 0.10);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 60;
  padding: 8px 0;
}
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: rgba(0,0,0,0.05);
  color: var(--brand-2);
}
.nav-dropdown-all,
.cat-dropdown-all {
  color: var(--primary) !important;
  font-weight: 800 !important;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.cat {
  position: relative;
}
.cat-link,
.cat-trigger {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.cat-trigger p,
.cat-link p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cat-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.cat.is-open .cat-chevron {
  transform: rotate(180deg);
}
.cat-dropdown {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(18, 38, 42, 0.10);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 20;
  padding: 8px 0;
  border-radius: 4px;
}
.cat.is-open .cat-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cat-dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}
.cat-dropdown a:hover {
  background: var(--soft);
  color: var(--primary);
}
.cat-see-all {
  margin: 12px 0 0;
  text-align: center;
}
.cat-see-all .link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.category-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}
.category-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.category-breadcrumb a:hover {
  text-decoration: underline;
}
.subcategory-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.subcategory-link {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}
.subcategory-link:hover {
  background: var(--primary);
  color: var(--surface);
}
.category-page h1 {
  font-family: Georgia, serif;
  font-size: 34px;
  text-align: center;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--primary);
}
.category-page .sub {
  text-align: center;
  margin: 0 0 28px;
}
.category-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  max-width: 1450px;
  margin: 0 auto;
}
.category-layout--full {
  grid-template-columns: 1fr;
}
.category-filters {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 0 4px 0 0;
  max-height: calc(100dvh - 140px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--soft);
}
.category-filters::-webkit-scrollbar {
  display: block;
  width: 6px;
  height: 6px;
}
.category-filters::-webkit-scrollbar-track {
  background: var(--soft);
}
.category-filters::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}
.filters-toggle {
  display: none;
}
.filters-panel {
  display: block;
}
.filter-group {
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
}
.filter-group:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filter-title {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 14px;
}
.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.filter-link {
  display: block;
  padding: 8px 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-left: 2px solid transparent;
}
.filter-link:hover {
  color: var(--primary);
  background: var(--soft);
}
.filter-link.is-active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--soft);
}
.category-main {
  min-width: 0;
}
.category-main .category-count {
  text-align: left;
  margin: 0 0 20px;
}
.category-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  max-width: none;
  margin: 0;
}
.category-products .product {
  flex: unset;
  min-width: 0;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px auto 0;
  max-width: 900px;
}
.pagination-btn,
.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  background: var(--surface);
}
.pagination-btn:hover,
.pagination-page:hover {
  background: var(--soft);
}
.pagination-page.is-current {
  background: var(--primary);
  color: var(--surface);
  cursor: default;
}
.pagination-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
@media (min-width: 901px) {
  .products:not(.category-products) .product {
    min-width: 250px;
    flex: 0 0 250px;
    padding: 0 12px 14px;
  }
  .category-products {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  .category-products .product {
    padding: 0 10px 12px;
  }
}
@media (max-width: 900px) {
  .category-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .category-filters {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    display: block;
    scrollbar-width: auto;
  }
  .category-filters::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--primary);
    background: var(--surface);
    color: var(--primary);
    font: inherit;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
  }
  .filters-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .filters-toggle-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--surface);
    font-size: 12px;
    font-weight: 700;
  }
  .filters-toggle-summary {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    color: var(--muted);
    text-align: right;
  }
  .filters-toggle-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
  }
  .category-filters.is-open .filters-toggle-chevron {
    transform: rotate(180deg);
  }
  .filters-panel {
    display: none;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
  }
  .category-filters.is-open .filters-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-height: min(55vh, 420px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--soft);
  }
  .category-filters.is-open .filters-panel::-webkit-scrollbar {
    display: block;
    width: 6px;
    height: 6px;
  }
  .category-filters.is-open .filters-panel::-webkit-scrollbar-track {
    background: var(--soft);
  }
  .category-filters.is-open .filters-panel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
  }
  .filter-group {
    margin: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line);
  }
  .filter-list {
    max-height: none;
    overflow: visible;
  }
  .category-main .category-count {
    text-align: center;
  }
  .category-page {
    padding-left: 20px;
    padding-right: 20px;
  }
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(
      [type="button"]
    ):not([type="submit"]):not([type="reset"]):not([type="file"]),
  select,
  textarea {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  .signup-form input {
    font-size: 16px !important;
  }
  .header-search .search-input {
    font-size: 16px !important;
  }
  .pdp-shipping-form input {
    font-size: 16px !important;
  }
}
@media (max-width: 560px) {
  .category-filters.is-open .filters-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .main-header.is-search-open .icons {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 64px;
    background: var(--surface);
    z-index: 60;
    padding: 0 8px 0 12px;
    gap: 4px;
  }
  .main-header.is-search-open .icons > a,
  .main-header.is-search-open .icons > .cart {
    display: none;
  }
  .main-header.is-search-open .header-search {
    flex: 1;
    width: 100%;
  }
  .main-header.is-search-open .header-search .search-input,
  .main-header.is-search-open .header-search.is-open .search-input,
  .main-header.is-search-open .header-search .search-input:focus {
    width: 100%;
    max-width: none;
    opacity: 1;
    transition: none;
    border-bottom-color: var(--line);
  }
  .main-header.is-search-open .search-close {
    display: inline-flex;
  }
  .main-header.is-search-open .search-results {
    left: -12px;
    right: -8px;
    width: auto;
    max-width: none;
    top: calc(100% + 8px);
    max-height: min(70dvh, 480px);
    box-shadow: 0 16px 40px rgba(18, 38, 42, 0.14);
  }
  .mobile-search-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: 45;
  }
}


/* ==========================================================================
   Modal de escolha de numeração (cards da vitrine)
   ========================================================================== */
.size-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1200;
}

/* trava de scroll no <html> — ver regra no topo do arquivo */

.size-modal {
  position: fixed;
  z-index: 1201;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--surface);
  padding: 28px 24px 24px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.size-modal.is-open {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.size-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.size-modal-close:hover {
  color: var(--primary);
}

.size-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.size-modal-image {
  display: block;
  width: 190px;
  height: 190px;
  overflow: hidden;
}

.size-modal-image img {
  width: 180px;
  height: 190px;
  object-fit: cover;
  display: block;
}

.size-modal-info {
  min-width: 0;
  width: 100%;
}

.size-modal-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
}

.size-modal-subtitle {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.size-modal-price {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.size-modal-installments {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.size-modal-details {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 52px;
  line-height: 50px;
  text-align: center;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  margin-bottom: 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  margin-top: 4px;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.size-modal-details:hover {
  background: var(--primary);

  color: var(--on-primary);
}

.size-modal-sizes {
  padding: 20px 0;
}

.size-modal-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.size-modal-label strong {
  color: var(--text, var(--text));
}

.size-modal-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-modal-option {
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.size-modal-option:hover:not(.is-sold-out) {
  border-color: var(--primary);
}

.size-modal-option.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

.size-modal-option.is-sold-out {
  position: relative;
  color: var(--muted);
  background: var(--surface-2);
  border-style: dashed;
  cursor: not-allowed;
}

.size-modal-option.is-sold-out::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.size-modal-hint {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--warning);
}

.size-modal-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
}

.size-modal-qty-row .size-modal-label {
  margin-bottom: 0;
}

.size-modal-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}

.size-modal-qty button {
  width: 40px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--primary);
}

.size-modal-qty input {
  width: 48px;
  height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font: inherit;
  font-weight: 700;
  -moz-appearance: textfield;
}

.size-modal-qty input::-webkit-outer-spin-button,
.size-modal-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.size-modal-submit {
  width: 100%;
  height: 52px;
  border: 0;
  background: var(--primary);
  color: var(--surface);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.size-modal-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .size-modal {
    top: auto;
    bottom: 0;
    transform: translate(-50%, 100%);
    width: 100vw;
    max-height: 88vh;
    padding: 24px 18px 20px;
  }

  .size-modal.is-open {
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .size-modal {
    transition: none;
  }
}

/* ==========================================================================
   REFINAMENTOS — camada final da vitrine
   Fica no fim do arquivo de propósito: ajusta os componentes herdados sem
   precisar reescrever as regras antigas. Só usa tokens do :root.
   ========================================================================== */

/* --------------------------------------------------------- base e tipografia */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--primary-soft);
  color: var(--primary-hover);
}

a {
  transition: color var(--dur-1) var(--ease);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-xs);
}

.sub {
  color: var(--muted);
}

.link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}

.link:hover::after {
  transform: scaleX(1);
}

/* ------------------------------------------------------------ cabeçalho fixo */
.main-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-2) var(--ease);
}

.main-header.is-stuck {
  box-shadow: var(--shadow-sm);
}

.nav {
  border-top: 1px solid var(--line);
}

.nav-scroll > a,
.nav-trigger {
  position: relative;
  color: var(--text-2);
  font-weight: 600;
  transition: color var(--dur-1) var(--ease);
}

.nav-scroll > a::after,
.nav-trigger::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--brand-2);
  transform: scaleX(0);
  transition: transform var(--dur-2) var(--ease-out);
}

.nav-scroll > a:hover,
.nav-trigger:hover {
  color: var(--primary);
}

.nav-scroll > a:hover::after,
.nav-item:hover .nav-trigger::after,
.nav-item.is-open .nav-trigger::after {
  transform: scaleX(1);
}

.nav-dropdown {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.nav-dropdown a {
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.nav-dropdown a:hover {
  background: var(--surface-2);
  color: var(--primary);
}

.icon-btn {
  border-radius: var(--radius-pill);
  color: var(--text-2);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease);
}

.icon-btn:hover {
  background: var(--surface-2);
  color: var(--primary);
}

.icon-btn:active {
  transform: scale(0.94);
}

.cart-count {
  background: var(--brand-2);
  color: var(--on-accent);
  font-weight: 800;
  border-radius: var(--radius-pill);
}

.header-search .search-input {
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease);
}

.header-search .search-input:focus {
  background: var(--surface);
  border-color: var(--brand-1);
  box-shadow: var(--shadow-focus);
  outline: none;
}

.search-results {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-item {
  transition: background var(--dur-1) var(--ease);
}

.search-item:hover {
  background: var(--surface-2);
}

/* ------------------------------------------------------------------- seções */
/* Título de seção alinhado com o conteúdo, não centralizado: com poucos
   produtos na esteira o título solto no meio parecia deslocado. */
.section h2 {
  font-family: inherit;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--text);
  margin: 0 0 6px;
}

.section .sub {
  margin: 0 0 26px;
  font-size: 15px;
}

.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  text-align: left;
}

.carousel-head > div .sub {
  margin-bottom: 0;
}

.carousel-head h2 {
  margin-bottom: 0;
  position: relative;
  padding-bottom: 10px;
}

/* Fio nas cores da marca sob o título */
.carousel-head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 108px;
  margin-bottom: 8px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
}

.arrows {
  color: var(--muted);
  letter-spacing: 12px;
  font-size: 26px;
}

.section.alt {
  background: var(--surface-2);
}

/* `display:-webkit-box` (usado no line-clamp) faz o item encolher dentro de um
   flex container: sem width:100% o subtítulo quebrava cedo demais. O nome
   (h3) vive dentro de .product-title-row (linha com o badge de nota) — lá o
   fix equivalente é min-width:0 + flex:1, width:100% quebraria a linha. */
.product .product-subtitle {
  width: 100%;
}

.hero-link,
.banner-link {
  display: block;
  overflow: hidden;
}

.hero-link img,
.banner-link img {
  transition: transform var(--dur-3) var(--ease-out);
}

.hero-link:hover img,
.banner-link:hover img {
  transform: scale(1.02);
}

/* =========================================================================
   CARDS DE PRODUTO — minimalista
   Cada card ocupa só a altura que o próprio conteúdo pede (sem stretch entre
   os cards da fileira, sem slots com altura reservada vazia). O único hover
   "de peso" é a troca pra 2ª foto da galeria; o resto é sutil (cor da borda
   e uma sombra leve), sem transform pra cima.
   ========================================================================= */
.products {
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 28px;
}

.product {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.product:hover {
  border-color: var(--brand-1);
  box-shadow: var(--shadow-sm);
}

.product.is-sold-out .product-img {
  opacity: 0.65;
}

.product-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}

.product-img {
  margin: 0;
  border-radius: 0;
  background: var(--surface-2);
  flex: 0 0 auto;
}

.product-img img {
  transition: transform var(--dur-3) var(--ease-out);
}

.product:hover .product-img-main {
  transform: scale(1.05);
}

/* Selos sobre a foto */
.product-flags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}

.product-flag {
  padding: 4px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.product-flag--tag {
  background: var(--accent-soft);
  color: var(--accent-text);
  text-transform: uppercase;
}

.product-flag--sale {
  background: var(--brand-1);
  color: white;

}

.product-flag--out {
  background: var(--surface-invert);
  color: var(--on-invert);
}

/* Corpo do card: só o que existe ocupa espaço. */
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 12px 4px 0;
  min-width: 0;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.product h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color var(--dur-1) var(--ease);
}

.product-link:hover h3 {
  color: var(--primary);
}

.product .product-subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

.product .price-old {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--muted);
  text-decoration: line-through;
}

.product .price {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}

.product .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}

.product .btn .btn-icon {
  flex-shrink: 0;
}

.product .btn:hover:not(:disabled) {
  background: var(--primary-hover);
}

.product .btn:active:not(:disabled) {
  transform: scale(0.98);
}

.product .btn:disabled {
  background: var(--surface-3);
  color: var(--muted);
  cursor: not-allowed;
}

/* -------------------------------------------------------------- paginação */
.pagination-btn,
.pagination-page {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease),
    color var(--dur-1) var(--ease);
}

.pagination-btn:hover:not(.is-disabled),
.pagination-page:hover:not(.is-current) {
  border-color: var(--brand-1);
  background: var(--surface-2);
  color: var(--primary);
}

.pagination-page.is-current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

/* ------------------------------------------------------------------ filtros */
.filters-toggle,
.filter-link {
  border-radius: var(--radius-sm);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.filter-link:hover {
  background: var(--surface-2);
  color: var(--primary);
}

.filter-link.is-active {
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-weight: 700;
}

.filters-toggle-badge {
  background: var(--brand-2);
  color: var(--on-accent);
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------- botões e inputs globais */
.btn,
.cart-btn,
.btn-primary,
.btn-secondary,
.newsletter-modal-btn,
.signup-form button {
  font-family: inherit;
  border-radius: var(--radius-sm);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease);
}

.btn-primary,
.cart-btn-primary,
.newsletter-modal-btn {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--on-primary);
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.btn-primary:hover,
.cart-btn-primary:hover,
.newsletter-modal-btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-sm);
}

.btn-primary:active,
.cart-btn-primary:active {
  transform: scale(0.99);
}

.btn-secondary,
.cart-btn-outline {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary:hover,
.cart-btn-outline:hover {
  border-color: var(--brand-1);
  background: var(--surface-2);
  color: var(--primary);
}

input:not([type='checkbox']):not([type='radio']):not([type='color']),
select,
textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease);
}

input:not([type='checkbox']):not([type='radio']):not([type='color']):hover,
select:hover,
textarea:hover {
  border-color: var(--brand-1);
}

input:not([type='checkbox']):not([type='radio']):not([type='color']):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: var(--shadow-focus);
}

#header-search-input{
  border: none !important;
  outline: none !important;
  box-shadow: none  !important;
}
#header-search-input:focus,
select:focus,
textarea:focus{
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}


input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

input:disabled,
select:disabled,
textarea:disabled,
input[readonly] {
  background: var(--surface-2);
  color: var(--muted);
  cursor: not-allowed;
}

/* ------------------------------------------------------------ sacola lateral */
.cart-overlay {
  background: var(--overlay);
  backdrop-filter: blur(2px);
}

.cart-drawer {
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.cart-drawer-head,
.cart-drawer-foot {
  border-color: var(--line);
}

.cart-item {
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-1) var(--ease);
}

.cart-item:hover {
  background: var(--surface-2);
}

.cart-item-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}

.cart-item-subtitle {
  color: var(--accent-text);
  font-weight: 600;
}

.cart-qty-btn {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.cart-qty-btn:hover {
  border-color: var(--brand-1);
  color: var(--primary);
}

.cart-item-remove {
  color: var(--muted);
  transition: color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}

.cart-item-remove:hover {
  color: var(--danger);
  transform: rotate(90deg);
}

/* -------------------------------------------------- modal de numeração extra */
.size-modal {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.size-modal-overlay {
  background: var(--overlay);
  backdrop-filter: blur(2px);
}

.size-modal-image,
.size-modal-image img {
  border-radius: var(--radius-sm);
}

.size-modal-option {
  border-radius: 50%;
  border-color: var(--line-strong);
  color: var(--text-2);
}

.size-modal-option:hover:not(.is-sold-out) {
  border-color: var(--brand-1);
}

.size-modal-option.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  transform: scale(1.04);
}

.size-modal-option.is-sold-out::after {
  left: 9px;
  right: 9px;
  transform: rotate(-38deg);
}

.size-modal-submit {
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--on-primary);
  transition: background var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}

.size-modal-submit:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: var(--shadow-sm);
}

.size-modal-qty {
  border-radius: var(--radius-sm);
  border-color: var(--line-strong);
  overflow: hidden;
}

/* ------------------------------------------------------- rodapé e newsletter */
.features {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-icon {
  color: var(--primary);
}

.feature strong {
  color: var(--text);
}

.feature small {
  color: var(--muted);
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer h4 {
  color: var(--text);
  letter-spacing: 0.06em;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
}

.signup-form input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.signup-form button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--on-primary);
  font-weight: 800;
  cursor: pointer;
}

.signup-form button:hover {
  background: var(--primary-hover);
}

.quote {
  background: var(--surface-invert);
  color: var(--on-invert);
}

.payments {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.payments-copy,
.payments-credit a {
  color: var(--muted);
}

.payments-credit a:hover {
  color: var(--primary);
}

.chat {
  /* background: var(--brand-2); */
  background: #25D366;
  color: var(--on-accent);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease);
}

.chat:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-lg);
}

.instagram-post img {
  transition: transform var(--dur-3) var(--ease-out);
}

.instagram-post:hover img {
  transform: scale(1.06);
}

/* -------------------------------------------------------------- animações */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.section,
.features,
.category-page {
  animation: rise-in var(--dur-3) var(--ease-out) both;
}

/* Hero e banner ocupam a largura total via translateX(-50%). Animar transform
   aqui apagaria esse deslocamento, então eles entram só com opacidade. */
.hero,
.banner {
  animation: fade-in var(--dur-3) var(--ease-out) both;
}

.search-results[hidden] {
  display: none;
}

.search-results:not([hidden]) {
  animation: rise-in var(--dur-2) var(--ease-out) both;
}

.nav-dropdown,
.cat-dropdown {
  animation: fade-in var(--dur-1) var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------- responsivo */
@media (max-width: 900px) {
  .products {
    gap: 12px;
  }

  .product h3 {
    font-size: 14px;
  }

  .product-link > .price {
    font-size: 17px;
  }
}

/* As regras antigas de mobile tinham especificidade maior e desmontavam os
   slots do card. Aqui elas são realinhadas com a nova estrutura. */
@media (max-width: 900px) {
  /* Grid 2 colunas nas vitrines da home (Mais vendidos, Em alta, Descubra
     mais) — antes era um carrossel horizontal, o pedido foi trocar por um
     grid fixo sem scroll lateral. Categoria (.category-products) continua
     com seu próprio grid auto-fill, não é afetada aqui. */
  .products:not(.category-products) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .products:not(.category-products) .product {
    min-width: 0;
    width: 100%;
    flex: none;
    padding: 0;
  }

  .products:not(.category-products) .product h3,
  .category-products .product h3 {
    margin: 0;
    font-size: 14px;
  }

  .products:not(.category-products) .product p,
  .category-products .product p {
    margin: 0;
    font-size: 13px;
  }

  .products:not(.category-products) .product .price,
  .category-products .product .price {
    margin: 0;
    font-size: 17px;
  }
   .products:not(.category-products) .product .btn,
  .category-products .product{
    
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .products:not(.category-products) .product .btn,
  .category-products .product .btn {
    height: 46px;
    width: 95%;
    align-self: center;
    margin: 12px auto;
    font-size: 12px;
  }

  .product-info {
    padding: 12px 12px 0;
  }
}

/* -------------------------------------------- páginas de listagem e rodapé */
/* Cabeçalho da categoria alinhado à esquerda, igual às seções da home. */
.category-page h1 {
  font-family: inherit;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--text);
  margin: 0 0 8px;
}

.category-breadcrumb {
  justify-content: flex-start;
}

.category-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.category-breadcrumb a:hover {
  color: var(--primary);
}

.category-count {
  text-align: left;
  margin: 0 0 24px;
}

/* auto-fill deixava trilhas vazias consumindo espaço; com poucas peças os
   cards ficavam estreitos e o nome truncava cedo. */
.category-products {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  justify-content: start;
  gap: 20px;
}

.category-products .product {
  max-width: 320px;
}

/* Newsletter: o botão vazava do rodapé em telas médias. */
.signup {
  min-width: 0;
  flex: 1 1 300px;
}

.signup-form {
  max-width: 420px;
  flex-wrap: nowrap;
}

.signup-form input {
  border-color: var(--line-strong);
  border-right: 0;
  height: 52px;
}

.signup-form input:focus {
  border-color: var(--brand-1);
}

.signup-form button {
  height: 52px;
  padding: 0 16px;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.footer {
  gap: 56px;
  flex-wrap: wrap;
}

.footer > div {
  min-width: 0;
}

@media (max-width: 900px) {
  .category-page h1 {
    font-size: 26px;
  }

  .section h2 {
    font-size: 24px;
  }

  .category-products {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }

  .category-products .product {
    max-width: none;
  }
}

/* ------------------------------------------------------------ ajustes finais */
/* Nome do produto em caixa mista: em CAIXA ALTA o texto ocupava mais espaço e
   era cortado no meio da palavra em duas linhas. */
.product h3 {
  text-transform: none;
  font-size: 14.5px;
  line-height: 1.3;
  min-height: 2.6em;
  font-weight: 700;
}

.product-link:hover h3 {
  color: var(--primary);
}

.category-page .category-count,
.category-page .sub {
  text-align: left;
}

/* Espaço para o botão flutuante de atendimento não cobrir o rodapé. */
.payments {
  padding-bottom: 36px;
}

/* ==========================================================================
   LAYOUT — container centralizado, header grudado e busca sempre aberta
   ========================================================================== */

/* ------------------------------------------------ tarja de oferta + header */
/* A tarja tem altura fixa e gruda no topo; o header gruda logo abaixo dela.
   Sem tarja, `body` não recebe .has-top-offer e o header vai para o topo 0 —
   assim não sobra faixa vazia acima dele. */
.top-offer-carousel {
  position: sticky;
  top: 0;
  height: var(--top-offer-h);
  z-index: 170;
  overflow: hidden;
}

.top-offer-slide {
  height: var(--top-offer-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  line-height: 1.2;
  text-align: center;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 169;
}

body.has-top-offer .main-header {
  top: var(--top-offer-h);
}

/* --------------------------------------------------- header em três colunas */
.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  height: 78px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 1200px) {
  .header-row {
    padding: 0;
  }
}


.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.icons {
  gap: 6px;
  justify-content: flex-end;
}

/* Busca: no desktop fica aberta, centralizada e sem depender de clique. */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  /* background: var(--surface-2); */
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease),
    background var(--dur-1) var(--ease);
}

.header-search:focus-within {
  border-color: var(--brand-1);
  /* background: var(--surface); */
  box-shadow: var(--shadow-focus);
}

.header-search .search-icon {
  color: var(--muted);
  cursor: default;
  padding: 0;
  
  outline: none !important;
  border: none;
}

.header-search:focus-within .search-icon {
  color: var(--primary);
}

/* O input já nasce aberto: as regras antigas usavam width:0 até clicar. */
.header-search .search-input,
.header-search.is-open .search-input,
.header-search .search-input:focus {
  flex: 1;
  width: auto;
  min-width: 0;
  height: 100%;
  opacity: 1;
  border: none;
  border-radius: 0;
  padding: 0;
  outline: none !important;
  background: transparent;
  box-shadow: none;
  font-size: 14.5px;
  transition: none;
}

.header-search .search-input:focus {
  outline: none;
}

.search-results {
  left: 0;
  right: 0;
  width: auto;
  top: calc(100% + 10px);
}

/* ---------------------------------------- contador da sacola sobre o ícone */
.cart,
.mobile-cart {
  position: relative;
  gap: 0;
}

/* O `hidden` do JS precisa vencer o display:inline-flex abaixo. */
.cart-count[hidden] {
  display: none;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--brand-2);
  color: var(--on-accent);
  border: 2px solid var(--surface);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

/* ------------------------------------------ sublinhado do menu de categorias */
.nav-scroll {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 26px;
}

.nav-scroll > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 15px 2px;
  font-size: 13.5px;
}

/* O fio ficava em bottom:6px, ou seja, cruzando o texto e parecendo tachado.
   Agora ele encosta na base do item. */
.nav-scroll > a::after,
.nav-trigger::after {
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
}

/* --------------------------------------------------- container das seções */
.section {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 56px var(--gutter);
}

.section.alt {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section.alt > * {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-left: auto;
  margin-right: auto;
  /* padding-left: var(--gutter); */
  padding-right: var(--gutter);
}

.category-page {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 32px var(--gutter) 64px;
}

.features {
  max-width: none;
  gap: 24px;
  padding: 40px var(--gutter);
}

.footer,
.payments {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.footer {
  gap: 48px;
  padding-top: 52px;
  padding-bottom: 52px;
}

/* Esteira de produtos: alinhada ao container, com respiro nas pontas. */
.products:not(.category-products) {
  scroll-padding-left: var(--gutter);
}

/* ----------------------------------------------------- passos do checkout */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.checkout-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease);
}

.checkout-step-num {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: 800;
}

.checkout-step.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-sm);
}

.checkout-step.is-active .checkout-step-num {
  background: var(--surface);
  color: var(--primary);
}

.checkout-step.is-done {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: var(--primary-hover);
}

.checkout-step.is-done .checkout-step-num {
  background: var(--primary);
  color: var(--on-primary);
}

@media (max-width: 640px) {
  /* Em telas pequenas só o passo atual mostra o nome: os quatro cabem em
     uma linha só, sem quebrar. */
  .checkout-steps {
    gap: 4px;
    margin-bottom: 22px;
  }

  .checkout-step {
    padding: 5px;
    font-size: 11.5px;
  }

  .checkout-step .checkout-step-label {
    display: none;
  }

  .checkout-step.is-active {
    padding-right: 12px;
  }

  .checkout-step.is-active .checkout-step-label {
    display: inline;
  }

  /* Sem o fio ligando os passos: os 8px de cada um roubavam espaço do rótulo
     do passo atual, que acabava cortado. */
  .checkout-step:not(:last-child)::after {
    content: none;
  }
}

@media (max-width: 520px) {
  .signup-form {
    max-width: none;
  }

  .signup-form button {
    padding: 0 12px;
    font-size: 12px;
  }
}

/* ------------------------------------------------------------- mobile */
@media (max-width: 900px) {
  /* Volta ao header com logo centralizada: o botão de menu e os ícones ficam
     posicionados de forma absoluta nas pontas. */
  .header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 64px;
    padding: 0 60px;
  }

  .header-brand {
    justify-content: center;
  }

  /* A busca volta a ser o painel que abre pelo ícone da lupa. Ela saiu de
     dentro de .icons (que é oculto aqui), então precisa se esconder sozinha. */
  .header-search {
    display: none;
  }

  .main-header.is-search-open .icons {
    display: none;
  }

  .main-header.is-search-open .header-search {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 64px;
    max-width: none;
    margin: 0;
    padding: 0 10px 0 14px;
    gap: 8px;
    border: 0;
    border-radius: 0;
    background: var(--surface);
    box-shadow: none;
    z-index: 60;
  }

  .main-header.is-search-open .header-search .search-input {
    height: 100%;
  }

  .main-header.is-search-open .search-close {
    display: inline-flex;
  }

  .main-header.is-search-open .search-results {
    left: 6px;
    right: 6px;
    top: calc(100% + 4px);
  }
}

/* -------------------------------------------------- unidades no rodapé */
/* Bloco enxuto: nome, endereço em uma linha e o WhatsApp clicável. */
.footer-units {
  min-width: 0;
  flex: 0 1 260px;
}

.footer-unit {
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.45;
}

.footer-unit:last-child {
  margin-bottom: 0;
}

.footer-unit strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.footer-unit span {
  display: block;
  color: var(--muted);
}

.footer-unit-whats {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.footer-unit-whats:hover {
  color: var(--primary-hover);
}

.footer-unit-whats svg {
  flex-shrink: 0;
}
