/* ========================================
   SABORES ATÉ VOCÊ - DESIGN SYSTEM V2
   E-commerce de Salgados Premium
   ======================================== */

/* ===== CSS VARIABLES (DESIGN TOKENS) ===== */
:root {
  /* Cores principais - Paleta obrigatória */
  --color-red: #AF2024;
  --color-red-dark: #82181B;
  --color-red-deep: #631114;
  --color-gold: #D8AD58;
  --color-gold-light: #E8C982;
  --color-gold-soft: #F7E8C5;
  --color-cream: #FFF7EA;
  --color-cream-2: #FBEEDB;
  --color-brown: #3C2118;
  --color-text: #2B1B16;
  --color-muted: #765A4B;
  --color-white: #FFFFFF;
  --color-border: #E7CFAE;
  --color-whatsapp: #1F8F55;

  /* Aliases para uso comum */
  --color-primary: var(--color-red);
  --color-primary-dark: var(--color-red-dark);
  --color-primary-light: var(--color-red-deep);
  --color-secondary: var(--color-gold);
  --color-secondary-light: var(--color-gold-light);
  --color-bg: var(--color-cream);
  --color-surface: var(--color-white);
  --color-surface-soft: var(--color-cream-2);

  /* Tipografia */
  --font-heading: 'Montserrat', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Pacifico', cursive;
  
  /* Tamanhos */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 2rem;
  --font-4xl: 2.5rem;
  --font-5xl: 3rem;
  --font-6xl: 3.5rem;

  /* Espaçamento */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1180px;
  --header-height: 90px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(43, 27, 22, 0.08);
  --shadow-md: 0 4px 16px rgba(43, 27, 22, 0.12);
  --shadow-lg: 0 8px 32px rgba(43, 27, 22, 0.16);
  --shadow-xl: 0 16px 48px rgba(43, 27, 22, 0.2);

  /* Transições */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Aliases para admin inline styles */
  --border: var(--color-border);
  --muted: var(--color-muted);
  --success: #1F7A4D;
  --gold: var(--color-gold);
  --transition-slow: 400ms ease;
}

/* ===== RESET BÁSICO ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  color: var(--color-muted);
  line-height: 1.7;
}

/* Texto com destaque em fonte caligráfica */
.text-accent {
  font-family: var(--font-accent);
  color: var(--color-gold);
}

.text-accent-red {
  font-family: var(--font-accent);
  color: var(--color-red);
}

/* ===== LAYOUT BASE ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
}

.section {
  padding: var(--space-16) 0;
}

.section-lg {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-10) 0;
}

.section-cream {
  background-color: var(--color-cream);
}

.section-red {
  background-color: var(--color-red);
  color: white;
}

.section-red p {
  color: rgba(255, 255, 255, 0.9);
}

.section-gold {
  background-color: var(--color-gold-soft);
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--color-gold);
  color: var(--color-brown);
  font-size: var(--font-sm);
  padding: var(--space-2) 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.topbar-contact {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}

.topbar-contact a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-brown);
}

.topbar-contact a:hover {
  color: var(--color-red-dark);
}

.topbar-social {
  display: flex;
  gap: var(--space-4);
}

.topbar-social a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(60, 33, 24, 0.1);
  color: var(--color-brown);
  transition: all var(--transition-fast);
}

.topbar-social a svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.topbar-social a:hover {
  background: var(--color-brown);
  color: var(--color-gold);
}

/* ===== HEADER ===== */
.site-header {
  position: relative;
  background: var(--color-red);
  box-shadow: var(--shadow-md);
  z-index: 100;
}

.site-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-logo {
  width: 150px;
  max-width: 150px;
  height: auto;
  display: block;
}

.brand-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brown);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  line-height: 1.2;
}

.brand-tagline {
  font-size: var(--font-xs);
  color: var(--color-gold-soft);
  line-height: 1.3;
}

/* Navegação */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 24px);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-nav a {
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: white;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
  transition: transform var(--transition-fast);
}

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

.site-nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.site-nav a.active {
  color: var(--color-gold);
}

/* Ações do header */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-sm);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-brown);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-ghost {
  background: transparent;
  color: white;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.btn-whatsapp:hover {
  background: #168943;
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  color: var(--color-red);
  border: 2px solid var(--color-red);
}

.btn-outline-red:hover {
  background: var(--color-red);
  color: white;
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-brown);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-base);
}

/* Badge do carrinho */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 var(--space-2);
  background: var(--color-gold);
  color: var(--color-brown);
  font-size: var(--font-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-left: var(--space-2);
}

/* Menu mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO BANNER ROTATIVO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 600px;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s ease, visibility .6s ease;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg, rgba(80, 10, 12, 0.82) 0%, rgba(175, 32, 36, 0.58) 45%, rgba(0, 0, 0, 0.22) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--color-gold);
  color: var(--color-brown);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-xs);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.02;
  margin-bottom: var(--space-4);
  color: #fff;
}

.hero-script {
  color: var(--color-gold);
  font-family: var(--font-accent);
}

.hero-subtitle {
  font-size: clamp(17px, 1.5vw, 22px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  background: var(--color-gold);
  color: #32100e;
  font-weight: 700;
}

.hero-actions .btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.hero-actions .btn-secondary:hover {
  background: #fff;
  color: var(--color-red);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-fast);
}

.hero-arrow:hover {
  background: var(--color-gold);
  color: var(--color-brown);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.4);
  opacity: .55;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot:hover {
  opacity: 0.8;
}

.hero-dot.active {
  width: 34px;
  opacity: 1;
  background: var(--color-gold);
}

@media (max-width: 768px) {
  .hero {
    height: 480px;
    min-height: 480px;
  }

  .hero-inner {
    padding: 0 var(--space-4);
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-arrow {
    display: none;
  }
}

.hero-carousel .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(80, 10, 12, 0.82) 0%,
    rgba(175, 32, 36, 0.58) 45%,
    rgba(0, 0, 0, 0.22) 100%
  );
}

.hero-carousel .slide-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero-carousel .slide-text {
  max-width: 600px;
  color: white;
}

.hero-carousel .slide-eyebrow {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--color-gold);
  color: var(--color-brown);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-xs);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-carousel .slide-title {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.02;
  margin-bottom: var(--space-4);
  color: #fff;
}

.hero-carousel .slide-title .script {
  color: var(--color-gold);
}

.hero-carousel .slide-subtitle {
  font-size: clamp(17px, 1.5vw, 22px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-carousel .slide-title .highlight {
  font-family: var(--font-accent);
  color: var(--color-gold);
}

.hero-carousel .slide-subtitle {
  font-size: var(--font-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero-carousel .slide-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-carousel .slide-actions .btn {
  padding: var(--space-4) var(--space-6);
}

.hero-carousel .slide-actions .btn-primary {
  background: #D8AD58;
  color: #32120f;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}

.hero-carousel .slide-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
}

.hero-carousel .slide-actions .btn-secondary {
  border: 2px solid #fff;
  color: #fff;
  background: rgba(255,255,255,.08);
}

.hero-carousel .slide-actions .btn-secondary:hover {
  background: #fff;
  color: var(--color-red);
}

/* Carousel Controls */
.hero-carousel .carousel-dots {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 10;
}

.hero-carousel .carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-carousel .carousel-dot.active {
  background: var(--color-gold);
  width: 32px;
  border-radius: 6px;
}

.hero-carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.hero-carousel .carousel-arrow:hover {
  background: var(--color-gold);
  color: var(--color-brown);
}

.hero-carousel .carousel-arrow.prev {
  left: var(--space-6);
}

.hero-carousel .carousel-arrow.next {
  right: var(--space-6);
}

/* ===== SECTION HEADINGS ===== */
.section-head {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-head h2 {
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.section-head .section-subtitle {
  font-size: var(--font-lg);
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-muted);
}

.section-head .section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-xs);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

/* ===== INSTITUTIONAL SECTION ===== */
.institutional-section {
  background: var(--color-cream);
  padding: var(--space-20) 0;
}

.institutional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.institutional-image {
  position: relative;
}

.institutional-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.institutional-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: var(--color-gold-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.institutional-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-6);
}

.institutional-content h2 .highlight {
  font-family: var(--font-accent);
  color: var(--color-red);
}

.institutional-content p {
  font-size: var(--font-base);
  margin-bottom: var(--space-5);
  line-height: 1.8;
}

.institutional-content .highlight-text {
  color: var(--color-red);
  font-weight: 600;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-cream-2);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: var(--color-gold);
  color: var(--color-brown);
  font-family: var(--font-heading);
  font-size: var(--font-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
}

.product-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: var(--font-xs);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.product-title {
  font-family: var(--font-heading);
  font-size: var(--font-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.product-description {
  font-size: var(--font-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-4);
}

.product-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: auto;
}

.product-price {
  font-family: var(--font-heading);
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.2;
}

.product-footer .btn {
  width: 100%;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-sm);
}

/* ===== GRID SYSTEM ===== */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

/* ===== FEATURED SECTION ===== */
.featured-section {
  padding: var(--space-20) 0;
}

.featured-section:nth-child(odd) {
  background: var(--color-cream);
}

.featured-section:nth-child(even) {
  background: var(--color-white);
}

/* ===== BANNER FULL WIDTH ===== */
.banner-full {
  position: relative;
  height: 480px;
  background: var(--color-brown);
  overflow: hidden;
}

.banner-full .banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.banner-full .banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(175, 32, 36, 0.9), rgba(99, 17, 20, 0.8));
}

.banner-full .banner-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.banner-full h2 {
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-4);
}

.banner-full h2 .highlight {
  font-family: var(--font-accent);
  color: var(--color-gold);
}

.banner-full p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-lg);
  margin-bottom: var(--space-8);
  max-width: 500px;
}

.banner-full .btn-primary {
  background: var(--color-gold);
  color: var(--color-brown);
}

/* ===== PREPARO SECTION ===== */
.preparo-section {
  background: var(--color-gold-soft);
  padding: var(--space-20) 0;
}

.preparo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.preparo-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.preparo-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-5);
}

.preparo-content h2 .highlight {
  font-family: var(--font-accent);
  color: var(--color-red);
}

.preparo-content p {
  font-size: var(--font-base) !important;
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.preparo-features {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.preparo-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  font-weight: 600;
}

.preparo-feature svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

/* ===== BUFFET SECTION ===== */
.buffet-section {
  background: var(--color-cream);
  padding: var(--space-20) 0;
}

.buffet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.buffet-image {
  position: relative;
}

.buffet-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.buffet-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: var(--color-red);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.buffet-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.buffet-content .buffet-subtitle {
  font-size: var(--font-xl);
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  font-weight: 600;
}

.buffet-content > p {
  font-size: var(--font-base);
  margin-bottom: var(--space-5);
}

.buffet-list {
  margin-bottom: var(--space-8);
}

.buffet-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  color: var(--color-text);
}

.buffet-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== QUALITY SECTION ===== */
.quality-section {
  background: var(--color-cream);
  padding: var(--space-20) 0;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.quality-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.quality-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-6);
}

.quality-content h2 .highlight {
  font-family: var(--font-accent);
  color: var(--color-red);
}

.quality-content > p {
  font-size: var(--font-base);
  margin-bottom: var(--space-5);
}

.quality-note {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--color-gold-soft);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--color-brown);
  margin-top: var(--space-4);
}

.quality-note svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--color-red);
  padding: var(--space-20) 0;
  color: white;
}

.contact-section h2 {
  color: white;
  text-align: center;
  margin-bottom: var(--space-12);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.contact-card svg {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.contact-card h3 {
  color: white;
  font-size: var(--font-lg);
  margin-bottom: var(--space-3);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-base);
  line-height: 1.6;
}

.contact-card a {
  color: var(--color-gold);
  font-weight: 600;
}

.contact-card a:hover {
  color: white;
  text-decoration: underline;
}

/* ===== LOCATION SECTION ===== */
.location-section {
  padding: 0;
}

.location-header {
  background: var(--color-red);
  padding: var(--space-10) 0;
  text-align: center;
}

.location-header h2 {
  color: white;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.location-map {
  height: 400px;
  background: var(--color-cream-2);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-brown);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-logo {
  width: 180px;
  max-width: 180px;
  height: auto;
  margin-bottom: var(--space-4);
  display: block;
}

.footer-brand .brand-name {
  color: white;
  font-size: var(--font-xl);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-base);
  max-width: 320px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all var(--transition-fast);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.footer-social a:hover {
  background: var(--color-gold);
  color: var(--color-brown);
}

.footer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-base);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-sm);
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-sm);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: 90;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  transition: all var(--transition-fast);
}

.floating-cart {
  background: var(--color-primary);
  color: white;
}

.floating-whatsapp {
  background: var(--color-whatsapp);
  color: white;
}

.floating-btn:hover {
  transform: scale(1.1);
}

/* ===== PAGE: CATALOG ===== */
.catalog-header {
  padding: var(--space-10) 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.catalog-toolbar {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.catalog-toolbar input,
.catalog-toolbar select {
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  background: var(--color-surface);
  min-width: 200px;
}

.catalog-toolbar input:focus,
.catalog-toolbar select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.empty-state {
  text-align: center;
  padding: var(--space-16);
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

/* ===== PAGE: PRODUCT ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  padding: var(--space-12) 0;
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-info h1 {
  margin-bottom: var(--space-4);
}

.product-price-lg {
  font-family: var(--font-heading);
  font-size: var(--font-4xl);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-6);
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.product-meta-item {
  display: flex;
  gap: var(--space-2);
  font-size: var(--font-sm);
}

.product-meta-item strong {
  color: var(--color-text);
}

.product-options {
  margin-bottom: var(--space-6);
}

.product-options label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.product-options input,
.product-options textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-base);
}

/* ===== PAGE: CART ===== */
.cart-page {
  padding: var(--space-10) 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-8);
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  align-items: center;
}

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

.cart-item-details h3 {
  font-size: var(--font-base);
  margin-bottom: var(--space-1);
}

.cart-item-details p {
  font-size: var(--font-sm);
  color: var(--color-muted);
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.cart-item-controls input {
  width: 80px;
  padding: var(--space-2);
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.cart-summary {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
}

.cart-summary h2 {
  font-size: var(--font-xl);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  font-size: var(--font-base);
}

.summary-row.total {
  font-size: var(--font-xl);
  font-weight: 700;
  border-top: 2px solid var(--color-primary);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
}

/* ===== PAGE: CHECKOUT ===== */
.checkout-page {
  padding: var(--space-10) 0;
}

.checkout-steps {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--color-muted);
}

.step-indicator.active {
  color: var(--color-primary);
}

.step-indicator.completed {
  color: var(--color-whatsapp);
}

.checkout-step {
  display: none;
}

.checkout-step[data-step="1"] {
  display: block;
}

.checkout-steps .step-indicator.active {
  color: var(--color-primary);
  font-weight: 700;
}

.checkout-steps .step-indicator.completed {
  color: var(--color-whatsapp);
}

.payment-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface-soft);
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
}

.payment-option:has(input:checked) {
  border-color: var(--color-gold);
  background: var(--color-gold-soft);
}

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: #4285F4;
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-google:hover {
  background: #3367D6;
}

.btn-link {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

.btn-link:hover {
  text-decoration: underline;
}

.checkout-form {
  max-width: 800px;
  margin: 0 auto;
}

.checkout-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.checkout-section h2 {
  font-size: var(--font-lg);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: var(--font-sm);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-base);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.radio-group {
  display: flex;
  gap: var(--space-4);
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 400;
  cursor: pointer;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.quote-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.quote-card p {
  font-style: italic;
  font-size: var(--font-lg);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.quote-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.quote-avatar {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.quote-info strong {
  display: block;
  color: var(--color-text);
}

.quote-info span {
  font-size: var(--font-sm);
  color: var(--color-muted);
}

.quote-rating {
  color: var(--color-gold);
  font-size: var(--font-sm);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-weight: 700;
  font-size: var(--font-base);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question::after {
  content: '+';
  font-size: var(--font-xl);
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ===== GALERIA ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== CTA BAND ===== */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-10);
  background: linear-gradient(135deg, rgba(175, 32, 36, 0.06), rgba(216, 173, 88, 0.1));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin: var(--space-16) 0;
}

.cta-band-content h2 {
  margin-bottom: var(--space-2);
}

.cta-band-content p {
  font-size: var(--font-lg);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-carousel {
    height: 520px;
  }
  
  .institutional-grid,
  .preparo-grid,
  .buffet-grid,
  .quality-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .institutional-image,
  .preparo-image,
  .buffet-image,
  .quality-image {
    order: -1;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cart-layout {
    grid-template-columns: 1fr;
  }
  
  .cart-summary {
    position: static;
  }
  
  .product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  /* === TOPBAR === */
  .topbar {
    display: none;
  }

  /* === HEADER MOBILE === */
  .site-header {
    position: relative;
    background: var(--color-red);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--space-4);
    position: relative;
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .site-logo {
    width: 110px;
    max-width: 110px;
    height: auto;
  }

  .header-actions {
    gap: var(--space-2);
  }

  .header-actions .btn-whatsapp {
    display: none !important;
  }

  .header-actions .btn-ghost {
    display: none !important;
  }

  /* === MENU MOBILE === */
  .nav-toggle {
    display: flex !important;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all var(--transition-fast);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 90vw;
    background: var(--color-red);
    flex-direction: column;
    padding: var(--space-6) var(--space-5) var(--space-4);
    gap: 0;
    box-shadow: var(--shadow-xl);
    transform: translateX(-120%);
    opacity: 1;
    visibility: visible;
    transition: transform var(--transition-base);
    z-index: 999;
    overflow-y: auto;
    border-bottom: 6px dotted var(--color-gold);
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav a {
    width: 100%;
    padding: var(--space-5) var(--space-3);
    text-align: left;
    font-family: var(--font-accent);
    font-size: 1.55rem;
    color: white;
    border-bottom: 4px dotted rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  .site-nav a svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .site-nav a:hover,
  .site-nav a.active {
    color: var(--color-gold);
  }

  /* === HERO === */
  .hero {
    height: 400px;
    min-height: 400px;
  }

  .hero-inner {
    padding: 0 var(--space-4);
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: var(--space-6);
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-3);
  }

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

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 16px;
  }

  /* === SECTIONS === */
  .section {
    padding: var(--space-10) 0;
  }

  .section-lg {
    padding: var(--space-12) 0;
  }

  .section-head {
    margin-bottom: var(--space-8);
  }

  .section-head h2 {
    font-size: 1.5rem;
  }

  .section-head .section-subtitle {
    font-size: var(--font-sm);
  }

  /* === GRID === */
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  /* === PRODUCT CARDS === */
  .product-card {
    border-radius: 12px;
    overflow: hidden;
  }

  .product-image {
    aspect-ratio: 4/3;
  }

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

  .product-category {
    font-size: 10px;
  }

  .product-title {
    font-size: 13px;
    margin-bottom: var(--space-1);
  }

  .product-description {
    font-size: 11px;
    margin-bottom: var(--space-2);
  }

  .product-footer {
    gap: var(--space-2);
  }

  .product-price {
    font-size: 14px;
  }

  .product-footer .btn {
    padding: var(--space-2) var(--space-3);
    font-size: 12px;
  }

  /* === INSTITUTIONAL === */
  .institutional-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: 0 var(--space-4);
  }

  .institutional-image {
    order: -1;
  }

  .institutional-image img {
    height: 220px;
    object-fit: cover;
  }

  .institutional-content h2 {
    font-size: 1.5rem;
  }

  .institutional-content p {
    font-size: var(--font-base) !important;
  }

  /* === PREPARO === */
  .preparo-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: 0 var(--space-4);
  }

  .preparo-image {
    order: -1;
  }

  .preparo-image img {
    height: 220px;
    object-fit: cover;
  }

  .preparo-content h2 {
    font-size: 1.5rem;
  }

  .preparo-content p {
    font-size: var(--font-base) !important;
  }

  .preparo-features {
    flex-direction: column;
    gap: var(--space-3);
  }

  /* === BUFFET === */
  .buffet-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: 0 var(--space-4);
  }

  .buffet-image {
    order: -1;
  }

  .buffet-image img {
    height: 220px;
    object-fit: cover;
  }

  .buffet-content h2 {
    font-size: 1.5rem;
  }

  .buffet-content > p {
    font-size: var(--font-base);
  }

  /* === BANNER FULL === */
  .banner-full {
    height: 320px;
  }

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

  .banner-full p {
    font-size: var(--font-sm);
  }

  /* === QUALITY === */
  .quality-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: 0 var(--space-4);
  }

  .quality-image {
    order: -1;
  }

  .quality-image img {
    height: 220px;
    object-fit: cover;
  }

  .quality-content h2 {
    font-size: 1.5rem;
  }

  .quality-content > p {
    font-size: var(--font-base);
  }

  /* === CONTACT === */
  .contact-section {
    padding: var(--space-10) 0;
  }

  .contact-section h2 {
    font-size: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .contact-card {
    padding: var(--space-6);
  }

  /* === LOCATION === */
  .location-header {
    padding: var(--space-8) 0;
  }

  .location-header h2 {
    font-size: 1.25rem;
  }

  .location-map {
    height: 280px;
  }

  /* === FOOTER === */
  .site-footer {
    padding: var(--space-10) 0 var(--space-6);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    width: 140px;
    max-width: 140px;
    margin: 0 auto var(--space-4);
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-nav-links {
    display: none;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    font-size: 12px;
    background: var(--color-gold);
    color: var(--color-brown);
    font-weight: 700;
    padding: var(--space-3) var(--space-4);
    margin-top: var(--space-6);
    border-radius: var(--radius-sm);
  }

  /* === FLOATING BUTTONS === */
  .floating-buttons {
    bottom: var(--space-4);
    right: var(--space-4);
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  /* === STICKY CHECKOUT === */
  .sticky-checkout {
    padding: var(--space-3);
  }

  .sticky-checkout-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
  }

  .sticky-checkout-inner span {
    width: 100%;
    text-align: center;
    font-size: var(--font-sm);
  }

  .sticky-checkout-inner .btn {
    width: 100%;
    justify-content: center;
  }

  /* === CART DRAWER === */
  .cart-drawer-content {
    width: 100%;
  }

  /* === PRODUCT MODAL === */
  .product-modal-body {
    grid-template-columns: 1fr;
  }

  .product-modal-image {
    max-height: 250px;
  }

  .product-modal-info {
    padding: var(--space-6);
  }

  /* === FORMS === */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* === CTA BAND === */
  .cta-band {
    flex-direction: column;
    text-align: center;
    gap: var(--space-6);
    padding: var(--space-6);
    margin: var(--space-8) 0;
  }

  /* === BOTOES CENTRALIZADOS E FULL-WIDTH === */
  .institutional-content .btn,
  .preparo-content .btn,
  .buffet-content .btn,
  .quality-content .btn,
  .banner-content .btn,
  .contact-section .btn,
  .empty-state .btn,
  .section .btn {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .product-footer .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .btn-lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-base);
  }
  
  .floating-buttons {
    bottom: var(--space-4);
    right: var(--space-4);
  }
  
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: var(--font-sm);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  
  .hero-carousel {
    height: 420px;
  }
  
  .hero-carousel .slide-content {
    padding: 0 var(--space-4);
  }
  
  .banner-full {
    height: 360px;
  }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ===== UTILITÁRIOS ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }

/* ===== ALERTS / MENSAGENS ===== */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  font-weight: 600;
}

.alert-success {
  background: rgba(31, 143, 85, 0.1);
  border: 1px solid var(--color-whatsapp);
  color: var(--color-whatsapp);
}

.alert-error {
  background: rgba(175, 32, 36, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.alert-info {
  background: rgba(216, 173, 88, 0.1);
  border: 1px solid var(--color-gold);
  color: var(--color-brown);
}

/* ===== MODAL DE PRODUTO ===== */
body.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
}

.product-modal.open {
  display: flex;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 10, 7, 0.72);
  backdrop-filter: blur(4px);
}

.product-modal-content {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.product-modal-close:hover {
  background: var(--color-red);
  color: white;
}

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

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.product-modal-info {
  padding: var(--space-8);
}

.product-modal-info h2 {
  font-size: var(--font-2xl);
  margin-bottom: var(--space-4);
}

.product-modal-form {
  margin-top: var(--space-6);
}

.product-modal-form .form-group {
  margin-bottom: var(--space-4);
}

.product-modal-form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.product-modal-form input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-base);
}

.product-modal-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ===== DRAWER DO CARRINHO ===== */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 9995;
  display: none;
}

.cart-drawer.open {
  display: block;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 10, 7, 0.5);
  backdrop-filter: blur(2px);
}

.cart-drawer-content {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 400px;
  max-width: 100%;
  background: var(--color-white);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  animation: drawerSlideIn 0.3s ease;
}

@keyframes drawerSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

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

.cart-drawer-header h3 {
  font-size: var(--font-xl);
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
}

.cart-drawer-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

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

.cart-drawer-item-info h4 {
  font-size: var(--font-base);
  margin-bottom: var(--space-1);
}

.cart-drawer-item-info p {
  font-size: var(--font-sm);
  color: var(--color-muted);
}

.cart-drawer-item-qty {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.cart-drawer-item-qty button {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-item-qty input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-1);
}

.cart-drawer-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  font-size: var(--font-lg);
}

.cart-drawer-total strong {
  font-size: var(--font-xl);
  color: var(--color-primary);
}

/* ===== BOTÃO FIXO FINALIZAR ===== */
.sticky-checkout {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  z-index: 95;
  padding: var(--space-4);
}

.sticky-checkout-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.sticky-checkout-inner span {
  font-weight: 600;
  color: var(--color-text);
}

.sticky-checkout-total {
  font-size: var(--font-lg) !important;
  color: var(--color-primary) !important;
}

/* ===== PRODUTO CARD CLICKABLE ===== */
.product-card {
  cursor: pointer;
}

.product-card .product-image a {
  display: block;
  width: 100%;
  height: 100%;
}

/* ========================================
   ADMIN PANEL STYLES
   ======================================== */
.page-admin {
  background: #F5F0EB;
  min-height: 100vh;
}

.page-admin .btn-ghost {
  color: var(--color-red);
  border: 1px solid var(--color-border);
  background: var(--color-white);
}
.page-admin .btn-ghost:hover {
  background: var(--color-cream-2);
  transform: none;
  box-shadow: none;
}

.page-admin .btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.page-admin .btn-primary:hover {
  background: var(--color-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.page-admin .btn-sm {
  padding: 8px 14px;
  font-size: .9rem;
}

.page-admin .btn-full {
  width: 100%;
}

/* Shell layout */
.admin-shell {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--color-brown, #3C2118);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-brand {
  padding: 24px 20px;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--color-gold, #D8AD58);
}

.admin-sidebar nav {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}

.admin-sidebar nav a {
  display: block;
  padding: 12px 20px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.admin-sidebar nav a:hover {
  background: rgba(255,255,255,.08);
  color: var(--color-white);
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:active {
  background: rgba(255,255,255,.1);
  color: var(--color-gold);
  border-left-color: var(--color-gold);
}

/* Main content */
.admin-content {
  flex: 1;
  padding: 32px;
  max-width: 100%;
  overflow-x: auto;
}

/* Page head */
.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.admin-page-head h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-brown, #3C2118);
  margin: 0;
}

.admin-page-head p {
  color: var(--color-muted, #765A4B);
  margin: 4px 0 0;
}

.admin-user {
  font-size: var(--font-sm);
  color: var(--color-muted, #765A4B);
}

/* Admin card */
.admin-card {
  background: var(--color-white);
  border: 1px solid var(--color-border, #E7CFAE);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 18px;
}

.admin-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brown, #3C2118);
  margin: 0 0 16px;
}

/* Admin table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-border, #E7CFAE);
}

.admin-table th {
  font-weight: 700;
  font-size: var(--font-sm);
  background: rgba(250,239,226,.5);
  color: var(--color-muted, #765A4B);
}

.admin-table tbody tr:hover {
  background: rgba(250,239,226,.3);
}

/* Filters */
.admin-filters {
  margin-bottom: 18px;
}

.filters-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filters-form input,
.filters-form select {
  padding: 12px 16px;
  border: 1px solid var(--color-border, #E7CFAE);
  border-radius: 12px;
  font-size: var(--font-sm);
  background: var(--color-white);
  color: var(--color-text);
  min-width: 200px;
}

.filters-form input:focus,
.filters-form select:focus {
  outline: none;
  border-color: var(--color-red, #AF2024);
  box-shadow: 0 0 0 3px rgba(175,32,36,.1);
}

/* Stat cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border, #E7CFAE);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.stat-card span {
  display: block;
  font-size: var(--font-sm);
  color: var(--color-muted, #765A4B);
  margin-bottom: 8px;
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-brown, #3C2118);
}

/* Dashboard grid */
.admin-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 18px;
}

/* Auth page */
.admin-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.auth-card {
  background: var(--color-white);
  border: 1px solid var(--color-border, #E7CFAE);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.auth-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-brown, #3C2118);
  margin: 0 0 6px;
}

.auth-card p {
  color: var(--color-muted, #765A4B);
  margin: 0 0 24px;
}

.auth-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--color-text);
}

.auth-card input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--color-border, #E7CFAE);
  border-radius: 12px;
  font-size: var(--font-base);
}

.auth-card input:focus {
  outline: none;
  border-color: var(--color-red, #AF2024);
}

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  justify-content: center;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border, #E7CFAE);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-sm);
  transition: all var(--transition-fast);
}

.pagination a:hover {
  border-color: var(--color-red, #AF2024);
  color: var(--color-red, #AF2024);
}

.pagination a.active {
  background: var(--color-red, #AF2024);
  color: var(--color-white);
  border-color: var(--color-red, #AF2024);
}

/* Status badge */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}

/* General utility classes */
.grid { display: grid; }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.empty-message { padding: 40px 20px; text-align: center; color: var(--color-muted, #765A4B); }
.table-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.table-thumb.placeholder { background: var(--color-border, #E7CFAE); }

/* Admin form shared */
.admin-form .form-group { margin-bottom: 14px; }
.admin-form .form-group label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--color-text); }
.admin-form .form-group input,
.admin-form .form-group select,
.admin-form .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--color-border, #E7CFAE); border-radius: 12px; font-size: var(--font-base); color: var(--color-text); background: var(--color-white); }
.admin-form .form-group input:focus,
.admin-form .form-group select:focus,
.admin-form .form-group textarea:focus { outline: none; border-color: var(--color-red, #AF2024); box-shadow: 0 0 0 3px rgba(175,32,36,.1); }
.admin-form .checkbox-label { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.admin-form .checkbox-label input { width: auto; }
.admin-form .current-image { margin-bottom: 12px; }
.admin-form .current-image img { max-width: 200px; border-radius: 12px; border: 1px solid var(--color-border, #E7CFAE); }
.admin-form .form-actions { margin-top: 24px; display: flex; gap: 12px; }

/* Full-width card in grid */
.full-width { grid-column: 1 / -1; }

/* Prevent charts from expanding infinitely */
.admin-card canvas {
  max-height: 200px;
  width: 100% !important;
}

/* Generic responsive table wrapper */
@media (max-width: 900px) {
  .admin-sidebar { width: 200px; }
  .admin-content { padding: 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .admin-panel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; }
  .admin-sidebar nav { flex-direction: row; flex-wrap: wrap; padding: 4px 0; }
  .admin-sidebar nav a { padding: 10px 16px; font-size: var(--font-sm); border-left: none; border-bottom: 3px solid transparent; }
  .admin-sidebar nav a:hover,
  .admin-sidebar nav a.active { border-left-color: transparent; border-bottom-color: var(--color-gold); }
  .admin-brand { padding: 16px; font-size: 1rem; }
  .admin-content { padding: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .admin-page-head { flex-direction: column; gap: 12px; }
  .admin-panel-grid { grid-template-columns: 1fr; }
  .filters-form { flex-direction: column; }
  .filters-form input,
  .filters-form select { min-width: 0; width: 100%; }
}

/* ===== FADE IN PROGRESSIVO ===== */
.product-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .product-modal-body {
    grid-template-columns: 1fr;
  }
  
  .product-modal-image {
    max-height: 250px;
  }
  
  .cart-drawer-content {
    width: 100%;
  }
  
  .sticky-checkout-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .sticky-checkout-inner span {
    width: 100%;
    text-align: center;
  }
}

/* ===== FLAVOR CHECKBOX ===== */
.flavor-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #f5f5f5;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s;
  user-select: none;
}
.flavor-checkbox:hover {
  background: #e8d5c4;
}
.flavor-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-gold, #C4956A);
}
.flavor-checkbox:has(input:checked) {
  background: var(--color-gold, #C4956A);
  color: #fff;
  box-shadow: 0 2px 6px rgba(196,149,106,0.3);
}

/* ===== CHECKOUT FIX: progress bar + payment cards ===== */
body:has(.checkout-page) .step-progress {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding-left: 0;
  padding-right: 0;
}
body:has(.checkout-page) .step-progress-bar {
  left: calc(100% / 12);
  right: calc(100% / 12);
}
body:has(.checkout-page) .step-dot {
  width: 100%;
  min-width: 0;
  flex: 1 1 0;
}
body:has(.checkout-page) .step-dot .dot-label {
  width: 100%;
  white-space: normal;
  line-height: 1.2;
  word-break: normal;
}
body:has(.checkout-page) .payment-option {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: flex-start !important;
  gap: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
body:has(.checkout-page) .payment-option input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 4px 0 0 0 !important;
  justify-self: start;
  flex: none;
}
body:has(.checkout-page) .payment-option > span {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  line-height: 1.35;
}
body:has(.checkout-page) .payment-option > span > br { display: none; }
body:has(.checkout-page) .payment-option strong {
  display: block;
  line-height: 1.25;
}
body:has(.checkout-page) .payment-detail {
  font-size: 0.85rem;
  color: var(--color-text-muted, var(--color-muted));
  margin-left: 0;
}
body:has(.checkout-page) .payment-frete {
  font-size: 0.78rem;
  color: var(--color-text-muted, var(--color-muted));
}
body:has(.checkout-page) .payment-value {
  display: inline;
  font-size: 0.85rem;
  color: var(--color-primary, var(--color-red));
  font-weight: 700;
  margin-left: 4px;
}
body:has(.checkout-page) .payment-detail.payment-value {
  color: var(--color-primary, var(--color-red)) !important;
  font-weight: 700 !important;
  margin-left: 0;
}

/* ===== CHECKOUT REVIEW SUMMARY: font/color standardization ===== */
body:has(.checkout-page) #orderReview {
  background: var(--color-surface-soft, #FFF7E8) !important;
  color: var(--color-text, #2B1B14);
}
body:has(.checkout-page) #orderReview .order-review-title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-gold, #C9A84C);
  color: var(--color-text, #2B1B14);
  font-size: 1.28rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}
body:has(.checkout-page) #orderReview .order-review-card {
  background: var(--color-white, #FFFFFF);
  border: 1px solid var(--color-border-light, #F0DFC8);
  border-radius: var(--radius-md, 12px);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.045);
}
body:has(.checkout-page) #orderReview .order-review-card-title {
  margin: 0 0 12px;
  color: #5C4637;
  font-size: .82rem;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .055em;
}
body:has(.checkout-page) #orderReview .order-review-rows {
  display: grid;
  gap: 8px;
}
body:has(.checkout-page) #orderReview .order-review-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
}
body:has(.checkout-page) #orderReview .order-review-label {
  color: #6B5B4C;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
}
body:has(.checkout-page) #orderReview .order-review-value,
body:has(.checkout-page) #orderReview .order-review-text,
body:has(.checkout-page) #orderReview .order-review-main {
  color: var(--color-text, #2B1B14);
  font-size: .96rem;
  line-height: 1.45;
  margin: 0;
}
body:has(.checkout-page) #orderReview .order-review-text {
  margin-top: 7px;
}
body:has(.checkout-page) #orderReview .order-review-main strong {
  color: var(--color-text, #2B1B14);
  font-weight: 800;
}
body:has(.checkout-page) #orderReview .order-review-muted,
body:has(.checkout-page) #orderReview .order-review-note {
  margin: 6px 0 0;
  color: #6B5B4C;
  font-size: .86rem;
  line-height: 1.4;
}
body:has(.checkout-page) #orderReview .order-review-note {
  font-style: italic;
}
body:has(.checkout-page) #orderReview .order-review-price,
body:has(.checkout-page) #orderReview .order-review-item-price {
  color: var(--color-primary, #AF2024) !important;
  font-weight: 900 !important;
}
body:has(.checkout-page) #orderReview .order-review-items {
  max-height: 300px;
  overflow-y: auto;
}
body:has(.checkout-page) #orderReview .order-review-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border-light, #F0DFC8);
}
body:has(.checkout-page) #orderReview .order-review-item:last-child {
  border-bottom: 0;
}
body:has(.checkout-page) #orderReview .order-review-qty {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary, #AF2024);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
}
body:has(.checkout-page) #orderReview .order-review-item-info {
  min-width: 0;
  color: var(--color-text, #2B1B14);
  font-size: .94rem;
  line-height: 1.35;
}
body:has(.checkout-page) #orderReview .order-review-item-info strong {
  display: block;
  color: var(--color-text, #2B1B14);
  font-weight: 800;
  overflow-wrap: anywhere;
}
body:has(.checkout-page) #orderReview .order-review-flavors {
  display: block;
  margin-top: 3px;
  color: var(--color-gold, #C9A84C);
  font-size: .8rem;
  line-height: 1.35;
}
body:has(.checkout-page) #orderReview .order-review-item-price {
  white-space: nowrap;
  font-size: .94rem;
}

@media (max-width: 768px) {
  body:has(.checkout-page) #orderReview {
    padding: 16px !important;
  }
  body:has(.checkout-page) #orderReview .order-review-title {
    font-size: 1.12rem;
    margin-bottom: 14px;
  }
  body:has(.checkout-page) #orderReview .order-review-card {
    padding: 14px;
    margin-bottom: 12px;
  }
  body:has(.checkout-page) #orderReview .order-review-card-title {
    font-size: .76rem;
    margin-bottom: 10px;
  }
  body:has(.checkout-page) #orderReview .order-review-row {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 8px;
  }
  body:has(.checkout-page) #orderReview .order-review-label,
  body:has(.checkout-page) #orderReview .order-review-value,
  body:has(.checkout-page) #orderReview .order-review-text,
  body:has(.checkout-page) #orderReview .order-review-main {
    font-size: .9rem;
  }
  body:has(.checkout-page) #orderReview .order-review-muted,
  body:has(.checkout-page) #orderReview .order-review-note {
    font-size: .8rem;
  }
  body:has(.checkout-page) #orderReview .order-review-item {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
  }
  body:has(.checkout-page) #orderReview .order-review-qty {
    width: 26px;
    height: 26px;
    font-size: .76rem;
    margin-top: 1px;
  }
  body:has(.checkout-page) #orderReview .order-review-item-price {
    grid-column: 2;
    justify-self: start;
    font-size: .9rem;
    margin-top: 2px;
  }
}


/* ===== AJUSTES FINAIS CARRINHO/CHECKOUT ===== */
.btn-cart-continue,
.btn-checkout-continue-shopping {
  background: #28a745 !important;
  color: #fff !important;
  border: 0 !important;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
}
.btn-cart-continue:hover,
.btn-checkout-continue-shopping:hover {
  background: #218838 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
body:has(.checkout-page) .checkout-grid {
  align-items: start;
}
@media (min-width: 769px) {
  body:has(.checkout-page) .checkout-summary-sidebar {
    position: sticky !important;
    top: calc(var(--header-height) + var(--checkout-head-height, 128px) + 12px) !important;
    align-self: start !important;
    max-height: calc(100vh - var(--header-height) - var(--checkout-head-height, 128px) - 32px);
    overflow-y: auto;
    z-index: 4;
  }
}
@media (max-width: 768px) {
  body:has(.checkout-page) .checkout-summary-sidebar {
    position: static !important;
    max-height: none;
    overflow: visible;
  }
}
body:has(.checkout-page) #orderReview .order-review-item {
  grid-template-columns: 46px minmax(0, 1fr) auto;
}
body:has(.checkout-page) #orderReview .order-review-item-img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-border-light, #F0DFC8);
  background: var(--color-surface-soft, #FFF7E8);
}
body:has(.checkout-page) #orderReview .order-review-qty-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--color-primary, #AF2024);
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: 1px;
}
@media (max-width: 768px) {
  body:has(.checkout-page) #orderReview .order-review-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  body:has(.checkout-page) #orderReview .order-review-item-img {
    width: 42px;
    height: 42px;
  }
  body:has(.checkout-page) #orderReview .order-review-item-price {
    grid-column: 2;
  }
}

/* ===== ADMIN FIXES - externalized layout/scripts support ===== */
.page-admin .admin-mobile-bar,
.page-admin .admin-menu-backdrop { display: none; }

.page-admin .admin-brand { padding: 14px 18px 10px; margin: 0; }
.page-admin .admin-brand img { display: block; width: 100%; max-width: 170px; height: auto; margin: 0 auto; }
.page-admin .admin-sidebar nav { padding: 0 0 12px; }
.page-admin .admin-sidebar nav a { display: flex; align-items: center; gap: 10px; }

.page-admin .admin-page-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-admin .form-help { display: block; color: var(--color-muted, #765A4B); margin-top: 6px; font-size: .82rem; }
.page-admin .admin-card-description { color: var(--color-muted, #765A4B); font-size: .9rem; margin: 0 0 12px; }
.page-admin .admin-settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.page-admin .price-adjustment-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-admin .price-adjustment-row input { flex: 1; min-width: 140px; }
.page-admin .price-adjustment-row .btn { white-space: nowrap; }
.page-admin .price-adjustment-status { margin-top: 8px; padding: 10px; border-radius: 8px; font-size: .9rem; font-weight: 800; }
.page-admin .price-adjustment-status.success { background: rgba(31,122,77,.15); color: #1F7A4D; border: 1px solid rgba(31,122,77,.25); }
.page-admin .price-adjustment-status.error { background: rgba(158,47,27,.15); color: #AF2024; border: 1px solid rgba(158,47,27,.25); }
.page-admin .price-adjustment-status.info { background: rgba(60,33,24,.08); color: #3C2118; border: 1px solid rgba(60,33,24,.12); }

/* Admin orders */
.orders-filter-card { padding: 18px; }
.orders-filter-form { align-items: flex-end; display: grid; grid-template-columns: minmax(220px, 1.35fr) 150px 105px 150px auto; gap: 10px; }
.orders-filter-field { display: grid; gap: 6px; font-weight: 800; color: var(--color-brown, #3C2118); }
.orders-filter-field span { font-size: .78rem; color: var(--color-muted, #765A4B); }
.orders-filter-form input, .orders-filter-form select { width: 100%; min-width: 0; }
.orders-filter-button { min-width: 94px; }
.orders-card { overflow: hidden; }
.admin-table-wrap { width: 100%; overflow-x: auto; }
.orders-table { table-layout: fixed; width: 100%; }
.orders-table .col-number { width: 10%; }
.orders-table .col-client { width: 17%; }
.orders-table .col-type { width: 7%; }
.orders-table .col-total { width: 8%; }
.orders-table .col-status { width: 9%; }
.orders-table .col-date { width: 11%; }
.orders-table .col-actions { width: 38%; }
.orders-table th, .orders-table td { vertical-align: middle; padding-left: 8px; padding-right: 8px; }
.orders-table .order-row.status-row-recebido { background: #FFF8DA; }
.orders-table .order-row.status-row-confirmado { background: #EAF8ED; }
.orders-table .order-row.status-row-cancelado { background: #FFE9E5; }
.orders-table .order-row:hover { filter: brightness(.985); }
.client-cell strong { display: block; overflow-wrap: anywhere; }
.client-cell small { display: block; margin-top: 4px; color: var(--color-muted, #765A4B); }
.status-badge { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; min-width: 82px; }
.status-recebido { background: #F4D06F; color: #4D3418; }
.status-confirmado { background: #BFE7C8; color: #145C35; }
.status-cancelado { background: #F3B2A8; color: #7A1B12; }
.orders-actions { min-width: 360px; }
.order-actions-stack { display: grid; grid-template-columns: minmax(230px, 1fr) auto; gap: 8px; align-items: center; }
.status-inline-buttons { display: flex; gap: 4px; flex-wrap: nowrap; align-items: center; }
.order-status-chip { border: 1px solid rgba(60,33,24,.14); background: #fff; color: var(--color-brown, #3C2118); border-radius: 999px; padding: 7px 8px; font-size: .72rem; line-height: 1; font-weight: 800; cursor: pointer; white-space: nowrap; transition: transform .18s ease, background .18s ease; }
.order-status-chip:hover { transform: translateY(-1px); }
.status-chip-recebido.active, .status-chip-recebido:hover { background: #F4D06F; color: #4D3418; }
.status-chip-confirmado.active, .status-chip-confirmado:hover { background: #BFE7C8; color: #145C35; }
.status-chip-cancelado.active, .status-chip-cancelado:hover { background: #F3B2A8; color: #7A1B12; }
.order-main-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; white-space: nowrap; }
.btn-view-order { min-width: 54px; padding-left: 14px; padding-right: 14px; }
.btn-delete-order { border: 1px solid #D65B4A; background: #FFE9E5; color: #7A1B12; width: 40px; min-width: 40px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.orders-loader, .orders-end { text-align: center; padding: 18px 10px 4px; font-weight: 800; color: var(--color-muted, #765A4B); }
.orders-live-message { padding: 14px; border-radius: 12px; margin-bottom: 18px; font-weight: 800; }
.orders-live-message.success { background: rgba(31,122,77,.15); border: 1px solid var(--color-green, #1F7A4D); color: #1F7A4D; }
.orders-live-message.error { background: rgba(158,47,27,.15); border: 1px solid var(--color-red, #AF2024); color: var(--color-red, #AF2024); }
.admin-modal-backdrop { position: fixed; inset: 0; z-index: 9999; background: rgba(35, 18, 12, .58); display: none; align-items: center; justify-content: center; padding: 18px; }
.admin-modal-backdrop.is-open { display: flex; }
.admin-modal-backdrop[hidden] { display: none !important; }
.admin-confirm-modal { position: relative; width: min(430px, 100%); background: #FFFDF8; border: 1px solid var(--color-border, #E7CFAE); border-radius: 22px; box-shadow: 0 28px 70px rgba(0,0,0,.28); padding: 28px 24px 24px; text-align: center; }
.confirm-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; background: transparent; color: #765A4B; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.confirm-icon { width: 58px; height: 58px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #FFE9E5; color: #7A1B12; font-size: 1.5rem; margin-bottom: 12px; }
.admin-confirm-modal h2 { margin: 0 0 8px; font-size: 1.25rem; }
.admin-confirm-modal p { margin: 0 0 20px; color: var(--color-muted, #765A4B); }
.confirm-actions { display: flex; justify-content: center; gap: 10px; }
.btn-danger { background: #B82024; color: #fff; border: 1px solid #B82024; }
.btn-danger-outline { color: #AF2024 !important; border-color: #E7A197 !important; background: #FFF7F4 !important; }
body.modal-open { overflow: hidden; }

/* Admin gallery */
.gallery-sections { display: grid; gap: 18px; }
.admin-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.admin-gallery-item { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--color-border, #E7CFAE); background: #fff; display: flex; flex-direction: column; }
.admin-gallery-item img, .gallery-thumb-placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #F4EADB; }
.gallery-thumb-placeholder { display: flex; align-items: center; justify-content: center; color: var(--color-muted, #765A4B); font-weight: 800; }
.gallery-info { padding: 10px; }
.gallery-info strong { display: block; font-size: .9rem; margin-bottom: 3px; }
.gallery-info small { display: block; color: var(--color-muted, #765A4B); font-size: .78rem; }
.gallery-info p { margin: 8px 0 0; color: var(--color-muted, #765A4B); font-size: .82rem; }
.gallery-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.gallery-delete-form { margin: 0; }
.admin-video-list { display: grid; gap: 14px; }
.admin-video-item { display: flex; gap: 14px; padding: 14px; background: rgba(250,239,226,.5); border-radius: 12px; align-items: flex-start; }
.video-embed { width: 240px; max-width: 100%; flex-shrink: 0; background: #F4EADB; border-radius: 10px; overflow: hidden; }
.video-embed iframe, .video-embed img, .video-embed .video-placeholder { width: 100%; aspect-ratio: 16/9; border: 0; display: block; object-fit: cover; }
.video-embed .video-placeholder { display: flex; align-items: center; justify-content: center; color: var(--color-muted, #765A4B); font-weight: 800; }
.video-info { flex: 1; min-width: 0; }
.video-info strong { display: block; }
.video-info small { display: block; color: var(--color-muted, #765A4B); font-size: .8rem; word-break: break-all; margin-top: 3px; }
.video-info p { margin: 8px 0 0; color: var(--color-muted, #765A4B); }

/* Public gallery/videos */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.gallery-item { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--color-cream, #FAEFE2); text-decoration: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.6)); display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 700; font-size: .9rem; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 24px; }
.video-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.video-card .video-embed { width: 100%; border-radius: 0; }
.video-info { padding: 16px; }
.video-info h3 { margin: 0 0 6px; font-size: 1.05rem; }
.video-info p { margin: 0; color: var(--color-muted, #765A4B); font-size: .9rem; }
.home-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.home-gallery-card { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: #F4EADB; box-shadow: 0 8px 22px rgba(60,33,24,.08); }
.home-gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.home-gallery-card:hover img { transform: scale(1.04); }
.home-gallery-card span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 10px; border-radius: 999px; background: rgba(60,33,24,.78); color: #fff; font-weight: 800; font-size: .82rem; text-align: center; }
.home-videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.home-video-card { background: #fff; border: 1px solid var(--color-border, #E7CFAE); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(60,33,24,.06); }
.home-video-frame { aspect-ratio: 16/9; background: #F4EADB; }
.home-video-frame iframe, .home-video-frame img, .home-video-frame .video-placeholder { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.home-video-frame .video-placeholder { display: flex; align-items: center; justify-content: center; color: var(--color-muted, #765A4B); font-weight: 800; }
.home-video-info { padding: 16px; }
.home-video-info h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--color-brown, #3C2118); }
.home-video-info p { margin: 0; color: var(--color-muted, #765A4B); font-size: .9rem; }
.section-action { margin-top: 20px; text-align: center; }

@media (max-width: 1260px) {
  .orders-actions { min-width: 330px; }
  .order-actions-stack { grid-template-columns: 1fr; }
  .order-main-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .page-admin .admin-shell { display: block; }
  .page-admin .admin-mobile-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1002; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 10px 16px; background: #3C2118; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
  .page-admin .admin-mobile-logo { height: 42px; width: auto; display: block; }
  .page-admin .admin-mobile-menu-toggle { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .page-admin .admin-mobile-menu-toggle span,
  .page-admin .admin-mobile-menu-toggle::before,
  .page-admin .admin-mobile-menu-toggle::after { content: ''; width: 20px; height: 2px; border-radius: 2px; background: #fff; display: block; position: absolute; transition: transform .25s ease, opacity .25s ease; }
  .page-admin .admin-mobile-menu-toggle { position: relative; }
  .page-admin .admin-mobile-menu-toggle::before { transform: translateY(-7px); }
  .page-admin .admin-mobile-menu-toggle::after { transform: translateY(7px); }
  .page-admin.admin-menu-open .admin-mobile-menu-toggle span { opacity: 0; }
  .page-admin.admin-menu-open .admin-mobile-menu-toggle::before { transform: rotate(45deg); }
  .page-admin.admin-menu-open .admin-mobile-menu-toggle::after { transform: rotate(-45deg); }
  .page-admin .admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 1001; width: min(84vw, 290px); height: 100dvh; transform: translateX(-105%); transition: transform .32s cubic-bezier(.22, 1, .36, 1); box-shadow: 12px 0 32px rgba(0,0,0,.28); }
  .page-admin.admin-menu-open .admin-sidebar { transform: translateX(0); }
  .page-admin .admin-menu-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(20,10,7,.58); opacity: 0; pointer-events: none; display: block; transition: opacity .25s ease; }
  .page-admin .admin-menu-backdrop[hidden] { display: block !important; opacity: 0; pointer-events: none; }
  .page-admin.admin-menu-open .admin-menu-backdrop { opacity: 1; pointer-events: auto; }
  .page-admin .admin-content { padding: 88px 14px 18px; overflow-x: hidden; }
  .page-admin .admin-brand { padding: 14px 16px 10px; border-bottom: 1px solid rgba(255,255,255,.10); }
  .page-admin .admin-brand img { max-width: 165px; }
  .page-admin .admin-sidebar nav { padding-top: 0; }
  .page-admin .admin-sidebar nav a { padding: 13px 18px; border-left: 3px solid transparent; border-bottom: 0; font-size: .95rem; }

  .orders-filter-card { padding: 14px; margin-bottom: 14px; }
  .orders-filter-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .orders-filter-search, .orders-filter-button { grid-column: 1 / -1; }
  .orders-filter-form input, .orders-filter-form select, .orders-filter-form button { width: 100%; max-width: none; min-width: 0; }
  .orders-card { padding: 0; background: transparent; border: 0; box-shadow: none; }
  .admin-table-wrap { overflow: visible; }
  .orders-table, .orders-table thead, .orders-table tbody, .orders-table tr, .orders-table td { display: block; width: 100%; }
  .orders-table colgroup, .orders-table thead { display: none; }
  .orders-table tr { position: relative; border: 1px solid var(--color-border, #E7CFAE); border-radius: 18px; margin-bottom: 12px; padding: 14px; box-shadow: 0 8px 22px rgba(60,33,24,.06); overflow: hidden; }
  .orders-table td { border: 0; padding: 0; text-align: left; }
  .orders-table td::before { content: none; }
  .orders-table td[data-label="Número"] { padding-right: 118px; font-size: 1rem; margin-bottom: 6px; }
  .orders-table td[data-label="Cliente"] { margin-bottom: 12px; }
  .orders-table td[data-label="Cliente"] strong { font-size: 1rem; line-height: 1.25; }
  .orders-table td[data-label="Tipo"] { display: none; }
  .orders-table td[data-label="Status"] { position: absolute; right: 14px; top: 14px; width: auto; padding: 0; }
  .orders-table td[data-label="Status"] .status-badge { min-width: 92px; padding: 7px 10px; }
  .orders-table td[data-label="Total"], .orders-table td[data-label="Data"] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(60,33,24,.10); }
  .orders-table td[data-label="Total"]::before, .orders-table td[data-label="Data"]::before { display: inline; font-weight: 800; color: var(--color-muted, #765A4B); }
  .orders-table td[data-label="Total"]::before { content: "Total"; }
  .orders-table td[data-label="Data"]::before { content: "Data"; }
  .orders-table td[data-label="Ações"] { padding-top: 12px; border-top: 1px solid rgba(60,33,24,.10); }
  .orders-actions { min-width: 0; }
  .order-actions-stack { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .status-inline-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .order-status-chip { width: 100%; padding: 10px 4px; font-size: .68rem; }
  .order-main-actions { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 8px; align-items: center; }
  .order-main-actions .btn-ghost { width: 100%; text-align: center; display: inline-flex; justify-content: center; }
  .btn-delete-order { width: 46px; min-width: 46px; height: 42px; }
  .admin-modal-backdrop { align-items: flex-end; padding: 12px; }
  .admin-confirm-modal { width: 100%; border-radius: 22px 22px 18px 18px; padding: 30px 20px 20px; }
  .confirm-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .confirm-actions .btn { width: 100%; justify-content: center; }
  .admin-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .admin-video-item { flex-direction: column; }
  .video-embed { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .videos-grid, .home-videos-grid { grid-template-columns: 1fr; }
  .admin-settings-grid { grid-template-columns: 1fr; }
  .price-adjustment-row { display: grid; grid-template-columns: 1fr; }
}

/* ===== GALERIA SITE + ADMIN MENU FINAL ===== */
.site-gallery-page .section-head {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.site-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.site-gallery-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--color-white, #fff);
  border: 1px solid var(--color-border, #E7CFAE);
  box-shadow: 0 10px 28px rgba(60,33,24,.08);
  color: var(--color-text, #2D1B14);
  text-decoration: none;
  transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s ease, border-color .24s ease;
}
.site-gallery-card:hover {
  transform: translateY(-3px);
  border-color: rgba(175,32,36,.28);
  box-shadow: 0 18px 36px rgba(60,33,24,.13);
}
.site-gallery-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-cream, #FAEFE2);
}
.site-gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}
.site-gallery-card:hover .site-gallery-image-wrap img {
  transform: scale(1.045);
}
.site-gallery-card-body {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}
.site-gallery-card-body strong {
  color: var(--color-brown, #3C2118);
  font-size: 1rem;
  line-height: 1.25;
}
.site-gallery-card-body small {
  color: var(--color-muted, #765A4B);
  font-size: .86rem;
  line-height: 1.35;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(25,12,8,.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.gallery-lightbox-dialog {
  width: min(1080px, 100%);
  max-height: 92dvh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
  transform: translateY(8px) scale(.985);
  transition: transform .22s cubic-bezier(.22,1,.36,1);
}
.gallery-lightbox.is-open .gallery-lightbox-dialog {
  transform: translateY(0) scale(1);
}
.gallery-lightbox-image-wrap {
  min-height: 0;
  background: #1f120d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 76dvh;
  object-fit: contain;
}
.gallery-lightbox-caption {
  padding: 16px 18px 18px;
  color: var(--color-text, #2D1B14);
}
.gallery-lightbox-caption strong {
  display: block;
  color: var(--color-brown, #3C2118);
  font-size: 1.1rem;
}
.gallery-lightbox-caption p {
  margin: 5px 0 0;
  color: var(--color-muted, #765A4B);
}
.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(60,33,24,.72);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-admin .admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.page-admin .admin-card-head h2 { margin-bottom: 4px; }
.page-admin .admin-card-head p {
  margin: 0;
  color: var(--color-muted, #765A4B);
  font-size: .9rem;
}
.page-admin .admin-media-section { overflow: hidden; }
.page-admin .admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.page-admin .admin-media-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--color-border, #E7CFAE);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(60,33,24,.06);
}
.page-admin .admin-media-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #F4EADB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted, #765A4B);
  font-weight: 800;
}
.page-admin .admin-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-admin .admin-media-body {
  min-width: 0;
  padding: 13px 14px 4px;
}
.page-admin .admin-media-body strong,
.page-admin .admin-video-body strong {
  display: block;
  color: var(--color-brown, #3C2118);
  font-size: .98rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.page-admin .admin-media-body small,
.page-admin .admin-video-body small {
  display: block;
  margin-top: 4px;
  color: var(--color-muted, #765A4B);
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.page-admin .admin-media-body p,
.page-admin .admin-video-body p {
  margin: 8px 0 0;
  color: var(--color-muted, #765A4B);
  font-size: .84rem;
}
.page-admin .admin-media-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px 14px;
}
.page-admin .admin-media-actions .btn,
.page-admin .admin-media-actions button {
  white-space: nowrap;
}
.page-admin .admin-media-actions form { margin: 0; }
.page-admin .admin-video-list {
  display: grid;
  gap: 14px;
}
.page-admin .admin-video-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--color-border, #E7CFAE);
  border-radius: 18px;
  background: rgba(250,239,226,.45);
}
.page-admin .admin-video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #F4EADB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted, #765A4B);
  font-weight: 800;
}
.page-admin .admin-video-thumb iframe,
.page-admin .admin-video-thumb img {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.page-admin .admin-video-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.page-admin .admin-video-body .admin-media-actions {
  margin-top: auto;
  padding: 12px 0 0;
}

@media (max-width: 1024px) {
  .page-admin .admin-shell { display: block; }
  .page-admin .admin-mobile-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 10px 16px;
    background: #3C2118;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
  }
  .page-admin .admin-mobile-logo {
    height: 34px;
    width: auto;
    max-width: 132px;
    display: block;
    object-fit: contain;
  }
  .page-admin .admin-mobile-menu-toggle {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .page-admin .admin-mobile-menu-toggle span,
  .page-admin .admin-mobile-menu-toggle::before,
  .page-admin .admin-mobile-menu-toggle::after {
    content: '';
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    display: block;
    position: absolute;
    transition: transform .25s ease, opacity .25s ease;
  }
  .page-admin .admin-mobile-menu-toggle::before { transform: translateY(-7px); }
  .page-admin .admin-mobile-menu-toggle::after { transform: translateY(7px); }
  .page-admin.admin-menu-open .admin-mobile-menu-toggle span { opacity: 0; }
  .page-admin.admin-menu-open .admin-mobile-menu-toggle::before { transform: rotate(45deg); }
  .page-admin.admin-menu-open .admin-mobile-menu-toggle::after { transform: rotate(-45deg); }
  .page-admin .admin-sidebar {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 1001;
    width: min(86vw, 304px) !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    transform: translateX(-106%);
    transition: transform .34s cubic-bezier(.22,1,.36,1);
    box-shadow: 14px 0 36px rgba(0,0,0,.30);
    overflow-y: auto;
  }
  .page-admin.admin-menu-open .admin-sidebar { transform: translateX(0); }
  .page-admin .admin-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(20,10,7,.58);
    opacity: 0;
    pointer-events: none;
    display: block;
    transition: opacity .25s ease;
  }
  .page-admin .admin-menu-backdrop[hidden] { display: block !important; opacity: 0; pointer-events: none; }
  .page-admin.admin-menu-open .admin-menu-backdrop { opacity: 1; pointer-events: auto; }
  .page-admin .admin-brand {
    padding: 74px 18px 16px;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
    text-align: center;
  }
  .page-admin .admin-brand img {
    max-width: 132px;
    height: auto;
    margin: 0 auto;
  }
  .page-admin .admin-sidebar nav {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    padding: 8px 0 18px !important;
  }
  .page-admin .admin-sidebar nav a {
    display: flex !important;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 14px 20px !important;
    border-left: 3px solid transparent !important;
    border-bottom: 0 !important;
    font-size: .98rem !important;
  }
  .page-admin .admin-content {
    padding-top: 88px !important;
    overflow-x: hidden;
  }
}

@media (max-width: 760px) {
  .site-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
  .site-gallery-image-wrap { aspect-ratio: 1 / 1; }
  .site-gallery-card { border-radius: 16px; }
  .site-gallery-card-body { padding: 10px 11px 12px; }
  .site-gallery-card-body strong { font-size: .9rem; }
  .site-gallery-card-body small { font-size: .76rem; }
  .gallery-lightbox { padding: 12px; align-items: flex-end; }
  .gallery-lightbox-dialog { border-radius: 18px; max-height: 88dvh; }
  .gallery-lightbox img { max-height: 68dvh; }
  .gallery-lightbox-close { top: 10px; right: 10px; }
  .page-admin .admin-media-grid { grid-template-columns: 1fr; gap: 12px; }
  .page-admin .admin-media-thumb { aspect-ratio: 16 / 10; }
  .page-admin .admin-video-card { grid-template-columns: 1fr; gap: 12px; }
  .page-admin .admin-media-actions { display: grid; grid-template-columns: 1fr; }
  .page-admin .admin-media-actions .btn,
  .page-admin .admin-media-actions button { width: 100%; justify-content: center; }
}

/* ===== AJUSTE FINAL MODAL GALERIA PADRONIZADO ===== */
.site-gallery-card,
.home-gallery-card {
  cursor: pointer;
}
.gallery-lightbox {
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gallery-lightbox-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 64px));
  height: min(760px, calc(100dvh - 64px));
  max-height: none;
  grid-template-rows: minmax(0, 1fr) auto;
}
.gallery-lightbox-image-wrap {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #1f120d;
}
.gallery-lightbox img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
.gallery-lightbox-caption {
  min-height: 58px;
  padding: 16px 20px;
  background: #fffdf8;
}
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(60,33,24,.74);
  color: #fff;
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.gallery-lightbox-nav:hover {
  background: rgba(175,32,36,.92);
  transform: translateY(-50%) scale(1.04);
}
.gallery-lightbox-prev { left: 18px; }
.gallery-lightbox-next { right: 18px; }
.gallery-lightbox-nav[hidden] { display: none !important; }

@media (max-width: 760px) {
  .gallery-lightbox {
    align-items: center;
    padding: 12px;
  }
  .gallery-lightbox-dialog {
    width: calc(100vw - 24px);
    height: min(620px, calc(100dvh - 88px));
    border-radius: 18px;
  }
  .gallery-lightbox-caption {
    min-height: 52px;
    padding: 12px 14px;
  }
  .gallery-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }
  .gallery-lightbox-prev { left: 10px; }
  .gallery-lightbox-next { right: 10px; }
}

/* ===== FOOTER FINAL PADRONIZADO ===== */
.site-footer .footer-grid {
  grid-template-columns: minmax(240px, 1.05fr) minmax(180px, 0.75fr) minmax(320px, 1.2fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
}

.site-footer .footer-title {
  font-size: var(--font-base);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer .footer-links a,
.site-footer .footer-contact-list a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.22rem 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-sm);
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-footer .footer-contact-list a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-footer .footer-link-icon {
  width: 17px;
  height: 17px;
  min-width: 17px;
  color: var(--color-gold);
  stroke-width: 2;
}

.site-footer .footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-sm);
}

.site-footer .footer-contact-sites {
  min-width: 0;
}

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

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-7);
  }

  .site-footer .footer-brand,
  .site-footer .footer-nav-links,
  .site-footer .footer-contact-sites {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer .footer-nav-links {
    display: flex !important;
  }

  .site-footer .footer-links,
  .site-footer .footer-contact-list {
    align-items: center;
  }

  .site-footer .footer-links a,
  .site-footer .footer-contact-list a {
    width: auto;
    justify-content: center;
    text-align: center;
  }
}

/* ===== FOOTER MOBILE LIMPO ===== */
@media (max-width: 640px) {
  .site-footer {
    padding: var(--space-8) 0 0;
  }

  .site-footer .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: 0 var(--space-4);
  }

  .site-footer .footer-brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .site-footer .footer-logo {
    width: 150px;
    max-width: 150px;
    margin: 0 auto var(--space-4);
  }

  .site-footer .footer-brand p,
  .site-footer .footer-nav-links,
  .site-footer .footer-contact-sites {
    display: none !important;
  }

  .site-footer .footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3);
    margin: 0 auto;
  }

  .site-footer .footer-social a {
    width: 42px;
    height: 42px;
  }

  .site-footer .footer-bottom {
    width: 100%;
    max-width: none;
    margin: var(--space-7) 0 0;
    padding: var(--space-3) var(--space-4);
    border: 0;
    border-radius: 0;
    background: var(--color-gold);
    color: var(--color-brown);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
  }
}

/* ===== CORREÇÕES SOLICITADAS - ADMIN + MÍDIAS ===== */
.home-media-section { padding: clamp(38px, 5vw, 72px) 0; }
.home-media-section .section-head.compact { margin-bottom: 20px; }
.home-gallery-grid.home-gallery-grid-locked {
  grid-template-columns: repeat(auto-fit, minmax(150px, 210px));
  justify-content: center;
  gap: 14px;
}
.home-gallery-grid.home-gallery-grid-locked .home-gallery-card {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 4 / 3;
  max-height: 158px;
  border-radius: 16px;
}
.home-videos-grid.home-videos-grid-locked {
  grid-template-columns: repeat(auto-fit, minmax(240px, 360px));
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.home-videos-grid.home-videos-grid-locked .home-video-card {
  max-width: 360px;
}
.home-videos-grid.home-videos-grid-locked .home-video-frame {
  aspect-ratio: 16 / 9;
  max-height: 204px;
  overflow: hidden;
}
.home-gallery-card img,
.home-video-frame iframe,
.home-video-frame img,
.home-video-frame .video-placeholder,
.instagram-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.google-reviews-grid,
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.google-review-card,
.instagram-card,
.google-review-empty,
.instagram-empty {
  background: #fff;
  border: 1px solid var(--color-border, #E7CFAE);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(60,33,24,.06);
}
.review-stars { color: #E1A500; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 10px; }
.google-review-card p { color: var(--color-muted, #765A4B); line-height: 1.55; margin: 0 0 14px; }
.google-review-card strong { display: block; color: var(--color-brown, #3C2118); }
.google-review-card small { display: block; color: var(--color-muted, #765A4B); margin-top: 3px; }
.instagram-card { padding: 0; overflow: hidden; }
.instagram-image-wrap { display: block; aspect-ratio: 1 / 1; background: #F4EADB; overflow: hidden; }
.instagram-image-wrap span { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--color-muted, #765A4B); font-weight: 800; }
.instagram-card p { padding: 14px 16px 0; margin: 0; color: var(--color-muted, #765A4B); font-size: .9rem; line-height: 1.45; }
.instagram-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 16px 16px; }
.instagram-actions a { text-align: center; border-radius: 999px; padding: 9px 10px; font-weight: 800; font-size: .82rem; text-decoration: none; border: 1px solid var(--color-border, #E7CFAE); color: var(--color-brown, #3C2118); background: #fffdf8; }
.instagram-actions a:hover { background: var(--color-gold, #D9A441); color: #fff; }

.page-admin .admin-media-grid-clean { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: stretch; }
.page-admin .admin-media-card-clean { display: grid; grid-template-rows: auto 1fr auto; min-height: 100%; }
.page-admin .admin-media-card-clean .admin-media-thumb { aspect-ratio: 4 / 3; max-height: 210px; }
.page-admin .admin-media-body strong { font-size: 1rem; }
.page-admin .admin-media-body small { line-height: 1.35; }
.page-admin .admin-media-url { word-break: break-all; }
.page-admin .admin-media-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
  margin-top: 12px;
}
.page-admin .admin-media-actions .btn,
.page-admin .admin-media-actions button {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: center;
}
.page-admin .admin-video-list-clean { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.page-admin .admin-video-card-clean {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--color-border, #E7CFAE);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.page-admin .admin-video-card-clean .admin-video-thumb { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
.page-admin .admin-video-card-clean .admin-video-body { padding: 14px; }
.page-admin .current-image img { max-width: 280px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

@media (max-width: 760px) {
  .home-gallery-grid.home-gallery-grid-locked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-gallery-grid.home-gallery-grid-locked .home-gallery-card { max-width: none; max-height: 150px; }
  .home-videos-grid.home-videos-grid-locked { grid-template-columns: 1fr; }
  .instagram-actions { grid-template-columns: 1fr; }
  .page-admin .admin-video-list-clean { grid-template-columns: 1fr; }
  .page-admin .admin-media-actions { grid-template-columns: 1fr; }
  .site-footer .footer-social { margin: 12px auto 22px !important; padding-bottom: 8px; }
}

/* ===== CORREÇÃO FINAL - AVALIAÇÕES GOOGLE / FEATURABLE ===== */
.google-reviews-section.google-reviews-section-compact,
#avaliacoes-google.google-reviews-section {
  padding-top: clamp(28px, 3vw, 44px) !important;
  padding-bottom: clamp(28px, 3vw, 44px) !important;
}

#avaliacoes-google .section-head,
#avaliacoes-google .google-reviews-head {
  margin-bottom: 14px !important;
}

#avaliacoes-google .section-subtitle,
#avaliacoes-google .section-action,
#avaliacoes-google a[href*="g.page"],
#avaliacoes-google a[href*="/review"] {
  display: none !important;
}

#avaliacoes-google .featurable-google-reviews-widget,
#avaliacoes-google [id^="featurable-"],
#avaliacoes-google [class*="featurable"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#avaliacoes-google .featurable-google-reviews-widget iframe,
#avaliacoes-google [id^="featurable-"] iframe {
  margin-top: 0 !important;
}


/* SociableKIT Instagram embed */
.instagram-section {
  padding-bottom: 48px;
}

.instagram-section .instagram-section-head {
  margin-bottom: 18px;
}

.instagram-section .section-subtitle,
.instagram-profile-action {
  display: none !important;
}

.sociablekit-instagram-widget {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto 44px;
  overflow: hidden;
}

.sociablekit-instagram-widget iframe,
.sociablekit-instagram-widget > div {
  max-width: 100%;
}

/* ===== CORREÇÃO FINAL - GALERIA ADMIN + GALERIA DO SITE ===== */
.home-media-section .section-head.compact {
  display: none !important;
}

.home-media-section .container > .home-gallery-grid,
.home-media-section .container > .home-videos-grid {
  margin-top: 0 !important;
}

.gallery-lightbox-dialog {
  grid-template-rows: minmax(0, 1fr) !important;
}

.gallery-lightbox-caption {
  display: none !important;
}

.gallery-lightbox img {
  transition: opacity .32s cubic-bezier(.22,1,.36,1), transform .32s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.gallery-lightbox.is-changing img {
  opacity: .12;
  transform: scale(.985);
}

.page-admin .admin-media-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 12px 14px 14px !important;
  margin-top: 0 !important;
  width: 100%;
}

.page-admin .admin-media-actions form {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.page-admin .admin-media-actions .btn,
.page-admin .admin-media-actions button {
  width: 100% !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  line-height: 1.15 !important;
  font-size: .84rem !important;
  text-align: center !important;
}

.page-admin .admin-media-card-clean .admin-media-body,
.page-admin .admin-video-card-clean .admin-video-body {
  padding-bottom: 10px !important;
}

.gallery-upload-selected {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--color-border, #E7CFAE);
  border-radius: 12px;
  background: rgba(217,164,65,.10);
  color: var(--color-brown, #3C2118);
  font-weight: 800;
  font-size: .88rem;
}

.gallery-upload-preloader[hidden] {
  display: none !important;
}

.gallery-upload-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(45,27,20,.72);
  backdrop-filter: blur(5px);
}

.gallery-upload-preloader-box {
  width: min(460px, 100%);
  padding: 26px;
  border-radius: 22px;
  background: #fffdf8;
  border: 1px solid var(--color-border, #E7CFAE);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  display: grid;
  gap: 12px;
  text-align: center;
}

.gallery-upload-preloader-box strong {
  color: var(--color-brown, #3C2118);
  font-size: 1.1rem;
}

.gallery-upload-preloader-box span {
  color: var(--color-muted, #765A4B);
  font-size: .92rem;
}

.gallery-upload-progress {
  width: 100%;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #F1E2CC;
  border: 1px solid rgba(217,164,65,.35);
}

.gallery-upload-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-red, #AF2024), var(--color-gold, #D9A441));
  transition: width .34s cubic-bezier(.22,1,.36,1);
}

body.gallery-uploading {
  cursor: progress;
}

@media (max-width: 760px) {
  .page-admin .admin-media-actions {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .page-admin .admin-media-actions .btn,
  .page-admin .admin-media-actions button {
    white-space: normal !important;
    font-size: .9rem !important;
  }

  .gallery-upload-preloader-box {
    padding: 22px 18px;
    border-radius: 18px;
  }
}

/* ===== AJUSTES FINAIS 2026-05-27 - CARRINHO, GALERIA E ADMIN ===== */
.product-card[data-card-url] {
  cursor: pointer;
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s cubic-bezier(.22,1,.36,1), border-color .22s cubic-bezier(.22,1,.36,1);
}
.product-card[data-card-url]:focus-visible {
  outline: 3px solid rgba(217,164,65,.55);
  outline-offset: 4px;
}
.product-card[data-card-url]:hover {
  transform: translateY(-4px);
}

.sticky-checkout {
  padding: 10px 14px !important;
}
.sticky-checkout-inner {
  max-width: var(--container-max) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 12px !important;
}
.sticky-checkout-primary {
  display: grid !important;
  grid-template-columns: minmax(0, .82fr) minmax(150px, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}
.sticky-checkout-summary {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  min-width: 0 !important;
}
.sticky-checkout-summary span,
.sticky-checkout-inner span {
  width: auto !important;
  text-align: left !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}
#stickyCheckoutItems { font-size: .92rem !important; color: var(--color-text) !important; }
#stickyCheckoutTotal { font-size: 1.05rem !important; color: var(--color-primary) !important; }
.sticky-checkout-finalize,
.sticky-checkout-cart {
  min-height: 46px !important;
  width: 100% !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  padding: 12px 16px !important;
}
.sticky-checkout-cart {
  background: var(--color-red, #AF2024) !important;
  color: #fff !important;
  border: 2px solid var(--color-red, #AF2024) !important;
}
.sticky-checkout-cart:hover {
  background: #8f181c !important;
  color: #fff !important;
}
@media (max-width: 760px) {
  .sticky-checkout {
    padding: 8px 10px !important;
  }
  .sticky-checkout-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .sticky-checkout-primary {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
  }
  .sticky-checkout-summary {
    align-items: center !important;
    text-align: center !important;
  }
  .sticky-checkout-summary span,
  .sticky-checkout-inner span {
    width: auto !important;
    text-align: center !important;
  }
  #stickyCheckoutItems { font-size: .76rem !important; }
  #stickyCheckoutTotal { font-size: .86rem !important; }
  .sticky-checkout-finalize,
  .sticky-checkout-cart {
    min-height: 42px !important;
    padding: 9px 8px !important;
    font-size: .78rem !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }
}

.gallery-lightbox-image-wrap {
  overflow: hidden !important;
}
.gallery-lightbox img {
  opacity: 1 !important;
  transform: translateX(0) scale(1) !important;
  transition: opacity .42s cubic-bezier(.16,1,.3,1), transform .42s cubic-bezier(.16,1,.3,1) !important;
  will-change: opacity, transform !important;
}
.gallery-lightbox.is-changing-next img {
  opacity: 0 !important;
  transform: translateX(-22px) scale(.985) !important;
}
.gallery-lightbox.is-changing-prev img {
  opacity: 0 !important;
  transform: translateX(22px) scale(.985) !important;
}

.page-admin .admin-media-section-groups {
  display: grid;
  gap: 28px;
}
.page-admin .admin-media-group {
  padding: 18px;
  border: 1px solid rgba(217,164,65,.35);
  border-radius: 18px;
  background: rgba(255,250,242,.72);
}
.page-admin .admin-media-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(217,164,65,.28);
}
.page-admin .admin-media-group-head h3 {
  margin: 0;
  color: var(--color-brown, #3C2118);
  font-size: 1.08rem;
  font-weight: 900;
}
.page-admin .admin-media-group-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(175,32,36,.08);
  color: var(--color-red, #AF2024);
  font-weight: 900;
  font-size: .82rem;
  white-space: nowrap;
}
.page-admin .admin-media-grid-clean {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
}
.page-admin .admin-media-actions {
  grid-template-columns: 1fr 1fr !important;
}
.page-admin .admin-media-actions .btn,
.page-admin .admin-media-actions button {
  min-height: 44px !important;
  white-space: nowrap !important;
}
@media (max-width: 760px) {
  .page-admin .admin-media-group {
    padding: 12px;
    border-radius: 16px;
  }
  .page-admin .admin-media-group-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-admin .admin-media-grid-clean {
    grid-template-columns: 1fr !important;
  }
  .page-admin .admin-media-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .page-admin .admin-media-actions .btn,
  .page-admin .admin-media-actions button {
    min-height: 42px !important;
    white-space: nowrap !important;
    font-size: .82rem !important;
  }
}


/* ===== CORREÇÃO DEFINITIVA - BARRA FIXA CARRINHO 50/50 ===== */
.sticky-checkout {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15) !important;
}

.sticky-checkout-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: stretch !important;
  gap: 0 !important;
}

.sticky-checkout-panel {
  min-height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 18px !important;
  box-sizing: border-box !important;
}

.sticky-checkout-order-panel {
  background: var(--color-white) !important;
  gap: 18px !important;
}

.sticky-checkout-cart-panel {
  background: var(--color-primary, #AF2024) !important;
}

.sticky-checkout-summary {
  flex: 0 0 auto !important;
  min-width: 120px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  margin: 0 !important;
}

.sticky-checkout-summary span,
.sticky-checkout-inner span {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

#stickyCheckoutItems {
  font-size: .92rem !important;
  color: var(--color-text-muted, #6f625c) !important;
}

#stickyCheckoutTotal {
  font-size: 1.05rem !important;
  color: var(--color-primary, #AF2024) !important;
}

.sticky-checkout-btn,
.sticky-checkout-finalize,
.sticky-checkout-cart {
  width: min(100%, 320px) !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  padding: 0 22px !important;
  margin: 0 !important;
  font-size: .95rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.sticky-checkout-finalize {
  background: var(--color-secondary, #D9A441) !important;
  color: var(--color-brown, #3f2118) !important;
  border: 2px solid var(--color-secondary, #D9A441) !important;
}

.sticky-checkout-cart {
  background: #fff !important;
  color: var(--color-primary, #AF2024) !important;
  border: 2px solid #fff !important;
}

.sticky-checkout-cart:hover,
.sticky-checkout-cart:focus {
  background: #fff !important;
  color: var(--color-primary, #AF2024) !important;
  filter: brightness(.96);
}

@media (max-width: 760px) {
  .sticky-checkout-panel {
    min-height: 72px !important;
    padding: 8px 8px !important;
  }

  .sticky-checkout-order-panel {
    gap: 7px !important;
    flex-direction: column !important;
  }

  .sticky-checkout-summary {
    min-width: 0 !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1px !important;
  }

  .sticky-checkout-summary span,
  .sticky-checkout-inner span {
    text-align: center !important;
  }

  #stickyCheckoutItems {
    font-size: .74rem !important;
  }

  #stickyCheckoutTotal {
    font-size: .86rem !important;
  }

  .sticky-checkout-btn,
  .sticky-checkout-finalize,
  .sticky-checkout-cart {
    width: min(100%, 230px) !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0 8px !important;
    font-size: .78rem !important;
    white-space: normal !important;
    line-height: 1.08 !important;
  }
}


/* ===== AJUSTE FINAL - RESUMO TAMBÉM NO BOTÃO VER CARRINHO ===== */
.sticky-checkout-cart-panel {
  gap: 18px !important;
}

.sticky-checkout-cart-summary {
  color: #fff !important;
}

#stickyCheckoutCartItems,
#stickyCheckoutCartTotal {
  color: #fff !important;
}

#stickyCheckoutCartItems {
  font-size: .92rem !important;
}

#stickyCheckoutCartTotal {
  font-size: 1.05rem !important;
}

@media (max-width: 760px) {
  .sticky-checkout-cart-panel {
    gap: 7px !important;
    flex-direction: column !important;
  }

  .sticky-checkout-cart-summary {
    min-width: 0 !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1px !important;
  }

  #stickyCheckoutCartItems {
    font-size: .74rem !important;
  }

  #stickyCheckoutCartTotal {
    font-size: .86rem !important;
  }
}

/* ===== ADMIN TOPBAR + SINO DE PEDIDOS ===== */
.page-admin .admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 0 0 24px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid rgba(231,207,174,.95);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(60,33,24,.06);
}
.page-admin .admin-topbar-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-admin .admin-topbar-title strong {
  display: block;
  color: #3C2118;
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.2;
}
.page-admin .admin-topbar-title span {
  display: block;
  color: #765A4B;
  font-size: .86rem;
  line-height: 1.2;
  word-break: break-word;
}
.page-admin .admin-topbar-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.page-admin .admin-order-alert {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.page-admin .admin-bell-button {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid #E7CFAE;
  background: #FFF9EF;
  color: #7B5544;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.page-admin .admin-bell-button svg {
  width: 22px;
  height: 22px;
  display: block;
}
.page-admin .admin-bell-button:hover,
.page-admin .admin-bell-button:focus {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(60,33,24,.12);
}
.page-admin .admin-order-alert.has-alert .admin-bell-button {
  background: #AF2024;
  border-color: #AF2024;
  color: #fff;
  box-shadow: 0 12px 30px rgba(175,32,36,.28);
  animation: adminBellPulse 1.8s ease-in-out infinite;
}
.page-admin .admin-bell-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  border-radius: 999px;
  background: #D8AD58;
  color: #3C2118;
  border: 2px solid #fff;
  font-size: .72rem;
  font-weight: 900;
  line-height: 19px;
  text-align: center;
}
.page-admin .admin-bell-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid #E7CFAE;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(60,33,24,.18);
  overflow: hidden;
}
.page-admin .admin-bell-dropdown-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #FFF7E8;
  border-bottom: 1px solid #E7CFAE;
}
.page-admin .admin-bell-dropdown-head strong {
  color: #3C2118;
  font-weight: 900;
}
.page-admin .admin-bell-dropdown-head a {
  color: #AF2024;
  font-weight: 900;
  font-size: .84rem;
  text-decoration: none;
}
.page-admin .admin-bell-list {
  max-height: 320px;
  overflow: auto;
  padding: 8px;
}
.page-admin .admin-bell-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: 13px;
  text-decoration: none;
  color: #3C2118;
  transition: background .18s ease;
}
.page-admin .admin-bell-item:hover {
  background: #FFF7E8;
}
.page-admin .admin-bell-item strong {
  font-size: .95rem;
  font-weight: 900;
}
.page-admin .admin-bell-item span,
.page-admin .admin-bell-item small,
.page-admin .admin-bell-empty {
  color: #765A4B;
  font-size: .84rem;
}
.page-admin .admin-bell-empty {
  margin: 0;
  padding: 16px;
}
@keyframes adminBellPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== ADMIN USUÁRIOS ===== */
.page-admin .admin-page-kicker {
  display: inline-flex;
  margin: 0 0 6px;
  color: #AF2024;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}
.page-admin .admin-users-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: start;
}
.page-admin .admin-users-grid .admin-card {
  margin-bottom: 0;
}
.page-admin .admin-user-card-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.page-admin .admin-user-card-title h2 {
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 900;
  color: #3C2118;
}
.page-admin .admin-user-card-title p {
  margin: 0;
  color: #765A4B;
  font-size: .92rem;
}
.page-admin .admin-user-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF7E8;
  color: #AF2024;
  border: 1px solid rgba(216,173,88,.38);
}
.page-admin .admin-users-grid .form-group {
  margin-bottom: 16px;
}
.page-admin .admin-users-grid label {
  display: block;
  margin-bottom: 7px;
  color: #3C2118;
  font-weight: 900;
  font-size: .92rem;
}
.page-admin .admin-users-grid input[type="email"],
.page-admin .admin-users-grid input[type="text"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid #E7CFAE;
  border-radius: 12px;
  padding: 11px 13px;
  background: #fff;
  color: #3C2118;
  font-size: .95rem;
  outline: none;
  box-sizing: border-box;
}
.page-admin .admin-users-grid input:focus {
  border-color: #AF2024;
  box-shadow: 0 0 0 3px rgba(175,32,36,.10);
}
.page-admin .admin-users-grid input.is-invalid {
  border-color: #AF2024 !important;
  background: #FFF5F3;
  box-shadow: 0 0 0 3px rgba(175,32,36,.12);
}
.page-admin .password-generator-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}
.page-admin .password-generator-row .btn {
  min-height: 48px;
  white-space: nowrap;
}
.page-admin .form-help {
  display: block;
  margin-top: 8px;
  color: #765A4B;
  font-size: .82rem;
  line-height: 1.4;
}
.page-admin .admin-form-alert {
  padding: 11px 13px;
  margin: 0 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(175,32,36,.22);
  background: #FFF6F3;
  color: #8D181E;
  font-size: .88rem;
  font-weight: 800;
}
.page-admin .admin-users-page-alert,
.page-admin .alert-success,
.page-admin .alert-error {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 800;
}
.page-admin .alert-success {
  background: rgba(31,122,77,.10);
  border: 1px solid rgba(31,122,77,.28);
  color: #1F7A4D;
}
.page-admin .alert-error {
  background: rgba(175,32,36,.10);
  border: 1px solid rgba(175,32,36,.28);
  color: #AF2024;
}
.page-admin .admin-users-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-admin .admin-user-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.25fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(231,207,174,.9);
  border-radius: 16px;
  background: #FFFDF9;
}
.page-admin .admin-user-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-admin .admin-user-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #AF2024;
  color: #fff;
  font-weight: 900;
}
.page-admin .admin-user-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.page-admin .admin-user-info strong {
  color: #3C2118;
  font-weight: 900;
  word-break: break-word;
}
.page-admin .admin-user-info span,
.page-admin .admin-user-info em {
  color: #765A4B;
  font-size: .84rem;
}
.page-admin .admin-user-info em {
  color: #1F7A4D;
  font-weight: 900;
  font-style: normal;
}
.page-admin .admin-user-actions {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: stretch;
}
.page-admin .admin-user-password-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 8px;
  align-items: start;
}
.page-admin .admin-user-password-form .admin-form-alert {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.page-admin .admin-user-delete-form {
  display: flex;
  justify-content: flex-end;
}
.page-admin .admin-user-delete-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.page-admin .empty-message {
  color: #765A4B;
  margin: 0;
}

@media (max-width: 1020px) {
  .page-admin .admin-users-grid,
  .page-admin .admin-user-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .page-admin .admin-content {
    padding: 18px 14px 28px;
  }
  .page-admin .admin-topbar {
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }
  .page-admin .admin-topbar-title strong {
    font-size: .92rem;
  }
  .page-admin .admin-topbar-title span {
    font-size: .78rem;
  }
  .page-admin .admin-bell-button {
    width: 44px;
    height: 44px;
  }
  .page-admin .admin-bell-dropdown {
    right: -4px;
    width: calc(100vw - 28px);
  }
  .page-admin .password-generator-row,
  .page-admin .admin-user-password-form {
    grid-template-columns: 1fr;
  }
  .page-admin .admin-user-password-form .btn,
  .page-admin .password-generator-row .btn,
  .page-admin .admin-user-submit {
    width: 100%;
    justify-content: center;
  }
  .page-admin .admin-user-row {
    padding: 14px;
  }
  .page-admin .admin-user-delete-form {
    justify-content: stretch;
  }
  .page-admin .admin-user-delete-form .btn {
    width: 100%;
    justify-content: center;
  }
}
