/* ==========================================================================
   Ibiza Imports — Estilos específicos de páginas
   ========================================================================== */

/* Listras diagonais inspiradas nas três listras da camisa da logo */
.hero__stripes,
.page-hero__stripes,
.cta-banner__stripes {
  position: absolute;
  display: flex;
  gap: 18px;
  pointer-events: none;
  transform: skewX(-28deg);
}
.hero__stripes span,
.page-hero__stripes span,
.cta-banner__stripes span {
  display: block;
  width: 26px;
  height: 100%;
  background: linear-gradient(180deg, rgba(242, 178, 51, 0) 0%, rgba(242, 178, 51, 0.5) 100%);
}

/* ---------- Home: Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #000;
  color: var(--text-on-dark);
  min-height: min(calc(100svh - var(--header-h)), 780px);
  display: flex;
  align-items: center;
  padding-block: clamp(48px, 7vw, 80px);
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.hero__stripes { right: 4%; bottom: -10%; height: 70%; opacity: 0.35; }
.hero__stripes span { animation: stripe-in 1.2s var(--ease) both; }
.hero__stripes span:nth-child(2) { animation-delay: 120ms; }
.hero__stripes span:nth-child(3) { animation-delay: 240ms; }
@keyframes stripe-in { from { transform: translateY(40%); opacity: 0; } to { transform: none; opacity: 1; } }

.hero__sun {
  position: absolute;
  width: min(80vw, 900px);
  aspect-ratio: 1;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 178, 51, 0.28) 0%, rgba(242, 178, 51, 0.08) 38%, transparent 66%);
  pointer-events: none;
  animation: sun-breathe 8s ease-in-out infinite;
}
@keyframes sun-breathe { 0%, 100% { opacity: 0.85; transform: translateY(-50%) scale(1); } 50% { opacity: 1; transform: translateY(-50%) scale(1.05); } }

.hero__inner {
  position: relative; /* sem z-index: permite que a logo se misture com o brilho do fundo */
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero__content { display: grid; gap: 22px; justify-items: start; }
.hero__content > * { animation: hero-in 900ms var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: 80ms; }
.hero__content > :nth-child(3) { animation-delay: 160ms; }
.hero__content > :nth-child(4) { animation-delay: 240ms; }
.hero__content > :nth-child(5) { animation-delay: 320ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__eyebrow::before { display: none; }
.hero__eyebrow {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 178, 51, 0.35);
  background: rgba(242, 178, 51, 0.08);
  letter-spacing: 0.14em;
}
.hero__title {
  font-size: clamp(58px, 8.4vw, 122px);
  font-style: italic;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.hero__text { max-width: 500px; font-size: clamp(16px, 1.4vw, 18px); color: var(--muted-on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hero__chips a {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-on-dark);
  border: 1px solid var(--ink-line);
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}
.hero__chips a:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  mix-blend-mode: lighten; /* o fundo preto da logo se funde com o hero */
  animation: hero-visual-in 1.2s var(--ease) 150ms both;
}
@keyframes hero-visual-in { from { opacity: 0; transform: scale(0.92) translateY(20px); } to { opacity: 1; transform: none; } }
.hero__logo {
  position: relative;
  width: min(100%, 560px);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__ring {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(242, 178, 51, 0.25);
  animation: spin 60s linear infinite;
}
.hero__ring::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 14%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px 4px rgba(242, 178, 51, 0.6);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-hint 1.8s var(--ease-in-out) infinite;
}
@keyframes scroll-hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 920px) {
  .hero { min-height: auto; padding-block: 40px 72px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { justify-items: center; order: 2; }
  .hero__actions, .hero__chips { justify-content: center; }
  .hero__visual { order: 1; }
  .hero__logo { width: min(78vw, 400px); }
  .hero__sun { right: 50%; top: 28%; transform: translate(50%, -50%); animation: none; width: 130vw; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; }
}

/* ---------- Home: Destaques rápidos ---------- */
.highlights { background: var(--surface); border-bottom: 1px solid var(--line); }
.highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.highlight { display: flex; align-items: center; gap: 16px; padding: 28px 24px; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--gold);
  transition: transform var(--t) var(--ease);
}
.highlight:hover .highlight__icon { transform: rotate(-8deg) scale(1.06); }
.highlight__title { font-family: var(--font-body); font-size: 15px; font-weight: 800; text-transform: none; letter-spacing: 0; line-height: 1.3; }
.highlight__text { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
@media (max-width: 860px) {
  .highlights__grid { grid-template-columns: 1fr; }
  .highlight { padding: 18px 0; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Home: card "Ver catálogo" nos destaques ---------- */
.catalog-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 100%;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--text-on-dark);
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease), opacity 700ms var(--ease);
}
.catalog-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.catalog-tile.reveal:not(.is-visible) { transform: translateY(22px); }
.catalog-tile__stripes { position: absolute; top: -10%; right: 10%; height: 120%; display: flex; gap: 14px; transform: skewX(-28deg); opacity: 0.35; transition: transform var(--t-slow) var(--ease); }
.catalog-tile__stripes span { width: 18px; height: 100%; background: linear-gradient(180deg, transparent, var(--gold)); }
.catalog-tile:hover .catalog-tile__stripes { transform: skewX(-28deg) translateX(-12px); }
.catalog-tile__count { position: relative; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(56px, 7vw, 88px); line-height: 0.9; color: var(--gold); }
.catalog-tile__label { position: relative; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.catalog-tile__cta { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; transition: gap var(--t) var(--ease), color var(--t); }
.catalog-tile:hover .catalog-tile__cta { gap: 14px; color: var(--gold); }

/* ---------- Home: CTA ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--gold);
  color: var(--black);
}
.cta-banner__stripes { right: 18%; top: -20%; height: 140%; opacity: 0.5; }
.cta-banner__stripes span { background: rgba(255, 255, 255, 0.35); }
.cta-banner__content { position: relative; display: grid; gap: 10px; max-width: 560px; }
.cta-banner .eyebrow { color: var(--black); }
.cta-banner__title { font-size: clamp(34px, 4.4vw, 54px); }
.cta-banner__text { font-size: 16px; color: rgba(10, 10, 11, 0.72); }
.cta-banner .btn { position: relative; }
@media (max-width: 760px) {
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Cabeçalho escuro de páginas internas ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: clamp(36px, 5vw, 64px);
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 178, 51, 0.28) 0%, transparent 66%);
}
.page-hero__stripes { right: 8%; top: 0; height: 100%; opacity: 0.25; }
.page-hero .container { position: relative; display: grid; gap: 14px; }
.page-hero__title { font-size: clamp(44px, 6.4vw, 84px); font-style: italic; color: var(--cream); }
.page-hero__subtitle { color: var(--muted-on-dark); font-size: 17px; max-width: 560px; }
.page-hero--compact { padding-block: clamp(28px, 4vw, 44px); }

/* ---------- Catálogo ---------- */
.section--catalog { padding-top: 28px; }
.catalog-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-block: 14px;
  margin-bottom: 22px;
  background: rgba(217, 205, 182, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.catalog-toolbar__right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.catalog-toolbar__count { font-size: 14px; font-weight: 600; color: var(--muted); }
@media (max-width: 640px) {
  .catalog-toolbar { position: static; }
  .chip-group { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .chip-group::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .catalog-toolbar__right { width: 100%; justify-content: space-between; }
}

/* Faixa de escudos dos times */
.team-rail { margin: 8px 0 clamp(36px, 5vw, 56px); }
.team-rail__title {
  display: inline-block;
  position: relative;
  margin-bottom: 26px;
  padding-bottom: 10px;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
.team-rail__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% + 56px);
  height: 6px;
  border-radius: 6px;
  background: var(--gold);
}
.team-rail__viewport { position: relative; }
.team-rail__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.6vw, 34px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  padding: 8px 4px 12px;
  margin: -8px -4px -12px;
}
.team-rail__track::-webkit-scrollbar { display: none; }

.team-chip {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  width: clamp(104px, 13.5vw, 190px);
  scroll-snap-align: start;
  animation: chip-in 520ms var(--ease) both;
  animation-delay: calc(var(--i) * 50ms);
}
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(0.94); } to { opacity: 1; transform: none; } }
.team-chip__circle {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  /* Fundo neutro: qualquer escudo (dourado, azul, vermelho, preto) fica bem sobre ele */
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f6f4ef 100%);
  border: 2px solid var(--line);
  box-shadow: 0 8px 20px -14px rgba(15, 15, 18, 0.45);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.team-crest {
  width: 62%;
  height: auto;
  aspect-ratio: 1; /* caixa quadrada: escudos altos ou largos não deformam o círculo */
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.12));
  transition: transform var(--t-slow) var(--ease);
}
.team-crest--initials {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  color: var(--black);
  letter-spacing: 0.02em;
  filter: none;
}
.team-chip__name { font-size: 14.5px; font-weight: 600; text-align: center; transition: color var(--t-fast); }
.team-chip:hover .team-chip__circle { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 30px -14px rgba(201, 138, 18, 0.65); }
.team-chip:hover .team-crest { transform: scale(1.08) rotate(-4deg); }
.team-chip:hover .team-chip__name { color: var(--gold-dark); }
.team-chip:active .team-chip__circle { transform: scale(0.96); }
.team-chip.is-active .team-chip__circle { border-color: var(--gold); box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--ink); }
.team-chip.is-active .team-chip__name { font-weight: 800; }

/* Barra de rolagem dos escudos */
.team-rail__bar {
  position: relative;
  height: 6px;
  margin-top: 22px;
  border-radius: 6px;
  background: var(--line);
  cursor: pointer;
  touch-action: none;
}
.team-rail__bar[hidden] { display: none; }
.team-rail__bar::before { content: ''; position: absolute; inset: -10px 0; } /* área de toque maior */
.team-rail__thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 6px;
  background: var(--gold);
  transition: background-color var(--t-fast), height var(--t-fast), top var(--t-fast);
  will-change: transform;
}
.team-rail__bar:hover .team-rail__thumb,
.team-rail__bar.is-dragging .team-rail__thumb { background: var(--gold-dark); height: 10px; top: -2px; }

/* Celular: o próximo escudo aparece cortado, indicando que dá para deslizar */
@media (max-width: 640px) {
  .team-chip { width: 26vw; }
  .team-rail__viewport::after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(-1 * var(--gutter));
    width: 48px;
    height: 26vw;
    background: linear-gradient(90deg, rgba(217, 205, 182, 0), var(--paper));
    pointer-events: none;
    transition: opacity var(--t);
  }
  .team-rail__viewport.is-end::after { opacity: 0; }
}

.catalog-subtitle { font-size: clamp(30px, 4vw, 44px); margin-bottom: 22px; }
.catalog-more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

/* Cabeçalho da página do time */
.page-hero__heading { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); }
.page-hero__crest {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(76px, 10vw, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f6f4ef 100%);
  border: 3px solid var(--gold);
  animation: hero-visual-in 700ms var(--ease) both;
}
.page-hero__crest .team-crest--initials { font-size: clamp(22px, 2.6vw, 32px); }

/* ---------- Página do produto ---------- */
.section--product { padding-top: clamp(24px, 3vw, 36px); }
.section--product .breadcrumb { margin-bottom: 24px; }
.section--product .breadcrumb span { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }

/* Galeria */
.gallery { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery__main {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, var(--media-light) 0%, var(--media-dark) 75%);
  border: 1px solid var(--line);
}
.gallery__main--empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: #b3ab9b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gallery__track { display: flex; height: 100%; transition: transform 560ms var(--ease); }
.gallery__slide { flex: 0 0 100%; height: 100%; overflow: hidden; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.gallery__slide.is-zoomed img { transform: scale(1.8); }
.gallery__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background-color var(--t-fast);
}
.gallery__nav--prev { left: 14px; transform: translateX(-8px); }
.gallery__nav--next { right: 14px; transform: translateX(8px); }
.gallery__main:hover .gallery__nav, .gallery__nav:focus-visible { opacity: 1; transform: none; }
.gallery__nav:hover { background: var(--gold); }
@media (hover: none) { .gallery__nav { opacity: 1; transform: none; } }
.gallery__counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.75);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.gallery__thumb {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--surface);
  opacity: 0.6;
  transition: opacity var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; transform: translateY(-2px); }
.gallery__thumb.is-active { opacity: 1; border-color: var(--ink); }

/* Informações */
.product-info { display: grid; gap: 14px; }
.product-info__top { display: flex; flex-wrap: wrap; gap: 8px; }
.product-info__team { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-top: 6px; }
.product-info__name { font-size: clamp(40px, 4.8vw, 64px); line-height: 0.95; }
.product-info__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-info__tags li { padding: 4px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--text-2); }
.product-info__price { font-size: 38px; margin-top: 4px; }
.product-info__price.price--pending {
  display: inline-flex;
  justify-self: start;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 14px;
}
.product-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--gold);
  background: var(--gold-soft);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.product-notice .icon { color: var(--gold-dark); fill: var(--gold); }
.product-info__desc { color: var(--text-2); font-size: 16px; max-width: 560px; }

.product-form {
  display: grid;
  gap: 22px;
  margin-top: 8px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}
.product-form__group { display: grid; gap: 12px; }
.product-form__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.product-form__hint { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); transition: color var(--t-fast); }
.product-form__hint.is-selected { color: var(--success); }
.product-form__hint.is-error { color: var(--danger); }
.product-form__row { display: flex; gap: 12px; flex-wrap: wrap; }
.product-form__submit { flex: 1; min-width: 220px; }

/* Personalização (nome e número) */
.custom-option {
  gap: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color var(--t-fast);
}
.custom-option.is-open { border-color: var(--ink); }
.custom-option.is-error { border-color: var(--danger); animation: shake 480ms var(--ease-in-out); }
.toggle { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: transparent;
  transition: all var(--t-fast) var(--ease);
}
.toggle input:checked + .toggle__box { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.toggle input:focus-visible + .toggle__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.toggle__label { flex: 1; font-weight: 700; font-size: 15px; }
.toggle__price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--gold-dark); white-space: nowrap; }
.custom-fields { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t) var(--ease); }
.custom-option.is-open .custom-fields { grid-template-rows: 1fr; }
.custom-fields__inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* nome em cima, número embaixo */
  gap: 12px;
  padding: 0 16px;
  transition: padding var(--t) var(--ease);
}
.custom-option.is-open .custom-fields__inner { padding: 2px 16px 16px; }
.field { display: grid; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.field input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color var(--t-fast);
}
.field input:focus { outline: none; border-color: var(--ink); }
.field input::placeholder { color: var(--muted); opacity: 0.6; }
.custom-fields__hint { font-size: 12.5px; color: var(--muted); }
.custom-option.is-error .custom-fields__hint { color: var(--danger); }

.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary .icon { transition: transform var(--t) var(--ease); }
.accordion__item[open] summary .icon { transform: rotate(180deg); }
.accordion__content { padding-bottom: 20px; font-size: 15px; animation: page-in 360ms var(--ease); }
.spec-list { display: grid; gap: 10px; }
.spec-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.spec-list .icon { color: var(--gold-dark); margin-top: 4px; }

.product-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 6px; }
.product-trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-2);
}
.product-trust .icon { flex-shrink: 0; color: var(--gold-dark); margin-top: 1px; }
.product-trust strong { display: block; font-size: 13px; color: var(--text); }

.section--related { padding-top: 0; }

/* ---------- Carrinho ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-layout__items {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px clamp(16px, 3vw, 28px);
}
.cart-layout__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.cart-layout__summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.summary-card__title { font-size: 28px; margin-bottom: 8px; }
.cart-summary__row--total { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.summary-card .btn--primary { margin-top: 10px; }

/* ---------- 404 ---------- */
.not-found { position: relative; }
.not-found__code {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(120px, 20vw, 240px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
  pointer-events: none;
  z-index: 0;
}
.not-found .empty-state { position: relative; margin-top: clamp(60px, 10vw, 120px); }
