/* =========================================================
   Panini — FIFA World Cup 2026™ Collection page
   ========================================================= */

:root {
  --red: #e30613;
  --red-dark: #b00510;
  --blue: #0a1d4a;
  --blue-light: #1a3580;
  --blue-mid: #1e40af;
  --gold: #d4af37;
  --gold-dark: #a48226;
  --silver: #c0c0c0;
  --yellow: #ffd400;
  --bg: #f4f5f8;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Promo bar ---------- */
.promo-bar {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
}
.promo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 20px;
}
.promo-bar__sep { opacity: .5; }

/* ---------- Header ---------- */
.header {
  background: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 20px;
}
.logo { display: inline-flex; align-items: center; }
.logo__img {
  height: 44px;
  width: auto;
  display: block;
}
.search {
  display: flex;
  align-items: center;
  border: 2px solid var(--blue);
  border-radius: 999px;
  overflow: hidden;
  height: 44px;
  max-width: 560px;
  width: 100%;
}
.search__input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 18px;
  font-size: 14px;
  height: 100%;
  background: transparent;
}
.search__btn {
  background: var(--blue);
  color: #fff;
  border: 0;
  height: 100%;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search__btn:hover { background: var(--blue-light); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  position: relative;
  transition: color .15s;
}
.header__action:hover { color: var(--red); }

/* Cart button + panel */
.cart-wrap { position: relative; }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #fff;
  border: 0;
  padding: 10px 14px 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  position: relative;
}
.cart-btn:hover { background: #1e293b; }
.cart-btn__total { font-size: 13px; font-weight: 700; }
.cart-badge {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  right: -8px;
  border: 2px solid #fff;
}

.cart-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 460px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
  padding: 24px;
  z-index: 110;
  display: none;
}
.cart-panel.is-open { display: block; }
.cart-panel::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 30px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  border-top: 1px solid rgba(0,0,0,.05);
  border-left: 1px solid rgba(0,0,0,.05);
}
.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cart-panel__head h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}
.cart-panel__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
  border-radius: 4px;
  transition: background .15s;
}
.cart-panel__close:hover { background: #f3f4f6; }
.cart-panel__items {
  max-height: 360px;
  overflow-y: auto;
}
.cart-panel__empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f3f7;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item__thumb {
  width: 76px;
  height: 76px;
  background: #f8f9fc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.cart-item__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cart-item__body { display: flex; flex-direction: column; gap: 10px; }
.cart-item__title {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  color: var(--text);
  line-height: 1.35;
}
.cart-item__title sup { color: var(--blue); font-size: 9px; }
.cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.cart-item__qty button {
  width: 30px;
  height: 32px;
  background: #fff;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
}
.cart-item__qty button:hover { background: #f3f4f6; }
.cart-item__qty span {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 6px 0;
}
.cart-item__trash {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.cart-item__trash:hover { color: var(--red); background: #fef2f2; }
.cart-item__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.cart-panel__foot {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 8px;
}
.cart-panel__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.cart-panel__total span { font-size: 15px; color: #374151; }
.cart-panel__total strong {
  font-size: 24px;
  font-weight: 800;
  color: #10b981;
}
.cart-panel__cta {
  display: block;
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background .15s;
}
.cart-panel__cta:hover { background: #1e293b; }

.mainnav {
  background: var(--red);
  color: #fff;
}
.mainnav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.mainnav__list::-webkit-scrollbar { display: none; }
.mainnav__link {
  display: inline-block;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: background .15s;
}
.mainnav__link:hover { background: rgba(0,0,0,.15); }
.mainnav__link--hot {
  background: var(--yellow);
  color: var(--blue);
}
.mainnav__link--hot:hover { background: #ffe04d; }
.mainnav__link--active { background: rgba(0,0,0,.2); }

/* ---------- Page title (mobile) ---------- */
.page-title-mobile { display: none; padding-top: 12px; padding-bottom: 4px; }
.page-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  margin: 0;
}

/* ---------- Filtros toggle (mobile) ---------- */
.filters-toggle-wrap { display: none; padding-top: 16px; }
.filters-toggle {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background .15s;
}
.filters-toggle:hover { background: var(--blue-light); }
.filters-toggle[aria-expanded="true"] { background: var(--blue-light); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb .container {
  padding-top: 12px;
  padding-bottom: 12px;
}
.breadcrumb a {
  color: var(--muted);
  transition: color .15s;
}
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb__sep { margin: 0 10px; opacity: .5; }
.breadcrumb__current { color: var(--blue); font-weight: 600; }

/* ---------- Hero banner oficial ---------- */
.wc-banner {
  background: #fff;
  padding: 0;
}
.wc-banner__link {
  display: block;
  line-height: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.wc-banner__link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}
.wc-banner__cta {
  background: linear-gradient(135deg, #0a1d4a 0%, #1e40af 100%);
  color: #fff;
}
.wc-banner__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}
.wc-banner__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.wc-banner__text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

/* ---------- (Legacy hero - kept for fallback) ---------- */
.wc-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top left, #1a3580 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, #b91c1c 0%, transparent 55%),
    linear-gradient(135deg, #0a1d4a 0%, #0a1430 50%, #1a0b2e 100%);
  color: #fff;
  min-height: 480px;
}
.wc-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wc-hero__shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: .35;
}
.wc-hero__shape--1 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -100px;
  right: -50px;
  opacity: .25;
}
.wc-hero__shape--2 {
  width: 300px;
  height: 300px;
  background: var(--red);
  bottom: -80px;
  left: 15%;
  opacity: .3;
}
.wc-hero__shape--3 {
  width: 250px;
  height: 250px;
  background: #0476f2;
  top: 30%;
  right: 35%;
  opacity: .25;
}
.wc-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.wc-hero__content { max-width: 640px; }
.wc-hero__eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(212,175,55,.4);
}
.wc-hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.05;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, #fff 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wc-hero__tagline {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  opacity: .95;
}
.wc-hero__text {
  font-size: 15px;
  opacity: .75;
  margin: 0 0 28px;
}
.wc-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mock album visual */
.wc-album {
  perspective: 1000px;
}
.wc-album__cover {
  width: 280px;
  height: 380px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.2), transparent 40%),
    linear-gradient(135deg, var(--gold) 0%, #f5d76e 40%, var(--gold-dark) 100%);
  border-radius: 8px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.5),
    0 0 0 4px rgba(255,255,255,.1),
    inset 0 0 0 2px rgba(255,255,255,.3);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #1a1a1a;
  transform: rotate(-4deg);
  transition: transform .3s ease;
  position: relative;
}
.wc-album__cover:hover { transform: rotate(-2deg) scale(1.02); }
.wc-album__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,.08) 12px 13px);
  border-radius: 8px;
  pointer-events: none;
}
.wc-album__small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  opacity: .7;
}
.wc-album__brand {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}
.wc-album__year {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(135deg, #1a1a1a, #4a3811);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wc-album__country {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  text-align: center;
  transition: transform .1s, background .15s, box-shadow .15s;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--yellow);
  color: var(--blue);
}
.btn--primary:hover {
  background: #ffe04d;
  box-shadow: 0 4px 12px rgba(255,212,0,.4);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a;
}
.btn--gold:hover {
  box-shadow: 0 6px 20px rgba(212,175,55,.5);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

/* ---------- Info strip ---------- */
.info-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.info-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 20px;
  text-align: center;
}
.info strong {
  display: block;
  font-size: 38px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.info span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Section title ---------- */
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  margin: 0;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}

/* ---------- Catalog layout ---------- */
.catalog {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 40px 20px;
}

/* Sidebar filters */
.catalog__sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  height: max-content;
  position: sticky;
  top: 168px;
}
.filter__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.filter {
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.filter:first-of-type { border-top: 0; padding-top: 0; }
.filter > summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter > summary::after {
  content: '+';
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
}
.filter[open] > summary::after { content: '−'; }
.filter > summary::-webkit-details-marker { display: none; }
.filter__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 4px;
}
.filter__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
}
.filter__check input { accent-color: var(--blue); }

/* Toolbar */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.toolbar__count { margin: 0; font-size: 14px; color: var(--muted); }
.toolbar__count strong { color: var(--blue); }
.toolbar__controls { display: flex; gap: 14px; flex-wrap: wrap; }
.toolbar__field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.toolbar__field select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
  outline: 0;
}
.toolbar__field select:focus { border-color: var(--blue); }

/* Catalog grid (3 cols inside catalog with sidebar) */
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Product card */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card__media {
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 16px;
}
.product-card__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}
.product-card:hover .product-card__img {
  transform: scale(1.05);
}
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: .5px;
}
.product-card__badge--new { background: var(--blue); }
.product-card__badge--pre { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1a1a; }

.product-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px;
}
.product-card__brand {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}
.product-card__price-row {
  margin-top: auto;
}
.product-card__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
}
.product-card__installments {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.product-card__buy {
  margin-top: 12px;
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 11px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  transition: background .15s;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-card__buy:hover { background: var(--red-dark); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.pag-btn {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  font-weight: 600;
  color: var(--text);
  padding: 0 14px;
  font-size: 14px;
  transition: all .15s;
}
.pag-btn:hover { border-color: var(--blue); color: var(--blue); }
.pag-btn--active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.pag-btn--next { background: var(--blue); color: #fff; border-color: var(--blue); }
.pag-btn--next:hover { background: var(--blue-light); color: #fff; }

/* ---------- About ---------- */
.about {
  padding: 24px 20px 40px;
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.about article {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--blue);
}
.about h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--blue);
}
.about p, .about li {
  font-size: 14px;
  color: #4a4a4a;
  margin: 0 0 8px;
}
.about ul {
  padding-left: 18px;
  margin: 8px 0 0;
}
.about ul li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq {
  padding: 24px 20px 56px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 0 20px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-item > summary {
  font-weight: 600;
  cursor: pointer;
  padding: 18px 0;
  font-size: 15px;
  color: var(--blue);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item > summary::after {
  content: '+';
  font-weight: 700;
  font-size: 22px;
  color: var(--red);
  transition: transform .2s;
}
.faq-item[open] > summary::after { content: '−'; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item p {
  font-size: 14px;
  color: #4a4a4a;
  margin: 0;
  padding: 0 0 18px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a1430;
  color: #cdd3e3;
  padding-top: 48px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}
.footer h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 15px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer a {
  font-size: 14px;
  transition: color .15s;
}
.footer a:hover { color: #fff; }
.payments { display: flex; flex-wrap: wrap; gap: 8px; }
.payment {
  background: #fff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;
  letter-spacing: .5px;
}
.social { display: flex; gap: 12px; }
.social a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .15s;
}
.social a:hover { background: var(--red); }
.footer__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  overflow: hidden;
  height: 38px;
  line-height: 0;
  transition: transform .15s, box-shadow .15s;
}
.footer__brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.footer__brand img {
  height: 100%;
  width: auto;
  display: block;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  font-size: 12px;
  color: #8b93ab;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Cart page (estilo Panini) ---------- */
.cart-page { padding-top: 24px; padding-bottom: 48px; }

/* Estado vazio */
.cart-empty {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 80px 24px;
  text-align: center;
}
.cart-empty svg { color: var(--muted); margin: 0 auto 16px; }
.cart-empty h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.cart-empty p { color: var(--muted); margin: 0 0 24px; }

/* Grid */
.cart-page__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: start;
}

/* ---- Coluna Produtos ---- */
.cart-products {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px 8px;
}
.cart-products__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
  gap: 16px;
  flex-wrap: wrap;
}
.cart-products__head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  display: inline-block;
}
.cart-products__head p {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 0 12px;
  vertical-align: middle;
}
.cart-clear {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.cart-clear:hover { background: #f9fafb; border-color: #d1d5db; }

/* Linha de produto */
.cart-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #f1f3f7;
}
.cart-row:last-child { border-bottom: 0; }

.cart-row__media {
  position: relative;
  width: 120px;
  height: 120px;
}
.cart-row__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f8f9fc;
  border-radius: 8px;
  padding: 10px;
}
.cart-row__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cart-row__fav {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  transition: color .15s;
}
.cart-row__fav:hover { color: var(--red); }

.cart-row__main { min-width: 0; }
.cart-row__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  display: block;
  margin-bottom: 14px;
  transition: color .15s;
}
.cart-row__title:hover { color: var(--blue); }
.cart-row__title .tm { color: var(--blue-mid); font-size: 11px; }

.cart-row__line {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  align-items: center;
  gap: 18px;
}
.cart-row__col { display: flex; flex-direction: column; }
.cart-row__label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.cart-row__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.cart-row__qty .qty-control { height: 44px; }
.cart-row__remove {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.cart-row__remove:hover {
  color: var(--red);
  border-color: var(--red);
  background: #fef2f2;
}

.cart-row__presale {
  background: #fff3a0;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 4px;
  margin-top: 14px;
  display: inline-block;
}

/* qty-control small (compartilhado) */
.qty-control--sm {
  height: 44px;
  border-radius: 8px;
}
.qty-control--sm button {
  width: 38px;
  font-size: 18px;
}
.qty-control--sm input {
  width: 48px;
  font-size: 14px;
}

/* ---- Coluna Resumo ---- */
.cart-summary {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 24px;
}
.cart-summary__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
}
.cart-summary__intro {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.55;
  margin: 0 0 22px;
}
.cart-summary__field { margin-bottom: 20px; }
.cart-summary__field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.coupon-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}
.coupon-form input {
  height: 48px;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  padding: 0 14px;
  font-size: 14px;
  background: #f9fafb;
  outline: 0;
}
.coupon-form input:focus { border-color: var(--blue); background: #fff; }
.coupon-form button {
  background: #0f172a;
  color: #fff;
  border: 0;
  padding: 0 26px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.coupon-form button:hover { background: #1e293b; }

.shipping-help {
  display: inline-block;
  font-size: 13px;
  color: #1f2937;
  text-decoration: underline;
  margin-top: 10px;
}
.shipping-msg {
  margin-top: 12px;
  font-size: 13px;
}
.shipping-msg--error { color: #b91c1c; }
.coupon-msg {
  margin: 8px 0 0;
  font-size: 13px;
}
.coupon-msg--ok { color: #047857; }
.coupon-msg--error { color: #b91c1c; }

/* Opções de frete */
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.ship-opt {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.ship-opt:has(input:checked) { border-color: var(--blue); background: #f5f7ff; }
.ship-opt input { accent-color: var(--blue); }
.ship-opt__name small { color: var(--muted); margin-left: 4px; }
.ship-opt__price { font-weight: 700; color: var(--text); }

/* Totais */
.cart-summary__totals {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-bottom: 22px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: #4b5563;
}
.sum-row .sum-discount { color: #047857; }
.sum-row--total {
  margin-top: 18px;
  padding-top: 0;
  align-items: flex-start;
}
.sum-row--total span:first-child {
  font-size: 16px;
  color: #6b7280;
}
.sum-row--total > div { text-align: right; }
.sum-row--total strong {
  font-size: 28px;
  font-weight: 900;
  color: #10b981;
  display: block;
  line-height: 1.1;
}
.sum-row--total small {
  font-size: 13px;
  color: #10b981;
  font-weight: 600;
}

/* CTAs */
.cart-summary__cta {
  display: block;
  width: 100%;
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 18px;
  border-radius: 8px;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background .15s;
}
.cart-summary__cta:hover { background: #1e293b; }
.cart-summary__continue {
  display: block;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  text-align: center;
  padding: 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: background .15s;
}
.cart-summary__continue:hover { background: #f9fafb; }

/* ---------- Checkout page ---------- */
.page-checkout { background: #f4f5f8; }
.checkout-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.checkout-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkout-header__secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.checkout-header__secure svg { color: #10b981; }

/* Steps */
.steps {
  list-style: none;
  margin: 32px 0 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.steps__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  position: relative;
}
.steps__item:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 2px;
  background: #d1d5db;
  margin: 0 18px;
}
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #d1d5db;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.steps__item--done .steps__num {
  background: #10b981;
}
.steps__item--done .steps__label { color: var(--text); }
.steps__item--done:not(:last-child)::after { background: #10b981; }
.steps__item--active .steps__num {
  background: var(--blue);
}
.steps__item--active .steps__label { color: var(--blue); font-weight: 700; }

/* Layout */
.checkout-page {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 48px;
  align-items: start;
}
.checkout-main { display: flex; flex-direction: column; gap: 16px; }

.checkout-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.checkout-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.checkout-card__head h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.checkout-card__edit {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.address-box {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
  padding: 14px 16px;
  background: #f8f9fc;
  border-radius: 8px;
}
.address-form {
  background: #f8f9fc;
  border-radius: 8px;
  padding: 18px;
}
.address-form .reg-field { margin-bottom: 12px; }
.address-form .reg-field input,
.address-form .reg-field select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  outline: 0;
}
.address-form .reg-field input:focus,
.address-form .reg-field select:focus { border-color: var(--blue); }
.address-form .reg-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.address-form .reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.address-form__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.btn-save-addr {
  flex: 1;
  background: var(--blue);
  color: #fff;
  border: 0;
  height: 44px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.btn-save-addr:hover { background: var(--blue-light); }
.btn-cancel-addr {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.btn-cancel-addr:hover { background: #f9fafb; }

/* Métodos de pagamento */
.pay-methods {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.pay-method {
  display: grid;
  grid-template-columns: 20px auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pay-method:has(input:checked) {
  border-color: var(--blue);
  background: #f5f7ff;
}
.pay-method input { accent-color: var(--blue); }
.pay-method__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.pay-method__icon--pix img,
.pix-modal__brand img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(80%) saturate(370%) hue-rotate(127deg) brightness(89%) contrast(85%);
}
.pay-method__info { display: flex; flex-direction: column; }
.pay-method__info strong { font-size: 15px; color: var(--text); }
.pay-method__info small { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pix-discount { color: #10b981; font-weight: 700; }

/* Painéis */
.pay-panel {
  background: #f8f9fc;
  border-radius: 8px;
  padding: 22px;
}

/* PIX */
.pix-info {
  display: block;
}
.pix-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--blue);
}
.pix-info ol {
  font-size: 13px;
  color: #374151;
  line-height: 1.7;
  padding-left: 18px;
  margin: 0 0 12px;
}
.pix-tag {
  font-size: 13px;
  color: #047857;
  font-weight: 600;
  margin: 0;
}
.pix-qr {
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Card form */
.card-form { display: flex; flex-direction: column; }

/* Boleto */
.boleto-info {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

/* Resumo do checkout */
.checkout-summary {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  position: sticky;
  top: 24px;
}
.checkout-summary__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px;
}
.checkout-summary__items {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.co-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f7;
}
.co-item:last-child { border-bottom: 0; }
.co-item__thumb {
  width: 64px;
  height: 64px;
  background: #f8f9fc;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.co-item__thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.co-item__qty {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
.co-item__title {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--text);
  line-height: 1.35;
}
.co-item__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.checkout-summary__totals { margin-bottom: 18px; }
.checkout-summary__totals .sum-row { font-size: 14px; }
.checkout-summary__totals .sum-row--total strong { font-size: 22px; }

.checkout-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.trust-item svg { color: #10b981; }

/* Modal PIX */
.modal__box--pix {
  max-width: 460px;
  text-align: center;
  padding: 32px 32px 28px;
}
.pix-modal__head { margin-bottom: 20px; }
.pix-modal__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e6f9f5;
  color: #1a7f6e;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pix-modal__head h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.pix-modal__amount {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.pix-modal__amount span {
  font-size: 12px;
  color: #047857;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pix-modal__amount strong {
  font-size: 32px;
  font-weight: 900;
  color: #047857;
  line-height: 1;
}
.pix-modal__amount small { font-size: 11px; color: #065f46; }

.pix-modal__qr {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: inline-block;
  margin-bottom: 12px;
}
.pix-modal__qr canvas {
  display: block;
  image-rendering: pixelated;
  width: 240px;
  height: auto;
}
.pix-modal__scan {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}
.pix-modal__recipient {
  font-size: 12px;
  color: #1a7f6e;
  background: #ecfdf5;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0 0 16px;
}
.pix-modal__recipient code {
  background: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--text);
}
.pix-modal__divider {
  position: relative;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
}
.pix-modal__divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.pix-modal__divider span {
  position: relative;
  background: #fff;
  padding: 0 12px;
}
.pix-modal__code {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  margin-bottom: 14px;
}
.pix-modal__code input {
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  padding: 0 12px;
  height: 42px;
  font-size: 12px;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, monospace;
  outline: 0;
  background: #f9fafb;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pix-modal__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  border: 0;
  height: 42px;
  padding: 0 16px;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.pix-modal__copy:hover { background: var(--blue-light); }
.pix-modal__copy.is-copied { background: #10b981; }

.pix-modal__timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #92400e;
  background: #fef3c7;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.pix-modal__timer strong { font-weight: 700; }

.modal__box--pix .login-submit {
  margin-bottom: 22px;
}

.pix-modal__steps {
  text-align: left;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  padding-left: 20px;
  margin: 0;
}

/* Processando pagamento */
.modal__box--processing {
  max-width: 420px;
  text-align: center;
  padding: 40px 32px 32px;
}
.processing-spinner {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 5px solid #e5e7eb;
  border-top-color: var(--blue);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
}
.processing-text {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
  min-height: 20px;
}
.processing-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
  background: #f9fafb;
  border-radius: 8px;
  padding: 14px 18px;
}
.processing-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  transition: color .2s;
}
.processing-steps li .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.processing-steps li.is-active {
  color: var(--blue);
  font-weight: 600;
}
.processing-steps li.is-active .dot {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(10,29,74,.15);
  animation: pulse 1s ease-in-out infinite;
}
.processing-steps li.is-done {
  color: #047857;
}
.processing-steps li.is-done .dot {
  background: #10b981;
}
.processing-steps li.is-done .dot::after {
  content: '✓';
  display: block;
  text-align: center;
  color: #fff;
  font-size: 8px;
  line-height: 10px;
  font-weight: 700;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(10,29,74,.15); }
  50%      { box-shadow: 0 0 0 8px rgba(10,29,74,.05); }
}
.processing-warn {
  font-size: 12px;
  color: #92400e;
  background: #fef3c7;
  padding: 8px 14px;
  border-radius: 6px;
  margin: 0;
  display: inline-block;
}

/* Pagamento negado (cartão) */
.modal__box--denied {
  max-width: 460px;
  text-align: center;
  padding: 36px 32px 28px;
}
.denied-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #fee2e2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.denied-title {
  font-size: 22px;
  font-weight: 800;
  color: #991b1b;
  margin: 0 0 8px;
}
.denied-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
  margin: 0 0 22px;
}
.denied-suggestion {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
  text-align: left;
}
.denied-suggestion .pix-modal__brand {
  margin-bottom: 6px;
}
.denied-suggestion p {
  margin: 0;
  font-size: 13px;
  color: #065f46;
  line-height: 1.5;
}
.denied-suggestion p strong { color: #047857; }
.modal__box--denied .login-submit {
  background: var(--blue);
  margin-bottom: 10px;
}
.denied-retry {
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.denied-retry:hover { background: #f9fafb; }

/* Sucesso */
.success-icon { margin: 8px auto 18px; }
.success-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--text);
}
.success-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 22px;
}

/* Checkout responsive */
@media (max-width: 950px) {
  .checkout-page { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .steps__item:not(:last-child)::after { width: 30px; margin: 0 10px; }
}
@media (max-width: 600px) {
  .pix-info { grid-template-columns: 1fr; text-align: center; }
  .pix-qr { justify-self: center; }
  .steps__item { gap: 6px; }
  .steps__item:not(:last-child)::after { width: 18px; margin: 0 6px; }
  .steps__label { font-size: 12px; }
}

/* ---------- Modal (Login) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  animation: fadeIn .2s ease;
}
.modal__box {
  position: relative;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 520px;
  padding: 36px 40px 32px;
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
  animation: scaleIn .2s ease;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.modal__close:hover { background: #f3f4f6; }
.modal__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 14px;
}
.modal__divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 24px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* Login form */
.login-form { text-align: center; }
.login-form__intro {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 24px;
}
.login-field {
  text-align: left;
  margin-bottom: 16px;
}
.login-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.login-field .req { color: var(--red); }
.login-field input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 14px;
  font-size: 14px;
  outline: 0;
  background: #fff;
  transition: border-color .15s;
}
.login-field input::placeholder { color: #9ca3af; }
.login-field input:focus { border-color: var(--blue); }

.login-keep {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  margin: 4px 0 20px;
  cursor: pointer;
  text-align: left;
}
.login-keep input { accent-color: var(--blue); }

.login-submit {
  display: block;
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 14px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 14px;
  transition: background .15s;
}
.login-submit:hover { background: var(--blue-light); }

.login-forgot {
  display: block;
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 13px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 18px;
  transition: background .15s;
  text-align: center;
}
.login-forgot:hover { background: #f9fafb; }

.login-signup {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.login-signup a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

/* Modal grande (registro) — scrollável */
.modal__box--lg {
  max-width: 640px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

/* Registro form */
.register-form { text-align: left; }
.register-form__intro {
  font-size: 14px;
  color: var(--text);
  text-align: center;
  margin: 0 0 8px;
}
.register-form__sub {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 0 0 22px;
}

.reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.reg-field {
  margin-bottom: 14px;
}
.reg-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.reg-field .req { color: var(--red); }
.reg-field input,
.reg-field select {
  width: 100%;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0 10px;
  font-size: 14px;
  outline: 0;
  background: #fff;
  transition: border-color .15s;
  font-family: inherit;
}
.reg-field input:focus,
.reg-field select:focus { border-color: var(--blue); }

.reg-consent {
  margin-top: 12px;
  padding-top: 8px;
}
.reg-consent__intro {
  font-size: 13px;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.55;
}
.reg-consent__label {
  font-size: 13px;
  color: var(--text);
  margin: 14px 0 6px;
}
.reg-consent__label strong { font-weight: 700; }
.reg-consent__label a,
.reg-consent__text a,
.reg-check a { color: var(--blue); text-decoration: underline; }
.reg-consent__text {
  font-size: 12px;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 10px;
}

.reg-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
  cursor: pointer;
}
.reg-radio input { accent-color: var(--blue); }

.reg-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  margin: 10px 0;
  cursor: pointer;
  line-height: 1.45;
}
.reg-check input { accent-color: var(--blue); margin-top: 3px; }

.register-form .login-submit {
  margin-top: 20px;
  width: 100%;
}

.reg-section {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  margin: 24px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.reg-cep-help {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 10px;
}
.reg-cep-help a {
  font-size: 13px;
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .modal__box { padding: 32px 24px 24px; }
  .reg-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Product page ---------- */
.product-page {
  padding-top: 32px;
  padding-bottom: 40px;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
}

/* Gallery */
.product-gallery__main {
  background: #f8f9fc;
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.product-gallery__main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.thumb {
  width: 72px;
  height: 72px;
  background: #f8f9fc;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  padding: 6px;
  transition: border-color .15s;
}
.thumb.is-active { border-color: var(--blue); }
.thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Info */
.product-info__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.product-info__tag--presale {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a;
}
.product-info__tag--stock {
  background: #d1fae5;
  color: #065f46;
}
.product-info__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.2;
}
.product-info__sku {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}

.product-info__price {
  background: #f8f9fc;
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.product-info__price-now {
  font-size: 36px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}
.product-info__installments {
  font-size: 14px;
  color: #4a4a4a;
  margin-top: 6px;
}
.product-info__pix {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.product-info__pix strong {
  font-size: 22px;
  font-weight: 800;
  color: #10b981;
  display: inline-block;
  margin-right: 8px;
}
.product-info__pix span {
  font-size: 13px;
  color: var(--muted);
}

.product-info__presale {
  font-size: 13px;
  color: #92400e;
  background: #fef3c7;
  padding: 12px 14px;
  border-radius: var(--radius);
  margin: 0 0 20px;
  border-left: 4px solid var(--gold);
}

.product-info__buy {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  align-items: stretch;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  height: 52px;
}
.qty-control button {
  width: 44px;
  height: 100%;
  background: #fff;
  border: 0;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  transition: background .15s;
}
.qty-control button:hover { background: #f3f4f6; }
.qty-control input {
  width: 56px;
  height: 100%;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  outline: 0;
}
.btn-add {
  flex: 1;
  background: var(--red);
  color: #fff;
  border: 0;
  height: 52px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .15s;
}
.btn-add:hover { background: var(--red-dark); }

/* Shipping */
.product-info__shipping {
  background: #f8f9fc;
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.product-info__shipping h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 12px;
}
.shipping-form {
  display: flex;
  gap: 8px;
}
.shipping-form input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 14px;
  font-size: 14px;
  background: #fff;
  outline: 0;
}
.shipping-form input:focus { border-color: var(--blue); }
.shipping-form button {
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.shipping-help {
  display: inline-block;
  font-size: 12px;
  color: var(--blue);
  text-decoration: underline;
  margin-top: 8px;
}
.shipping-result {
  margin-top: 12px;
  font-size: 13px;
  color: #374151;
}

/* Share */
.product-info__share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-info__share span {
  font-size: 13px;
  color: var(--muted);
  margin-right: 4px;
}
.product-info__share a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 999px;
  color: var(--blue);
  transition: background .15s, color .15s;
}
.product-info__share a:hover { background: var(--blue); color: #fff; }

/* Sections */
.product-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 20px;
}
.product-section__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.product-section__body p {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin: 0;
}

/* Specs table */
.product-specs {
  width: 100%;
  border-collapse: collapse;
}
.product-specs th, .product-specs td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.product-specs th {
  width: 220px;
  background: #f8f9fc;
  color: var(--blue);
  font-weight: 600;
}
.product-specs td { color: #374151; }
.product-specs tr:last-child th, .product-specs tr:last-child td { border-bottom: 0; }

/* Related */
.product-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.related-card__media {
  background: #f8f9fc;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.related-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.related-card__body {
  padding: 12px;
}
.related-card__brand {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.related-card__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.related-card__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue);
}

/* Product card title link */
.product-card__title-link { color: inherit; }
.product-card__title-link:hover .product-card__title { color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .catalog { grid-template-columns: 220px 1fr; gap: 20px; }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip__inner { grid-template-columns: repeat(4, 1fr); }
  .product-related__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 950px) {
  .product-grid { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .product-related__grid { grid-template-columns: repeat(2, 1fr); }
  .cart-page__grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 700px) {
  .cart-row { grid-template-columns: 90px 1fr; gap: 14px; }
  .cart-row__media { width: 90px; height: 90px; }
  .cart-row__line {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cart-row__qty { grid-column: 1 / -1; }
  .cart-row__remove { position: absolute; top: 0; right: 0; }
  .cart-row__main { position: relative; padding-right: 56px; }
}
@media (max-width: 900px) {
  .header__inner {
    grid-template-columns: auto auto;
    row-gap: 14px;
  }
  .search {
    grid-column: 1 / -1;
    order: 3;
    max-width: 100%;
  }
  .header__actions { gap: 14px; }
  .header__action span { display: none; }
  .wc-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .wc-hero__content { margin: 0 auto; }
  .wc-hero__actions { justify-content: center; }
  .wc-album { display: flex; justify-content: center; }
  .info-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .catalog { grid-template-columns: 1fr; }
  .catalog__sidebar { position: static; }
  .about__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  /* Página título e botão filtros visíveis */
  .page-title-mobile { display: block; }
  .filters-toggle-wrap { display: block; }

  /* Sidebar colapsada por padrão no mobile */
  .catalog__sidebar {
    display: none;
    margin-bottom: 16px;
  }
  .catalog__sidebar.is-open { display: block; }

  /* Toolbar adaptada — só mostra contagem e ordenação, sem exibir */
  .toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .toolbar__controls { flex-direction: column; gap: 10px; }
  .toolbar__field { display: flex; }
  .toolbar__field select { flex: 1; padding: 12px; }
}
@media (max-width: 600px) {
  .promo-bar__inner { font-size: 12px; gap: 6px; }
  .promo-bar__sep { display: none; }
  .wc-hero__title { font-size: 36px; }
  .wc-album__cover { width: 220px; height: 300px; }
  .wc-album__brand { font-size: 44px; }
  .wc-album__year { font-size: 56px; }
  .catalog__grid { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar__controls { justify-content: space-between; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}
