/* Jacaré Bike Store — identidade: preto + amarelo do logo, azul do "Jacaré" como acento. */
:root {
  --ink: #111317;
  --ink-2: #1c1f25;
  --ink-3: #2a2e36;
  --paper: #f4f4f1;
  --card: #ffffff;
  --line: #e6e6e1;
  --line-2: #d8d8d2;
  --muted: #676b72;
  --muted-2: #8b8f96;
  --muted-dark: #a9acb2;
  --yellow: #ffc700;
  --yellow-2: #ffd84d;
  --yellow-soft: #fff6d6;
  --blue: #0a74b0;
  --blue-soft: #e6f4fc;
  --wa: #15803d;
  --wa-2: #116932;
  --heart: #e0245e;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(17,19,23,.06), 0 1px 3px rgba(17,19,23,.05);
  --shadow-md: 0 10px 28px rgba(17,19,23,.10), 0 2px 6px rgba(17,19,23,.05);
  --shadow-lg: 0 24px 60px rgba(17,19,23,.22);

  --font: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Barlow", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1180px;
  --gutter: 20px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; color: inherit; }
button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.hidden { display: none !important; }

/* ============ Cabeçalho ============ */
.site-header { position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 0 var(--line); }

.topbar { background: var(--ink); color: #fff; padding: 10px 0; border-bottom: 3px solid var(--yellow); }
.topbar-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.logo-badge { display: flex; align-items: center; flex-shrink: 0; border-radius: 10px; }
.logo-img { height: 56px; width: auto; border-radius: 10px; }

.search-box { position: relative; flex: 1; max-width: 620px; margin: 0 auto; }
.search-box input {
  width: 100%; height: 46px; padding: 0 46px 0 18px;
  border-radius: 10px; border: 2px solid transparent; background: #fff;
  color: var(--ink); font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search-box input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,199,0,.25); }
.search-box input::placeholder { color: var(--muted); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.topbar-links { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.topbar-link {
  background: none; border: none; color: #fff; cursor: pointer; min-height: 44px;
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; line-height: 1.2; text-align: left;
  transition: color .15s ease;
}
.topbar-link:has(.topbar-icon-wrap) { gap: 14px; }
.topbar-icon { flex-shrink: 0; display: block; }
.topbar-icon-wrap { position: relative; flex-shrink: 0; display: flex; }
.topbar-icon-wrap .badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--yellow); color: var(--ink);
  font-size: 12px; font-weight: 700; min-width: 19px; height: 19px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
  box-shadow: 0 0 0 2px var(--ink);
}

.navbar { background: #fff; }
.navbar-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.navbar-main { display: flex; align-items: center; margin-left: -14px; }
.nav-link {
  background: none; border: none; cursor: pointer; position: relative;
  display: flex; align-items: center; gap: 7px;
  padding: 16px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
  transition: color .15s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--yellow); transform: scaleX(0); transition: transform .2s var(--ease);
}
.has-chevron { padding-right: 28px; }
.has-chevron::before {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 6px; height: 6px; margin-top: -5px;
  border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2);
  transform: rotate(45deg);
}

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60;
  background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-md);
  border: 1px solid var(--line); border-top: none;
  min-width: 280px; padding: 8px;
}
.nav-dropdown-panel a {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; transition: background .15s ease;
}
.nav-dropdown-panel a img {
  width: 38px; height: 38px; object-fit: contain; border-radius: 8px; background: var(--paper); flex-shrink: 0;
}
.nav-mega .nav-mega-all { grid-column: 1 / -1; justify-content: center; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0; color: var(--blue); }

.nav-builder-badge {
  background: var(--yellow); color: var(--ink); border: none; cursor: pointer;
  font-size: 13.5px; font-weight: 700; padding: 9px 18px; border-radius: 999px; white-space: nowrap;
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  transition: background .15s ease, transform .15s ease;
}

/* ============ Hero + benefícios ============ */
.hero-banner {
  display: block; width: 100%; padding: 0; margin: 0; border: none; cursor: pointer;
  background: var(--ink); border-bottom: 4px solid var(--yellow);
}
.hero-banner img { width: 100%; height: auto; display: block; }
.hero-banner picture { display: block; }

.benefits-bar { background: var(--ink); }
.benefits-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: none; padding: 0 max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
}
.benefit { display: flex; align-items: center; gap: 14px; padding: 22px 12px; }
.benefit-sep { display: none; }
.benefit .benefit-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.benefit strong { display: block; font-size: 15px; color: #fff; font-weight: 700; }
.benefit span { display: block; font-size: 13px; color: #a9acb2; margin-top: 1px; }

/* ============ Títulos e seções ============ */
.section-title {
  font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 30px; line-height: 1.05; letter-spacing: .2px; margin: 0 0 4px;
  display: flex; align-items: center; gap: 10px; text-wrap: balance;
}
.section-title::before {
  content: ""; width: 14px; height: 22px; flex-shrink: 0;
  background: repeating-linear-gradient(115deg, var(--yellow) 0 4px, transparent 4px 7px);
}
.section-title.center { justify-content: center; }
.section-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; }
.section-sub.center { text-align: center; }
.group-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 30px 0 14px; }

.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--blue); font-weight: 600; display: inline-block; padding: 10px 0; }
.breadcrumb { margin-bottom: 6px; }

.category-page, .search-results, .pdp, .builder-page {
  max-width: var(--container); margin: 0 auto; padding: 24px var(--gutter) 8px;
}

/* ============ Categorias (home) ============ */
.cats-section { max-width: var(--container); margin: 0 auto; padding: 48px var(--gutter) 12px; }
.cat-icons-row {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px 12px;
}
.cat-icon {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer; text-align: center; padding: 4px;
}
.cat-icon-photo {
  width: 96px; height: 96px; border-radius: 999px; overflow: hidden; padding: 12px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease;
}
.cat-icon-photo img { width: 100%; height: 100%; object-fit: contain; }
.cat-icon-label { font-size: 13.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.cat-icon-photo { display: block; }

/* ============ Carrosséis ============ */
.carousel-section { max-width: var(--container); margin: 0 auto; padding: 44px var(--gutter) 0; }
.carousel-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.carousel-header .section-title { margin: 0; }
.view-all-link {
  white-space: nowrap; color: var(--blue); font-size: 14px; font-weight: 700; padding: 12px 0 10px 12px;
}
.carousel-wrap { position: relative; }
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 14px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .product-card { flex: 0 0 236px; scroll-snap-align: start; }
.carousel-arrow {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-md); cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }

/* ============ Cards de produto ============ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s var(--ease), border-color .2s ease;
}
.product-card .thumb { position: relative; aspect-ratio: 1 / 1; background: #fff; padding: 14px; overflow: hidden; }
.product-card .thumb > img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.product-card .info {
  padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1;
  border-top: 1px solid var(--line);
}
.product-card .name {
  font-size: 14.5px; font-weight: 600; line-height: 1.3; flex: none; max-height: calc(1.3em * 3); color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .info .price { margin-top: auto; padding-top: 6px; }
.thumb-link { display: block; width: 100%; height: 100%; }
.product-card .sku { font-size: 12.5px; color: var(--muted); }
.product-card .price {
  font-family: var(--font-display); font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--ink);
}
.product-card .price small { font-family: var(--font); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.price-terms { font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-bottom: 10px; }
.price-terms strong { color: var(--ink); font-weight: 700; }

.fav-btn {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.95); color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s ease, transform .15s ease;
}
.fav-btn.active { color: var(--heart); }
.aro-tag {
  position: absolute; right: 10px; top: 12px; z-index: 2;
  background: var(--ink); color: var(--yellow);
  font-family: var(--font-display); font-style: italic; font-size: 13px; font-weight: 800; text-transform: uppercase;
  padding: 3px 10px; border-radius: 6px;
}

.add-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 44px; padding: 10px 12px; margin-top: auto;
  background: var(--ink); color: #fff; border: none; border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 700; text-align: center; line-height: 1.2; text-wrap: balance;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.add-btn:active { transform: scale(.98); }
.add-btn.in-cart { background: var(--yellow-soft); color: var(--ink); box-shadow: inset 0 0 0 2px var(--yellow); }

.img-soon {
  width: 100%; height: 100%; min-height: 110px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: repeating-linear-gradient(135deg, #f7f7f4 0 12px, #f1f1ed 12px 24px); color: var(--muted-2);
}
.img-soon img { width: 40%; max-width: 88px; height: auto; border-radius: 12px; opacity: .6; filter: grayscale(.2); }
.img-soon span { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.cat-icon-photo .img-soon, .nav-dropdown-panel .img-soon { min-height: 0; background: none; }
.cat-icon-photo .img-soon span { display: none; }
.cat-icon-photo .img-soon img { width: 70%; }

/* ============ CTA "Personalize sua Bike" (home) ============ */
.builder-cta {
  max-width: calc(var(--container) - 2 * var(--gutter)); margin: 48px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 30px 34px; border-radius: var(--radius-lg); color: #fff; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(255,199,0,.9) 0 10px, transparent 10px 22px) right -40px top / 180px 100% no-repeat,
    linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%);
}
.builder-cta-text { position: relative; max-width: 620px; }
.builder-cta-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; color: var(--yellow); margin-bottom: 6px; }
.builder-cta h2 {
  font-family: var(--font-display); font-style: italic; text-transform: uppercase;
  font-size: 34px; font-weight: 800; line-height: 1; margin: 0 0 8px;
}
.builder-cta p { margin: 0; font-size: 15px; color: #c4c7cc; }
.builder-cta-btn {
  position: relative; margin-right: 150px; display: inline-flex; align-items: center;
  background: var(--yellow); color: var(--ink); border: none; cursor: pointer; white-space: nowrap;
  min-height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 800;
  transition: background .15s ease, transform .15s ease;
}

#carousel-bicicletas-aro-29 .aro-tag { display: none; }

/* ============ Página do produto / bike ============ */
.pdp-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; margin-bottom: 24px;
}
.pdp-gallery {
  position: sticky; top: 160px; overflow: hidden;
  background: #fff; border-radius: var(--radius); aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.pdp-gallery > img { width: 100%; height: 100%; object-fit: contain; }
.pdp-gallery .img-soon { min-height: 100%; }
.pdp-brand { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 6px; }
.pdp-buy h1 { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1.05; margin: 0 0 8px; }
.pdp-code { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.pdp-price { font-family: var(--font-display); font-size: 42px; font-weight: 700; line-height: 1; margin: 6px 0 6px; color: var(--ink); }
.pdp-price small { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--muted); }
.pdp-terms { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pdp-terms strong { color: var(--ink); }

.pdp-option { margin-bottom: 20px; }
.pdp-option > strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.pdp-option-value { font-weight: 500; color: var(--muted); }
.pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px;
  background: #fff; border: 2px solid var(--line); border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 600; transition: border-color .15s ease, background .15s ease;
}
.pdp-chip.has-thumb { padding: 4px 14px 4px 4px; }
.pdp-chip img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: #fff; }
.pdp-chip.size { min-width: 60px; justify-content: center; font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.pdp-chip.active { border-color: var(--ink); background: var(--yellow-soft); }
.pdp-size-hint { font-size: 13px; color: var(--muted); margin-top: 10px; }

.add-btn.pdp-add-btn { min-height: 54px; font-size: 16px; margin: 8px 0 10px; }
.pdp-add-btn:not(.wa-btn):not(.in-cart) { background: var(--yellow); color: var(--ink); }
.wa-btn { background: var(--wa); color: #fff; }
.pdp-wa-link { display: block; text-align: center; font-size: 14px; font-weight: 700; color: var(--wa-2); padding: 8px; margin-bottom: 8px; }
.pdp-note { font-size: 13px; color: var(--muted); line-height: 1.5; }

.pdp-description {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 32px; margin-bottom: 8px;
}
.pdp-description h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 0 0 12px; }
.pdp-specs { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pdp-specs li { position: relative; padding-left: 22px; font-size: 15px; }
.pdp-specs li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--yellow); }
.pdp .carousel-section { padding-top: 32px; }

/* ============ Listagem de bikes / categorias ============ */
.bike-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.bike-filter a {
  display: inline-flex; align-items: center;
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line);
  background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: all .15s ease;
}
.bike-filter a.active { border-color: var(--ink); background: var(--ink); color: var(--yellow); }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 8px; }
.cat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  transition: box-shadow .2s ease, transform .2s var(--ease), border-color .2s ease;
}
.cat-tile-photo { width: 100%; aspect-ratio: 1 / 1; padding: 8px; margin-bottom: 4px; }
.cat-tile-photo > img { width: 100%; height: 100%; object-fit: contain; }
.cat-tile strong { font-size: 15px; font-weight: 700; }
.cat-tile > span:last-child { font-size: 13px; color: var(--muted); }
.cat-tile-photo { display: block; }

.search-results .product-grid > p, .category-page .product-grid > p {
  grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; color: var(--muted); margin: 0;
}
.search-results .product-grid > p a, .category-page .product-grid > p a { color: var(--wa-2); font-weight: 700; }

/* ============ Personalize sua Bike ============ */
.builder-intro {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 40px 36px; text-align: center;
  background-image: repeating-linear-gradient(115deg, rgba(255,199,0,.08) 0 10px, transparent 10px 22px);
}
.builder-intro h1 { font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 38px; font-weight: 800; line-height: 1.05; margin: 4px 0 10px; }
.builder-intro p { color: #c4c7cc; max-width: 520px; margin: 0 auto 26px; }
.aro-options { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: 14px; }
.aro-option {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 18px;
  background: var(--ink-2); border: 2px solid var(--ink-3); border-radius: var(--radius); color: #fff; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.aro-option strong { font-family: var(--font-display); font-style: italic; font-size: 40px; font-weight: 800; color: var(--yellow); line-height: 1; }
.aro-option span { font-size: 13.5px; color: #a9acb2; }
.builder-help { display: inline-block; margin-top: 22px; color: var(--yellow); font-weight: 700; font-size: 14px; padding: 6px; }

.builder-progress {
  background: var(--ink); border-radius: var(--radius-lg); padding: 22px 28px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.progress-ring { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-ring .ring-bg { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 11; }
.progress-ring .ring-fill { fill: none; stroke: var(--yellow); stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset .5s var(--ease); }
.progress-ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.progress-ring-label strong { font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; }
.progress-ring-label strong span { font-size: 16px; color: var(--muted-2); }
.progress-ring-sub { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted-2); margin-top: 2px; font-weight: 700; }
.progress-info { flex: 1; min-width: 200px; }
.progress-title { color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.progress-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--yellow); border-radius: 999px; transition: width .5s var(--ease); }
.progress-total-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 14px; color: #a9acb2; }
.progress-total-row strong { color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 700; }

.builder-tracker { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 18px; scrollbar-width: none; }
.builder-tracker::-webkit-scrollbar { display: none; }
.tracker-dot {
  flex: 1; min-width: 92px; padding: 10px 6px; cursor: pointer; text-align: center;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, background .15s ease;
}
.tracker-dot.current { border-color: var(--ink); background: var(--yellow-soft); }
.tracker-num {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-bottom: 4px;
  border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 800;
}
.tracker-dot.done .tracker-num { background: var(--ink); color: var(--yellow); }
.tracker-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.tracker-dot.current .tracker-label { color: var(--ink); }

.product-card.chosen { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.variant-select {
  width: 100%; min-height: 44px; font-size: 16px; margin: 6px 0 2px; padding: 0 10px;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer;
}
.chosen-line {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--yellow-soft); border-radius: 8px; padding: 6px 8px; font-size: 13px; font-weight: 600;
}
.chosen-line .qty-control { margin: 0; }

.builder-nav { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.builder-nav-btn {
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  transition: background .15s ease;
}
.builder-nav-btn.primary { background: var(--ink); color: #fff; margin-left: auto; }
.builder-nav-btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.builder-nav-btn.ghost:disabled { background: #fff; color: var(--muted-2); box-shadow: inset 0 0 0 2px var(--line); cursor: not-allowed; }

.summary-list { display: flex; flex-direction: column; gap: 8px; max-width: 640px; margin: 8px auto 0; }
.summary-row {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.summary-label { width: 90px; flex-shrink: 0; padding-top: 8px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.summary-items { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.summary-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.summary-item img { width: 38px; height: 38px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.summary-item strong { margin-left: auto; white-space: nowrap; }
.summary-item.empty { color: var(--muted-2); font-weight: 400; font-style: italic; padding-top: 8px; }
.summary-total { max-width: 640px; margin: 16px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.summary-total .cart-total { margin-bottom: 4px; }
.summary-total .cart-pix { text-align: left; margin: 0; }
.summary-note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.summary-nav { max-width: 640px; margin-left: auto; margin-right: auto; }
.summary-nav .checkout-btn { margin-left: auto; width: auto; padding: 0 26px; }
.summary-nav .builder-nav-btn { order: 0; }

/* ============ Carrinho ============ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(17,19,23,.55);
  display: flex; justify-content: flex-end; animation: fade .2s ease;
}
.cart-drawer {
  background: #fff; width: min(440px, 100%); height: 100%;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slide-in .25s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(40px); opacity: .6; } }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.cart-header button {
  width: 44px; height: 44px; border-radius: 999px; border: none; background: var(--paper);
  font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink);
}
.cart-items { flex: 1; overflow-y: auto; padding: 4px 20px; }
.cart-empty { text-align: center; color: var(--muted); padding: 64px 20px; font-size: 15px; line-height: 1.6; }
.cart-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row .thumb {
  width: 64px; height: 64px; flex-shrink: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 4px;
}
.cart-row .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-row .details { flex: 1; min-width: 0; }
.cart-row .details .name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cart-row .details .price { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-row-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 6px; }
.cart-row-right .price { font-weight: 700; }
.qty-control { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.qty-control button {
  width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  cursor: pointer; font-size: 16px; font-weight: 700; line-height: 1; transition: background .15s ease;
}
.qty-control .qty { font-size: 14px; font-weight: 700; min-width: 22px; text-align: center; }
.remove-link { background: none; border: none; color: var(--muted); font-size: 13px; cursor: pointer; padding: 6px 0; text-decoration: underline; }
.cart-footer { padding: 16px 20px 22px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.cart-total span:last-child { font-family: var(--font-display); font-size: 28px; }
.cart-pix { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; text-align: right; }
.cart-pix strong { color: var(--ink); }
.checkout-btn {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 20px;
  background: var(--wa); color: #fff; border: none; border-radius: 12px; cursor: pointer;
  font-size: 16px; font-weight: 700; text-align: center; transition: background .15s ease;
}

/* ============ Rodapé ============ */
.site-footer { background: var(--ink); color: #c4c7cc; padding: 52px var(--gutter) 28px; margin-top: 64px; border-top: 4px solid var(--yellow); }
.footer-cols { max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h2 { color: #fff; font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; margin: 0 0 6px; }
.footer-col a, .footer-col span { color: #a9acb2; font-size: 14px; line-height: 1.5; }
.footer-divider { max-width: calc(var(--container) - 2 * var(--gutter)); margin: 32px auto 20px; border-top: 1px solid var(--ink-3); }
.footer-bottom { max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-logo-img { height: 56px; width: auto; border-radius: 10px; }
.footer-copy { font-size: 13px; color: #7d8189; }
.site-footer .disclaimer { margin: 20px auto 0; font-size: 12.5px; color: #7d8189; text-align: center; }

/* ============ Acessibilidade ============ */
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--yellow); color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
html.no-scroll, html.no-scroll body { overflow: hidden; }

/* ============ Busca ============ */
.search-box { margin-bottom: 0; }
.search-box input:not(:placeholder-shown) { padding-right: 84px; }
.search-clear {
  position: absolute; right: 34px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: none; border-radius: 999px; background: transparent;
  font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer;
}
.search-clear[hidden] { display: none; }

/* ============ Menu: página atual ============ */
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-builder-badge[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--ink); }

/* ============ Foto ilustrativa ============ */
.thumb { position: relative; }
.photo-note {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2;
  background: rgba(17,19,23,.78); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.25;
  padding: 5px 8px; border-radius: 8px; text-align: center; pointer-events: none;
}
.pdp-gallery .photo-note { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; font-size: 13px; padding: 6px 12px; }

/* ============ Opções com amostra de cor ============ */
.pdp-option-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pdp-option-head strong { margin: 0; }
.pdp-option-preview { width: 56px; height: 56px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--line); background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pdp-option-preview img { width: 100%; height: 100%; object-fit: contain; }
.pdp-option-preview .chip-swatch { width: 40px; height: 40px; }
.pdp-chip.has-visual { padding: 4px 12px 4px 4px; min-height: 48px; }
.pdp-chip img, .chip-swatch { width: 38px; height: 38px; flex-shrink: 0; border-radius: 7px; }
.pdp-chip img { object-fit: contain; background: #fff; }
.chip-swatch { display: inline-block; background: repeating-linear-gradient(135deg, #f1f1ed 0 6px, #e4e4df 6px 12px); box-shadow: inset 0 0 0 1px rgba(17,19,23,.15); }
.pdp-chip em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; }
.pdp-chip.active em { color: var(--ink); }
.pdp-chips.sizes { gap: 8px; }
.pdp-chip.size { min-width: 58px; }
.size-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; margin: 12px 0 6px; font-size: 13px; color: var(--muted); }
.size-guide div { display: flex; gap: 6px; }
.size-guide dt { font-weight: 700; color: var(--ink); min-width: 20px; }
.size-guide dd { margin: 0; }
.size-guide .active dt, .size-guide .active dd { color: var(--ink); font-weight: 700; }
.size-help { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--wa-2); padding: 8px 0; text-decoration: underline; }

/* ============ Produto: já no carrinho ============ */
.pdp-add-btn.go-cart { background: var(--ink) !important; color: #fff !important; }
.pdp-more-btn {
  display: block; width: 100%; min-height: 44px; margin: 0 0 6px; border: 2px solid var(--line); background: #fff;
  border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--ink);
}

/* ============ Barra fixa de compra (celular) ============ */
.pdp-sticky-cta { display: none; }

/* ============ Aviso rápido ============ */
.toast {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 350;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 24px);
  background: var(--ink); color: #fff; border-radius: 12px; padding: 8px 8px 8px 16px; box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 600; transition: transform .25s var(--ease), opacity .2s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast button { min-height: 40px; padding: 0 14px; border: none; border-radius: 8px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
body.has-sticky-cta .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }

/* ============ Estados vazios ============ */
.empty-state {
  grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius-lg);
  padding: 28px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty-state strong { font-size: 18px; }
.empty-state p { margin: 0; color: var(--muted); max-width: 420px; text-wrap: balance; }
.empty-state .checkout-btn { max-width: 360px; margin-top: 4px; }
.empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.empty-links a, .empty-links button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink);
}
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cart-empty strong { font-size: 18px; color: var(--ink); }
.cart-empty p { margin: 0; text-wrap: balance; }
.cart-overlay:not(.animate), .cart-overlay:not(.animate) .cart-drawer { animation: none; }

/* ============ Personalize: detalhes ============ */
.aro-option.current { border-color: var(--yellow); }
.builder-restart { display: block; margin: 18px auto 0; background: none; border: none; color: #fff; text-decoration: underline; font-size: 14px; font-weight: 600; cursor: pointer; padding: 10px; }
.chosen-line { flex-wrap: wrap; }
.chosen-line > span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.chosen-line .qty-control { margin-left: auto; }
.qty-control button { width: 40px; height: 40px; }
.summary-skipped { max-width: 640px; margin: 10px auto 0; font-size: 13.5px; color: var(--muted); }
.tracker-dot { color: var(--ink); display: block; }
.variant-select { appearance: none; -webkit-appearance: none; padding: 0 34px 0 10px; text-overflow: ellipsis;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111317' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; }
.variant-label { display: block; }

.footer-map { color: var(--muted-dark); }
.site-footer .footer-col a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; }

/* ============ Responsivo ============ */
@media (max-width: 1100px) {
  .cat-icons-row { display: flex; overflow-x: auto; gap: 14px; scrollbar-width: none; padding-bottom: 6px; }
  .cat-icons-row::-webkit-scrollbar { display: none; }
  .cat-icon { flex: 0 0 92px; }
  .carousel-arrow.prev { left: -8px; }
  .carousel-arrow.next { right: -8px; }
}

@media (max-width: 860px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }

  .topbar { padding: 8px 0 10px; }
  .topbar-inner { flex-wrap: wrap; gap: 8px 10px; }
  .logo-img { height: 44px; }
  .topbar-links { margin-left: auto; gap: 4px; }
  .topbar-link { min-width: 44px; justify-content: center; }
  .topbar-link > span:last-child:not(.topbar-icon-wrap) { display: none; }
  .search-box { order: 3; flex-basis: 100%; max-width: none; }
  .search-box input { height: 44px; }

  .navbar-inner { padding: 0; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .navbar-inner::-webkit-scrollbar { display: none; }
  .navbar-main { margin-left: 0; padding-left: 4px; }
  .nav-link { padding: 13px 12px; font-size: 14.5px; }
  .has-chevron { padding-right: 12px; }
  .has-chevron::before { display: none; }
  .nav-link::after { left: 12px; right: 12px; }
  .nav-dropdown-panel, .nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:hover .nav-mega { display: none; }
  .nav-builder-badge { margin: 6px 16px 6px 6px; padding: 8px 14px; font-size: 13px; }

  /* no celular o banner mostra a metade com o logo e o título, em tamanho legível */

  .benefits-bar { grid-template-columns: 1fr 1fr; padding: 6px var(--gutter); }
  .benefit { gap: 10px; padding: 12px 4px; align-items: flex-start; }
  .benefit .benefit-icon { width: 36px; height: 36px; border-radius: 10px; }
  .benefit .benefit-icon svg { width: 18px; height: 18px; }
  .benefit strong { font-size: 13.5px; }
  .benefit span { font-size: 12px; }

  .section-title { font-size: 26px; }
  .cats-section { padding-top: 32px; }
  .carousel-section { padding-top: 34px; }
  .carousel-arrow { display: none; }
  .carousel-track { margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); gap: 12px; }
  .carousel-track .product-card { flex-basis: min(60vw, 250px); }

  .builder-cta { margin: 36px var(--gutter) 0; padding: 24px 22px; background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%); }
  .builder-cta::after { content: ""; position: absolute; right: -34px; top: 0; bottom: 0; width: 70px; background: repeating-linear-gradient(115deg, rgba(255,199,0,.9) 0 8px, transparent 8px 18px); opacity: .9; }
  .builder-cta h2 { font-size: 28px; }
  .builder-cta-text { padding-right: 34px; }
  .builder-cta p { font-size: 14px; }
  .builder-cta-btn { margin-right: 0; }

  .pdp-grid { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .pdp-gallery { position: relative; top: auto; aspect-ratio: 4 / 3; padding: 8px; }
  .pdp-buy h1 { font-size: 28px; }
  .pdp-price { font-size: 36px; }
  .pdp-description { padding: 20px; }

  .builder-intro { padding: 30px 18px; }
  .builder-intro h1 { font-size: 30px; }
  .aro-options { grid-template-columns: 1fr 1fr; }
  .aro-option { padding: 18px 10px; }
  .aro-option strong { font-size: 34px; }
  .builder-progress { padding: 16px 18px; gap: 16px; }
  .progress-ring { width: 76px; height: 76px; }
  .progress-ring-label strong { font-size: 22px; }
  .progress-title { font-size: 20px; }
  .tracker-dot { min-width: 84px; }
  .summary-row { flex-direction: column; gap: 4px; }
  .summary-label { width: auto; padding-top: 0; }
  .summary-item.empty { padding-top: 0; }
  .builder-nav-btn.primary, .summary-nav .checkout-btn { flex: 1; }

  .footer-cols { grid-template-columns: 1fr; gap: 24px; }

  /* cabeçalho some ao rolar para baixo e volta ao rolar para cima */
  .site-header { transition: transform .25s var(--ease); }
  .site-header.is-hidden { transform: translateY(-100%); }

  /* menu: botão Personalize primeiro e degradê mostrando que rola */
  .nav-builder-badge { order: -1; margin: 6px 2px 6px 16px; }
  .navbar-inner {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  }
  .navbar-main { padding-right: 28px; }

  .cat-icons-row { scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .cat-icon { scroll-snap-align: start; flex-basis: 84px; }
  .cat-icon-photo { width: 76px; height: 76px; padding: 10px; }

  .pdp-gallery .photo-note { font-size: 12px; }
  .pdp-sticky-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -6px 20px rgba(17,19,23,.10); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s var(--ease);
  }
  .pdp-sticky-cta.show { transform: translateY(0); }
  .pdp-sticky-cta > div { display: flex; flex-direction: column; line-height: 1.1; }
  .pdp-sticky-cta strong { font-family: var(--font-display); font-size: 24px; }
  .pdp-sticky-cta span { font-size: 12.5px; color: var(--muted); }
  .pdp-sticky-cta .add-btn { width: auto; flex: 1; max-width: 240px; min-height: 48px; margin: 0; }
  .pdp-sticky-cta .add-btn:not(.wa-btn) { background: var(--yellow); color: var(--ink); }
  body.has-sticky-cta .site-footer { padding-bottom: 96px; }

  /* Personalize compacto: menos altura antes dos produtos, navegação sempre à mão */
  .builder-progress { padding: 12px 14px; gap: 12px; flex-wrap: nowrap; }
  .progress-ring { width: 56px; height: 56px; }
  .progress-ring-label strong { font-size: 17px; }
  .progress-ring-label strong span { font-size: 12px; }
  .progress-ring-sub { display: none; }
  .progress-title { font-size: 17px; margin-bottom: 6px; }
  .progress-total-row { margin-top: 6px; font-size: 13px; }
  .progress-total-row strong { font-size: 20px; }
  .builder-page .section-title { font-size: 22px; }
  .builder-page > .builder-nav:not(.summary-nav) {
    position: sticky; bottom: 0; z-index: 120; margin: 16px calc(-1 * var(--gutter)) 0;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper);
    border-top: 1px solid var(--line); flex-wrap: nowrap;
  }
  .summary-nav { flex-direction: column-reverse; }
  .summary-nav .checkout-btn, .summary-nav .builder-nav-btn { width: 100%; margin: 0; }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: var(--radius); }
  .product-card .thumb { padding: 10px; }
  .product-card .info { padding: 10px 12px 12px; }
  .product-card .name { font-size: 14px; }
  .product-card .price { font-size: 22px; }
  .price-terms { font-size: 12px; }
  .add-btn { font-size: 13.5px; padding: 8px; }
  .fav-btn { width: 34px; height: 34px; top: 8px; left: 8px; }
  .aro-tag { top: 10px; right: 8px; font-size: 12px; padding: 2px 8px; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pdp-chip { font-size: 13.5px; }
  .pdp-chip.size { min-width: 54px; }
  .pdp-chips.sizes { gap: 6px; }
  .chosen-line > span { flex-basis: 100%; }
  .chosen-line .qty-control { width: 100%; justify-content: space-between; }
}


/* ============ Segunda rodada (reverificação mobile) ============ */
#app:empty { min-height: 100vh; min-height: 100svh; } /* rodapé não aparece antes de a página montar */
.hero-banner { position: relative; }
.hero-cta { display: none; }
.pdp-sticky-cta.no-anim { transition: none !important; }
.price-range { font-size: 12.5px; color: var(--muted); margin-top: -2px; }
.product-card .photo-note { left: auto; right: 6px; bottom: 6px; font-size: 11px; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.chip-label { min-width: 0; }
.progress-change { display: none; }
.summary-row { color: var(--ink); text-decoration: none; transition: border-color .15s ease; }
.summary-edit { align-self: center; font-size: 13px; font-weight: 700; color: var(--blue); white-space: nowrap; padding-left: 6px; }
.builder-wa-help { font-size: 14px; font-weight: 700; color: var(--wa-2); text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }
.pdp-wa-link, .size-help, .builder-help { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.pdp-wa-link { display: flex; }

@media (max-width: 860px) {
  .navbar-inner { justify-content: flex-start; }
  .nav-builder-long { display: none; }
  .nav-builder-badge { min-height: 40px; }

  /* benefícios numa faixa só, deslizando */
  .benefits-bar { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 8px; padding: 10px var(--gutter); scrollbar-width: none; }
  .benefits-bar::-webkit-scrollbar { display: none; }
  .benefit { flex: 0 0 auto; scroll-snap-align: start; padding: 4px 10px 4px 0; align-items: center; }
  .benefit .benefit-icon { width: 34px; height: 34px; }
  .benefit strong { font-size: 13.5px; white-space: nowrap; }
  .benefit span { font-size: 12px; white-space: nowrap; }
  .cats-section { padding-top: 24px; }
  .cats-section .section-sub { margin-bottom: 14px; }
  .cat-icon { flex-basis: 72px; }
  .cat-icon-photo { width: 64px; height: 64px; padding: 8px; }
  .cat-icon-label { font-size: 12.5px; }

  /* barra de etapas com snap e degradê indicando que rola */
  .builder-tracker { margin: 0 calc(-1 * var(--gutter)) 14px; padding: 2px var(--gutter) 10px; scroll-padding: 0 var(--gutter); scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
  .tracker-dot { scroll-snap-align: start; min-width: 76px; padding: 8px 4px; }
  .builder-crumb { display: none; }
  .builder-page { padding-top: 12px; }
  .progress-change { display: inline; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--yellow); text-decoration: underline; margin-left: 6px; }
  body.has-bottom-bar .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }

  /* páginas de produto: carrossel até a borda e breadcrumb numa linha */
  .pdp .carousel-section { padding-left: 0; padding-right: 0; }
  .pdp .breadcrumb { display: flex; align-items: center; gap: 0 5px; white-space: nowrap; }
  .pdp .breadcrumb > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

  /* busca compacta: mais resultado na tela com o teclado aberto */
  .search-results { padding-top: 10px; }
  .search-results .breadcrumb { margin-bottom: 0; }
  .search-results .section-title { font-size: 22px; }
  .search-results .section-sub { margin-bottom: 10px; }
}

@media (max-width: 640px) {
  /* chips só de cor: grade de amostras, nome da cor aparece no título */
  .pdp-chips.compact { gap: 8px; }
  .pdp-chips.compact .pdp-chip { padding: 3px; min-height: 0; }
  .pdp-chips.compact .pdp-chip img, .pdp-chips.compact .chip-swatch { width: 46px; height: 46px; }
  .pdp-chips.compact .chip-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pdp-chips:not(.compact) .pdp-chip.has-visual { flex: 1 1 calc(50% - 4px); min-width: 0; }

  /* montagem: cards em lista (foto à esquerda), select mais largo */
  .builder-page .product-grid { grid-template-columns: 1fr; gap: 10px; }
  .builder-card { flex-direction: row; }
  .builder-card .thumb { flex: 0 0 108px; aspect-ratio: auto; min-height: 108px; padding: 8px; }
  .builder-card .info { border-top: none; border-left: 1px solid var(--line); }
  .builder-card .photo-note { font-size: 10.5px; }

  /* home: banner do celular com o botão numa faixa amarela embaixo */
  .hero-banner { border-bottom: none; }
  .hero-cta { display: flex; align-items: center; justify-content: center; min-height: 44px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 15px; }
}
@media (max-width: 600px) { .hero-banner { border-bottom: none; } }
@media (max-width: 359px) {
  .product-grid .product-card .price small { display: block; line-height: 1.2; }
}

/* alvos de toque >= 44px em telas de toque (desktop não muda) */
@media (pointer: coarse) {
  .fav-btn::after { content: ""; position: absolute; inset: -6px; }
  .remove-link { min-height: 44px; padding: 0 8px; margin-right: -8px; display: inline-flex; align-items: center; }
  .cart-row .qty-control button { width: 44px; height: 44px; }
  .nav-builder-badge { min-height: 44px; }
}

/* Hover só em aparelhos com mouse: no toque o efeito ficava "preso" */
@media (hover: hover) {
  .summary-row:hover { border-color: var(--ink); }
  .topbar-link:hover { color: var(--yellow); }
  .nav-link:hover::after, .nav-dropdown:hover > .nav-link::after { transform: scaleX(1); }
  .nav-dropdown:hover .nav-dropdown-panel { display: block; }
  .nav-dropdown:hover .nav-mega { display: grid; grid-template-columns: 1fr 1fr; min-width: 460px; }
  .nav-dropdown-panel a:hover { background: var(--paper); }
  .nav-builder-badge:hover { background: var(--yellow-2); transform: translateY(-1px); }
  .breadcrumb a:hover { text-decoration: underline; }
  .cat-icon:hover .cat-icon-photo { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--yellow); }
  .view-all-link:hover { text-decoration: underline; }
  .carousel-arrow:hover { background: var(--yellow); border-color: var(--yellow); }
  .product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-2); }
  .product-card:hover .thumb > img { transform: scale(1.04); }
  a.name:hover { text-decoration: underline; }
  .fav-btn:hover { color: var(--heart); transform: scale(1.08); }
  .add-btn:hover { background: var(--yellow); color: var(--ink); }
  .builder-cta-btn:hover { background: var(--yellow-2); transform: translateY(-1px); }
  .pdp-chip:hover { border-color: var(--line-2); background: var(--paper); }
  .pdp-add-btn:not(.wa-btn):not(.in-cart):hover { background: var(--yellow-2); }
  .wa-btn:hover { background: var(--wa-2); color: #fff; }
  .pdp-wa-link:hover { text-decoration: underline; }
  .bike-filter a:hover { border-color: var(--line-2); }
  .cat-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--yellow); }
  .aro-option:hover { border-color: var(--yellow); transform: translateY(-2px); background: var(--ink-3); }
  .builder-help:hover { text-decoration: underline; }
  .tracker-dot:hover { border-color: var(--line-2); }
  .builder-nav-btn.primary:hover { background: var(--ink-3); }
  .builder-nav-btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--line-2); }
  .qty-control button:hover { background: var(--paper); }
  .remove-link:hover { color: var(--heart); }
  .checkout-btn:hover { background: var(--wa-2); }
  .footer-col a:hover { color: var(--yellow); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
