/* ==========================================================================
   LORENZO STORE — design tokens (tema claro)
   ========================================================================== */
:root {
  --white: #FFFFFF;
  --paper: #F7F5F0;
  --navy: #1A1815;
  --navy-soft: #5C5348;
  --sky: #EDE2C3;
  --sky-deep: #B8860B;
  --gold: #C9A227;
  --gold-deep: #9A6D0D;
  --border: #E5E1D8;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: 'Cinzel', 'Fraunces', serif;

  --max-width: 1180px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 var(--space-2);
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  position: relative;
  padding-bottom: 0.7rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

p { margin: 0 0 var(--space-2); max-width: 62ch; color: var(--navy-soft); }

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 3px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  user-select: none;
  -webkit-user-select: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-badge {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text .brand-name {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.brand-text .brand-sub {
  font-family: var(--font-brand);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--sky-deep);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  gap: var(--space-4);
}

.main-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover { border-color: var(--sky-deep); color: var(--sky-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
}

/* ==========================================================================
   Announcement bar (loop infinito)
   ========================================================================== */
.announcement-bar {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}

.announcement-bar {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}

.announcement-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.announcement-item {
  padding: 0.95rem 2.4rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.announcement-item .highlight {
  color: var(--gold);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-track { animation: none; }
}

/* ==========================================================================
   Hero — largura total
   ========================================================================== */
.hero {
  padding: 0;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--sky) 0%, var(--paper) 65%);
}

.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Placeholder do gráfico até existir a foto real da coleção */
.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.hero-photo-placeholder svg {
  width: 220px;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(11,14,20,0.82) 0%, rgba(11,14,20,0.5) 48%, rgba(11,14,20,0.08) 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-5) var(--space-3);
  user-select: none;
  text-align: center;
  -webkit-user-select: none;
}

.hero-caption {
  color: var(--white);
  max-width: 620px;
  margin: 0 auto;
}

.hero-caption .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
}

.hero-caption .btn-primary:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.hero-cta-lg {
  font-size: 3rem;
  padding: 2.4rem 6.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .hero-photo {
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero-photo { min-height: 520px; }
  .hero-cta-lg {
    font-size: 2rem;
    padding: 1.8rem 2.8rem;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
}

.btn-ghost:hover { background: var(--sky); border-color: var(--sky-deep); }

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.product-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--gold-deep);
}

.price-original {
  font-size: 0.95rem;
  color: var(--navy-soft);
  text-decoration: line-through;
}

.price-discounted {
  color: var(--gold-deep);
}

.discount-badge {
  background: var(--gold-deep);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  display: inline-block;
  animation: pulse-badge 1.6s ease-in-out infinite;
}

.hot-badge {
  display: inline-block;
  background: linear-gradient(135deg, #E0342A, #A31A12);
  color: var(--white);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  vertical-align: middle;
  animation: pulse-badge 1.6s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .discount-badge, .hot-badge { animation: none; }
}

.product-card .btn {
  width: 100%;
  text-align: center;
  border-radius: 8px;
  margin-top: auto;
}

.size-row {
  display: flex;
  gap: 0.4rem;
  margin: 0.4rem 0;
  flex-wrap: wrap;
}

.size-chip {
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
  min-width: 2.1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.size-chip:hover { border-color: var(--sky-deep); }

.size-chip.is-selected {
  border-color: var(--sky-deep);
  background: var(--sky);
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 2px solid var(--gold);
  padding: var(--space-4) 0 var(--space-3);
  background: var(--navy);
  color: var(--white);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-badge {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  padding: 5px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.footer-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.footer-name {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--white);
  display: block;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--sky);
  margin: 2px 0 0;
}

.footer-nav {
  display: flex;
  gap: var(--space-3);
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* ==========================================================================
   Página de produto
   ========================================================================== */
.product-detail {
  padding: var(--space-4) 0 var(--space-5);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--navy-soft);
  margin-bottom: var(--space-3);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--navy-soft);
}

.breadcrumb a:hover { color: var(--sky-deep); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}

/* ==========================================================================
   Produtos na home — Polo e Calça lado a lado
   ========================================================================== */
.products-overview {
  padding: var(--space-5) 0;
  background: var(--paper);
  user-select: none;
  -webkit-user-select: none;
}

.products-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.product-line-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.product-line-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
  padding: 1.6rem;
  cursor: default;
  border: 2px solid var(--gold);
}

.product-line-image-link {
  display: block;
}

.product-line-image-link .product-line-image {
  cursor: pointer;
}

/* Para fotos com fundo próprio (branco), em vez do desenho transparente do
   polo — ocupa a caixa toda, sem respiro. A borda dourada é a mesma da
   caixa do polo, para as duas ficarem parecidas. */
.product-line-image--full {
  padding: 0;
  background: var(--white);
}

.product-line-card:hover .product-line-image {
  border-color: var(--gold-deep);
}

.product-line-image.is-fading-in {
  animation: fade-in-image 0.35s ease;
}

@keyframes fade-in-image {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .product-line-image.is-fading-in { animation: none; }
}

.product-line-body {
  padding: var(--space-3);
}

.product-line-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.product-line-body .bundle-explainer {
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
}

.showcase-buy-btn {
  display: block;
  text-align: center;
  margin: 0.5rem 0 var(--space-3);
}

@media (max-width: 700px) {
  .products-overview-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Como funciona
   ========================================================================== */
.how-it-works {
  padding: var(--space-5) 0;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.how-step {
  text-align: center;
}

.how-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.how-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.how-step p {
  font-size: 0.9rem;
  max-width: 30ch;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

.option-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-soft);
  display: block;
  margin-bottom: 0.5rem;
}

.option-label strong { color: var(--navy); }

.color-swatch-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-swatch:hover { transform: scale(1.08); }

.color-swatch.is-selected {
  border-color: var(--white);
  box-shadow: 0 0 0 2px var(--gold-deep);
}

@media (max-width: 900px) {
  .product-showcase-grid { grid-template-columns: 1fr; }
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 2rem;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--navy-soft);
  box-shadow: 0 14px 34px rgba(20, 27, 46, 0.18);
  cursor: zoom-in;
  transition: opacity 0.25s ease;
}

/* Foto a ocupar a caixa toda (sem respiro à volta) — usada nas calças.
   Como a foto costuma ter fundo branco (perde-se no fundo da página),
   reforça-se com sombra e uma borda mais forte para não desaparecer. */
.gallery-main--full {
  padding: 0;
}

.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.7rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 0.4rem;
  border-radius: 6px;
  border: 2px solid var(--border);
  cursor: pointer;
  background: var(--paper);
}

.gallery-thumb.is-active { border-color: var(--sky-deep); }

.product-panel {
  user-select: none;
  -webkit-user-select: none;
}

.product-panel-name {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.product-panel-meta {
  color: var(--navy-soft);
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
}

.reservation-panel {
  border-top: 1px solid var(--border);
  padding-top: var(--space-3);
}

/* ==========================================================================
   Bundle — nota no produto, widget flutuante, e página de checkout
   ========================================================================== */
.bundle-explainer {
  color: var(--navy-soft);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   Catálogo — escolher entre linhas de produto (Polos / Calças)
   ========================================================================== */
.catalog-section {
  padding: var(--space-5) 0;
}

.catalog-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-4);
}

.catalog-intro h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.catalog-intro .bundle-explainer {
  margin: 0 auto;
}

.hero-kicker-plain {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sky-deep);
  margin-bottom: 0.2rem;
}

.catalog-lines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.catalog-line-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.catalog-line-kicker {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 1;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.catalog-line-info {
  padding: var(--space-3);
  border-top: 1px solid var(--border);
}

.catalog-line-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.catalog-line-price {
  margin-bottom: 0.2rem;
}

.catalog-line-price .product-price {
  font-size: 1.5rem;
}

.catalog-line-info .btn {
  display: block;
  text-align: center;
  margin-top: var(--space-2);
}

@media (max-width: 700px) {
  .catalog-lines-grid { grid-template-columns: 1fr; }
}

.bundle-rows {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: var(--space-3);
}

.bundle-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1rem;
}

.bundle-row h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.bundle-row-fields {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.bundle-row-fields > div {
  flex: 1 1 120px;
}

.bundle-row-fields label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-soft);
  display: block;
  margin-bottom: 0.3rem;
}

.bundle-row-fields select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--navy);
}

.bundle-row-fields select:focus {
  border-color: var(--sky-deep);
}

.bundle-cta-hint {
  font-size: 0.82rem;
  color: var(--navy-soft);
  margin-top: 0.5rem;
  text-align: center;
}

.bundle-price-summary {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: var(--space-3) 0 0;
  max-width: 560px;
}

.savings-note {
  font-size: 0.85rem;
  color: var(--gold-deep);
  font-weight: 600;
  margin: 0.2rem 0 var(--space-3);
}

.bundle-price-summary .product-price { font-size: 1.6rem; }

.delivery-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: var(--paper);
  border-radius: 10px;
}

.delivery-col {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.delivery-col svg {
  width: 26px;
  height: 26px;
  color: var(--gold-deep);
  flex-shrink: 0;
  margin-top: 2px;
}

.delivery-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--navy);
}

.delivery-col p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--navy-soft);
}

/* ==========================================================================
   Produtos relacionados
   ========================================================================== */
/* ==========================================================================
   Selos de confiança — só no fundo da página
   ========================================================================== */
.trust-section {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.trust-badge svg {
  width: 26px;
  height: 26px;
  color: var(--gold-deep);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .trust-badges { gap: var(--space-3); flex-direction: column; }
}

@media (max-width: 700px) {
  .delivery-info { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Lightbox de zoom
   ========================================================================== */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11,14,20,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  z-index: 100;
}

.image-lightbox.is-open { display: flex; }

.image-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-section {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.reviews-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.reviews-summary {
  font-size: 0.95rem;
  color: var(--navy-soft);
  margin-bottom: var(--space-3);
}

.reviews-stars, .review-item-stars {
  color: var(--gold-deep);
  letter-spacing: 0.1em;
}

.reviews-empty {
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.review-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--space-2) var(--space-3);
  background: var(--white);
}

.review-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: 0.3rem;
}

.review-item-name {
  font-weight: 600;
  font-size: 0.92rem;
}

.review-item-comment {
  font-size: 0.92rem;
  margin: 0;
}

.review-form-toggle {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--space-2) var(--space-3);
}

.review-form-toggle summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--sky-deep);
}

.review-form-toggle .reservation-form {
  margin-top: var(--space-3);
  max-width: 420px;
}

/* ==========================================================================
   Reservation form (usado na página de produto)
   ========================================================================== */
.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: var(--space-2);
}

.reservation-form label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

.reservation-form input,
.reservation-form select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--navy);
}

.reservation-form input:focus,
.reservation-form select:focus {
  border-color: var(--sky-deep);
}




.size-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 0.6rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 0.88rem;
  min-height: 1.2em;
}

.form-status.is-success { color: #2E7D4F; }
.form-status.is-error { color: #B3261E; }

/* ==========================================================================
   Admin
   ========================================================================== */
.admin-body {
  background: var(--paper);
  min-height: 100vh;
}

.admin-login {
  max-width: 380px;
  margin: 10vh auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--space-4);
}

.admin-login h1 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.admin-login form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: var(--space-3);
}

.admin-login input {
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.admin-shell {
  display: none;
}

.admin-shell.is-visible { display: block; }

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
}

.admin-topbar .brand-name { font-size: 1.15rem; }

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  padding: var(--space-3);
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.admin-tab {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-tab.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.admin-panel {
  display: none;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3) var(--space-5);
}

.admin-panel.is-active { display: block; }

.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--space-3);
  margin-bottom: var(--space-3);
  overflow-x: auto;
}

.admin-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.admin-form-grid label {
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

.admin-form-grid input,
.admin-form-grid select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.admin-checkbox-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-checkbox-row label {
  font-weight: 500;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th, .admin-table td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table select {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pendente { background: #FDF0D5; color: #8A5A00; }
.status-confirmada { background: #DDEEDD; color: #2E7D4F; }
.status-enviada { background: var(--sky); color: var(--sky-deep); }
.status-cancelada { background: #FBE1DE; color: #B3261E; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--space-2);
  text-align: center;
}

.stat-box .stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  display: block;
}

.stat-box .stat-label {
  font-size: 0.82rem;
  color: var(--navy-soft);
}

.admin-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
}

.btn-danger {
  border-color: #B3261E;
  color: #B3261E;
}
.btn-danger:hover { background: #B3261E; color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-2) var(--space-3) var(--space-3);
    border-bottom: 1px solid var(--border);
    gap: var(--space-2);
  }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}
