/* Cute Cases — Paleta idêntica ao JSX */
:root {
  --pink-pastel: #FFD6E7;
  --pink-baby: #F8BBD0;
  --cream: #FFF6F9;
  --white: #FFFFFF;
  --text: #3A2A2A;
  --gold: #E7C57A;
  --border-subtle: rgba(58, 42, 42, 0.06);
  --border-gold: rgba(231, 197, 122, 0.35);
  --border-gold-55: rgba(231, 197, 122, 0.55);
  --bg-badge: rgba(248, 187, 208, 0.25);
  --bg-soft: rgba(255, 246, 249, 0.7);
  --max-w: 72rem; /* 6xl */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  min-height: 100vh;
}

.app {
  min-height: 100vh;
}

/* Typography */
.text-main { color: var(--text); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.opacity-40 { opacity: 0.4; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-75 { opacity: 0.75; }
.opacity-80 { opacity: 0.8; }
.line-through { text-decoration: line-through; }

/* Icons (Lucide) */
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.gold { color: var(--gold); }
.pink { color: var(--pink-baby); }
.pink-pastel { color: var(--pink-pastel); }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }
.inline { display: inline; vertical-align: middle; }
.inline-flex { display: inline-flex; }

/* Layout */
.flex { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pt-0 { padding-top: 0; }
.w-full { width: 100%; }
.min-w-8 { min-width: 2rem; }
.hidden-mobile { display: none; }
.hidden-md { display: none; }

@media (min-width: 768px) {
  .hidden-mobile { display: inline-flex; }
  .mobile-only { display: none; }
  .hidden-md { display: flex; }
}

@media (max-width: 767px) {
  .mobile-only { display: block; }
  .header-search,
  #btn-open-cart-header {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.5;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(180deg, var(--pink-pastel), var(--pink-baby));
  color: var(--text);
  border-color: var(--border-gold);
}
.btn-primary:hover { opacity: 0.95; box-shadow: 0 2px 8px rgba(58, 42, 42, 0.08); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-gold-55);
}
.btn-outline:hover { background: var(--bg-soft); }
.btn-mais-vendidas {
  background: var(--white);
  transition: background 0.1s ease-in;
}
.btn-mais-vendidas:hover {
  background: var(--bg-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background: rgba(58, 42, 42, 0.06); }
.btn-sm { height: 1.75rem; padding: 0 0.75rem; font-size: 0.75rem; }
.btn-icon { width: 2.5rem; height: 2.5rem; padding: 0; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

/* Input */
.input, .search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--text);
  font-family: inherit;
}
.input:focus, .search-input:focus {
  outline: none;
  border-color: var(--border-gold);
  box-shadow: 0 0 0 2px rgba(231, 197, 122, 0.2);
}
.search-input { border: 0; background: transparent; }
.search-input::placeholder { color: var(--text); opacity: 0.6; }

/* TopBar */
.topbar {
  width: 100%;
  background: linear-gradient(90deg, rgba(255,214,231,0.8), rgba(255,246,249,0.95), rgba(248,187,208,0.75));
  border-bottom: 1px solid var(--border-subtle);
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text);
}
.topbar-left { display: flex; align-items: center; gap: 0.5rem; }
.topbar-center { display: flex; align-items: center; gap: 0.5rem; }
/* Cupom some quando a janela for minimizada / tela estreita */
.topbar-cupom { display: none !important; }
@media (min-width: 768px) {
  .topbar-cupom { display: flex !important; }
}
.cupom-badge {
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-weight: 600;
  background: rgba(255,255,255,0.7);
  color: var(--text);
}
.topbar-cart { display: inline-flex; }
.cart-count-badge {
  margin-left: 0.5rem;
  display: inline-flex;
  height: 1.25rem;
  min-width: 1.25rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  font-size: 11px;
  border-radius: 9999px;
  background: rgba(248,187,208,0.35);
  color: var(--text);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}
.header-brand { display: flex; align-items: center; gap: 0.75rem; }
.logo-box {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255,214,231,0.9), rgba(255,246,249,0.9));
  border: 1px solid var(--border-gold);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  font-size: 1.125rem;
}
.brand-name { font-size: 1rem; font-weight: 600; color: var(--text); }
.brand-tagline { font-size: 0.75rem; opacity: 0.7; color: var(--text); }
.header-search { flex: 1; display: flex; justify-content: center; max-width: 36rem; }
.search-wrap {
  display: flex;
  width: 100%;
  max-width: 32rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255,246,249,0.7);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Sheet (menu / cart) */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.sheet-overlay.is-open { opacity: 1; visibility: visible; }
.sheet {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  z-index: 51;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.sheet.is-open { transform: translateX(0); }
.sheet-cart { width: 380px; }
@media (min-width: 640px) { .sheet-cart { width: 420px; } }
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
.sheet-title { font-size: 1.125rem; font-weight: 600; margin: 0; color: var(--text); }
.sheet-close { margin-left: auto; }
.sheet-body { padding: 1rem 1.25rem; overflow-y: auto; flex: 1; }
.sheet-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s;
}
.sheet-link:hover { background: var(--bg-soft); }
.sheet-search-box {
  border-radius: 1rem;
  padding: 0.75rem;
  background: var(--bg-soft);
}
.separator { height: 1px; background: var(--border-subtle); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(1000px circle at 20% 10%, rgba(255,214,231,0.9), transparent 55%),
    radial-gradient(900px circle at 80% 25%, rgba(248,187,208,0.75), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--white));
}
.hero-inner { position: relative; max-width: var(--max-w); margin: 0 auto; padding: 3rem 1rem; }
@media (min-width: 768px) { .hero-inner { padding: 4rem 1rem; } }
.hero-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.soft-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(248,187,208,0.25);
  color: var(--text);
  border: 1px solid var(--border-gold);
}
.hero-title {
  margin: 1.25rem 0 0;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
.highlight-word {
  display: inline-block;
  margin: 0.5rem 0;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  background: rgba(231,197,122,0.22);
}
.hero-desc { margin: 1rem 0 0; max-width: 32rem; font-size: 1rem; opacity: 0.8; color: var(--text); }
.hero-cta { margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
.hero-cta .btn { width: 100%; }
@media (min-width: 640px) { .hero-cta .btn { width: auto; } }
.hero-cards {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 32rem;
}
.hero-gallery { position: relative; }
.hero-gallery-wrap {
  position: relative;
  border-radius: 28px;
  padding: 0.75rem;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.hero-gallery-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) { .hero-gallery-grid { grid-template-columns: 1fr 1fr; } }
.kawaii-decor {
  position: absolute;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
}
.kawaii-decor-tl { top: -1.5rem; left: 1.5rem; }
.kawaii-decor-br { bottom: -1.5rem; right: 1.5rem; }
.hero-card-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border-subtle);
}
.hero-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at 10% 10%, rgba(255,214,231,0.75), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--white));
}
.hero-card-inner { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
.hero-card-footer .text-sm { font-weight: 600; color: var(--text); }
.hero-card-item-add { cursor: pointer; }
.hero-card-item-add:hover .hero-card-add-hint { opacity: 1; }
.hero-card-add-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 42, 42, 0.4);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s;
  gap: 0.35rem;
}

/* Card */
.card {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid var(--border-subtle);
}
.card-sm { border-radius: 1rem; }
.card-content { padding: 1rem; }
.card-header { padding: 1rem 1rem 0; }
.card-title { font-size: 1rem; font-weight: 600; margin: 0; }

/* Section */
.section { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1rem; }
@media (min-width: 768px) { .section.collections, .section.highlights { padding: 3.5rem 1rem; } }
.section-title { font-size: 1.875rem; font-weight: 600; margin: 0.5rem 0 0; }
.section-title-sm { font-size: 1.5rem; font-weight: 600; margin: 0.5rem 0 0; }
.section-desc { margin: 0.5rem 0 0; font-size: 0.875rem; opacity: 0.75; max-width: 36rem; }
.label { font-size: 0.875rem; font-weight: 600; opacity: 0.8; }

/* Collections / Tabs */
.collections-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .collections-head { flex-direction: row; align-items: flex-end; } }
.tabs-wrap { width: 100%; }
@media (min-width: 768px) { .tabs-wrap { width: auto; } }
.tabs-list {
  display: flex;
  width: 100%;
  border-radius: 9999px;
  background: rgba(248,187,208,0.15);
  padding: 0.25rem;
  gap: 0;
  flex-wrap: wrap;
}
@media (min-width: 768px) { .tabs-list { width: auto; } }
.tabs-trigger {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.tabs-trigger:hover { background: rgba(255,255,255,0.6); }
.tabs-trigger.active { background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,0.06); color: var(--text); }

/* Highlights */
.highlights-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .highlights-grid { grid-template-columns: repeat(3, 1fr); } }

/* Products */
.products-section { padding-bottom: 2.5rem; }
@media (min-width: 768px) { .products-section { padding-bottom: 3.5rem; } }
.products-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.products-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

/* Product card */
.product-card {
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.product-card .card-content { padding: 1rem; }
.product-card-image { position: relative; }
.product-card-image-inner {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.product-card-img-wrap { aspect-ratio: 4/5; width: 100%; position: relative; overflow: hidden; }
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card-badges { position: absolute; left: 0.75rem; top: 0.75rem; display: flex; gap: 0.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}
.badge-pink { background: rgba(248,187,208,0.85); color: var(--text); }
.badge-outline { background: transparent; border: 1px solid var(--border-gold-55); color: var(--text); }
.product-card-info { margin-top: 1rem; }
.product-card-name { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.product-card-meta { margin-top: 0.25rem; display: flex; align-items: center; gap: 0.5rem; }
.rating-stars { display: flex; align-items: center; gap: 0.25rem; }
.rating-stars svg { width: 1rem; height: 1rem; color: var(--gold); }
.rating-stars .star-empty { opacity: 0.3; }
.product-card-tags { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-tag {
  border-radius: 9999px;
  padding: 0.25rem 0.5rem;
  font-size: 11px;
  background: rgba(255,214,231,0.35);
  color: var(--text);
}
.product-card-footer { margin-top: 1rem; display: flex; align-items: flex-end; justify-content: space-between; }
.product-price { font-size: 1rem; font-weight: 600; color: var(--text); }
.product-old-price { font-size: 0.75rem; opacity: 0.6; text-decoration: line-through; color: var(--text); }

/* Placeholder art (product without image) */
.placeholder-art {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
}
.placeholder-art-bg1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px circle at 20% 10%, rgba(255,214,231,0.85), transparent 55%),
    radial-gradient(900px circle at 80% 40%, rgba(248,187,208,0.75), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--white));
}
.placeholder-art-bg2 {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(231,197,122,0.18) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.55;
}
.placeholder-art-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.placeholder-art-emoji {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.875rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(248,187,208,0.35);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.placeholder-art-title { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--text); }
.placeholder-art-sub { margin-top: 0.25rem; font-size: 0.75rem; opacity: 0.7; color: var(--text); }

/* Payment */
.payment-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(900px circle at 10% 10%, rgba(255,214,231,0.75), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--white));
}
@media (min-width: 768px) { .payment-card { padding: 2rem; } }
.payment-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .payment-inner { flex-direction: row; align-items: center; } }
.payment-methods {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (min-width: 640px) { .payment-methods { width: auto; grid-template-columns: repeat(6, 1fr); } }
.payment-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(248,187,208,0.35);
  color: var(--text);
}
.payment-method span:last-child { font-size: 0.75rem; font-weight: 600; }

/* Testimonials */
.testimonials-card {
  border-radius: 28px;
  padding: 1.5rem;
  background: rgba(255,246,249,0.75);
  border: 1px solid var(--border-subtle);
}
@media (min-width: 768px) { .testimonials-card { padding: 2rem; } }
.testimonials-head { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .testimonials-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.testimonials-grid { margin-top: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.rating-stars.filled svg { fill: var(--gold); }

/* FAQ */
.faq-section { padding-bottom: 3.5rem; }
.faq-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-help-box {
  margin-top: 1.25rem;
  border-radius: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
}
.faq-buttons { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 640px) { .faq-buttons { flex-direction: row; } }
.accordion-wrap { border-radius: 1.5rem; border: 1px solid var(--border-subtle); padding: 0.5rem; }
.accordion-item { border-bottom: 1px solid var(--border-subtle); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.accordion-trigger:hover { background: rgba(255,246,249,0.5); }
.accordion-trigger::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(-135deg); }
.accordion-content {
  padding: 0 1rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text);
  opacity: 0.9;
  display: none;
}
.accordion-content.is-open { display: block; }

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.85);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-links { margin-top: 0.75rem; }
.footer-links a { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; opacity: 0.8; color: var(--text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-newsletter {
  margin-top: 2rem;
  border-radius: 1.5rem;
  padding: 1.25rem;
  background: rgba(255,246,249,0.75);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) { .footer-newsletter { flex-direction: row; align-items: center; justify-content: space-between; } }
.newsletter-form { display: flex; width: 100%; max-width: 28rem; align-items: center; gap: 0.5rem; }
.newsletter-form .input { flex: 1; }

/* Cart sheet content */
.cart-empty {
  margin-top: 2rem;
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  background: var(--bg-soft);
}
.cart-empty-icon { font-size: 1.875rem; }
.cart-items { margin-top: 1rem; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1.5rem;
  padding: 0.75rem;
  background: rgba(255,246,249,0.65);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}
.cart-item-thumb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid rgba(248,187,208,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cart-summary {
  margin-top: 1rem;
  border-radius: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border-subtle);
}
.cart-payment-tags { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cart-payment-tag {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  background: rgba(255,214,231,0.35);
  color: var(--text);
}
.cart-actions { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }

/* Dialog */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.dialog-overlay.is-open { opacity: 1; visibility: visible; }
.dialog-wrap {
  position: fixed;
  inset: 0;
  z-index: 51;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.dialog-wrap.is-open { opacity: 1; visibility: visible; }
.dialog-wrap[hidden] { display: none; }
.dialog-content {
  max-width: 48rem;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--border-subtle);
}
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-subtle); }
.dialog-title { font-size: 1.125rem; font-weight: 600; margin: 0; }
.dialog-close { margin-left: auto; }
.dialog-body { padding: 1rem 1.25rem; }
.dialog-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .dialog-grid { grid-template-columns: 1fr 1fr; } }
.dialog-product-image { overflow: hidden; border-radius: 1.5rem; }
.dialog-product-img-wrap { border-radius: 1.5rem; overflow: hidden; aspect-ratio: 4/5; }
.dialog-product-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dialog-product-info { margin-top: 1rem; }
.dialog-tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dialog-tag { border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 0.75rem; background: rgba(248,187,208,0.25); color: var(--text); }
.dialog-features { margin-top: 1rem; }
.dialog-feature { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text); margin-bottom: 0.75rem; }
.dialog-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .dialog-actions { flex-direction: row; } }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  background: rgba(248,187,208,0.95);
  border: 1px solid var(--border-gold-55);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.02); box-shadow: 0 6px 24px rgba(0,0,0,0.18); }

/* ---------- Auth (login / registro) ---------- */
.auth-page .whatsapp-float { display: none; }
.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: calc(100vh - 4.5rem);
}
.auth-card {
  width: 100%;
  max-width: 24rem;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 24px rgba(58, 42, 42, 0.08);
}
.auth-card-inner { padding: 2rem; }
.auth-card-header { margin-bottom: 1.5rem; }
.auth-title { font-size: 1.5rem; font-weight: 600; margin: 0; }
.auth-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.auth-alert-error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #b02a37;
}
.auth-alert-success {
  background: rgba(25, 135, 84, 0.1);
  border: 1px solid rgba(25, 135, 84, 0.3);
  color: #0f5132;
}
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-label { font-size: 0.875rem; font-weight: 500; display: block; margin-bottom: 0.25rem; }
.auth-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input-wrap:focus-within {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 2px rgba(231, 197, 122, 0.2);
}
.auth-input-wrap .auth-input {
  border: 0;
  padding: 0.625rem 0;
  background: transparent;
  flex: 1;
}
.auth-input-wrap .auth-input:focus { box-shadow: none; outline: none; }
.auth-submit { margin-top: 0.5rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; margin-bottom: 0; }
.auth-link { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.auth-link:hover { opacity: 0.85; }

/* Toast de erro do carrinho (estoque etc.) */
.cart-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: 90vw;
  padding: 0.75rem 1.25rem;
  background: var(--text);
  color: var(--white);
  font-size: 0.875rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: cart-toast-in 0.25s ease;
}
@keyframes cart-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(0.5rem); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Barra: juntar carrinho da visita ao logar */
.guest-cart-merge {
  background: linear-gradient(90deg, rgba(255,214,231,0.95), rgba(248,187,208,0.85));
  border-bottom: 1px solid var(--border-gold);
  padding: 0.75rem 1rem;
}
.guest-cart-merge-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.guest-cart-merge-actions { display: flex; gap: 0.5rem; }
