/* ===========================================================
   Barbacoa Premium — Estilos compartidos para páginas nuevas
   (la-pampa-small / la-pampa-medium / la-pampa-large / accesorios)
   Paleta y tipografías replicadas de index.html para consistencia
   =========================================================== */

:root {
  --black: #0a0807;
  --charcoal: #111010;
  --ash: #1c1a18;
  --ember: #c44a1a;
  --gold: #c9922a;
  --gold-light: #e8b84b;
  --cream: #f0ebe3;
  --warm-white: #faf7f3;
  --gray: #6b6560;
  --light-gray: #a09890;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 500; color: var(--warm-white); }
em { font-style: italic; color: var(--gold-light); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* ---------- NAV (idéntico a index.html) ---------- */
nav#navbar {
  position: sticky; top: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(10, 8, 7, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 146, 42, 0.15);
}
.nav-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: 0.08em; font-size: 1.05rem; color: var(--warm-white); }
.nav-logo span { color: var(--gold); }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; color: var(--light-gray); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.82rem; padding: 0.65rem 1.4rem; border: 1px solid var(--gold); color: var(--gold-light);
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
@media (max-width: 780px) { .nav-links { display: none; } }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  padding: 1.25rem 2rem 0; max-width: 1180px; margin: 0 auto;
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; letter-spacing: 0.04em;
  color: var(--light-gray);
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- HERO de página de producto ---------- */
.page-hero {
  padding: 3.5rem 2rem 2.5rem; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; padding-top: 2rem; } }
.page-hero .section-label { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); font-size: 0.85rem; margin-bottom: 0.75rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 1rem; }
.page-hero .hero-dims { font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.04em; color: var(--light-gray); font-size: 1.1rem; margin-bottom: 1.5rem; }
.page-hero .hero-desc { color: var(--light-gray); font-size: 1.02rem; max-width: 46ch; margin-bottom: 2rem; }
.hero-image { border-radius: 4px; overflow: hidden; border: 1px solid rgba(201,146,42,0.2); aspect-ratio: 4/3; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Precio + CTAs ---------- */
.price-box {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap;
}
.price-box .price { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; color: var(--warm-white); }
.price-box small { font-family: 'Barlow Condensed', sans-serif; color: var(--gray); font-size: 0.85rem; letter-spacing: 0.03em; }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem;
  padding: 0.9rem 1.9rem; display: inline-block; transition: all 0.2s; border: 1px solid transparent;
}
.btn-primary { background: var(--ember); color: var(--warm-white); }
.btn-primary:hover { background: var(--gold); color: var(--black); }
.btn-secondary { border-color: var(--gold); color: var(--gold-light); }
.btn-secondary:hover { background: var(--gold); color: var(--black); }

/* ---------- Badge tamaño ---------- */
.size-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border: 1px solid var(--gold); color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; margin-bottom: 1rem;
}

/* ---------- Sección genérica con franja ---------- */
.section { padding: 4rem 2rem; }
.section.alt { background: var(--charcoal); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section .section-label { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); font-size: 0.85rem; margin-bottom: 0.75rem; }
.section h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.5rem; }

/* ---------- Specs / features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.feature-item { border-left: 2px solid var(--gold); padding: 0.4rem 0 0.4rem 1.1rem; }
.feature-item h4 { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; color: var(--warm-white); margin-bottom: 0.3rem; }
.feature-item p { color: var(--light-gray); font-size: 0.92rem; }

.specs-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.specs-table tr { border-bottom: 1px solid rgba(201,146,42,0.15); }
.specs-table td { padding: 0.9rem 0.5rem; font-size: 0.95rem; }
.specs-table td:first-child { color: var(--gray); font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; width: 40%; }
.specs-table td:last-child { color: var(--cream); }

/* ---------- Galería ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 2rem; }
.gallery-grid img { width: 100%; height: 230px; object-fit: cover; border-radius: 3px; border: 1px solid rgba(201,146,42,0.12); transition: transform .3s; }
.gallery-grid img:hover { transform: scale(1.02); }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Otros modelos / cross-links ---------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.related-card {
  border: 1px solid rgba(201,146,42,0.2); padding: 1.75rem 1.5rem; text-align: center; transition: border-color .2s, transform .2s;
}
.related-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.related-card .size-badge { margin: 0 auto 1rem; }
.related-card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.related-card p { color: var(--light-gray); font-size: 0.88rem; margin-bottom: 1rem; }
.related-card .related-price { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold-light); margin-bottom: 1rem; }

/* ---------- Accesorios grid (para accesorios.html) ---------- */
.acc-grid-full { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.75rem; margin-top: 2.5rem; }
.acc-card-full {
  background: var(--ash); border: 1px solid rgba(201,146,42,0.12); padding: 2rem 1.6rem; text-align: left;
  transition: border-color .2s;
}
.acc-card-full:hover { border-color: var(--gold); }
.acc-card-full h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.acc-card-full p { color: var(--light-gray); font-size: 0.92rem; margin-bottom: 1.1rem; }
.acc-card-full .acc-price { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--gold-light); display: block; margin-bottom: 1.1rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(201,146,42,0.15); padding: 1.4rem 0; }
.faq-item h4 { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1rem; color: var(--warm-white); margin-bottom: 0.5rem; }
.faq-item p { color: var(--light-gray); font-size: 0.94rem; }

/* ---------- CTA final ---------- */
.final-cta { text-align: center; padding: 4.5rem 2rem; background: linear-gradient(180deg, var(--charcoal), var(--black)); }
.final-cta h2 { margin-bottom: 1rem; }
.final-cta p { color: var(--light-gray); margin-bottom: 2rem; max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 600;
  width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.wa-float svg { width: 1.7rem; height: 1.7rem; fill: white; }

/* ---------- Footer (idéntico a index.html) ---------- */
footer {
  padding: 3rem 2rem 2.5rem; text-align: center; border-top: 1px solid rgba(201,146,42,0.12);
  background: var(--black);
}
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-logo span { color: var(--gold); }
.footer-links { list-style: none; display: flex; justify-content: center; gap: 1.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.footer-links a { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; color: var(--light-gray); }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.8rem; color: var(--gray); }
