/* ==========================================================================
   NAVIDAD – Landing MVP para WordPress / WooCommerce
   Ubicación sugerida: /wp-content/themes/TU-CHILD-THEME/assets/css/navidad.css
   Fuentes (se cargan desde functions.php):
     - Cormorant Garamond  -> títulos
     - Great Vibes         -> frases en cursiva / script
     - Montserrat          -> textos, botones, productos
   ========================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --nv-olive:        #5b6548;
  --nv-olive-dark:   #454d36;
  --nv-olive-soft:   #7a8564;
  --nv-copper:       #b27b57;
  --nv-brown:        #8a5a3b;
  --nv-cream:        #f6f1e9;
  --nv-gold:         #c9a45c;
  --nv-text:         #3b3a33;
  --nv-muted:        #7d7a70;
  --nv-white:        #ffffff;
  --nv-line:         #e4ded2;

  --nv-font-title:   "Sparkle Passion";
  --nv-font-script:  "Great Vibes", cursive;
  --nv-font-body:    "Roboto", Sans-serif;

  --nv-radius:       4px;
  --nv-shadow:       0 10px 40px rgba(0, 0, 0, .18);
}

/* ---------- 2. Base ---------- */
.page-id-15939,
.page-id-15939 * { box-sizing: border-box; }

.page-id-15939 {
  font-family: var(--nv-font-body);
  color: var(--nv-text);
  line-height: 1.5;
  overflow-x: hidden;
}
.page-id-15939 img { max-width: 100%; height: auto; display: block; }
.page-id-15939 a   { text-decoration: none; color: inherit; }

/* ---------- 3. Tipografía reutilizable ---------- */
.nv-title {
  font-family: var(--nv-font-title);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--nv-olive-dark);
  margin: 0 0 6px;
}
.nv-title--light { color: var(--nv-white); }

.nv-subtitle {
  font-family: var(--nv-font-body);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--nv-muted);
  margin: 0 0 28px;
}

.nv-script {
  font-family: var(--nv-font-script);
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--nv-gold);
  text-align: center;
  margin: 0;
}

/* ---------- 4. Botones ---------- */
.page-id-15939 .nv-btn {
  display: inline-block;
  background: var(--nv-olive);
  color: var(--nv-white) !important;
  font-family: var(--nv-font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--nv-olive);
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.nv-btn:hover { background: var(--nv-olive-dark); border-color: var(--nv-olive-dark); }

.nv-btn--outline {
  background: transparent;
  color: var(--nv-white) !important;
  border-color: var(--nv-white);
}
.nv-btn--outline:hover { background: var(--nv-white); color: var(--nv-olive) !important; }

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

/* ---------- 5. SECCIÓN 1 · Hero ---------- */
.nv-hero {
  position: relative;
  min-height: 560px;
  background: var(--bg, var(--nv-olive)) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 5% 60px;
  color: var(--nv-white);
}
.nv-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(60, 70, 45, .35), rgba(60, 70, 45, .65));
}
.nv-hero__inner { position: relative; z-index: 1; max-width: 560px; }
.nv-hero__logo {
  font-family: var(--nv-font-title);
  font-weight: 300;
  font-size: clamp(54px, 8vw, 104px);
  letter-spacing: .08em;
  line-height: 1;
  margin: 0;
}
.nv-hero__script { margin: 6px 0 18px; color: var(--nv-white); opacity: .9; }
.nv-hero__text {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px;
}
.nv-hero__sub {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; margin: 34px 0 14px;
}

/* Categorías del hero */
.nv-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.nv-cat {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg, #222) center/cover;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .4);
}
.nv-cat::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); transition: background .25s; }
.nv-cat:hover::before { background: rgba(0, 0, 0, .2); }
.nv-cat span {
  position: relative; z-index: 1;
  font-size: 8.5px; letter-spacing: .12em; font-weight: 600; text-transform: uppercase;
  background: var(--nv-olive); color: #fff; padding: 4px 8px;
}

/* ---------- 6. SECCIÓN 2 · Intro (catálogo pensado para vivir la Navidad) ---------- */
.nv-intro {
  background: var(--nv-olive);
  color: var(--nv-white);
  padding: 70px 5%;
}
.nv-intro__grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
}
.nv-intro__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nv-intro__img  { position: relative; }
.nv-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.nv-intro__tag {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  background: rgba(60, 70, 45, .88); padding: 10px;
  font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; text-align: center;
}
.nv-intro__tag .nv-btn { margin-top: 8px; padding: 6px 14px; font-size: 8.5px; background: var(--nv-white); color: var(--nv-olive) !important; }
.nv-intro__copy .nv-subtitle { color: #e8e2d0; text-align: left; margin-bottom: 8px; }
.nv-intro__copy h2 {
  font-family: var(--nv-font-title); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 0 0 14px;
}
.nv-intro__copy p { font-size: 12px; font-weight: 300; line-height: 1.8; opacity: .92; }

/* ---------- 7. SECCIONES 3–8, 10–13 · Fondo + tarjeta blanca con carrusel ---------- */
.nv-section {
  position: relative;
  min-height: 520px;
  padding: 70px 5%;
  background: var(--bg, var(--nv-copper)) center/cover no-repeat;
  display: flex; align-items: center;
}
.nv-section::before { content: ""; position: absolute; inset: 0; background: rgba(40, 28, 15, .25); }
.nv-card {
  position: relative; z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--nv-white);
  border-radius: var(--nv-radius);
  box-shadow: var(--nv-shadow);
  padding: 38px 56px 46px;
}
.nv-section--right .nv-card  { margin-right: 0; margin-left: auto; width: 66%; }
.nv-section--left  .nv-card  { margin-left: 0;  margin-right: auto; width: 66%; }
.nv-section--wide  .nv-card  { max-width: 1180px; width: 90%; }

/* Variante fondo cobre/café sin foto (sección cóctel) */
.nv-section--copper { background: var(--nv-copper); }
.nv-section--copper::before { display: none; }

/* ---------- 8. Carrusel de productos (Slick + shortcode) ---------- */
.nv-slider-wrap { position: relative; }
.nv-slider { margin: 0 -10px; }
.nv-slider:not(.slick-initialized) { display: flex; overflow: hidden; }
.nv-slider:not(.slick-initialized) .nv-prod { min-width: 25%; }

.nv-prod { padding: 0 10px; text-align: center; outline: none; }
.nv-prod__media {
  height: 250px;
  display: flex; align-items: flex-end; justify-content: center;
  margin-bottom: 14px;
}
.nv-prod__img { max-height: 100%; width: auto; object-fit: contain; }
.nv-prod__name {
  font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--nv-text); margin: 0 0 4px; min-height: 28px;
}
.nv-prod__price { font-size: 10.5px; color: var(--nv-muted); margin-bottom: 12px; }
.nv-prod__price del { opacity: .5; margin-right: 4px; }
.nv-prod__price ins { text-decoration: none; color: var(--nv-brown); font-weight: 600; }
.nv-prod .nv-btn { width: 100%; max-width: 150px; text-align: center; }

/* Flechas */
.nv-slider-wrap .slick-arrow {
  position: absolute; top: 40%; z-index: 5;
  width: 30px; height: 30px; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--nv-line);
  background: var(--nv-white);
  color: var(--nv-olive);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nv-slider-wrap .slick-arrow:hover { background: var(--nv-olive); color: #fff; }
.nv-slider-wrap .slick-prev { left: -42px; }
.nv-slider-wrap .slick-next { right: -42px; }
.nv-slider-wrap .slick-disabled { opacity: .3; cursor: default; }

/* Puntos */
.nv-slider-wrap .slick-dots {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: flex; justify-content: center; gap: 8px;
}
.nv-slider-wrap .slick-dots li button {
  font-size: 0; width: 7px; height: 7px; padding: 0;
  border: 0; border-radius: 50%; background: var(--nv-line); cursor: pointer;
}
.nv-slider-wrap .slick-dots li.slick-active button { background: var(--nv-olive); }

.nv-empty { text-align: center; font-size: 12px; color: var(--nv-muted); }

/* ---------- 9. SECCIÓN 9 · Regalos que van más allá del lujo (2 tarjetas) ---------- */
.nv-duo-wrap { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; background: #fff; padding: 36px 40px 40px; border-radius: var(--nv-radius); }
.nv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nv-duo__card {
  background: #efece6; border-radius: 6px; padding: 22px 22px 0; overflow: hidden;
  border-left: 3px solid var(--nv-copper);
}
.nv-duo__card h3 {
  font-family: var(--nv-font-title); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px;
  color: var(--nv-olive-dark);
}
.nv-duo__card p { font-size: 11px; color: var(--nv-muted); margin: 0 0 14px; }
.nv-duo__card img { margin-top: 16px; width: 100%; height: 150px; object-fit: cover; }

/* ---------- 10. SECCIÓN 13 · Anchetas (carrusel de 5 con foto cuadrada) ---------- */
.nv-section--anchetas { background: var(--nv-white); padding: 60px 5%; }
.nv-section--anchetas::before { display: none; }
.nv-section--anchetas .nv-card { box-shadow: none; padding: 0; max-width: 1200px; }
.nv-section--anchetas .nv-prod__media { height: 170px; align-items: center; }
.nv-section--anchetas .nv-prod__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 11. SECCIÓN 14 · Cocktails + asesoría + cierre ---------- */
.nv-cocktail { background: var(--nv-copper); padding: 70px 5%; text-align: center; color: #fff; }
.nv-cocktail .nv-title { color: #fff; margin-bottom: 30px; }
.nv-cocktail__grid {
  max-width: 560px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.nv-cocktail__item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border: 6px solid #fff; }
.nv-cocktail__item h3 {
  font-family: var(--nv-font-title); letter-spacing: .14em; font-weight: 500; font-size: 18px;
  text-transform: uppercase; margin: 14px 0 4px;
}
.nv-cocktail__item p { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin: 0 0 12px; }

.nv-asesoria {
  background: var(--bg, var(--nv-olive)) center/cover;
  text-align: center; color: #fff; padding: 60px 5%;
  position: relative;
}
.nv-asesoria::before { content: ""; position: absolute; inset: 0; background: rgba(60, 70, 45, .72); }
.nv-asesoria > * { position: relative; z-index: 1; }
.nv-asesoria .nv-title { color: #fff; }
.nv-asesoria .nv-btn { background: #fff; color: var(--nv-olive) !important; border-color: #fff; margin-top: 16px; }

.nv-final {
  background: var(--bg, var(--nv-olive-dark)) center/cover;
  text-align: center; color: #fff; padding: 70px 5%; position: relative;
}
.nv-final::before { content: ""; position: absolute; inset: 0; background: rgba(40, 28, 15, .55); }
.nv-final > * { position: relative; z-index: 1; }
.nv-final .nv-script { color: #fff; }
.nv-final p { font-size: 11px; max-width: 420px; margin: 8px auto 18px; opacity: .9; }

/* ---------- 12. Responsive ---------- */
@media (max-width: 1100px) {
  .nv-section--right .nv-card,
  .nv-section--left  .nv-card { width: 90%; margin: 0 auto; }
  .nv-slider-wrap .slick-prev { left: -18px; }
  .nv-slider-wrap .slick-next { right: -18px; }
}
@media (max-width: 768px) {
  .nv-intro__grid,
  .nv-duo,
  .nv-cocktail__grid { grid-template-columns: 1fr; }
  .nv-card { padding: 28px 28px 36px; width: 94% !important; }
  .nv-cats { grid-template-columns: repeat(2, 1fr); }
  .nv-slider-wrap .slick-prev { left: -12px; }
  .nv-slider-wrap .slick-next { right: -12px; }
  .nv-prod__media { height: 210px; }
  .nv-section { padding: 40px 3%; min-height: 0; }
}
