/* ═══════════════════════════════════════
   AGATA KIDS — Estilos Principais
   Paleta: Branco · Amarelo · Preto · Rosa
═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito:wght@300;400;500;600;700;800&display=swap');

:root {
  --pink:        #F472B6;
  --pink-light:  #FDF2F8;
  --pink-dark:   #BE185D;
  --yellow:      #FBBF24;
  --yellow-light:#FFFBEB;
  --yellow-dark: #D97706;
  --header-background:#FFFFFF;
  --black:       #1A1A1A;
  --gray-900:    #111827;
  --gray-700:    #374151;
  --gray-500:    #6B7280;
  --gray-300:    #D1D5DB;
  --gray-100:    #F3F4F6;
  --white:       #FFFFFF;
  --success:     #10B981;
  --error:       #EF4444;
  --warning:     #F59E0B;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --shadow-pink: 0 4px 20px rgba(244,114,182,.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: .2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Utilitários ─────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* ── Tipografia ──────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 40px;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-pink { background: var(--pink); color: white; }
.badge-yellow { background: var(--yellow); color: var(--black); }
.badge-black { background: var(--black); color: white; }

/* ── Botões ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 700;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink);
  color: white;
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(244,114,182,.35); }
.btn-secondary {
  background: var(--black);
  color: white;
}
.btn-secondary:hover { background: var(--gray-900); transform: translateY(-1px); }
.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--pink);
  color: var(--pink);
}
.btn-outline:hover { background: var(--pink); color: white; }
.btn-ghost {
  background: var(--gray-100);
  color: var(--black);
}
.btn-ghost:hover { background: var(--gray-300); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Header ──────────────────────────── */
.header {
  position: relative;
  background: var(--header-background);
}
.top-promo-bar {
  position: static;
  z-index: 1;
  background: white;
}
.main-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 160;
  background: var(--header-background);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.main-header-wrapper.is-stuck {
  box-shadow: 0 6px 20px rgba(17, 24, 39, .08);
}
.header-top {
  background: var(--black);
  color: white;
  text-align: center;
  padding: 8px 46px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  position: relative;
  overflow: hidden;
}
.header-top span { color: var(--yellow); margin: 0 4px; }
.newsbar-track { display: flex; transition: transform .35s ease; }
.newsbar-item { flex: 0 0 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.newsbar-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: white;
  opacity: .75;
  display: grid;
  place-items: center;
}
.newsbar-nav:hover { opacity: 1; background: rgba(255,255,255,.12); }
.newsbar-prev { left: 10px; }
.newsbar-next { right: 10px; }
.header-promo-banner {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 220;
  max-height: 120px;
  overflow: hidden;
  background: white;
}
.header-promo-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.header-main {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 20px;
  max-width: 1240px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 220px; height: 116px;
  background: transparent;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; background: transparent; }
.logo-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.1; }
.logo-sub { font-size: .65rem; color: var(--gray-500); letter-spacing: .1em; text-transform: uppercase; }

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 11px 48px 11px 18px;
  border: 2px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-xl);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition);
}
.header-search input:focus { border-color: var(--pink); }
.header-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 1.1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.header-action {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: background var(--transition);
  color: var(--black);
}
.header-action:hover { background: var(--pink-light); color: var(--pink); }
.ui-icon { width: 1.35em; height: 1.35em; display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.header-account-action { width: auto; min-width: 174px; padding: 0 14px; border-radius: 12px; gap: 10px; justify-content: flex-start; }
.header-account-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; white-space: nowrap; }
.header-account-copy small { font-size: .68rem; font-weight: 500; color: var(--gray-500); }
.header-account-copy strong { font-size: .78rem; font-weight: 750; }
.admin-nav-item .ui-icon { width: 18px; height: 18px; }
.admin-title .ui-icon { width: 25px; height: 25px; margin-right: 7px; }
.header-action .badge-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  background: var(--pink);
  color: white;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* Nav */
.nav {
  border-top: 1px solid var(--gray-100);
  background: var(--header-background);
  max-height: 64px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .24s ease, opacity .18s ease, border-color .18s ease;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 12px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--pink); border-bottom-color: var(--pink); }
.nav-link.promo { color: var(--pink-dark); }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 220;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #12B76A;
  color: white;
  box-shadow: 0 10px 28px rgba(18, 183, 106, .32);
  font-size: .86rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(18, 183, 106, .4);
}
.whatsapp-float span { font-size: 1rem; }

/* Mobile menu */
.burger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}
@media (min-width: 681px) {
  .header-main > .burger {
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
  }
  .main-header-wrapper.is-stuck .burger {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .main-header-wrapper.is-stuck:not(.nav-open) .nav { max-height:0;opacity:0;border-top-color:transparent;pointer-events:none; }
  .main-header-wrapper.is-stuck.nav-open .nav { max-height:64px;opacity:1;pointer-events:auto; }
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: white;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }

/* ── Hero Banner ─────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, #FDF2F8 0%, #FFFBEB 50%, #FDF2F8 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F472B6' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: white;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--black);
}
.hero-title em {
  font-style: normal;
  color: var(--pink);
}
.hero-description {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 420px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-decor {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-decor-circle {
  width: 400px; height: 400px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink) 0%, var(--yellow) 100%);
  opacity: .12;
  position: absolute;
  right: -80px;
}
.hero-decor-stars {
  position: absolute;
  font-size: 1.5rem;
  top: 20%; right: 20%;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-badges {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
}
.hero-badge span { font-size: 1rem; }

.home-banner-stack {
  background: white;
  padding: 24px 0;
  overflow: hidden;
}
.home-banner-stack .container {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  padding: 0;
}
.banner-section,
.carousel-slide,
.banner-picture {
  width: 100%;
  display: block;
  overflow: hidden;
}
.banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
.home-banner-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 0 34px;
}
.home-banner-carousel .container {
  display: flex;
  gap: 0;
  overflow: visible;
  transition: transform .4s ease;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
}
.home-banner-carousel .container::-webkit-scrollbar { display: none; }
.home-banner-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: white;
  min-height: 0;
  aspect-ratio: 1920 / 700;
}
.home-banner-carousel .home-banner-item {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1920 / 700;
  border-radius: 0;
  box-shadow: none;
  scroll-snap-align: center;
}
.home-banner-item .banner-picture,
.home-banner-item img,
.home-banner-item video {
  display: block;
  width: 100%;
  height: 100%;
}
.home-banner-item img,
.home-banner-item video {
  object-fit: contain;
  object-position: center;
  background: white;
}
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-md);
  font-size: 1.8rem;
  color: var(--black);
  display: grid;
  place-items: center;
  transition: transform .2s, background .2s;
}
.banner-nav:hover { background: white; transform: translateY(-50%) scale(1.05); }
.banner-nav-prev { left: 18px; }
.banner-nav-next { right: 18px; }
.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.banner-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gray-300);
  transition: width .2s, background .2s;
}
.banner-dots button.active {
  width: 28px;
  background: var(--pink);
}
.home-banner-caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  display: grid;
  gap: 4px;
  max-width: min(440px, calc(100% - 48px));
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.9);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}
.home-banner-caption strong { font-family: var(--font-display); font-size: 1.25rem; }
.home-banner-caption small { color: var(--gray-600); }
.home-banner-caption em { color: var(--pink-dark); font-style: normal; font-weight: 800; }

@media (max-width: 768px) {
  .home-banner-stack {
    padding: 14px 0;
  }
  .home-banner-item,
  .home-banner-carousel .home-banner-item {
    aspect-ratio: 1920 / 700;
  }
  .home-banner-item.home-banner-item--mobile-art,
  .home-banner-carousel .home-banner-item.home-banner-item--mobile-art {
    aspect-ratio: 4 / 5;
  }
  .home-banner-item--mobile-art img {
    object-fit: cover;
  }
  .banner-nav {
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
  }
  .banner-nav-prev { left: 10px; }
  .banner-nav-next { right: 10px; }
  .home-banner-caption {
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 10px 12px;
  }
}

.mini-banners-section {
  background: white;
  padding: 22px 0;
}
.mini-banners-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: stretch;
}
.mini-banner {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.mini-banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.mini-banner picture,
.mini-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.mini-banner img {
  object-fit: contain;
  background: white;
  image-rendering: auto;
}
.mini-banner-full { grid-column: span 12; }
.mini-banner-half,
.mini-banner-grid-2 { grid-column: span 6; }
.mini-banner-third,
.mini-banner-grid-3 { grid-column: span 4; }

.position-banners-section {
  background: white;
  padding: 0;
  overflow: hidden;
}
.position-banners-section .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}
.position-banners-list {
  display: grid;
  gap: 0;
}
.position-banner {
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: white;
  box-shadow: none;
  aspect-ratio: 1920 / 600;
  transition: transform var(--transition), box-shadow var(--transition);
}
.position-banner[href]:hover {
  transform: none;
  box-shadow: none;
}
.position-banner-picture,
.position-banner img {
  display: block;
  width: 100%;
  height: 100%;
}
.position-banner img {
  object-fit: contain;
  object-position: center;
  background: white;
  image-rendering: auto;
}

.custom-home-cards {
  background: white;
}
.custom-home-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.custom-home-card-grid.custom-home-card-free {
  display: block;
  position: relative;
  min-height: 280px;
}
.custom-home-card-grid.custom-home-card-free .custom-home-card {
  position: absolute;
  left: var(--card-x, 0%);
  top: var(--card-y, 0%);
  width: min(280px, calc(100% - 24px));
}
.custom-home-card {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: var(--card-color);
  box-shadow: var(--shadow-sm);
  color: var(--black);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.custom-home-card[href]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.custom-home-card strong {
  font-family: var(--card-title-font, var(--font-display));
  font-size: 1.35rem;
}
.custom-home-card span {
  font-family: var(--card-text-font, var(--font-body));
  color: var(--gray-600);
  line-height: 1.5;
}
.custom-home-card-circle { border-radius: 999px; aspect-ratio: 1; align-items: center; text-align: center; }
.custom-home-card-rounded { border-radius: 18px; }
.custom-home-card-square { border-radius: 4px; }
.custom-home-card-left { text-align: left; align-items: flex-start; }
.custom-home-card-center { text-align: center; align-items: center; }
.custom-home-card-right { text-align: right; align-items: flex-end; }

/* ── Categorias ──────────────────────── */
.categories-grid {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  overflow-x: auto;
  padding: 18px 4px 16px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
.category-card {
  flex: 0 0 var(--cat-card-width, 190px);
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition);
  scroll-snap-align: center;
}
.category-card:hover { transform: translateY(-4px); }
.category-visual {
  position: relative;
  width: var(--cat-visual-size, 172px);
  height: var(--cat-visual-size, 172px);
  margin: 0 auto 14px;
  overflow: visible;
  isolation: isolate;
  --cat-img-box: var(--cat-visual-size, 172px);
}
.category-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--cat-bg-width, 132px);
  height: var(--cat-bg-height, 132px);
  transform: translate(-50%, -50%) scale(var(--cat-bg-scale, 1));
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(17,24,39,.04);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.category-bg-circle { border-radius: 50%; }
.category-bg-square { border-radius: var(--cat-bg-radius, 10px); }
.category-bg-rect { border-radius: var(--cat-bg-radius, 18px); }
.category-bg-rounded { border-radius: var(--cat-bg-radius, 30px); }
.category-bg-oval { border-radius: 50%; }
.category-bg-blob { border-radius: 45% 55% 48% 52% / 58% 44% 56% 42%; }
.category-bg-custom {
  border-radius: var(--cat-bg-radius, 0px);
  box-shadow: none;
}
.category-mask {
  position: absolute;
  z-index: 2;
  left: calc(50% - var(--cat-bg-half-width, 66px) - var(--cat-over-left, 72px));
  top: calc(50% - var(--cat-bg-half-height, 66px) - var(--cat-over-top, 72px));
  width: calc(var(--cat-bg-width, 132px) + var(--cat-over-left, 72px) + var(--cat-over-right, 72px));
  height: calc(var(--cat-bg-height, 132px) + var(--cat-over-top, 72px) + var(--cat-over-bottom, 72px));
  overflow: hidden;
  pointer-events: none;
}
.category-image {
  position: absolute;
  left: calc(var(--cat-over-left, 72px) + var(--cat-bg-half-width, 66px) + var(--cat-x, 0px));
  top: calc(var(--cat-over-top, 72px) + var(--cat-bg-half-height, 66px) + var(--cat-y, -4px));
  width: var(--cat-img-box);
  height: var(--cat-img-box);
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%) scale(var(--cat-scale, 1.12));
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(17,24,39,.08));
}
.category-visual-emoji {
  display: grid;
  place-items: center;
}
.category-emoji {
  position: relative;
  z-index: 2;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.category-name {
  font-size: .96rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.25;
  text-align: center;
}

/* ── Product Cards ───────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .25s ease;
}
.product-card-hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .product-card-primary-img { opacity: 0; transform: scale(1.03); }
.product-card:hover .product-card-hover-img { opacity: 1; transform: scale(1.03); }
.product-card:hover .product-card-img img:not(.product-card-hover-img):not(.product-card-primary-img) { transform: scale(1.05); }
.product-card-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-card-wishlist {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  color: var(--gray-400, #9ca3af);
  transition: all var(--transition);
}
.product-card-wishlist:hover { color: var(--pink); transform: scale(1.1); }
.product-card-wishlist.active { color: var(--pink); background: var(--pink-light); }
.product-card-wishlist.active .ui-icon { fill: currentColor; }
.product-card-body { padding: 14px; }
.product-category { font-size: .75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.product-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.stars { color: var(--yellow); font-size: .85rem; }
.rating-count { font-size: .78rem; color: var(--gray-500); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price-current { font-size: 1.15rem; font-weight: 800; color: var(--pink-dark); }
.price-original { font-size: .85rem; color: var(--gray-500); text-decoration: line-through; }
.price-discount { font-size: .75rem; font-weight: 700; color: var(--success); }
.btn-add-cart {
  width: 100%;
  padding: 10px;
  background: var(--black);
  color: white;
  border-radius: var(--radius-md);
  font-size: .85rem;
  font-weight: 700;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-add-cart:hover { background: var(--pink); }
.product-card-sizes {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.size-pill {
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--gray-300);
  font-size: .7rem;
  font-weight: 600;
  color: var(--gray-600, #4b5563);
}

/* ── Produto Único ───────────────────── */
.product-page { padding: 40px 0 80px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb-sep { color: var(--gray-300); }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Galeria */
.gallery { position: sticky; top: 90px; }
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-100);
  margin-bottom: 12px;
  position: relative;
}
.gallery-zoom-btn {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
  z-index: 2;
  transition: transform var(--transition), background var(--transition);
}
.gallery-zoom-btn:hover {
  transform: scale(1.05);
  background: white;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.gallery-main video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition);
  background: var(--gray-100);
  padding: 0;
}
.gallery-thumb.active { border-color: var(--pink); }
.gallery-thumb img, .gallery-thumb video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-video-thumb {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.gallery-video-thumb::after {
  content: '▶';
  position: absolute;
  color: white;
  font-size: .8rem;
  background: rgba(0,0,0,.5);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.image-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0,0,0,.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  cursor: zoom-out;
}
.image-zoom-content {
  max-width: min(980px, 96vw);
  max-height: 92vh;
  cursor: default;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.image-zoom-content img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 12px;
  background: white;
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
}
.image-zoom-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  color: var(--black);
  font-size: 1.5rem;
  line-height: 1;
  z-index: 901;
  box-shadow: var(--shadow-md);
}
.image-zoom-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--black);
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  z-index: 902;
}
.image-zoom-nav:hover { background: white; }
.image-zoom-prev { left: 18px; }
.image-zoom-next { right: 18px; }
.image-zoom-thumbs {
  display: flex;
  gap: 8px;
  max-width: min(90vw, 760px);
  overflow-x: auto;
  padding: 4px;
}
.image-zoom-thumb {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: white;
  flex: 0 0 auto;
}
.image-zoom-thumb.active { border-color: var(--pink); }
.image-zoom-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info do produto */
.product-info {}
.product-category-link {
  font-size: .82rem;
  color: var(--pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
  display: block;
}
.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}
.product-sku { font-size: .78rem; color: var(--gray-400, #9ca3af); margin-bottom: 16px; }
.product-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.rating-stars-big { font-size: 1rem; color: var(--yellow); }
.rating-link { font-size: .85rem; color: var(--pink); font-weight: 600; }

.product-price-block {
  background: var(--pink-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.product-price-original { font-size: .9rem; color: var(--gray-500); text-decoration: line-through; }
.product-price-current { font-size: 2rem; font-weight: 800; color: var(--pink-dark); line-height: 1; }
.product-price-discount { color: var(--success); font-size: .85rem; font-weight: 700; }
.product-installments { font-size: .82rem; color: var(--gray-600, #4b5563); margin-top: 4px; }

/* Tamanhos */
.size-section { margin-bottom: 24px; }
.color-section { margin-bottom: 24px; }
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.color-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 2px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--black);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.color-btn:hover,
.color-btn.selected {
  border-color: var(--pink);
  background: var(--pink-light);
}
.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.45);
  flex-shrink: 0;
}
.size-label {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.size-guide-link { font-size: .8rem; color: var(--pink); font-weight: 600; }
.size-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.size-tool-btn {
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: white;
  font-weight: 800;
  color: var(--black);
}
.size-tool-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.sizes-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.size-btn {
  min-width: 52px;
  height: 44px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-700);
  transition: all var(--transition);
  position: relative;
}
.size-btn:hover:not(:disabled) {
  border-color: var(--pink);
  color: var(--pink);
}
.size-btn.selected {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}
.size-btn.sold-out {
  background: var(--gray-100);
  color: var(--gray-400, #9ca3af);
  border-style: dashed;
  text-decoration: line-through;
}
.size-btn.sold-out.selected {
  background: #fff7fb;
  color: var(--pink-dark);
  text-decoration: none;
}
.size-btn:disabled {
  background: var(--gray-100);
  color: var(--gray-300);
  cursor: not-allowed;
  text-decoration: line-through;
}
.size-stock-info { font-size: .78rem; color: var(--gray-500); margin-top: 6px; }
.size-stock-low { color: var(--warning); font-weight: 700; }

/* Ações do produto */
.product-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.btn-buy-now {
  flex: 1;
  padding: 16px;
  background: var(--pink);
  color: white;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-pink);
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-buy-now:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn-add-to-cart-big {
  flex: 1;
  padding: 16px;
  background: var(--black);
  color: white;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-add-to-cart-big:hover { background: var(--gray-900); transform: translateY(-2px); }

/* Frete */
.shipping-calc {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 24px;
}
.shipping-calc h4 { font-size: .9rem; font-weight: 700; margin-bottom: 10px; }
.shipping-input-row { display: flex; gap: 8px; }
.shipping-input-row input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  outline: none;
}
.shipping-input-row input:focus { border-color: var(--pink); }
.shipping-options { margin-top: 12px; }
.shipping-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: white;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-size: .85rem;
}
.shipping-option:hover { border-color: var(--pink); }
.shipping-option.selected { border-color: var(--pink); background: var(--pink-light); }
.shipping-name { font-weight: 700; }
.shipping-price { font-weight: 800; color: var(--pink-dark); }
.shipping-days { color: var(--gray-500); font-size: .78rem; }

.product-helper-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(0,0,0,.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-helper-modal {
  position: relative;
  width: min(940px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-xl);
}
.product-helper-modal.virtual { width: min(980px, 100%); }
.product-helper-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  font-size: 1.4rem;
  z-index: 2;
}
.product-helper-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 520px;
}
.measure-help-card {
  padding: 28px;
  border-right: 1px solid var(--gray-200);
}
.measure-help-card h3 {
  text-align: center;
  margin-bottom: 16px;
}
.measure-help-card h4 {
  margin: 14px 0 6px;
}
.measure-help-card p {
  color: var(--gray-700);
  font-size: .9rem;
  line-height: 1.55;
}
.measure-help-card span {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid var(--black);
  font-weight: 700;
}
.measure-illustration {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 34%, rgba(255,255,255,.95), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, #f8fafc, #eef2f7);
  overflow: hidden;
}
.measure-body {
  position: absolute;
  inset: 0;
  background-image: url('/images/size-guide-mannequin-final.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 10px 13px rgba(15,23,42,.12));
}
.measurement-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.measurement-mark {
  display: none;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  --measure-color: #087ed8;
}
.measurement-mark path {
  fill: none;
  stroke: var(--measure-color);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 1px rgba(8, 126, 216, .16));
}
.measurement-mark .measurement-curve {
  stroke-width: 1.55;
}
.measurement-mark .measurement-center {
  stroke-width: 1.55;
}
.measurement-mark .measurement-guide {
  stroke-dasharray: none;
  stroke-width: 1.15;
}
.measure-chest .measurement-mark-chest,
.measure-waist .measurement-mark-waist,
.measure-hip .measurement-mark-hip,
.measure-height .measurement-mark-height {
  display: inline;
  opacity: 1;
  animation: measureMarkerIn .2s ease both;
}
.measurement-mark-chest,
.measurement-mark-waist,
.measurement-mark-hip,
.measurement-mark-height { --measure-color: #087ed8; }
@keyframes measureMarkerIn {
  from {
    opacity: 0;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.measure-height .measure-body,
.measure-weight .measure-body {
  background-size: contain;
  background-position: center;
}
.product-helper-main {
  padding: 34px 32px;
}
.size-guide-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}
.size-guide-tab {
  min-width: 110px;
  padding: 12px 18px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: white;
  font-weight: 800;
  position: relative;
}
.size-guide-tab.active {
  border-color: var(--black);
  box-shadow: inset 0 0 0 1px var(--black);
}
.size-guide-tab.active span {
  position: absolute;
  top: -8px;
  right: -6px;
  background: #6dd09b;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: .75rem;
}
.size-guide-tab.sold-out {
  color: var(--gray-400);
  text-decoration: line-through;
}
.measure-table {
  display: grid;
  gap: 0;
  margin-bottom: 24px;
}
.measure-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 15px 8px;
  border-bottom: 1px solid var(--gray-200);
  background: white;
  text-align: left;
}
.measure-row:hover {
  background: var(--pink-light);
}
.measure-row.static:hover { background: white; }
.measure-note {
  padding: 12px;
  color: var(--gray-600);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  margin-top: 10px;
}
.product-helper-empty {
  padding: 50px;
  color: var(--gray-500);
}
.virtual-fit-layout {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 540px;
}
.virtual-fit-visual {
  padding: 42px 28px;
  background: linear-gradient(135deg, #fff, #fdf2f8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fit-child-illustration {
  height: 300px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 35% 28%, #f9b7d1 0 9%, transparent 10%),
    radial-gradient(circle at 52% 22%, #7dd3fc 0 12%, transparent 13%),
    radial-gradient(circle at 64% 42%, #facc15 0 10%, transparent 11%),
    linear-gradient(135deg, #fce7f3, #e0f2fe);
  border: 1px solid var(--gray-200);
}
.virtual-fit-form {
  padding: 48px 36px;
}
.virtual-fit-form h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.virtual-fit-form > p {
  color: var(--gray-500);
  margin-bottom: 18px;
}
.fit-gender-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.fit-gender {
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-weight: 800;
  background: white;
}
.fit-gender.active {
  border-color: var(--black);
  box-shadow: inset 0 0 0 1px var(--black);
}
.fit-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.fit-form-grid label {
  font-weight: 700;
  font-size: .9rem;
}
.fit-form-grid input {
  display: inline-block;
  width: 82px;
  margin: 6px 6px 0 0;
  padding: 10px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
}
.fit-form-grid.hidden { display: none; }
.fit-result {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
.fit-result.warning {
  color: var(--error);
  background: #fff5f5;
}
.fit-stock-ok {
  display: inline-block;
  margin-top: 8px;
  color: var(--success);
  font-weight: 800;
}
.comfort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.comfort-grid div {
  padding: 10px;
  border-radius: var(--radius-sm);
  background: white;
  border: 1px solid var(--gray-200);
}
.comfort-grid span {
  display: block;
  color: var(--pink-dark);
  font-weight: 800;
  margin-top: 4px;
}

.account-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.account-tab {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--black);
  font-weight: 800;
}
.account-tab.active {
  background: var(--pink);
  color: white;
  box-shadow: var(--shadow-pink);
}
.account-list {
  display: grid;
  gap: 12px;
}
.account-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: white;
}
.account-card span { color: var(--gray-500); font-size: .86rem; }

/* Produto Info Tabs */
.product-tabs { margin-top: 60px; }
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--gray-200, #e5e7eb);
  gap: 4px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 20px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-500);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}
.tab-btn.active { color: var(--pink); border-bottom-color: var(--pink); }
.tab-content { padding: 32px 0; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.product-description { line-height: 1.8; color: var(--gray-700); }
.product-description p { margin-bottom: 12px; }
.specs-list { list-style: none; }
.specs-list li {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
}
.specs-list li:last-child { border: none; }
.specs-list .spec-key { width: 180px; font-weight: 700; flex-shrink: 0; color: var(--gray-700); }
.specs-list .spec-val { color: var(--gray-600, #4b5563); }
.features-list { list-style: none; }
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: .9rem;
  color: var(--gray-700);
}
.features-list li::before { content: ''; width:8px; height:8px; border-radius:50%; background:var(--success); flex:0 0 8px; margin-top:8px; }

/* ── Reviews ─────────────────────────── */
.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  margin-bottom: 40px;
  align-items: center;
}
.review-big-score {
  text-align: center;
  background: var(--pink-light);
  padding: 24px 32px;
  border-radius: var(--radius-lg);
}
.review-number { font-size: 3rem; font-weight: 800; color: var(--pink-dark); line-height: 1; }
.review-stars-big { font-size: 1.4rem; color: var(--yellow); }
.review-total { font-size: .82rem; color: var(--gray-500); }
.rating-bars {}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .82rem;
}
.bar-label { width: 36px; text-align: right; font-weight: 700; color: var(--gray-700); }
.bar-track {
  flex: 1;
  height: 8px;
  background: var(--gray-200, #e5e7eb);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 99px;
  transition: width .6s ease;
}
.bar-count { width: 28px; color: var(--gray-500); }

.review-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}
.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}
.reviewer-info { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: .9rem; }
.review-date { font-size: .75rem; color: var(--gray-400, #9ca3af); }
.review-stars { color: var(--yellow); }
.review-title { font-weight: 700; margin-bottom: 6px; font-size: .9rem; }
.review-comment { color: var(--gray-600, #4b5563); font-size: .9rem; line-height: 1.6; }

.write-review {
  background: var(--yellow-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}
.write-review h4 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.star-picker { display: flex; gap: 6px; margin-bottom: 16px; }
.star-pick {
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--gray-300);
  transition: color var(--transition);
}
.star-pick:hover, .star-pick.selected { color: var(--yellow); }

/* ── Carrinho ────────────────────────── */
.cart-page { padding: 40px 0 80px; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}
.cart-items {}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item-img {
  width: 90px; height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.cart-item-details { font-size: .82rem; color: var(--gray-500); }
.cart-size-select { margin-left: 4px; padding: 5px 28px 5px 8px; border: 1px solid var(--gray-200); border-radius: 7px; background: white; color: var(--gray-700); font: inherit; }
.cart-qty-input { width: 48px; height: 30px; border: 0; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); text-align: center; font: inherit; font-weight: 700; appearance: textfield; }
.cart-qty-input::-webkit-inner-spin-button, .cart-qty-input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.cart-item-price { font-size: 1.1rem; font-weight: 800; color: var(--pink-dark); }
.cart-unit-price { font-size: .78rem; color: var(--gray-500); }
.cart-item-mobile-price { display: none; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 10px;
  width: fit-content;
}
.qty-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--gray-700);
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--gray-100); }
.qty-value {
  width: 44px;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  border-left: 2px solid var(--gray-200, #e5e7eb);
  border-right: 2px solid var(--gray-200, #e5e7eb);
  outline: none;
}
.cart-remove { color: var(--gray-400, #9ca3af); font-size: 1rem; transition: color var(--transition); }
.cart-remove:hover { color: var(--error); }

.cart-summary {
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.cart-summary h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}
.summary-row:last-child { border: none; }
.summary-row.total { font-size: 1.1rem; font-weight: 800; color: var(--pink-dark); border: none; padding-top: 16px; }
.coupon-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.coupon-row input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  text-transform: uppercase;
  outline: none;
}
.coupon-row input:focus { border-color: var(--pink); }

/* ── Checkout ────────────────────────── */
.checkout-page { padding: 40px 0 80px; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-400, #9ca3af);
  flex: 1;
  position: relative;
}
.step-item::after {
  content: '';
  position: absolute;
  left: calc(100% - 0px);
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 2px;
  background: var(--gray-200, #e5e7eb);
}
.step-item:last-child::after { display: none; }
.step-item.active { color: var(--pink); }
.step-item.done { color: var(--success); }
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-200, #e5e7eb);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  font-weight: 700;
}
.step-item.active .step-num { background: var(--pink); color: white; }
.step-item.done .step-num { background: var(--success); color: white; }

.checkout-section {
  background: white;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.checkout-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: .83rem; font-weight: 700; color: var(--gray-700); }
.form-input, .form-select {
  padding: 11px 14px;
  border: 2px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition);
  background: white;
  width: 100%;
}
.form-input:focus, .form-select:focus { border-color: var(--pink); }

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.payment-option {
  border: 2px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.payment-option:hover { border-color: var(--pink); }
.payment-option.selected { border-color: var(--pink); background: var(--pink-light); }
.payment-option .icon { font-size: 1.8rem; margin-bottom: 6px; }
.payment-option .name { font-size: .85rem; font-weight: 700; }

.card-brick-shell {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-md);
  background: white;
}
.card-brick-security {
  margin: 12px 4px 0;
  color: var(--gray-500);
  font-size: .76rem;
  line-height: 1.5;
}
.card-brick-installments-hint {
  margin: 12px 4px 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--pink-light);
  color: var(--gray-700);
  font-size: .8rem;
  line-height: 1.45;
}
.payment-card-message,
.payment-card-error {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  line-height: 1.5;
}
.payment-card-message { background: var(--gray-100); color: var(--gray-600); }
.payment-card-error { background: #fff1f2; color: var(--error); border: 1px solid #fecdd3; }
.payment-card-error .btn { margin-top: 12px; }
#cardPaymentBrick_container { min-height: 120px; }

.pix-display {
  text-align: center;
  padding: 24px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
}
.pix-code {
  background: white;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: .78rem;
  word-break: break-all;
  color: var(--gray-700);
  margin: 12px 0;
  cursor: pointer;
  border: 2px dashed var(--gray-300);
}
.pix-copy-btn {
  background: var(--success);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* ── Forms gerais ────────────────────── */
.form-error { font-size: .78rem; color: var(--error); margin-top: 3px; }
.form-hint { font-size: .78rem; color: var(--gray-500); margin-top: 3px; }

/* ── Modal / Overlay ─────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.hidden { display: none; }
.modal {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700);
  font-size: 1rem;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--gray-200, #e5e7eb); }
.modal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.modal-subtitle { color: var(--gray-500); font-size: .9rem; margin-bottom: 24px; }
.modal-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
  margin-bottom: 24px;
}
.modal-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  transition: all var(--transition);
}
.modal-tab.active { background: white; color: var(--black); box-shadow: var(--shadow-sm); }

/* ── Toast ───────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--black);
  color: white;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: .88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 260px;
  animation: slideIn .3s ease;
}
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }
.toast.warning { background: var(--warning); color: var(--black); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── Footer ──────────────────────────── */
.footer {
  margin-top: auto;
  background: var(--black);
  color: white;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo .logo-mark { background: transparent; }
.footer-logo .logo-mark { width: 280px; height: 148px; }
.footer-logo .logo-text { color: white; font-size: 1.2rem; }
.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: background var(--transition);
  color: white;
}
.social-link:hover { background: var(--pink); }
.footer-col h4 { font-weight: 700; font-size: .9rem; margin-bottom: 16px; color: rgba(255,255,255,.9); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--pink); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}
.footer-contact-item span:first-child { color: var(--pink); flex-shrink: 0; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.payment-icons { display: flex; gap: 8px; }
.payment-icon {
  background: rgba(255,255,255,.1);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}

/* ── Página confirmado ───────────────── */
.success-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}

/* ── Admin ───────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--black);
  color: white;
  padding: 24px 0 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.admin-logo {
  padding: 0 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex: 0 0 auto;
}
.admin-logo img { width: 170px; height: 90px; object-fit: cover; object-position: center; border-radius: 8px; background: transparent; }
.admin-login-logo { display:block; width:min(100%,300px); height:158px; object-fit:cover; object-position:center; margin:0 auto 14px; border-radius:12px; }
.admin-logo span { color: var(--pink); }
.admin-nav-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 12px;
}
.admin-sidebar-footer {
  flex: 0 0 auto;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: var(--black);
}
.admin-sidebar-footer .admin-nav-item { border-radius: 8px; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
  cursor: pointer;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(255,255,255,.08);
  color: white;
  border-left: 3px solid var(--pink);
  padding-left: 17px;
}
.admin-nav-item .icon { font-size: 1rem; }
.admin-main {
  background: #F8F9FA;
  padding: 32px;
  overflow-y: auto;
  min-width: 0;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.admin-title { font-size: 1.5rem; font-weight: 700; }
.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.stat-label { font-size: .78rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--black); }
.stat-sub { font-size: .8rem; color: var(--success); font-weight: 600; margin-top: 2px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
#returns-indicators .stat-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
#returns-indicators .stat-info span { line-height: 1.35; }
#returns-indicators .stat-info strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 800;
  color: var(--black);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.data-table th {
  background: var(--gray-100);
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-500);
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.data-table tr:hover td { background: var(--gray-100); }
.table-card {
  background: white;
  border-radius: var(--radius-md);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
@media (max-width: 1200px) {
  .table-card .data-table,
  .table-card > .data-table,
  #returns-table-wrapper .data-table {
    min-width: 900px;
  }
  .tab-section { min-width: 0; }
}
.table-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}
.table-title { font-weight: 700; }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-pending { background: #FEF3C7; color: #92400E; }
.status-paid { background: #D1FAE5; color: #065F46; }
.status-processing { background: #DBEAFE; color: #1E40AF; }
.status-shipped { background: #EDE9FE; color: #5B21B6; }
.status-delivered { background: #D1FAE5; color: #065F46; }
.status-cancelled { background: #FEE2E2; color: #991B1B; }

/* ── Loader ──────────────────────────── */
.loader {
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  color: var(--gray-500);
  gap: 10px;
}
.spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--gray-200, #e5e7eb);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsivo ──────────────────────── */
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cart-layout,
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }
  .cart-layout > *,
  .checkout-layout > * { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-summary { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .product-helper-grid,
  .virtual-fit-layout {
    grid-template-columns: 1fr;
  }
  .measure-help-card {
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }
  .virtual-fit-visual {
    min-height: 260px;
    padding: 28px;
  }
  .fit-child-illustration {
    height: 220px;
  }
}
@media (max-width: 680px) {
  html,
  body { max-width: 100%; }
  body { overflow-x: clip; }
  .main-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 160;
  }
  .header-main { padding: 6px 12px; gap: 10px; }
  .header-main .logo-mark { width: 128px; height: 68px; }
  .mobile-menu .logo-mark { width: 190px; height: 100px; }
  .footer-logo .logo-mark { width: 260px; height: 138px; }
  .header-search { display: none; }
  .header-account-action { min-width: 44px; width: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .header-account-copy { display: none; }
  .burger { display: flex; }
  .nav { display: none; }
  .header-promo-banner { height: clamp(48px, 16vw, 88px); }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 10px 12px; }
  .whatsapp-float strong { display: none; }
  .hero { min-height: 420px; }
  .hero-decor { display: none; }
  .home-banner-stack { padding: 10px 0 22px; }
  .home-banner-carousel .container {
    max-width: 100%;
  }
  .home-banner-item {
    min-height: 0;
    aspect-ratio: 1920 / 700;
  }
  .home-banner-carousel .home-banner-item {
    height: auto;
    min-height: 0;
    aspect-ratio: 1920 / 700;
  }
  .home-banner-item.home-banner-item--mobile-art,
  .home-banner-carousel .home-banner-item.home-banner-item--mobile-art {
    aspect-ratio: 4 / 5;
  }
  .banner-nav {
    width: 38px;
    height: 38px;
    font-size: 1.45rem;
  }
  .banner-nav-prev { left: 8px; }
  .banner-nav-next { right: 8px; }
  .home-banner-caption {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 9px 11px;
  }
  .home-banner-caption strong { font-size: 1rem; }
  .mini-banners-section { padding: 14px 0; }
  .mini-banners-grid { grid-template-columns: 1fr; gap: 12px; }
  .mini-banner,
  .mini-banner-full,
  .mini-banner-half,
  .mini-banner-third,
  .mini-banner-grid-2,
  .mini-banner-grid-3 { grid-column: 1 / -1; }
  .position-banners-section { padding: 0; }
  .position-banners-list { gap: 0; }
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    overflow: visible;
    padding: 12px 0 14px;
    scroll-snap-type: none;
  }
  .category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    min-height: calc(min(38vw, 150px) + 54px);
    padding: 0 4px 8px;
    overflow: visible;
    scroll-snap-align: none;
  }
  .category-visual {
    width: min(38vw, 150px);
    height: min(38vw, 150px);
    margin: 0 auto 10px;
    overflow: hidden;
    --cat-img-box: min(38vw, 150px) !important;
  }
  .category-name {
    width: 100%;
    min-height: 2.5em;
    padding: 0 4px;
    font-size: .9rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid > .product-card { min-width: 0; }
  .products-grid > .product-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 290px);
  }
  .footer { padding-top: 40px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 36px;
  }
  .footer-brand,
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-logo .logo-mark { width: min(220px, 70vw); height: 116px; }
  .footer-bottom { align-items: flex-start; gap: 18px; }
  .payment-icons { flex-wrap: wrap; }
  .mobile-menu-institutional {
    display: grid;
    gap: 0;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-100);
  }
  #mobile-nav-links {
    display: grid !important;
    gap: 0 !important;
  }
  #mobile-nav-links strong {
    padding: 0 8px 8px;
    color: var(--gray-500);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  #mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 8px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-800);
    font-size: 1rem;
    font-weight: 700;
  }
  #mobile-nav-links .mobile-menu-promo {
    color: var(--pink);
  }
  #mobile-nav-links .mobile-menu-sales-mode {
    justify-content: center;
    min-height: 46px;
    margin-top: 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--pink);
    color: white;
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .04em;
  }
  .mobile-menu-institutional strong {
    padding: 0 8px 8px;
    color: var(--gray-500);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  .mobile-menu-institutional a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
  }
  .form-grid { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .support-admin-layout { grid-template-columns: 1fr !important; }
  .product-actions { flex-direction: column; }
  .size-tools { display: grid; grid-template-columns: 1fr; }
  .product-helper-overlay {
    align-items: flex-end;
    padding: 10px;
  }
  .product-helper-modal {
    max-height: 92vh;
    border-radius: 14px 14px 0 0;
  }
  .measure-help-card,
  .product-helper-main,
  .virtual-fit-form {
    padding: 22px 18px;
  }
  .measure-illustration { height: 250px; }
  .size-guide-tab { min-width: 82px; }
  .fit-form-grid,
  .comfort-grid { grid-template-columns: 1fr; }
  .fit-form-grid input { width: 96px; }
  .checkout-steps { display: none; }
  .checkout-page { padding: 28px 0 56px; }
  .checkout-section { min-width: 0; padding: 18px; }
  .checkout-section > *,
  #payment-detail,
  .card-brick-shell,
  #cardPaymentBrick_container { min-width: 0; max-width: 100%; }
  .card-brick-shell { padding: 10px; }
  .cart-page { padding: 28px 0 56px; }
  .cart-page .section-title { font-size: clamp(1.7rem, 9vw, 2.3rem); }
  .cart-items { display: grid; gap: 18px; }
  .cart-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }
  .cart-item-img {
    width: min(100%, 240px);
    height: auto;
    aspect-ratio: 4 / 5;
    align-self: center;
  }
  .cart-item > div:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .cart-item-name {
    width: 100%;
    margin: 0;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
  }
  .cart-item-details {
    display: grid;
    width: 100%;
    gap: 8px;
  }
  .cart-item-mobile-price { display: block; }
  .cart-size-select {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
  .qty-control { margin-top: 4px; }
  .cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 4px;
    text-align: left !important;
  }
  .cart-item-actions > .cart-item-price,
  .cart-item-actions > .cart-unit-price { display: none; }
  .cart-item-price { grid-column: auto; }
  .cart-remove { margin-top: 8px !important; }
  .cart-summary {
    position: static;
    width: 100%;
    padding: 20px;
  }
  .cart-summary .coupon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .cart-summary .coupon-row input { min-width: 0; width: 100%; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .container { padding: 0 14px; }
}
/* Página institucional: Política de Trocas e Devoluções */
.legal-page-section { background:linear-gradient(180deg,#fff7fa 0,#fff 260px); padding:64px 0 80px; }
.legal-page-container { max-width:920px; }
.legal-page-heading { text-align:center; margin-bottom:32px; }
.legal-page-kicker { display:inline-block; color:var(--pink); font-weight:800; text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; margin-bottom:10px; }
.legal-page-heading h1 { font-family:'Playfair Display',serif; font-size:clamp(2rem,5vw,3.2rem); line-height:1.12; margin-bottom:12px; }
.legal-page-heading p { color:var(--gray-600); max-width:680px; margin:0 auto; line-height:1.7; }
.legal-page-content { background:#fff; border:1px solid var(--gray-200); border-radius:18px; padding:clamp(24px,5vw,48px); box-shadow:0 12px 34px rgba(17,24,39,.06); color:var(--gray-700); line-height:1.75; }
.legal-page-content > :first-child { margin-top:0; }
.legal-page-content h2 { color:var(--gray-900); font-size:1.18rem; margin:30px 0 10px; text-transform:uppercase; letter-spacing:.02em; }
.legal-page-content p { margin:0 0 14px; }
.legal-page-content ul { margin:0 0 18px 22px; }
.legal-page-content li { margin-bottom:7px; padding-left:4px; }
.legal-page-content li::marker { color:var(--pink); }
.legal-page-contact { text-align:center; background:var(--gray-900); color:#fff; border-radius:18px; padding:30px; margin-top:24px; }
.legal-page-contact h2 { color:#fff; margin-bottom:8px; }
.legal-page-contact p { color:var(--gray-300); margin-bottom:18px; }
@media(max-width:600px){.legal-page-section{padding:38px 0 56px}.legal-page-content{border-radius:14px;padding:22px 18px}.legal-page-content h2{font-size:1.05rem}.legal-page-contact{padding:24px 18px}}
.about-page-content { font-size:1.05rem; }
.about-page-content p { margin-bottom:22px; }
.about-page-content p:first-child { font-family:'Playfair Display',serif; font-size:1.35rem; color:var(--gray-900); line-height:1.65; }
.about-page-content p:last-child { background:var(--pink-light); border-left:4px solid var(--pink); border-radius:8px; padding:18px 20px; margin-bottom:0; }
.password-field { position:relative; }
.password-field .form-input { padding-right:82px; }
.password-toggle { position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--pink);font:inherit;font-size:.78rem;font-weight:800;padding:7px 6px;cursor:pointer;border-radius:6px; }
.password-toggle:hover { background:var(--pink-light); }
.password-toggle:focus-visible { outline:2px solid var(--pink);outline-offset:2px; }
