/* ============================================================
   LENINA BISTRÔ — Design System v3.0
   Alta especificidade para sobrepor Elementor + Premium Addons
   Paleta: Carvão #1a1a18 | Dourado #c9a96e | Off-white #f5f0e8
   Tipografia: Cormorant Garamond (serif) + Jost (sans)
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@200;300;400;500;600&display=swap');

/* ── RESET E BASE GLOBAL ── */
html body,
html body.home,
html body.page {
  background-color: #1a1a18 !important;
  color: #f5f0e8 !important;
  font-family: 'Jost', 'Helvetica Neue', sans-serif !important;
  font-weight: 300 !important;
  letter-spacing: 0.02em !important;
  -webkit-font-smoothing: antialiased !important;
}

/* ── TODAS AS SEÇÕES ELEMENTOR ── */
html body .elementor-section:not(.elementor-element-807c424),
html body .e-con,
html body .e-con-inner,
html body .elementor-top-section:not(.elementor-element-807c424),
html body .elementor-inner-section {
  background-color: #1a1a18 !important;
}

/* ── SEÇÃO HERO DA HOME - FUNDO TRANSPARENTE PARA SLIDESHOW ── */
html body .elementor-element-807c424 {
  background-color: transparent !important;
  background-image: none !important;
}

/* ── TIPOGRAFIA: HEADINGS ── */
html body h1,
html body h2,
html body h3,
html body h4,
html body .elementor-heading-title,
html body .elementor-widget-heading .elementor-heading-title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  color: #f5f0e8 !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.01em !important;
}

html body h1,
html body .elementor-heading-title.elementor-size-xl,
html body .elementor-heading-title.elementor-size-xxl {
  font-size: clamp(2.5rem, 6vw, 5rem) !important;
  font-style: italic !important;
}

html body h2,
html body .elementor-heading-title.elementor-size-large {
  font-size: clamp(1.8rem, 4vw, 3.2rem) !important;
}

html body h3,
html body .elementor-heading-title.elementor-size-medium {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem) !important;
}

/* ── TEXTOS E PARÁGRAFOS ── */
html body p,
html body .elementor-widget-text-editor,
html body .elementor-widget-text-editor p,
html body .elementor-text-editor {
  color: #c8c0b0 !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 300 !important;
  line-height: 1.8 !important;
  font-size: 1rem !important;
}

/* ── DIVISOR DOURADO ── */
html body .elementor-divider-separator {
  border-color: #c9a96e !important;
  border-width: 1px !important;
  opacity: 0.5 !important;
}

/* ── BOTÕES ── */
html body .elementor-button,
html body a.elementor-button,
html body button.elementor-button {
  background-color: transparent !important;
  color: #c9a96e !important;
  border: 1px solid #c9a96e !important;
  border-radius: 0 !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  padding: 14px 36px !important;
  transition: all 0.3s ease !important;
}

html body .elementor-button:hover,
html body a.elementor-button:hover {
  background-color: #c9a96e !important;
  color: #1a1a18 !important;
}

/* ── LINKS ── */
html body a {
  color: #c9a96e !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease !important;
}

html body a:hover {
  opacity: 0.75 !important;
}

/* ── HEADER / NAVEGAÇÃO ── */
html body .elementor-location-header,
html body header.site-header {
  background-color: rgba(26, 26, 24, 0.97) !important;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

html body .elementor-nav-menu a,
html body .elementor-nav-menu .elementor-item {
  color: #f5f0e8 !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 300 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

html body .elementor-nav-menu a:hover,
html body .elementor-nav-menu .elementor-item:hover {
  color: #c9a96e !important;
}

/* ── HERO SECTION ── */
html body .elementor-section.elementor-section-full_width:first-of-type,
html body .e-con:first-of-type {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
}

/* ── SEÇÃO ESPECIAL: FUNDO DOURADO SUTIL ── */
html body .elementor-section.elementor-section-boxed:nth-child(3),
html body .elementor-section.elementor-section-boxed:nth-child(5) {
  background-color: #111110 !important;
}

/* ── IMAGENS ── */
html body .elementor-widget-image img,
html body .elementor-image img {
  border-radius: 0 !important;
  filter: brightness(0.92) contrast(1.05) saturate(1.1) !important;
  transition: filter 0.4s ease, transform 0.6s ease !important;
}

html body .elementor-widget-image:hover img {
  filter: brightness(1) contrast(1.08) saturate(1.15) !important;
  transform: scale(1.02) !important;
}

/* ── WOOCOMMERCE: CARDÁPIO ── */
html body .woocommerce ul.products,
html body .woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body .woocommerce ul.products li.product,
html body .woocommerce-page ul.products li.product,
html body .premium-woo-product-wrap {
  background-color: #111110 !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  cursor: pointer !important;
  transition: transform 0.4s ease !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .woocommerce ul.products li.product:hover,
html body .premium-woo-product-wrap:hover {
  transform: translateY(-4px) !important;
}

/* Thumbnail do produto */
html body .woocommerce ul.products li.product .woocommerce-loop-product__link,
html body .premium-woo-product-thumbnail,
html body .woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block !important;
  overflow: hidden !important;
  aspect-ratio: 4/5 !important;
  background-color: #2a2a28 !important;
  position: relative !important;
}

html body .woocommerce ul.products li.product img,
html body .premium-woo-product-thumbnail img,
html body .woocommerce ul.products li.product .woocommerce-loop-product__link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  filter: brightness(0.9) contrast(1.05) saturate(1.15) !important;
}

html body .woocommerce ul.products li.product:hover img,
html body .premium-woo-product-wrap:hover img {
  transform: scale(1.06) !important;
  filter: brightness(1) contrast(1.08) saturate(1.2) !important;
}

/* Nome do produto */
html body .woocommerce ul.products li.product .woocommerce-loop-product__title,
html body .woocommerce ul.products li.product h2,
html body .premium-woo-product-title,
html body .premium-woo-product-title a {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  color: #f5f0e8 !important;
  padding: 16px 20px 4px !important;
  margin: 0 !important;
  letter-spacing: 0.02em !important;
  background: transparent !important;
}

/* Preço do produto */
html body .woocommerce ul.products li.product .price,
html body .premium-woo-product-price {
  color: #c9a96e !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  padding: 0 20px 20px !important;
  letter-spacing: 0.05em !important;
}

/* Ocultar botão "Adicionar ao carrinho" — é um restaurante */
html body .woocommerce ul.products li.product .button,
html body .woocommerce ul.products li.product .add_to_cart_button,
html body .premium-woo-product-add-to-cart {
  display: none !important;
}

/* ── PREMIUM ADDONS: PRODUTO GRID ── */
html body .premium-woo-products-container {
  background-color: #1a1a18 !important;
}

html body .premium-woo-product-info {
  background-color: #111110 !important;
  padding: 16px 20px 20px !important;
}

html body .premium-woo-product-info .premium-woo-product-title {
  padding: 0 0 4px !important;
}

html body .premium-woo-product-info .premium-woo-product-price {
  padding: 0 !important;
}

/* ── CATEGORIAS DO CARDÁPIO ── */
html body .woocommerce-product-category-title,
html body .woocommerce-products-header__title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
  color: #f5f0e8 !important;
  font-weight: 300 !important;
  font-style: italic !important;
  text-align: center !important;
  padding: 60px 0 20px !important;
  letter-spacing: 0.05em !important;
}

/* ── FORMULÁRIOS ── */
html body input[type="text"],
html body input[type="email"],
html body input[type="tel"],
html body textarea,
html body select {
  background-color: #111110 !important;
  border: 1px solid rgba(201, 169, 110, 0.3) !important;
  border-radius: 0 !important;
  color: #f5f0e8 !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 300 !important;
  padding: 14px 18px !important;
  outline: none !important;
  transition: border-color 0.3s ease !important;
}

html body input:focus,
html body textarea:focus {
  border-color: #c9a96e !important;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.2) !important;
}

html body ::placeholder {
  color: rgba(245, 240, 232, 0.35) !important;
}

/* ── BLOCKQUOTE / DEPOIMENTOS ── */
html body blockquote,
html body .elementor-testimonial-content {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.3rem !important;
  color: #e8e0d0 !important;
  border-left: 2px solid #c9a96e !important;
  padding-left: 24px !important;
  line-height: 1.7 !important;
}

/* ── RODAPÉ ── */
html body .elementor-location-footer,
html body footer.site-footer {
  background-color: #0d0d0c !important;
  border-top: 1px solid rgba(201, 169, 110, 0.15) !important;
}

html body .elementor-location-footer p,
html body .elementor-location-footer span,
html body .elementor-location-footer a {
  color: rgba(245, 240, 232, 0.5) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.1em !important;
}

/* ── SCROLLBAR PERSONALIZADA ── */
::-webkit-scrollbar {
  width: 4px !important;
}

::-webkit-scrollbar-track {
  background: #1a1a18 !important;
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.4) !important;
  border-radius: 2px !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #c9a96e !important;
}

/* ── ANIMAÇÕES DE ENTRADA ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

html body .elementor-widget-heading,
html body .elementor-widget-text-editor {
  animation: fadeInUp 0.7s ease both !important;
}

/* ── LINHA DECORATIVA DOURADA ── */
html body .elementor-heading-title::after {
  content: '' !important;
  display: block !important;
  width: 40px !important;
  height: 1px !important;
  background: #c9a96e !important;
  margin: 16px auto 0 !important;
  opacity: 0.6 !important;
}

/* ── RESPONSIVO MOBILE ── */
@media (max-width: 767px) {
  html body h1,
  html body .elementor-heading-title.elementor-size-xl {
    font-size: 2.2rem !important;
  }

  html body h2 {
    font-size: 1.6rem !important;
  }

  html body .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
  }

  html body .elementor-button {
    padding: 12px 24px !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 480px) {
  html body .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* ── CORREÇÃO HEADER: min-height apenas na Home ── */
/* O header Elementor (ID 33) tem min-height 1100px para a Home */
/* Em outras páginas, deve ter altura automática */
body:not(.home):not(.page-id-25) header.elementor-location-header .elementor-element-569cbed0 {
  min-height: auto !important;
  height: auto !important;
}

/* Garantir que as imagens injetadas fiquem visíveis */
html body .premium-woo-product-thumbnail .lb-injected,
html body li.product img.lb-injected {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* ── CARROSSEL HERO ── */
html body .lb-hero-active,
html body .lb-hero-active.elementor-section,
html body .lb-hero-active.e-con {
  background-color: transparent !important;
  background-image: none !important;
}
html body .lb-hero-active .elementor-background-overlay {
  display: none !important;
}
#lb-hero-carousel {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}


/* ── SEÇÃO HERO DA HOME - EXCEÇÃO PARA BACKGROUND SLIDESHOW ── */
html body .elementor-element.elementor-element-807c424,
html body .elementor-element.elementor-element-807c424.elementor-section,
html body .elementor-element.elementor-element-807c424.elementor-top-section {
  background-color: transparent !important;
}

/* ── CORREÇÃO DO HEADER: REMOVER MIN-HEIGHT EXCESSIVO ── */
header.elementor-location-header .elementor-element-569cbed0,
.elementor-location-header .elementor-element.elementor-element-569cbed0 {
  min-height: auto !important;
  height: auto !important;
}
