/**
 * Maria Flor Sex Shop — vitrine clara, luxo rosé
 * mariaflorsexshop.com.br
 * Escopo: html.maria-flor.lab3d-vitrine
 */

html.maria-flor {
  color-scheme: light;
}

html.maria-flor[data-theme="light"],
html.maria-flor.lab3d-vitrine {
  --mf-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --mf-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --mf-cream: #fff8fb;
  --mf-blush: #fce7f3;
  --mf-petal: #fdf2f8;
  --mf-wine: #9d174d;
  --mf-rose: #db2777;
  --mf-rose-soft: #f9a8d4;
  --mf-gold: #a16207;
  --mf-gold-light: #d4a574;
  --mf-ink: #3f1020;
  --mf-ink-muted: #6b3a4a;
  --mf-glow: rgba(219, 39, 119, 0.22);

  --lab3d-blue-deep: #3f1020;
  --lab3d-blue-light: #f9a8d4;
  --lab3d-yellow: #d4a574;
  --lab3d-orange: #be185d;
  --lab3d-lime: #db2777;
  --lab3d-magenta: #db2777;
  --lab3d-red: #9d174d;
}

/* Sempre claro — ignora prefers-color-scheme do index */
@media (prefers-color-scheme: dark) {
  html.maria-flor:root,
  html.maria-flor {
    --surface-body: #fff8fb;
    --surface-card: #ffffff;
    --surface-soft: #fdf2f8;
    --border-color: rgba(157, 23, 77, 0.1);
    --border-strong: rgba(219, 39, 119, 0.22);
    --text-primary: #3f1020;
    --text-secondary: #6b3a4a;
    --text-muted: #9d6b7a;
    --text-inverse: #ffffff;
    --modal-overlay: rgba(63, 16, 32, 0.45);
    --card-shadow: 0 12px 32px rgba(63, 16, 32, 0.08);
    --card-shadow-hover: 0 18px 44px rgba(219, 39, 119, 0.18);
  }
  html.maria-flor body {
    background: var(--surface-body) !important;
    color: var(--text-primary) !important;
  }
}

html.maria-flor.lab3d-vitrine body {
  font-family: var(--mf-font-body);
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(252, 231, 243, 0.95), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 20%, rgba(249, 168, 212, 0.35), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(212, 165, 116, 0.12), transparent 45%),
    linear-gradient(180deg, #fff8fb 0%, #fdf2f8 38%, #faf5f7 100%) !important;
  color: var(--mf-ink) !important;
  --surface-body: transparent;
  --surface-card: rgba(255, 255, 255, 0.98);
  --surface-soft: rgba(253, 242, 248, 0.95);
  --border-color: rgba(157, 23, 77, 0.1);
  --border-strong: rgba(219, 39, 119, 0.25);
  --text-primary: #3f1020;
  --text-secondary: #6b3a4a;
  --text-muted: #9d6b7a;
  --card-shadow: 0 12px 32px rgba(63, 16, 32, 0.08);
  --card-shadow-hover: 0 18px 44px rgba(219, 39, 119, 0.2);
}

html.maria-flor.lab3d-vitrine .lab3d-wire-grid {
  opacity: 0.28;
  background-size: 120px 120px, 180px 180px, 40px 40px, 40px 40px;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(252, 231, 243, 0.7) 0, transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(249, 168, 212, 0.25) 0, transparent 42%),
    linear-gradient(rgba(219, 39, 119, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(219, 39, 119, 0.03) 1px, transparent 1px);
  animation: mf-particles-float 55s linear infinite;
  will-change: background-position;
}

@keyframes mf-particles-float {
  0% { background-position: 0 0, 30px 20px, 0 0, 0 0; }
  100% { background-position: 0 -140px, 30px -100px, 0 0, 0 0; }
}

html.maria-flor.lab3d-vitrine .lab3d-hero-grad {
  background:
    radial-gradient(circle at 28% 10%, rgba(252, 231, 243, 0.9), transparent 48%),
    radial-gradient(circle at 78% 18%, rgba(249, 168, 212, 0.35), transparent 50%),
    radial-gradient(circle at 50% 92%, rgba(255, 255, 255, 0.95), transparent 55%),
    linear-gradient(180deg, #fffefb 0%, #fff8fb 42%, rgba(255, 255, 255, 0.97) 100%);
}

html.maria-flor.lab3d-vitrine .lab3d-hero-cap {
  opacity: 0.35;
  filter: saturate(1.05) brightness(1.05);
}

html.maria-flor.lab3d-vitrine .lab3d-hero-scan {
  opacity: 0.14;
  mix-blend-mode: multiply;
  background: linear-gradient(90deg, transparent, rgba(219, 39, 119, 0.06), transparent);
  animation: mf-scan-sweep 6s ease-in-out infinite;
}

@keyframes mf-scan-sweep {
  0%, 100% { transform: translateX(-30%); opacity: 0.06; }
  50% { transform: translateX(30%); opacity: 0.14; }
}

html.maria-flor.lab3d-vitrine .lab3d-float-cube {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 231, 243, 0.8), rgba(249, 168, 212, 0.35));
  border-color: rgba(219, 39, 119, 0.2);
  animation: mf-orb-pulse 12s ease-in-out infinite !important;
}

@keyframes mf-orb-pulse {
  0%, 100% { transform: translate3d(0, 8px, 0) scale(1); opacity: 0.4; }
  50% { transform: translate3d(0, -18px, 0) scale(1.12); opacity: 0.65; }
}

html.maria-flor.lab3d-vitrine .lab3d-cube {
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), transparent 45%),
    radial-gradient(circle at 70% 75%, rgba(249, 168, 212, 0.65), rgba(219, 39, 119, 0.2));
  box-shadow: 0 0 16px var(--mf-glow);
  animation-name: mf-orb-pulse !important;
}

html.maria-flor.lab3d-vitrine .lab3d-eyebrow {
  color: var(--mf-wine) !important;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: var(--mf-font-body);
}

html.maria-flor.lab3d-vitrine .lab3d-hero-inner h2 {
  font-family: var(--mf-font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  background: linear-gradient(125deg, #3f1020 0%, #9d174d 35%, #be185d 65%, #db2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}

@supports not (background-clip: text) {
  html.maria-flor.lab3d-vitrine .lab3d-hero-inner h2 {
    color: var(--mf-ink);
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

html.maria-flor.lab3d-vitrine .lab3d-hero-sub {
  color: var(--mf-ink-muted) !important;
  font-family: var(--mf-font-body);
  font-weight: 500;
  font-size: clamp(1rem, 3vw, 1.15rem);
  max-width: 28rem;
  margin-inline: auto;
  line-height: 1.55;
}

html.maria-flor.lab3d-vitrine .lab3d-logo-shell {
  background: linear-gradient(135deg, #fce7f3, #f9a8d4 45%, #db2777);
  box-shadow: 0 14px 36px rgba(219, 39, 119, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.8);
  animation: mf-logo-glow 4s ease-in-out infinite;
}

@keyframes mf-logo-glow {
  0%, 100% { box-shadow: 0 12px 32px rgba(219, 39, 119, 0.2); }
  50% { box-shadow: 0 16px 44px rgba(249, 168, 212, 0.45); }
}

html.maria-flor.lab3d-vitrine .lab3d-btn-primary {
  background: linear-gradient(135deg, #db2777, #9d174d) !important;
  color: #fff !important;
  border: none;
  box-shadow: 0 10px 28px rgba(157, 23, 77, 0.35);
  font-family: var(--mf-font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
}

html.maria-flor.lab3d-vitrine .lab3d-btn-primary:hover {
  box-shadow: 0 14px 36px rgba(219, 39, 119, 0.4);
  transform: translateY(-2px);
}

html.maria-flor.lab3d-vitrine .lab3d-pers-spotlight {
  border: 1px solid rgba(219, 39, 119, 0.2);
  background: linear-gradient(135deg, #ffffff, #fdf2f8);
  color: var(--mf-ink);
  box-shadow: 0 12px 32px rgba(63, 16, 32, 0.08);
}

html.maria-flor.lab3d-vitrine .lab3d-pers-spotlight-body strong {
  color: #3f1020;
}

html.maria-flor.lab3d-vitrine .lab3d-pers-spotlight-sub {
  color: var(--mf-ink-muted);
}

html.maria-flor.lab3d-vitrine .lab3d-pers-spotlight-badge {
  background: linear-gradient(135deg, #db2777, #9d174d);
}

html.maria-flor.lab3d-vitrine .lab3d-pers-spotlight-arrow {
  color: var(--mf-wine);
}

.mf-privacy-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 20px;
  padding: 0 12px;
  max-width: 640px;
  margin-inline: auto;
}

.mf-privacy-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mf-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mf-ink-muted);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 39, 119, 0.15);
  box-shadow: 0 4px 14px rgba(63, 16, 32, 0.06);
  backdrop-filter: blur(10px);
}

.mf-privacy-chip i {
  color: var(--mf-rose);
  font-size: 0.9rem;
}

/* —— Destaques / mais vendidos (hero) —— */
html.maria-flor.lab3d-vitrine .lab3d-best-sellers.mf-bestsellers {
  width: min(920px, 100%);
  margin-top: 28px;
  padding: 22px 18px 20px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, #ffffff 0%, #fdf2f8 55%, #fce7f3 100%);
  border: 1px solid rgba(219, 39, 119, 0.14);
  box-shadow:
    0 20px 50px rgba(157, 23, 77, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}

html.maria-flor.lab3d-vitrine .mf-bestsellers::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 168, 212, 0.35), transparent 70%);
  pointer-events: none;
}

.mf-bestsellers-head {
  position: relative;
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 4px;
}

.mf-bestsellers-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--mf-font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #db2777, #9d174d);
  box-shadow: 0 6px 18px rgba(219, 39, 119, 0.35);
}

.mf-bestsellers-eyebrow i {
  font-size: 0.85rem;
}

.mf-bestsellers-title {
  margin: 12px 0 6px;
  font-family: var(--mf-font-display);
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  font-weight: 600;
  color: var(--mf-ink);
  line-height: 1.15;
}

.mf-bestsellers-sub {
  margin: 0 auto;
  max-width: 26rem;
  font-family: var(--mf-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--mf-ink-muted);
  line-height: 1.45;
}

.mf-bestsellers-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.mf-bestsellers-card {
  min-width: 0;
  display: flex;
}

.mf-bestsellers-card-btn {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(157, 23, 77, 0.1);
  border-radius: 20px;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(63, 16, 32, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mf-bestsellers-card-btn:hover {
  transform: translateY(-5px);
  border-color: rgba(219, 39, 119, 0.4);
  box-shadow: 0 16px 36px rgba(219, 39, 119, 0.2);
}

.mf-bestsellers-card-btn:focus-visible {
  outline: 2px solid var(--mf-rose);
  outline-offset: 3px;
}

.mf-bestsellers-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 32px;
  padding: 5px 9px;
  border-radius: 10px;
  font-family: var(--mf-font-body);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #3f1020, #9d174d);
  box-shadow: 0 4px 12px rgba(63, 16, 32, 0.25);
}

.mf-bestsellers-hot {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--mf-font-body);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3f1020;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.45);
}

.mf-bestsellers-media {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #fdf2f8, #fce7f3);
  overflow: hidden;
}

.mf-bestsellers-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mf-bestsellers-card-btn:hover .mf-bestsellers-media img {
  transform: scale(1.06);
}

.mf-bestsellers-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 14px;
  flex: 1;
}

.mf-bestsellers-name {
  margin: 0;
  font-family: var(--mf-font-body);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mf-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.mf-bestsellers-meta {
  margin: 0;
  font-family: var(--mf-font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--mf-ink-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.mf-bestsellers-meta i {
  color: var(--mf-rose);
  font-size: 0.65rem;
}

.mf-bestsellers-meta--new {
  color: #9d174d;
}

.mf-bestsellers-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
}

.mf-bestsellers-price {
  font-family: var(--mf-font-body);
  font-size: 1rem;
  font-weight: 800;
  color: var(--mf-wine);
}

.mf-bestsellers-price-old {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9d6b7a;
  text-decoration: line-through;
}

.mf-bestsellers-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  padding: 8px 10px;
  border-radius: 12px;
  font-family: var(--mf-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #db2777, #9d174d);
  transition: background 0.2s ease, gap 0.2s ease;
}

.mf-bestsellers-card-btn:hover .mf-bestsellers-cta {
  gap: 10px;
}

/* Card destaque #1 — maior no desktop */
.mf-bestsellers-card--featured .mf-bestsellers-card-btn {
  border-width: 2px;
  border-color: rgba(219, 39, 119, 0.28);
  box-shadow: 0 12px 32px rgba(219, 39, 119, 0.15);
}

.mf-bestsellers-card--featured .mf-bestsellers-rank {
  background: linear-gradient(135deg, #db2777, #be185d);
  font-size: 0.8rem;
  padding: 6px 11px;
}

@media (min-width: 720px) {
  .mf-bestsellers-grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .mf-bestsellers-card--featured {
    grid-row: span 1;
  }

  .mf-bestsellers-card--featured .mf-bestsellers-media {
    aspect-ratio: 4 / 3;
  }

  .mf-bestsellers-card--featured .mf-bestsellers-name {
    font-size: 0.92rem;
  }

  .mf-bestsellers-card--featured .mf-bestsellers-price {
    font-size: 1.15rem;
  }
}

@media (max-width: 719px) {
  html.maria-flor.lab3d-vitrine .lab3d-best-sellers.mf-bestsellers {
    padding: 18px 14px 16px;
    border-radius: 22px;
  }

  .mf-bestsellers-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(219, 39, 119, 0.35) transparent;
  }

  .mf-bestsellers-grid::-webkit-scrollbar {
    height: 5px;
  }

  .mf-bestsellers-grid::-webkit-scrollbar-thumb {
    background: rgba(219, 39, 119, 0.35);
    border-radius: 999px;
  }

  .mf-bestsellers-card {
    flex: 0 0 min(168px, 78vw);
    scroll-snap-align: start;
  }

  .mf-bestsellers-card--featured {
    flex: 0 0 min(200px, 82vw);
  }
}

@media (max-width: 400px) {
  .mf-bestsellers-sub {
    font-size: 0.78rem;
  }
}

/* —— Barra loja: status, redes, carrinho —— */
.mf-store-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 16px auto 8px;
  padding: 0 16px;
  max-width: 520px;
}

.mf-status {
  text-align: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mf-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--mf-font-body);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mf-status-pill--open {
  color: #052e16;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 45%, #16a34a 100%);
  border: 1px solid rgba(74, 222, 128, 0.9);
  box-shadow:
    0 0 0 0 rgba(34, 197, 94, 0.55),
    0 8px 24px rgba(22, 163, 74, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  animation: mf-led-pulse 2s ease-in-out infinite;
}

.mf-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bbf7d0;
  box-shadow:
    0 0 6px 2px #4ade80,
    0 0 14px 4px rgba(74, 222, 128, 0.85);
  animation: mf-led-blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes mf-led-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(34, 197, 94, 0.5),
      0 8px 24px rgba(22, 163, 74, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(34, 197, 94, 0),
      0 8px 28px rgba(74, 222, 128, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }
}

@keyframes mf-led-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.88); }
}

.mf-status-pill--closed {
  color: #fff;
  background: linear-gradient(135deg, #f87171, #dc2626);
  border: 1px solid rgba(248, 113, 113, 0.5);
}

.mf-status-msg {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #b91c1c;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.mf-horarios-chip {
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--mf-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mf-ink-muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(157, 23, 77, 0.1);
}

/* Instagram — faixa elegante (tema Maria Flor) */
.mf-ig-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none !important;
  color: var(--mf-ink) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 55%, #fce7f3 100%);
  border: 1px solid rgba(219, 39, 119, 0.2);
  box-shadow: 0 8px 24px rgba(63, 16, 32, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mf-ig-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(219, 39, 119, 0.35);
  box-shadow: 0 12px 28px rgba(219, 39, 119, 0.14);
}

.mf-ig-banner-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-size: 1.35rem;
  background: linear-gradient(145deg, var(--mf-rose, #db2777), var(--mf-wine, #9d174d));
  box-shadow: 0 4px 14px rgba(157, 23, 77, 0.25);
}

.mf-ig-banner-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.mf-ig-banner-eyebrow {
  font-family: var(--mf-font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mf-ink-muted);
}

.mf-ig-banner-title {
  font-family: var(--mf-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--mf-wine);
}

.mf-ig-banner-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--mf-wine);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(157, 23, 77, 0.12);
}

/* Atalhos — ícones iguais, uma linha */
.mf-quick-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin: 0 !important;
  padding: 4px 0 0;
}

.mf-quick-icon {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  text-decoration: none !important;
  color: var(--mf-wine) !important;
  background: #fff;
  border: 1.5px solid rgba(157, 23, 77, 0.18);
  box-shadow: 0 4px 12px rgba(63, 16, 32, 0.05);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mf-quick-icon i {
  font-size: 1.1rem;
}

.mf-quick-icon:hover {
  color: #fff !important;
  background: linear-gradient(145deg, var(--mf-rose), var(--mf-wine));
  border-color: transparent;
  transform: translateY(-2px);
}

.mf-quick-icon--promo {
  color: var(--mf-gold, #a16207) !important;
  border-color: rgba(212, 165, 116, 0.45);
  background: linear-gradient(180deg, #fff, #fffbeb);
}

.mf-quick-icon--promo:hover {
  color: #fff !important;
  background: linear-gradient(145deg, #d4a574, #a16207);
}

.mf-quick-icon--wa {
  color: #15803d !important;
  border-color: rgba(22, 163, 74, 0.25);
}

.mf-quick-icon--wa:hover {
  background: linear-gradient(145deg, #4ade80, #16a34a);
}

.mf-quick-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  font-family: var(--mf-font-body);
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  color: #fff;
  background: var(--mf-rose);
  border: 2px solid #fff;
  display: none;
}

.mf-quick-badge[style*="flex"],
.mf-cart-social-badge.ativo {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.promocoes-badge-social[style*="flex"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--mf-gold-light, #d4a574);
}

.mf-quick-icon--cart,
.mf-cart-social {
  color: var(--mf-ink-muted) !important;
}

.mf-cart-social-badge {
  display: none;
  background: #9ca3af;
}

.mf-cart-social-badge.ativo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  animation: mf-cart-badge-pop 0.35s ease;
}

body.mf-cart-has-items .mf-quick-icon--cart,
body.mf-cart-has-items .mf-cart-social {
  color: #fff !important;
  background: linear-gradient(145deg, #fbbf24, #f97316) !important;
  border-color: rgba(249, 115, 22, 0.45) !important;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
  animation: mf-cart-glow 2s ease-in-out infinite;
}

.mf-social {
  margin: 0 !important;
}

@media (max-width: 380px) {
  .mf-quick-row {
    gap: 8px;
  }
  .mf-quick-icon {
    width: 42px;
    height: 42px;
  }
  .mf-ig-banner-title {
    font-size: 0.95rem;
  }
}

@keyframes mf-cart-glow {
  0%, 100% { box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35); }
  50% { box-shadow: 0 8px 26px rgba(251, 191, 36, 0.55); }
}

@keyframes mf-cart-badge-pop {
  0% { transform: scale(0.5); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Botão flutuante carrinho — laranja quando ativo */
body.mf-cart-has-items #carrinho-flutuante-mobile.mf-cart-active,
body.mf-cart-has-items #carrinho-flutuante-mobile {
  background: linear-gradient(145deg, #fbbf24, #ea580c) !important;
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.5) !important;
  animation: mf-cart-glow 2s ease-in-out infinite;
}

body.mf-cart-has-items #carrinho-flutuante-mobile .carrinho-badge-mobile.ativo {
  background: #fff !important;
  color: #c2410c !important;
}

/* Endereço modernizado */
.mf-location {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  max-width: 520px;
  margin: 12px auto 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(253, 242, 248, 0.98));
  border: 1px solid rgba(219, 39, 119, 0.12);
  box-shadow: 0 10px 28px rgba(63, 16, 32, 0.06);
}

.mf-location-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #db2777, #9d174d);
  font-size: 1.1rem;
}

.mf-location-text {
  font-family: var(--mf-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--mf-ink);
  text-align: left;
}

/* Hero — corações e flores flutuando */
html.maria-flor.lab3d-vitrine .mf-hero {
  position: relative;
  overflow: hidden;
}

.mf-hero-floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.mf-float-item {
  position: absolute;
  bottom: -10%;
  color: rgba(219, 39, 119, 0.22);
  opacity: 0.55;
  animation: mf-hero-drift linear infinite;
  will-change: transform, opacity;
}

.mf-float-item--1 { color: rgba(236, 72, 153, 0.28); }
.mf-float-item--2 { color: rgba(190, 24, 93, 0.2); }
.mf-float-item--3 { color: rgba(244, 114, 182, 0.25); }
.mf-float-item--0 { color: rgba(157, 23, 77, 0.18); }

@keyframes mf-hero-drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  8% { opacity: 0.5; }
  90% { opacity: 0.35; }
  100% {
    transform: translate3d(25px, -115vh, 0) rotate(360deg);
    opacity: 0;
  }
}

html.maria-flor.lab3d-vitrine .lab3d-hero-inner {
  position: relative;
  z-index: 2;
}

/* Corações subindo ao clicar no produto */
.mf-heart-burst {
  position: fixed;
  z-index: 10080;
  pointer-events: none;
  color: #ec4899;
  text-shadow: 0 2px 8px rgba(219, 39, 119, 0.35);
  transform: translate(-50%, -50%);
  animation: mf-heart-rise 1.4s ease-out forwards;
  will-change: transform, opacity;
}

@keyframes mf-heart-rise {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1) rotate(8deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--mf-dx)), calc(-50% + var(--mf-dy))) scale(1.05) rotate(var(--mf-rot));
  }
}

html.maria-flor.lab3d-vitrine .categories-wrapper,
html.maria-flor.lab3d-vitrine .produtos-grid,
html.maria-flor.lab3d-vitrine .accordion-content {
  --primary-color: #db2777;
  --primary-dark: #9d174d;
}

html.maria-flor.lab3d-vitrine .category-card,
html.maria-flor.lab3d-vitrine .produto-card {
  background: var(--surface-card) !important;
  border: 1px solid rgba(157, 23, 77, 0.08) !important;
  color: var(--text-primary) !important;
}

html.maria-flor.lab3d-vitrine .produto-card:hover {
  border-color: rgba(219, 39, 119, 0.35) !important;
  box-shadow: var(--card-shadow-hover) !important;
}

html.maria-flor.lab3d-vitrine .accordion-header {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--mf-ink) !important;
  border-color: rgba(157, 23, 77, 0.1) !important;
}

html.maria-flor.lab3d-vitrine .accordion-content {
  background: #faf5f7 !important;
}

html.maria-flor.lab3d-vitrine .preco,
html.maria-flor.lab3d-vitrine .produto-preco {
  color: var(--mf-wine) !important;
}

html.maria-flor.lab3d-vitrine .produto-modal-content,
html.maria-flor.lab3d-vitrine #modal-produto .modal-content {
  background: linear-gradient(180deg, #ffffff, #fdf2f8) !important;
  color: var(--mf-ink) !important;
}

html.maria-flor.lab3d-vitrine .btn-adicionar-carrinho {
  background: linear-gradient(135deg, #db2777, #9d174d) !important;
}

#mf-upsell-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10070;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(63, 16, 32, 0.35);
  backdrop-filter: blur(8px);
}

#mf-upsell-modal.mf-show {
  display: flex;
  animation: mf-fade-in 0.3s ease;
}

@keyframes mf-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mf-upsell-panel {
  width: min(400px, 100%);
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff, #fdf2f8);
  border: 1px solid rgba(219, 39, 119, 0.15);
  box-shadow: 0 24px 60px rgba(63, 16, 32, 0.15);
  text-align: center;
  animation: mf-slide-up 0.35s ease;
}

@keyframes mf-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.mf-upsell-panel img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(63, 16, 32, 0.1);
  background: #fdf2f8;
}

.mf-upsell-panel h3 {
  font-family: var(--mf-font-display);
  font-size: 1.5rem;
  color: var(--mf-ink);
  margin: 0 0 8px;
}

.mf-upsell-panel p {
  font-family: var(--mf-font-body);
  font-size: 0.9rem;
  color: var(--mf-ink-muted);
  margin: 0 0 18px;
}

.mf-upsell-preco {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mf-wine);
  margin-bottom: 20px;
}

.mf-upsell-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mf-upsell-actions button {
  padding: 14px 20px;
  border-radius: 14px;
  font-family: var(--mf-font-body);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mf-btn-sim {
  background: linear-gradient(135deg, #db2777, #9d174d);
  color: #fff;
  box-shadow: 0 8px 24px rgba(157, 23, 77, 0.3);
}

.mf-btn-nao {
  background: #fff;
  color: var(--mf-ink-muted);
  border: 1px solid rgba(157, 23, 77, 0.15) !important;
}

.mf-btn-sim:hover { transform: translateY(-2px); }

html.maria-flor #segundo-sabor-section {
  display: none !important;
}

/* Footer moderno + crédito Sites Win */
html.maria-flor footer.mf-footer,
html.maria-flor .mf-footer {
  position: relative;
  margin-top: 48px;
  padding: 0 16px 28px;
  text-align: center;
  background: transparent !important;
  border: none !important;
  overflow: hidden;
}

.mf-footer-glow {
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: min(420px, 90vw);
  height: 120px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(219, 39, 119, 0.22) 0%, rgba(157, 23, 77, 0.08) 45%, transparent 70%);
  pointer-events: none;
  animation: mf-footer-glow-pulse 4s ease-in-out infinite;
}

@keyframes mf-footer-glow-pulse {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.mf-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 20px 8px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(253, 242, 248, 0.5) 100%);
  border-top: 1px solid rgba(219, 39, 119, 0.12);
  box-shadow: 0 -12px 40px rgba(219, 39, 119, 0.08);
  backdrop-filter: blur(8px);
}

.mf-footer-brand {
  font-family: var(--mf-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--mf-wine);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.mf-footer-tagline {
  font-size: 0.78rem;
  color: var(--mf-ink-muted);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.mf-footer-site {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mf-rose) !important;
  text-decoration: none !important;
  margin-bottom: 12px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.mf-footer-site:hover {
  color: var(--mf-wine) !important;
  text-shadow: 0 0 12px rgba(219, 39, 119, 0.35);
}

.mf-footer-copy {
  font-size: 0.72rem;
  color: var(--mf-ink-muted);
  margin: 0 0 14px;
  opacity: 0.9;
}

.mf-footer-credit {
  font-size: 0.75rem;
  color: var(--mf-ink-muted);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(157, 23, 77, 0.1);
}

.mf-footer-siteswin {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  text-decoration: none !important;
}

.mf-footer-siteswin-text {
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, #db2777 0%, #f472b6 35%, #a855f7 65%, #db2777 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: mf-siteswin-shine 3.5s linear infinite;
  filter: drop-shadow(0 0 8px rgba(219, 39, 119, 0.45));
}

.mf-footer-siteswin:hover .mf-footer-siteswin-text {
  filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.55));
}

@keyframes mf-siteswin-shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

html.maria-flor footer {
  color: var(--mf-ink-muted) !important;
  font-family: var(--mf-font-body);
}

/* Verde residual → rosa da marca */
html.maria-flor.lab3d-vitrine .carrinho-item-preco,
html.maria-flor.lab3d-vitrine .social a,
html.maria-flor.lab3d-vitrine .bottom-nav-link.active {
  color: var(--primary-color) !important;
}

html.maria-flor.lab3d-vitrine .bottom-nav-link.active i {
  color: var(--primary-color) !important;
}

/* Tipografia global — sobrescreve Poppins/Outfit do tema base */
html.maria-flor.lab3d-vitrine body,
html.maria-flor.lab3d-vitrine .status,
html.maria-flor.lab3d-vitrine .location,
html.maria-flor.lab3d-vitrine .horarios-info,
html.maria-flor.lab3d-vitrine .categories-wrapper,
html.maria-flor.lab3d-vitrine .category,
html.maria-flor.lab3d-vitrine .category .category-name,
html.maria-flor.lab3d-vitrine .accordion-header,
html.maria-flor.lab3d-vitrine .accordion-content,
html.maria-flor.lab3d-vitrine .product-card,
html.maria-flor.lab3d-vitrine .produto-card,
html.maria-flor.lab3d-vitrine .produto-modal-content,
html.maria-flor.lab3d-vitrine #modal-produto,
html.maria-flor.lab3d-vitrine footer,
html.maria-flor.lab3d-vitrine button,
html.maria-flor.lab3d-vitrine input,
html.maria-flor.lab3d-vitrine textarea,
html.maria-flor.lab3d-vitrine select {
  font-family: var(--mf-font-body) !important;
}

html.maria-flor.lab3d-vitrine .lab3d-hero-inner h2,
html.maria-flor.lab3d-vitrine .mf-bestsellers-title,
html.maria-flor.lab3d-vitrine .mf-upsell-panel h3,
html.maria-flor.lab3d-vitrine .product-card h4,
html.maria-flor.lab3d-vitrine #modal-produto-nome {
  font-family: var(--mf-font-display) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
}

html.maria-flor.lab3d-vitrine .lab3d-hero-inner h2 {
  letter-spacing: 0.01em;
}

/* Nunca usar tema escuro na vitrine Maria Flor */
html.maria-flor[data-theme="dark"] body,
html.maria-flor.dark body,
html.maria-flor[data-theme="dark"] {
  --surface-body: #fff8fb;
  --surface-card: #ffffff;
  --text-primary: #3f1020;
  background: #fff8fb !important;
  color: #3f1020 !important;
}

/* Mobile: menos animação contínua = página mais leve */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  html.maria-flor.lab3d-vitrine .lab3d-wire-grid,
  html.maria-flor.lab3d-vitrine .lab3d-hero-scan {
    animation: none !important;
    opacity: 0.12;
  }
  html.maria-flor.lab3d-vitrine .lab3d-float-cube,
  html.maria-flor.lab3d-vitrine .lab3d-cube {
    animation-duration: 20s !important;
    opacity: 0.25;
  }
  html.maria-flor.lab3d-vitrine .lab3d-logo-shell {
    animation: none !important;
  }
  html.maria-flor.lab3d-vitrine .lab3d-best-sellers,
  html.maria-flor.lab3d-vitrine .mf-privacy-chip {
    backdrop-filter: none;
  }
  .mf-status-pill--open {
    animation: none;
  }
  .mf-led {
    animation: none;
  }
  body.mf-cart-has-items .mf-cart-social,
  body.mf-cart-has-items #carrinho-flutuante-mobile {
    animation: none;
  }
  .mf-float-item {
    display: none;
  }
}

/* Modal produto — compacto (Maria Flor) */
html.maria-flor .produto-modal-content {
  max-height: 78vh;
  border-radius: 20px 20px 0 0;
}

html.maria-flor .produto-modal-body {
  max-height: calc(78vh - 52px);
  padding: 14px 16px 18px;
}

html.maria-flor .lab3d-prod-gallery-main {
  max-height: 168px;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 10px;
}

html.maria-flor #modal-produto-imagem,
html.maria-flor #produto-detalhes .lab3d-prod-gallery-main img {
  width: 100%;
  height: 168px;
  max-height: 168px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0;
}

html.maria-flor #produto-detalhes h2 {
  font-family: var(--mf-font-display);
  font-size: 1.2rem;
  margin: 8px 0 6px;
}

html.maria-flor #produto-detalhes .descricao {
  font-size: 0.85rem;
  margin-bottom: 10px;
  line-height: 1.45;
}

html.maria-flor .preco-box {
  padding: 8px 12px;
  margin-bottom: 12px;
}

html.maria-flor .preco-valor {
  font-size: 1.15rem;
}

html.maria-flor .section-header {
  margin: 14px 0 10px;
  padding-bottom: 8px;
}

html.maria-flor .section-header h3 {
  font-size: 0.95rem;
}

/* Escolha de cor no modal */
.mf-cores-section {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fdf2f8 100%);
  border: 1px solid rgba(219, 39, 119, 0.15);
}

.mf-cores-hint {
  font-size: 0.78rem;
  color: var(--mf-ink-muted);
  margin: 0 0 10px;
}

.mf-cores-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mf-cor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  border: 1.5px solid rgba(157, 23, 77, 0.2);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  user-select: none;
}

.mf-cor-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mf-cor-chip.is-selected,
.mf-cor-chip:has(input:checked) {
  border-color: var(--mf-rose);
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
  transform: translateY(-1px);
}

.mf-cor-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.mf-cor-nome {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mf-wine);
}

.mf-cor-ean {
  font-size: 0.65rem;
  color: var(--mf-ink-muted);
  margin-left: 2px;
}

html.maria-flor .mf-float-item {
  opacity: 0.65;
}

html.maria-flor .mf-hero-floats .mf-float-item {
  font-size: 0.95rem;
}
