/* ==========================================================================
   OFICINA DO DOCE - DESIGN SYSTEM & ESTILOS COMPLETOS
   ========================================================================== */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- VARIÁVEIS DE DESIGN --- */
:root {
  /* Paleta Inspirada na Logo */
  --color-chocolate-dark: #261208;
  --color-chocolate: #432011;
  --color-chocolate-medium: #5E311D;
  --color-chocolate-light: #7E4B33;
  --color-chocolate-soft: #F4ECE7;

  --color-teal: #1FB3C1;
  --color-teal-hover: #16939F;
  --color-teal-dark: #0D6972;
  --color-teal-light: #E7F8FA;
  --color-teal-glow: rgba(31, 179, 193, 0.35);

  --color-caramel: #E88B2A;
  --color-caramel-hover: #D17619;
  --color-caramel-light: #FDF3E8;

  --color-berry: #E54B68;
  --color-berry-light: #FCECEF;

  --color-bg: #FAF6F0;
  --color-bg-alt: #F3ECE2;
  --color-surface: #FFFFFF;
  --color-surface-translucent: rgba(255, 255, 255, 0.88);

  --color-text-main: #2C1810;
  --color-text-muted: #6B554B;
  --color-text-light: #968379;
  --color-border: rgba(67, 32, 17, 0.1);
  --color-border-hover: rgba(31, 179, 193, 0.4);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(67, 32, 17, 0.05);
  --shadow-md: 0 8px 24px rgba(67, 32, 17, 0.08);
  --shadow-lg: 0 16px 40px rgba(67, 32, 17, 0.12);
  --shadow-xl: 0 24px 60px rgba(67, 32, 17, 0.18);
  --shadow-teal: 0 10px 30px rgba(31, 179, 193, 0.28);
  --shadow-choc: 0 12px 30px rgba(67, 32, 17, 0.25);

  /* Tipografia */
  --font-brand: 'Fredoka', cursive, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transições & Raios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(31, 179, 193, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(232, 139, 42, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

body.menu-open {
  overflow: hidden;
}

header, section, footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 85px;
}

/* Backdrop escuro para o menu mobile aberto */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(38, 18, 8, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden {
  display: none !important;
}

/* --- ANIMAÇÕES KEYFRAMES --- */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(31, 179, 193, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(31, 179, 193, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 179, 193, 0); }
}

@keyframes pulseGlowWhatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes steamPuff {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  50% { opacity: 0.8; transform: translateY(-8px) scale(1); }
  100% { opacity: 0; transform: translateY(-16px) scale(1.4); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* --- BOTÕES & UI ELEMENTOS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(31, 179, 193, 0.4);
  background: linear-gradient(135deg, #24c3d2 0%, var(--color-teal) 100%);
}

.btn-chocolate {
  background: linear-gradient(135deg, var(--color-chocolate) 0%, var(--color-chocolate-dark) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-choc);
}

.btn-chocolate:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--color-chocolate-medium) 0%, var(--color-chocolate) 100%);
  box-shadow: 0 14px 34px rgba(67, 32, 17, 0.35);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-chocolate);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
  background-color: var(--color-teal-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* --- TOPO ANÚNCIO DECORATIVO --- */
.top-notice-bar {
  background: linear-gradient(90deg, var(--color-chocolate-dark) 0%, var(--color-chocolate) 50%, var(--color-chocolate-dark) 100%);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.notice-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-teal-light);
  font-weight: 700;
  background: rgba(31, 179, 193, 0.2);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

.notice-phone-link:hover {
  background: rgba(31, 179, 193, 0.35);
  color: #FFFFFF;
}

/* --- HEADER PRINCIPAL (STICKY GLASS) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-logo-container {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-bounce);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.08) rotate(-2deg);
}

/* Smoke chimney animation */
.brand-steam {
  position: absolute;
  top: -6px;
  left: 22px;
  width: 8px;
  height: 8px;
  background: rgba(31, 179, 193, 0.6);
  border-radius: 50%;
  filter: blur(1px);
  animation: steamPuff 2s infinite ease-out;
  pointer-events: none;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-chocolate);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-title span.accent-do {
  color: var(--color-teal);
  position: relative;
  display: inline-block;
  padding: 0 0.15rem;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--color-teal);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-chocolate);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.header-cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-full);
  color: var(--color-chocolate);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.header-cart-btn:hover {
  border-color: var(--color-teal);
  background: var(--color-teal-light);
  transform: translateY(-2px);
}

.cart-count-badge {
  background: var(--color-teal);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
  transition: transform var(--transition-bounce);
}

.cart-count-badge.has-items {
  background: var(--color-berry);
  animation: pulseGlow 2s infinite;
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 8px;
}

.mobile-toggle-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--color-chocolate);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-toggle-btn.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-toggle-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle-btn.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-greeting-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(31, 179, 193, 0.12);
  color: var(--color-teal-dark);
  border: 1px solid rgba(31, 179, 193, 0.25);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.08;
  color: var(--color-chocolate);
  margin-bottom: 1.3rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight-text {
  color: var(--color-teal);
  position: relative;
  display: inline-block;
}

.hero-title .highlight-text::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(31, 179, 193, 0.18);
  border-radius: 4px;
  z-index: -1;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

/* Highlights Bar */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--color-border);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-chocolate);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Hero Media Display */
.hero-media-wrapper {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #FFFFFF;
  background: #FFFFFF;
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  transition: transform var(--transition-normal);
}

.hero-main-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 3;
  animation: floatSlow 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: 18px;
  left: 18px;
}

.floating-badge-2 {
  bottom: 20px;
  right: 20px;
  animation-delay: -2s;
}

.badge-icon {
  font-size: 1.6rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-chocolate);
  line-height: 1.1;
}

.badge-subtitle {
  font-size: 0.75rem;
  color: var(--color-teal-dark);
  font-weight: 600;
}

/* --- BANNER DE DESTAQUES & DIFERENCIAIS --- */
.features-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.2rem 0;
  box-shadow: var(--shadow-sm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform var(--transition-bounce);
}

.feature-box:hover .feature-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: var(--color-teal);
  color: #FFFFFF;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-chocolate);
  margin-bottom: 0.15rem;
}

.feature-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* --- SEÇÃO MONTE SUA CAIXA (INTERACTIVE BUILDER) --- */
.box-builder-section {
  padding: 5.5rem 0;
  position: relative;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.2rem;
}

.section-tag {
  display: inline-block;
  background: rgba(31, 179, 193, 0.12);
  color: var(--color-teal-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-chocolate);
  line-height: 1.18;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.builder-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

/* Builder Left (Controls) */
.builder-step-block {
  margin-bottom: 2rem;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-chocolate);
  margin-bottom: 1rem;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--color-teal);
  color: #FFFFFF;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Step 1: Box Sizes */
.box-sizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.box-size-card {
  background: var(--color-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  transition: all var(--transition-fast);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box-size-card:hover {
  background: #FFFFFF;
  border-color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.box-size-card.is-selected {
  background: #FFFFFF;
  border-color: var(--color-teal);
  box-shadow: var(--shadow-teal);
}

.box-size-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-caramel);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.box-size-icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.box-size-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-chocolate);
  margin-bottom: 0.3rem;
}

.box-size-desc {
  font-size: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.box-size-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-teal-dark);
}

/* Step 2: Flavors List */
.box-flavors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.box-flavor-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.box-flavor-card:hover {
  background: #FFFFFF;
  border-color: var(--color-teal);
}

.flavor-swatch {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  border: 1.5px solid #FFFFFF;
}

.flavor-meta {
  flex: 1;
  min-width: 0;
}

.flavor-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-chocolate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flavor-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--color-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flavor-counter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.flv-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-chocolate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.flv-btn:hover:not(:disabled) {
  background: var(--color-teal);
  color: #FFFFFF;
  border-color: var(--color-teal);
}

.flv-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.flv-count {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 16px;
  text-align: center;
}

/* Step 3: Ribbon & Message */
.box-ribbon-grid {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ribbon-choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ribbon-choice input {
  display: none;
}

.ribbon-choice.is-selected {
  background: #FFFFFF;
  border-color: var(--color-teal);
  box-shadow: var(--shadow-sm);
  color: var(--color-teal-dark);
}

.ribbon-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.gift-message-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--color-text-main);
  transition: border-color var(--transition-fast);
}

.gift-message-input:focus {
  border-color: var(--color-teal);
  background: #FFFFFF;
}

/* Builder Right (Visual Preview Box) */
.builder-preview-panel {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--color-border);
}

.preview-header {
  margin-bottom: 1.2rem;
}

.preview-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-chocolate);
  margin-bottom: 0.3rem;
}

.builder-progress-wrap {
  width: 100%;
  height: 8px;
  background: rgba(67, 32, 17, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.builder-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-caramel) 100%);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.builder-status-text {
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

/* 3D Visual Sweet Box Presentation */
.box-visual-frame {
  background: #FFFFFF;
  border: 3px solid #E8DFD8;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.06), var(--shadow-sm);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.2rem 0;
  position: relative;
}

.box-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  width: 100%;
}

.box-slot {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--transition-fast);
}

.box-slot.empty {
  border: 2px dashed rgba(67, 32, 17, 0.18);
  background: rgba(250, 246, 240, 0.5);
  color: var(--color-text-light);
}

.slot-empty-icon {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.6;
}

.box-slot.filled {
  background: var(--color-bg);
  border: 1px solid rgba(67, 32, 17, 0.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  animation: floatSlow 3s ease-in-out infinite;
}

.slot-sweet-ball {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset -2px -2px 6px rgba(0,0,0,0.35), 0 3px 6px rgba(0,0,0,0.2);
  margin-bottom: 0.2rem;
}

.slot-mini-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-chocolate);
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.builder-bottom-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-add-box-cart {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

.btn-add-box-cart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-add-box-cart.pulse-ready {
  animation: pulseGlow 1.8s infinite;
}

.btn-reset-box {
  background: none;
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 0.3rem;
  transition: color var(--transition-fast);
}

.btn-reset-box:hover {
  color: var(--color-berry);
}

/* --- CARDÁPIO & CATÁLOGO DIGITAL --- */
.catalog-section {
  padding: 5.5rem 0;
  background: #FFFFFF;
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Search bar */
.catalog-search-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.catalog-search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 3.2rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.98rem;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.catalog-search-input:focus {
  background: #FFFFFF;
  border-color: var(--color-teal);
  box-shadow: var(--shadow-teal);
}

.search-icon-left {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(67, 32, 17, 0.1);
  color: var(--color-chocolate);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Category Filter Pills */
.category-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.catalog-filter-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.catalog-filter-btn:hover {
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
}

.catalog-filter-btn.is-active {
  background: var(--color-chocolate);
  color: #FFFFFF;
  box-shadow: var(--shadow-choc);
}

/* Grid de Produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.product-card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg);
  cursor: pointer;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-card-img {
  transform: scale(1.08);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--color-chocolate);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 2;
}

.product-card-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-berry);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(229, 75, 104, 0.3);
  z-index: 2;
}

.product-quick-view-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-chocolate);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  z-index: 2;
}

.product-card:hover .product-quick-view-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.product-card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-category {
  font-size: 0.75rem;
  color: var(--color-teal-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-chocolate);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.product-card-title:hover {
  color: var(--color-teal);
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-highlights {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.highlight-pill {
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.product-card-pricing {
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 0.78rem;
  color: var(--color-text-light);
  text-decoration: line-through;
}

.current-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-chocolate);
}

.btn-add-cart {
  background: var(--color-teal);
  color: #FFFFFF;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-add-cart:hover {
  background: var(--color-teal-hover);
  transform: scale(1.04);
}

/* Empty Search State */
.catalog-empty-search {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.catalog-empty-search h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-chocolate);
  margin-bottom: 0.5rem;
}

.catalog-empty-search p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* --- SEÇÃO SOBRE NÓS ("A OFICINA") --- */
.about-section {
  padding: 5.5rem 0;
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 4rem;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #FFFFFF;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-badge-exp {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
}

.about-badge-exp .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-teal-dark);
  line-height: 1;
}

.about-badge-exp .txt {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-chocolate);
  text-transform: uppercase;
}

.about-values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
}

.about-val-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.val-icon {
  font-size: 1.4rem;
  margin-top: 0.1rem;
}

.val-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-chocolate);
  margin-bottom: 0.2rem;
}

.val-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* --- SEÇÃO DEPOIMENTOS --- */
.testimonials-section {
  padding: 5.5rem 0;
  background: #FFFFFF;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
}

.test-stars {
  color: var(--color-caramel);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.test-quote {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-teal);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-chocolate);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* --- SEÇÃO COMO FUNCIONA / ENCOMENDAS --- */
.steps-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, #FFFFFF 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-teal);
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-chocolate);
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- SEÇÃO FAQ ACCORDION --- */
.faq-section {
  padding: 5.5rem 0;
  background: var(--color-bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--color-teal);
}

.faq-header {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-chocolate);
}

.faq-arrow {
  font-size: 1.2rem;
  color: var(--color-teal);
  transition: transform var(--transition-fast);
}

.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--color-bg);
}

.faq-item.is-open .faq-body {
  max-height: 250px;
  border-top: 1px solid var(--color-border);
}

.faq-body-content {
  padding: 1.2rem 1.5rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- BANNER CTA WHATSAPP DIRETO --- */
.cta-banner-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--color-chocolate-dark) 0%, var(--color-chocolate) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.cta-banner-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.cta-banner-text h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 550px;
}

.cta-phone-highlight {
  color: var(--color-teal-light);
  font-weight: 700;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--color-chocolate-dark);
  color: #FFFFFF;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

.footer-brand-title {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
}

.footer-about-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-teal);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-icon {
  color: var(--color-teal);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- CARRINHO SLIDE-OVER DRAWER --- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(38, 18, 8, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cart-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  z-index: 201;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform var(--transition-bounce), visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-header {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg);
}

.cart-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-chocolate);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-chocolate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cart-close-btn:hover {
  background: var(--color-berry);
  color: #FFFFFF;
  border-color: var(--color-berry);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem 1.6rem;
}

/* Empty Cart View */
.cart-empty-box {
  text-align: center;
  padding: 3rem 1rem;
}

.cart-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.cart-empty-box h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-chocolate);
  margin-bottom: 0.4rem;
}

.cart-empty-box p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Item Row */
.cart-item-row {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--color-bg);
}

.cart-item-info {
  flex: 1;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-chocolate);
  line-height: 1.2;
}

.cart-item-remove-btn {
  color: var(--color-text-light);
  transition: color var(--transition-fast);
  padding: 0.2rem;
}

.cart-item-remove-btn:hover {
  color: var(--color-berry);
}

.cart-item-notes {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.cart-item-box-details {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-chocolate);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-teal-dark);
  font-size: 0.98rem;
}

.cart-item-qty-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-bg);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.4rem;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-chocolate);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.qty-display {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

/* Cart Checkout Form */
.cart-checkout-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-chocolate);
  margin-bottom: 0.3rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--color-text-main);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-teal);
  background: #FFFFFF;
}

.delivery-options-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.delivery-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.delivery-radio-label input:checked + span {
  color: var(--color-teal-dark);
}

.delivery-radio-label:has(input:checked) {
  border-color: var(--color-teal);
  background: var(--color-teal-light);
}

/* Cart Drawer Footer */
.cart-drawer-footer {
  padding: 1.4rem 1.6rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-chocolate);
  padding-top: 0.6rem;
  margin-top: 0.6rem;
  border-top: 1px dashed var(--color-border);
  margin-bottom: 1.2rem;
}

.btn-checkout-whatsapp {
  width: 100%;
  padding: 0.95rem;
  font-size: 1rem;
}

/* --- MODAL DETALHES DO PRODUTO --- */
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(38, 18, 8, 0.65);
  backdrop-filter: blur(6px);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.product-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.product-detail-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 90%;
  max-width: 780px;
  max-height: 90vh;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  z-index: 251;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-bounce);
}

.product-detail-modal.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.modal-close-corner-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  color: var(--color-chocolate);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-corner-btn:hover {
  background: var(--color-berry);
  color: #FFFFFF;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-col {
  background: var(--color-bg);
  position: relative;
}

.modal-product-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}

.modal-details-col {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-prod-category {
  font-size: 0.78rem;
  color: var(--color-teal-dark);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.modal-prod-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-chocolate);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.modal-prod-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.modal-meta-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-lbl {
  font-size: 0.72rem;
  color: var(--color-text-light);
  font-weight: 700;
  text-transform: uppercase;
}

.spec-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-chocolate);
}

.modal-ingredients-box {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.modal-ingredients-box strong {
  color: var(--color-chocolate);
}

.modal-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--color-border);
}

.modal-qty-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.modal-price-display {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-chocolate);
}

/* --- BOTÃO FLUTUANTE DO WHATSAPP --- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: all var(--transition-bounce);
  animation: pulseGlowWhatsapp 2.5s infinite;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) rotate(6deg);
  background: #20BA5A;
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--color-chocolate-dark);
  color: #FFFFFF;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- TOAST NOTIFICATION --- */
.app-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: rgba(38, 18, 8, 0.95);
  color: #FFFFFF;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.app-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES MODERNAS & FLUIDAS)
   ========================================================================== */

/* --- TABLETS EM PAISAGEM & LAPTOPS (<= 1024px) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.8rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-lead {
    margin: 0 auto 2rem;
    max-width: 620px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
    width: 100%;
    max-width: 560px;
  }
  .hero-main-card {
    max-width: 560px;
    margin: 0 auto;
    transform: none;
  }
  .hero-main-card:hover {
    transform: none;
  }
  .builder-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-image-card {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .about-values-list {
    text-align: left;
    max-width: 600px;
    width: 100%;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* --- TABLETS E CELULARES GRANDES (<= 768px) --- */
@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 72px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .section-header {
    margin-bottom: 2.4rem;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Barra de Avisos no Topo */
  .top-notice-bar {
    font-size: 0.8rem;
    padding: 0.45rem 0.8rem;
  }

  .top-notice-content {
    gap: 0.6rem 1rem;
    justify-content: center;
  }

  /* Header & Menu Mobile Hamburger */
  .site-header {
    padding: 0.35rem 0;
  }

  .header-inner {
    padding: 0.35rem 0;
    gap: 0.75rem;
  }

  .brand-logo-container {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1.25rem 1.25rem 2rem;
    box-shadow: 0 20px 40px rgba(44, 24, 16, 0.18);
    border-bottom: 2px solid var(--color-teal);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    z-index: 99;
    transition: transform var(--transition-bounce), opacity var(--transition-normal), visibility var(--transition-normal);
  }

  .main-nav.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(67, 32, 17, 0.06);
    color: var(--color-chocolate);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover, .nav-link:active {
    background: var(--color-teal-light);
    color: var(--color-teal-dark);
    padding-left: 1.25rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.2rem 0 2.2rem;
  }

  .hero-title {
    font-size: 2.35rem;
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 1.02rem;
    margin: 0 auto 1.8rem;
  }

  .hero-main-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-main-img {
    height: 320px;
  }

  .floating-badge {
    padding: 0.5rem 0.8rem;
    gap: 0.6rem;
  }

  .floating-badge-1 {
    top: 12px;
    left: 12px;
  }

  .floating-badge-2 {
    bottom: 12px;
    right: 12px;
  }

  .badge-icon {
    font-size: 1.3rem;
  }

  .badge-title {
    font-size: 0.82rem;
  }

  .badge-subtitle {
    font-size: 0.68rem;
  }

  /* Faixa de Diferenciais */
  .features-strip {
    padding: 2rem 0;
  }

  /* Monte sua Caixa */
  .box-builder-section {
    padding: 3.8rem 0;
  }

  .builder-layout {
    padding: 1.8rem 1.4rem;
  }

  .box-sizes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .box-flavors-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    max-height: 310px;
  }

  .flv-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 1.1rem;
  }

  .flv-count {
    font-size: 1rem;
    min-width: 22px;
  }

  .box-visual-frame {
    min-height: 200px;
    padding: 1rem;
  }

  /* Cardápio / Catálogo */
  .catalog-section {
    padding: 3.8rem 0;
  }

  .catalog-controls {
    gap: 1.2rem;
    margin-bottom: 2.2rem;
  }

  .category-filter-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.3rem 0.2rem 0.8rem;
    gap: 0.55rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-filter-pills::-webkit-scrollbar {
    display: none;
  }

  .catalog-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.55rem 1.15rem;
    font-size: 0.86rem;
  }

  .product-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .product-card-img {
    transition: none;
  }

  .product-card:hover .product-card-img {
    transform: none;
  }

  .product-quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    bottom: 10px;
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
  }

  /* Seção Sobre */
  .about-section {
    padding: 3.8rem 0;
  }

  .about-image-card {
    max-width: 480px;
  }

  .about-img {
    height: 300px;
  }

  /* Depoimentos */
  .testimonials-section {
    padding: 3.8rem 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Como Funciona */
  .steps-section {
    padding: 3.8rem 0;
  }

  /* FAQ */
  .faq-section {
    padding: 3.8rem 0;
  }

  /* CTA Banner */
  .cta-banner-section {
    padding: 3.5rem 0;
  }

  .cta-banner-box {
    flex-direction: column;
    text-align: center;
    padding: 2.2rem 1.5rem;
    gap: 1.6rem;
  }

  .cta-banner-text h2 {
    font-size: 1.9rem;
  }

  .cta-banner-text p {
    font-size: 0.95rem;
    margin: 0 auto;
  }

  /* Footer */
  .site-footer {
    padding: 3.5rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Modal de Produto */
  .modal-content-grid {
    grid-template-columns: 1fr;
  }

  .modal-img-col {
    max-height: 230px;
  }

  .modal-product-img {
    min-height: auto;
    height: 230px;
  }

  .modal-details-col {
    padding: 1.5rem 1.3rem;
  }

  .modal-prod-title {
    font-size: 1.35rem;
  }

  .modal-meta-specs {
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.9rem;
  }

  .modal-ingredients-box {
    margin-bottom: 0.9rem;
  }

  .modal-action-bar {
    padding-top: 0.9rem;
    gap: 0.8rem;
  }
}

/* --- CELULARES PADRÃO (<= 576px) --- */
@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-tag {
    font-size: 0.76rem;
    padding: 0.3rem 0.75rem;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.6rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  /* Top Notice Bar Compacta */
  .top-notice-bar {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }

  .top-notice-content {
    justify-content: space-between;
    gap: 0.4rem;
  }

  .top-notice-content span:nth-child(2) {
    display: none;
  }

  .notice-phone-link {
    font-size: 0.74rem;
    padding: 0.15rem 0.45rem;
  }

  /* Header Compacto para Celular */
  .brand-logo-container {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .brand-title {
    font-size: 1.22rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .header-wa-cta {
    padding: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-wa-cta .header-wa-text {
    display: none;
  }

  .header-cart-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    gap: 0.35rem;
  }

  .mobile-toggle-btn {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  /* Hero Section */
  .hero-section {
    padding: 1.8rem 0 1.8rem;
  }

  .hero-greeting-pill {
    font-size: 0.78rem;
    padding: 0.32rem 0.8rem;
    margin-bottom: 0.8rem;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 1.15;
    margin-bottom: 0.85rem;
  }

  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
  }

  .hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding-top: 1.2rem;
    width: 100%;
  }

  .hero-stat-item {
    text-align: center;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.7rem;
    line-height: 1.2;
    margin-top: 0.15rem;
  }

  .hero-main-card {
    border-width: 2.5px;
    border-radius: var(--radius-lg);
  }

  .hero-main-img {
    height: 250px;
  }

  .floating-badge {
    padding: 0.38rem 0.65rem;
    border-radius: var(--radius-sm);
  }

  .floating-badge-1 {
    top: 8px;
    left: 8px;
  }

  .floating-badge-2 {
    bottom: 8px;
    right: 8px;
  }

  .badge-icon {
    font-size: 1.1rem;
  }

  .badge-title {
    font-size: 0.74rem;
  }

  .badge-subtitle {
    font-size: 0.62rem;
  }

  /* Diferenciais */
  .features-strip {
    padding: 1.6rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .feature-box {
    gap: 0.85rem;
  }

  .feature-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.3rem;
  }

  .feature-title {
    font-size: 0.92rem;
  }

  .feature-desc {
    font-size: 0.78rem;
  }

  /* Monte sua Caixa */
  .box-builder-section {
    padding: 2.5rem 0;
  }

  .builder-layout {
    padding: 1.1rem 0.9rem;
    border-radius: var(--radius-lg);
    gap: 1.4rem;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
  }

  .builder-controls-panel,
  .builder-preview-panel {
    min-width: 0;
    max-width: 100%;
  }

  .builder-step-block {
    margin-bottom: 1.4rem;
    min-width: 0;
    max-width: 100%;
  }

  .step-label {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .step-num {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }

  .box-sizes-grid {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
  }

  .box-size-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    min-width: 0;
    width: 100%;
    text-align: left;
    position: relative;
  }

  .box-size-card .box-size-icon {
    font-size: 1.4rem;
    margin-bottom: 0;
    margin-right: 0.75rem;
  }

  .box-size-card .box-size-name {
    font-size: 0.95rem;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
  }

  .box-size-card .box-size-desc {
    display: none;
  }

  .box-size-card .box-size-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-teal-dark);
    margin-left: auto;
  }

  .box-size-popular {
    position: static;
    transform: none;
    font-size: 0.62rem;
    padding: 0.15rem 0.45rem;
    margin-left: 0.4rem;
    border-radius: var(--radius-full);
  }

  .box-flavors-grid {
    min-width: 0;
    max-width: 100%;
  }

  .box-flavor-card {
    padding: 0.5rem 0.65rem;
    gap: 0.55rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .flavor-meta {
    min-width: 0;
    flex: 1;
  }

  .flavor-name {
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .flavor-desc {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .flavor-counter {
    flex-shrink: 0;
  }

  .flv-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.2rem;
  }

  .flv-count {
    font-size: 1rem;
    min-width: 20px;
  }

  .box-ribbon-grid {
    gap: 0.45rem;
    margin-bottom: 0.75rem;
  }

  .ribbon-choice {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    gap: 0.35rem;
  }

  .gift-message-input {
    padding: 0.65rem 0.75rem;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .builder-preview-panel {
    padding: 1rem 0.85rem;
    border-radius: var(--radius-md);
  }

  .preview-title {
    font-size: 1.05rem;
  }

  .builder-status-text {
    font-size: 0.78rem;
  }

  .box-visual-frame {
    min-height: 160px;
    padding: 0.75rem;
    margin: 0.85rem 0;
  }

  .box-slots-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
  }

  .slot-sweet-ball {
    width: 22px;
    height: 22px;
  }

  .slot-mini-label {
    font-size: 0.56rem;
  }

  .btn-add-box-cart {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    min-height: 48px;
  }

  /* Cardápio & Busca */
  .catalog-section {
    padding: 2.5rem 0;
    overflow-x: clip;
  }

  .catalog-controls {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .category-filter-pills {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .catalog-search-wrap {
    max-width: 100%;
  }

  .catalog-search-input {
    padding: 0.8rem 2.5rem 0.8rem 2.8rem;
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .product-card {
    border-radius: var(--radius-md);
  }

  .product-card-body {
    padding: 1.1rem 0.95rem;
  }

  .product-card-title {
    font-size: 1.05rem;
  }

  .product-card-desc {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
    margin-bottom: 0.75rem;
  }

  .product-card-footer {
    padding-top: 0.85rem;
  }

  .current-price {
    font-size: 1.18rem;
  }

  .btn-add-cart {
    padding: 0.6rem 0.95rem;
    font-size: 0.82rem;
    min-height: 42px;
  }

  /* Sobre Nós */
  .about-section {
    padding: 2.5rem 0;
  }

  .about-img {
    height: 240px;
  }

  .about-image-card {
    border-radius: var(--radius-lg);
  }

  .about-badge-exp {
    bottom: 10px;
    right: 10px;
    padding: 0.55rem 0.8rem;
    border-radius: var(--radius-sm);
  }

  .about-badge-exp .num {
    font-size: 1.35rem;
  }

  .about-badge-exp .txt {
    font-size: 0.62rem;
  }

  .about-values-list {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin: 1.2rem 0 1.6rem;
  }

  .val-icon {
    font-size: 1.25rem;
  }

  .val-title {
    font-size: 0.88rem;
  }

  .val-desc {
    font-size: 0.78rem;
  }

  .about-content .btn {
    width: 100%;
    justify-content: center;
  }

  /* Etapas de Pedido */
  .steps-section {
    padding: 2.5rem 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .step-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .step-circle {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .step-title {
    font-size: 0.95rem;
  }

  .step-text {
    font-size: 0.8rem;
  }

  /* Depoimentos */
  .testimonials-section {
    padding: 2.5rem 0;
  }

  .testimonial-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .test-stars {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .test-quote {
    font-size: 0.86rem;
    margin-bottom: 1rem;
  }

  .author-avatar {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .author-name {
    font-size: 0.88rem;
  }

  .author-role {
    font-size: 0.72rem;
  }

  /* FAQ */
  .faq-section {
    padding: 2.5rem 0;
  }

  .faq-header {
    padding: 0.95rem 1.1rem;
  }

  .faq-question {
    font-size: 0.92rem;
  }

  .faq-body-content {
    padding: 0.95rem 1.1rem;
    font-size: 0.84rem;
  }

  /* Banner CTA WhatsApp */
  .cta-banner-section {
    padding: 2.5rem 0;
  }

  .cta-banner-box {
    padding: 1.6rem 1.1rem;
    border-radius: var(--radius-lg);
    gap: 1.2rem;
  }

  .cta-banner-text h2 {
    font-size: 1.5rem;
  }

  .cta-banner-text p {
    font-size: 0.86rem;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    font-size: 0.92rem;
    min-height: 48px;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 0 1.2rem;
  }

  .footer-brand-title {
    font-size: 1.3rem;
  }

  .footer-about-text {
    font-size: 0.82rem;
  }

  .footer-col-title {
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
  }

  .footer-link {
    font-size: 0.82rem;
  }

  .footer-contact-item {
    font-size: 0.82rem;
  }

  .footer-bottom {
    font-size: 0.74rem;
    text-align: center;
    flex-direction: column;
    gap: 0.4rem;
  }

  /* Carrinho Lateral (Drawer 100% Mobile) */
  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }

  .cart-drawer-header {
    padding: 1rem 1.1rem;
  }

  .cart-drawer-title {
    font-size: 1.1rem;
  }

  .cart-drawer-body {
    padding: 1rem 1.1rem;
  }

  .cart-drawer-footer {
    padding: 1rem 1.1rem;
  }

  .cart-item-row {
    gap: 0.75rem;
    padding: 0.8rem 0;
  }

  .cart-item-img {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: var(--radius-sm);
  }

  .cart-item-title {
    font-size: 0.88rem;
  }

  .cart-item-price {
    font-size: 0.92rem;
  }

  .qty-btn {
    width: 26px;
    height: 26px;
    font-size: 0.95rem;
  }

  .delivery-radio-label {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
  }

  .btn-checkout-whatsapp {
    padding: 0.85rem;
    font-size: 0.92rem;
    min-height: 48px;
  }

  /* Modal de Detalhes do Produto */
  .product-detail-modal {
    width: 95%;
    max-height: 92vh;
    border-radius: var(--radius-lg);
  }

  .modal-img-col {
    max-height: 200px;
  }

  .modal-product-img {
    height: 200px;
  }

  .modal-details-col {
    padding: 1.1rem 1rem;
  }

  .modal-prod-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .modal-prod-desc {
    font-size: 0.82rem;
    margin-bottom: 0.8rem;
  }

  .modal-meta-specs {
    padding: 0.55rem 0.75rem;
    margin-bottom: 0.8rem;
  }

  .modal-ingredients-box {
    font-size: 0.76rem;
    margin-bottom: 0.8rem;
  }

  .modal-action-bar {
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: space-between;
  }

  #modalAddToCartBtn {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem;
  }

  /* Botão Flutuante do WhatsApp */
  .floating-whatsapp-btn {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }

  .floating-whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  .floating-whatsapp-tooltip {
    display: none !important;
  }

  /* Toast */
  .app-toast {
    width: calc(100% - 24px);
    max-width: 350px;
    font-size: 0.82rem;
    padding: 0.65rem 1rem;
    bottom: 18px;
    justify-content: center;
    text-align: center;
  }
}

/* --- TELAS EXTRA PEQUENAS (<= 380px) --- */
@media (max-width: 380px) {
  .brand-logo-container {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .brand-subtitle {
    display: none;
  }

  .cart-label-text {
    display: none;
  }

  .header-cart-btn {
    padding: 0.45rem 0.55rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .stat-number {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .cta-banner-text h2 {
    font-size: 1.35rem;
  }

  .delivery-options-radios {
    grid-template-columns: 1fr;
  }

  .box-sizes-grid {
    gap: 0.35rem;
  }

  .box-size-card {
    padding: 0.65rem 0.25rem;
  }

  .box-size-name {
    font-size: 0.75rem;
  }

  .box-size-price {
    font-size: 0.85rem;
  }
}
