/* =====================================================
   OS INFANÇÕES — main.css (SIMPLIFICADO)
   ===================================================== */

:root {
  --olive-deep: #131807;
  --olive-mid: #5a6b34;
  --olive-light: #8fa04e;
  --gold: #c8973a;
  --gold-light: #e8c46a;
  --gold-pale: #f5e6c0;
  --cream: #f8f3ea;
  --cream-dark: #ede4d0;
  --earth: #7a5c3a;
  --earth-light: #a8845a;
  --ink: #1a1a0e;
  --ink-soft: #3a3a28;
  --white: #fdfaf4;
  --sidebar-bg: #2e3a12;
  --trans: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  opacity: 0;
  transition: opacity 0.15s ease;
}
html.fonts-loaded { opacity: 1; }

body {
  background: var(--white);
  color: var(--ink-soft);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  line-height: 1.85;
  overflow-x: hidden;
}

a { color: var(--olive-mid); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold); }
strong, b { font-weight: 500; color: var(--ink); }
em, i { font-style: italic; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-weight: 400; }
h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 300; line-height: 0.95; color: var(--white); letter-spacing: 0.02em; }
h2 { font-family: "Cinzel", Georgia, serif; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.9rem; line-height: 1.2; color: var(--olive-deep); margin-bottom: 1.25rem; }
h4 { font-family: "Cinzel", serif; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
p { margin-bottom: 1.5rem; line-height: 1.9; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

/* LAYOUT */
.page-wrapper { display: flex; align-items: flex-start; min-height: 100vh; position: relative; }
@media (max-width: 1024px) { .page-wrapper { display: block; } }
.main-content { flex: 1 1 0; min-width: 0; background: var(--white); }

/* SIDEBAR */
.sidebar {
  flex: 0 0 38vw;
  width: 38vw;
  max-width: 520px;
  min-width: 280px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 10;
  background: var(--olive-deep);
}
.sidebar-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(135deg, #1a250c 0%, #1e2a0f 40%, #17220a 100%),
                    radial-gradient(ellipse at 30% 20%, rgba(200,220,140,0.04) 0%, transparent 70%),
                    radial-gradient(ellipse at 80% 75%, rgba(140,180,80,0.03) 0%, transparent 80%);
}
.sidebar-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 5rem 4rem 3.5rem;
}
.sidebar-top {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-bottom: 1rem;
  max-height: 60%;
}
.logo-stack { position: relative; width: 250px; margin-bottom: 30px; bottom: -250px; }
.sidebar-logo svg { width: 100%; display: block; }
.logo-horse { position: absolute; left: 50%; transform: translateX(-50%); top: -250px; }
.logo-horse img { width: 400px; filter: brightness(0) invert(1); }
.brand-mark {
  font-family: "Cinzel", serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  margin-top: 220px;
  border-bottom: 1px solid rgba(253, 250, 244, 0.15);
  width: 80%;
}
.sidebar-intro-actions { margin-top: 2rem; }
@media (min-width: 1201px) { .sidebar-intro-actions { display: none; } }
@media (min-width: 1025px) and (max-width: 1200px) { .sidebar-intro-actions { display: block; } }

/* Sidebar Context */
.sidebar-context { margin-top: 50px; }
.sidebar-context-label {
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(200, 151, 58, 0.7);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sidebar-context-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sidebar-context-title em { font-style: italic; color: var(--gold-light); }
.sidebar-context-text {
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.5);
  line-height: 1.85;
  max-width: 20rem;
  transition: opacity 0.5s ease;
}
.sidebar-context-title.animating,
.sidebar-context-text.animating { opacity: 0; transform: translateY(0.5rem); }

/* Olive Branch */
.sidebar-olive-branch {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  padding: 3vh 0;
  overflow: hidden;
}
.sidebar-olive-svg { height: 100%; width: 100%; filter: drop-shadow(0 0 8px rgba(200,151,58,0.2)); overflow: hidden; }
.olive-stem-path { stroke-width: 2.5; transition: stroke-dashoffset 0.05s linear; }
.olive-leaf-item, .olive-fruit-item { transition: opacity 0.4s ease; }

/* Sidebar Nav */
.sidebar-nav {
  position: absolute;
  right: 0.8rem;
  top: 70%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 20;
}
.sidebar-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 151, 58, 0.25);
  border: 1px solid rgba(200, 151, 58, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.sidebar-nav-dot::after {
  content: attr(title);
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 151, 58, 0.8);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: rgba(26, 26, 14, 0.8);
  padding: 0.25rem 0.5rem;
  pointer-events: none;
}
.sidebar-nav-dot:hover::after,
.sidebar-nav-dot.active::after { opacity: 1; }
.sidebar-nav-dot:hover { background: rgba(200, 151, 58, 0.5); transform: scale(1.5); }
.sidebar-nav-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.6);
  box-shadow: 0 0 8px rgba(200, 151, 58, 0.5);
}

/* BUTTONS - Estilos base */
.btn-hero, .btn-primary, .btn-ghost, .btn-send, .btn-add-cart, .cart-btn, .cookie-btn {
  font-family: "Cinzel", serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s ease;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: 1px solid rgba(200, 151, 58, 0.5);
  color: var(--gold-light) !important;
  padding: 1rem 2.25rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  max-width: fit-content;
}
.btn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}
.btn-hero:hover::before { transform: translateX(0); }
.btn-hero:hover { color: var(--white) !important; border-color: var(--gold) !important; }
.btn-hero i { font-size: 0.7rem; opacity: 0.8; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--white) !important;
  padding: 1rem 2.25rem;
  border: 1px solid var(--gold);
  text-decoration: none;
}
.btn-primary:hover { background: var(--earth); border-color: var(--earth); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.392);
  color: rgba(245, 240, 232, 0.9) !important;
  padding: 1rem 2.25rem;
  border: 1px solid rgba(245, 240, 232, 0.3);
  text-decoration: none;
}
.btn-ghost:hover { border-color: rgba(245, 240, 232, 0.5); color: var(--white) !important; }

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--olive-deep);
  color: var(--cream) !important;
  padding: 1rem 2.25rem;
  border: 1px solid var(--olive-deep);
  margin-top: 0.5rem;
}
.btn-send:hover { background: var(--gold); border-color: var(--gold); color: var(--white) !important; }

/* SECTIONS */
.section { padding: 7rem 5rem; position: relative; }
.section + .section { border-top: 1px solid rgba(107, 124, 63, 0.1); }
.section-label {
  font-family: "Cinzel", serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

/* HERO */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--olive-deep);
}
.hero-image-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e2a0a 0%, #3a5018 40%, #2e3a12 70%, #1a1a0e 100%);
  z-index: -1;
}
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 26, 14, 0.65) 0%, rgba(26, 26, 14, 0.3) 50%, rgba(26, 26, 14, 0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100vh;
  padding-bottom: 5rem;
}
.hero-main-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-main-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.65);
  max-width: 30rem;
  margin-bottom: 3rem;
  line-height: 1.9;
}
.hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }

/* HISTÓRIA */
.historia-section { background: var(--cream); }
.historia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.historia-photo { aspect-ratio: 3/4; overflow: hidden; position: relative; }
.historia-photo::before {
  content: "";
  position: absolute;
  inset: -1rem;
  border: 1px solid rgba(200, 151, 58, 0.3);
  z-index: 2;
  pointer-events: none;
}
.historia-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.historia-photo:hover img { transform: scale(1.04); }
.historia-text { padding-top: 1rem; }
.quote-block {
  border-left: 2px solid var(--gold);
  padding: 1rem 0 1rem 2rem;
  margin: 2rem 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--earth);
  line-height: 1.7;
  font-weight: 300;
}

/* FEATURES */
.features-section { background: var(--white); }
.features-intro { max-width: 32rem; margin-bottom: 4rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(107, 124, 63, 0.12);
}
.feature-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(107, 124, 63, 0.12);
  border-bottom: 1px solid rgba(107, 124, 63, 0.12);
  transition: background var(--trans);
  position: relative;
  overflow: hidden;
}
.feature-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.feature-item:hover::before { transform: scaleX(1); }
.feature-item:hover { background: rgba(107, 124, 63, 0.03); }
.feature-item:nth-child(3n) { border-right: none; }
.feature-item:nth-last-child(-n+3) { border-bottom: none; }
.feature-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
  transition: transform 0.3s ease;
}
.feature-item:hover .feature-icon { transform: scale(1.1); }
.feature-name {
  font-family: "Cinzel", serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 0.5rem;
}
.feature-desc { font-size: 0.85rem; color: var(--earth-light); line-height: 1.75; margin: 0; }

/* GALLERY */
.gallery-section { background: var(--cream); }
.gallery-subsection { margin-top: 4rem; }
.gallery-subsection:first-child { margin-top: 0; }
.gallery-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--olive-deep);
  margin-bottom: 0.5rem;
}
.gallery-caption {
  font-size: 0.85rem;
  color: var(--earth-light);
  max-width: 35rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
}
.gallery-grid { display: grid; gap: 0.75rem; }
.gallery-grid.two-col { grid-template-columns: 1fr 1fr; }
.gallery-grid.three-col { grid-template-columns: 2fr 1fr 1fr; }
.gallery-grid.portrait-two { grid-template-columns: 1fr 1fr; }
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 16rem;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 58, 18, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall img { min-height: 30rem; }
.gallery-item.landscape img { min-height: 24rem; }

/* SHOP */
.shop-section {
  background: var(--olive-deep);
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(200, 151, 58, 0.1) 0%, transparent 70%);
  color: var(--cream);
}
.shop-section .section-label { color: rgba(200, 151, 58, 0.8); }
.shop-section h3 { color: var(--cream); font-size: 2.2rem; }
.shop-section p { color: rgba(245, 240, 232, 0.65); }

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 151, 58, 0.2);
  padding: 3rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.product-name {
  font-family: "Cinzel", serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.product-origin {
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  color: rgba(200, 151, 58, 0.7);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.product-price-wrap { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.product-price {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}
.product-price-unit { font-family: "Jost", sans-serif; font-size: 0.85rem; color: rgba(245, 240, 232, 0.45); }
.iva-info { display: block; font-size: 0.7rem; color: #8fa04e; margin-top: 4px; }
.product-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.product-tag {
  border: 1px solid rgba(200, 151, 58, 0.3);
  color: rgba(200, 151, 58, 0.8);
  font-family: "Cinzel", serif;
  font-size: 0.45rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}
.qty-wrap { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.qty-label {
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(200, 151, 58, 0.7);
}
.qty-input {
  width: 4rem;
  height: 2.75rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 151, 58, 0.25);
  color: var(--cream);
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  -moz-appearance: textfield;
}
.qty-input:focus { outline: none; border-color: rgba(200, 151, 58, 0.6); }
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--white) !important;
  padding: 1.1rem 2.5rem;
  border: 1px solid var(--gold);
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}
.btn-add-cart:hover { background: var(--earth); border-color: var(--earth); }

.product-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease; }
.product-image-wrap:hover img { transform: scale(1.04); }
.product-image-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(200, 151, 58, 0.2);
  z-index: 2;
  pointer-events: none;
}

.nutrition-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 20px;
  background: #f5f0e6;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2e3a12;
  transition: all 0.3s ease;
  width: fit-content;
}
.nutrition-link:hover { background: #c8973a; color: white; }

.shipping-info { border-top: 1px solid rgba(200, 151, 58, 0.15); padding-top: 2rem; }
.shipping-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.908);
  align-items: center;
}
.shipping-row strong { color: rgba(200, 151, 58, 0.6); font-weight: 600; }
.shipping-row i { color: rgba(200, 151, 58, 0.6); font-size: 0.8rem; flex-shrink: 0; }
.shipping-row a { color: rgba(200, 151, 58, 0.7) !important; }
.shipping-row a:hover { color: var(--gold-light) !important; }

/* CONTACT */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3rem; }
.form-field { margin-bottom: 2rem; }
.form-label {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive-mid);
  margin-bottom: 0.6rem;
}
.form-input, .form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(107, 124, 63, 0.25);
  padding: 0.6rem 0;
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color var(--trans);
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-bottom-color: var(--gold); }
.form-textarea { resize: none; min-height: 8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
::placeholder { color: rgba(61, 74, 30, 0.3); }

/* Consent Field */
.consent-field { margin: 1rem 0; }
.consent-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #4a4a46;
}
.consent-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: #c8973a; }
.consent-label a { color: #c8973a; text-decoration: none; }
.consent-label a:hover { text-decoration: underline; }

.info-item { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(107, 124, 63, 0.12); }
.info-item:last-child { border-bottom: none; padding-bottom: 0; }
.info-label {
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.info-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: var(--olive-deep);
}
.info-value a {
  color: var(--olive-deep);
  border-bottom: 1px solid rgba(107, 124, 63, 0.2);
  padding-bottom: 1px;
}
.info-value a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.social-links { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.social-link {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(107, 124, 63, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive-mid) !important;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.social-link:hover {
  background: var(--olive-mid);
  border-color: var(--olive-mid);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* FOOTER */
.site-footer {
  background: #1a1a18;
  color: #d4d2cc;
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(200, 151, 58, 0.3);
}
.footer-col { flex: 1; min-width: 160px; }
.footer-col h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #c8973a;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.footer-col p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 0.5rem; color: #b0aea8; }
.footer-col a { color: #b0aea8; font-size: 0.85rem; transition: color 0.3s ease; }
.footer-col a:hover { color: #c8973a; }
.footer-nif { font-size: 0.8rem; color: #7a7872; margin-top: 0.5rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-col i { width: 24px; color: #c8973a; font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding-top: 0.5rem;
  font-size: 0.75rem;
  color: #7a7872;
}
.footer-copy, .footer-design { margin: 0; }
.footer-design a { color: #7a7872; }
.footer-design a:hover { color: #c8973a; }

/* FIXED UI */
.cart-fixed, .lang-fixed { position: fixed; top: 1.75rem; z-index: 10000; }
.cart-fixed { right: 1.75rem; }
.lang-fixed { left: 1.75rem; }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(46, 58, 18, 0.92);
  backdrop-filter: blur(12px);
  color: rgba(245, 240, 232, 0.9) !important;
  border: 1px solid rgba(200, 151, 58, 0.3);
  padding: 0.7rem 1.25rem;
  font-size: 0.5rem;
}
.cart-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white) !important; }
.cart-count {
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  width: 1.3rem;
  height: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-family: "Jost", sans-serif;
  font-weight: 500;
}

.lang-switcher {
  display: flex;
  background: rgba(46, 58, 18, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 151, 58, 0.3);
  overflow: hidden;
}
.lang-btn {
  padding: 0.7rem 1rem;
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
  cursor: pointer;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(200, 151, 58, 0.2);
  transition: all 0.3s ease;
}
.lang-btn:last-child { border-right: none; }
.lang-btn.active { background: var(--gold); color: var(--white); }
.lang-btn:hover:not(.active) { color: rgba(200, 151, 58, 0.9); background: rgba(200, 151, 58, 0.08); }

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.75rem;
  z-index: 10000;
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(46, 58, 18, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 151, 58, 0.35);
  color: rgba(200, 151, 58, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: all 0.35s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 6, 0.92);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; transform: scale(0.97); transition: transform 0.4s ease; }
.lightbox.active img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 240, 232, 0.7);
  font-size: 1rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
.lightbox-close:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* SCROLL ARROW */
.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(200, 151, 58, 0.6);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
  animation: arrowBounce 2s ease-in-out infinite;
}
.scroll-arrow:hover { color: rgba(200, 151, 58, 1); }
@keyframes arrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* COOKIE BANNER */
.cookie-banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}
.cookie-banner-overlay.active { visibility: visible; opacity: 1; }
.cookie-banner-card {
  max-width: 500px;
  width: 90%;
  background: #1a1a18;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(200, 151, 58, 0.4);
  animation: fadeInUp 0.4s ease;
  z-index: 100000;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-card i { font-size: 3rem; color: #c8973a; margin-bottom: 1rem; }
.cookie-banner-card h3 { font-family: "Cormorant Garamond", serif; color: white; margin-bottom: 0.75rem; font-size: 1.5rem; }
.cookie-banner-card p { color: #b0aea8; font-size: 0.85rem; margin-bottom: 1.5rem; }
.cookie-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 24px;
  border-radius: 40px;
  font-size: 0.7rem;
}
.cookie-btn.accept { background: #c8973a; color: #1a1a18; }
.cookie-btn.accept:hover { background: #b07d2a; transform: scale(1.02); }
.cookie-btn.reject { background: transparent; color: #b0aea8; border: 1px solid #b0aea8; }
.cookie-btn.reject:hover { background: rgba(200, 151, 58, 0.1); border-color: #c8973a; color: #c8973a; }
.cookie-link {
  display: inline-block;
  margin-top: 1rem;
  color: #7a7872;
  font-size: 0.7rem;
}
.cookie-link:hover { color: #c8973a; text-decoration: underline; }
body.cookie-banner-active { overflow: hidden; }

/* PAYMENT MODAL & CART */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}
.payment-modal.active { visibility: visible; opacity: 1; }
.payment-card {
  background: #fdfaf4;
  max-width: 500px;
  width: 90%;
  border-radius: 32px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}
.payment-card h3 { font-family: "Cinzel", serif; margin-bottom: 1rem; }
.payment-icon { font-size: 3rem; color: #c8973a; margin-bottom: 0.5rem; }

.cart-modal-items {
  max-height: 40vh;
  overflow-y: auto;
  margin: 1rem 0;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e2dcd0;
  gap: 1rem;
}
.cart-item-info { flex: 2; text-align: left; }
.cart-item-price { flex: 1; text-align: right; }
.cart-item-actions { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  background: #e2dcd0;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: 0.2s;
}
.qty-btn:hover { background: #c8973a; color: white; }
.item-qty { min-width: 30px; text-align: center; font-weight: 500; }
.remove-item { color: #b91c1c; cursor: pointer; background: none; border: none; font-size: 0.9rem; margin-left: 0.5rem; }
.cart-total { font-size: 1.2rem; font-weight: bold; margin: 1rem 0; }
.cart-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 1rem; }

.checkout-form {
  margin-top: 1rem;
  text-align: left;
  max-height: 40vh;
  overflow-y: auto;
  padding-right: 10px;
}
.form-group { margin-bottom: 0.75rem; }
.form-group label { display: block; margin-bottom: 0.25rem; font-size: 0.85rem; font-weight: 500; color: #1e2a1a; }
.form-row-2cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.checkbox-label input { width: auto; cursor: pointer; }
.checkout-input {
  width: 100%;
  padding: 0.7rem;
  border-radius: 40px;
  border: 1px solid #ddd;
  margin: 0.5rem 0;
  font-family: inherit;
}
#nifField { margin-top: 0.5rem; animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CUSTOM ALERT */
.custom-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e2a1a;
  color: #fdfaf4;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.custom-alert i { color: #c8973a; font-size: 1.2rem; }
@keyframes slideDown {
  from { top: -50px; opacity: 0; }
  to { top: 20px; opacity: 1; }
}

/* FORM FEEDBACK */
.form-feedback-success, .form-feedback-error {
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 1rem;
}
.form-feedback-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-feedback-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* SCROLLBARS */
.cart-modal-items::-webkit-scrollbar,
.payment-card::-webkit-scrollbar,
.checkout-form::-webkit-scrollbar {
  width: 6px;
}
.cart-modal-items::-webkit-scrollbar-track,
.payment-card::-webkit-scrollbar-track,
.checkout-form::-webkit-scrollbar-track {
  background: #e2dcd0;
  border-radius: 10px;
}
.cart-modal-items::-webkit-scrollbar-thumb,
.payment-card::-webkit-scrollbar-thumb,
.checkout-form::-webkit-scrollbar-thumb {
  background: #c8973a;
  border-radius: 10px;
}

body.modal-open { overflow: hidden; position: fixed; width: 100%; height: 100%; }
.btn-add-cart:disabled { opacity: 0.6; cursor: not-allowed; }

/* RESPONSIVE */
@media (max-width: 1280px) {
  .section { padding: 5rem 3.5rem; }
  .hero-content { padding: 3.5rem; padding-bottom: 3.5rem; }
}
@media (max-width: 1100px) { .section { padding: 4rem 2.5rem; } }
@media (max-width: 1024px) {
  .hero-section { display: none; }
  .sidebar {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    height: 100svh;
    min-height: 500px;
  }
  .sidebar-inner { padding: 5.5rem 2.5rem 7rem; justify-content: center; text-align: center; }
  .sidebar-olive-branch, .sidebar-nav { display: none; }
  .sidebar-intro-actions { display: flex !important; justify-content: center; margin-top: 30px; }
  .sidebar-context { display: none; }
  .main-content { width: 100% !important; }
  .product-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 900px) {
  .historia-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { gap: 3rem; }
}
@media (max-width: 768px) {
  html { font-size: 14px; }
  .section { padding: 3.5rem 2rem; }
  .hero-content { padding: 2.5rem 2rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid.three-col,
  .gallery-grid.two-col,
  .gallery-grid.portrait-two { grid-template-columns: 1fr 1fr; }
  .product-card { padding: 1.75rem; }
  .site-footer { padding: 1.75rem 2rem; flex-direction: column; text-align: center; }
  .cart-btn span:not(.cart-count) { display: none; }
  .lang-fixed { top: 1.25rem; left: 1.25rem; }
  .cart-fixed { top: 1.25rem; right: 1.25rem; }
  .back-to-top { bottom: 1.5rem; right: 1.25rem; }
}
@media (max-width: 600px) {
  .nutrition-table { padding: 0.75rem; }
  .nutrition-grid { font-size: 0.7rem; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid.three-col,
  .gallery-grid.two-col,
  .gallery-grid.portrait-two { grid-template-columns: 1fr; }
  .product-card { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .lang-fixed { top: 1rem; left: 1rem; }
  .cart-fixed { top: 1rem; right: 1rem; }
}
.hero-main-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.hero-main-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-main-title span {
  font-style: normal;
}
body.modal-open .lang-fixed,
body.modal-open .cart-fixed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

select.checkout-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.75rem 1rem 0.75rem 2rem; 
  font-size: 1rem;
}

select.checkout-input {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 12px center; /* Ajuste este valor */
  background-size: 14px;
}

select.checkout-input:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

select.checkout-input::-ms-expand {
  display: none;
}
