/* ============================================================
   V2.2.3 · hoja generada por tools/build-v223.py
   Bloque 1: franja de la cabecera Divi, derivada de v221.css con
   scope body.av-quinceaneras.av-v223-page (solo esta demo).
   Bloque 2: correcciones propias de la V2.2.3 (tools/v223-fixes.css).
   No editar a mano en variantes/v2-2-3/: se regenera.
   ============================================================ */

/* ---------- R02 · franja superior de la cabecera Divi ----------
   Solo en las páginas de la V2.2.1 (body.av-quinceaneras.av-v223-page).
   No se toca la plantilla, ni la 2710, ni V1/V2/V2.2.
   Problema medido en V2.2: entre 990 y 1440 px la columna de redes mide
   ~73 px, los dos iconos se apilan y el enlace de WhatsApp rompe en tres
   líneas; la barra pasa de 34 a 98 px de alto. */
@media (min-width: 981px) {
  body.av-quinceaneras.av-v223-page .et_pb_section_0_tb_header{
    height:auto!important;
    padding:0!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_row_0_tb_header{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:clamp(12px,2vw,28px)!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:9px clamp(16px,2.4vw,34px)!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_row_0_tb_header::before,
  body.av-quinceaneras.av-v223-page .et_pb_row_0_tb_header::after{content:none!important}
  body.av-quinceaneras.av-v223-page .et_pb_row_0_tb_header > .et_pb_column{
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
  }
  /* Mensaje informativo: una línea, elipsis si no cabe. */
  body.av-quinceaneras.av-v223-page .et_pb_text_0_tb_header{
    width:auto!important;max-width:none!important;margin:0!important;padding:0!important;flex:1 1 auto;min-width:0;
  }
  body.av-quinceaneras.av-v223-page .et_pb_text_0_tb_header .et_pb_text_inner p{margin:0;line-height:1.2}
  body.av-quinceaneras.av-v223-page .et_pb_text_0_tb_header a{
    display:block;
    font-size:12.5px;line-height:1.25;letter-spacing:.01em;
    color:#f3ece3!important;
    text-decoration:none;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  body.av-quinceaneras.av-v223-page .et_pb_text_0_tb_header a:hover{text-decoration:underline}
  /* Redes: dos círculos en una sola línea. */
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_0_tb_header{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
    gap:6px!important;margin:0!important;padding:0!important;flex:0 0 auto;
  }
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_0_tb_header li{
    margin:0!important;padding:0!important;float:none!important;display:inline-flex!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_0_tb_header li a.icon{
    width:30px!important;height:30px!important;
    display:grid!important;place-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.09)!important;
    color:#fff!important;
    font-size:13px!important;line-height:1!important;
    transition:background-color .2s,transform .2s;
  }
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_0_tb_header li a.icon:hover{
    background:var(--rose,#d63a6a)!important;transform:translateY(-1px);
  }
  /* WhatsApp: píldora que nunca se parte. */
  body.av-quinceaneras.av-v223-page .et_pb_text_1_tb_header{
    width:auto!important;margin:0!important;padding:0!important;flex:0 0 auto;white-space:nowrap;
  }
  body.av-quinceaneras.av-v223-page .et_pb_text_1_tb_header .et_pb_text_inner p{margin:0;text-align:right;line-height:1}
  body.av-quinceaneras.av-v223-page .et_pb_text_1_tb_header a{
    display:inline-flex;align-items:center;gap:.4rem;
    background:#25d366;color:#062012!important;
    font-size:12px;font-weight:700;letter-spacing:.01em;
    padding:7px 15px;border-radius:999px;
    text-decoration:none;white-space:nowrap;
    box-shadow:0 8px 18px -10px rgba(37,211,102,.95);
  }
  body.av-quinceaneras.av-v223-page .et_pb_text_1_tb_header a:hover{background:#1fbe5b}
}

/* ≤980 px: se hereda el fix del 21/10 y se afina la franja de esta demo. */
@media (max-width: 980px) {
  body.av-quinceaneras.av-v223-page .et_pb_section_0_tb_header{height:auto!important}
  body.av-quinceaneras.av-v223-page .et_pb_row_0_tb_header{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:12px!important;flex-wrap:nowrap!important;
    width:100%!important;max-width:none!important;margin:0!important;
    padding:8px 16px!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_row_0_tb_header > .et_pb_column{
    width:auto!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_text_0_tb_header{flex:1 1 auto;min-width:0;margin:0!important;padding:0!important}
  body.av-quinceaneras.av-v223-page .et_pb_text_0_tb_header a{
    display:block;font-size:12px;color:#f3ece3!important;text-decoration:none;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_0_tb_header{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;
    margin:0!important;padding:0!important;flex:0 0 auto;
  }
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_0_tb_header li{
    margin:0!important;padding:0!important;float:none!important;display:inline-flex!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_0_tb_header li a.icon{
    width:28px!important;height:28px!important;display:grid!important;place-items:center;
    border-radius:50%;background:rgba(255,255,255,.09)!important;color:#fff!important;
    font-size:12px!important;line-height:1!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_text_1_tb_header{flex:0 0 auto;white-space:nowrap;margin:0!important;padding:0!important}
  body.av-quinceaneras.av-v223-page .et_pb_text_1_tb_header .et_pb_text_inner p{margin:0;line-height:1}
  body.av-quinceaneras.av-v223-page .et_pb_text_1_tb_header a{
    display:inline-flex;align-items:center;background:#25d366;color:#062012!important;
    font-size:11.5px;font-weight:700;padding:6px 12px;border-radius:999px;
    text-decoration:none;white-space:nowrap;
  }
}
@media (max-width: 767px) {
  /* La franja de móvil (sección 1) queda en una línea de 46 px. */
  body.av-quinceaneras.av-v223-page .et_pb_section_1_tb_header{height:auto!important;padding:7px 14px!important}
  body.av-quinceaneras.av-v223-page .et_pb_row_1_tb_header{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:10px!important;flex-wrap:nowrap!important;
    width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_row_1_tb_header > .et_pb_column{
    width:auto!important;margin:0!important;padding:0!important;float:none!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_1_tb_header{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;
    margin:0!important;padding:0!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_1_tb_header li{
    margin:0!important;padding:0!important;float:none!important;display:inline-flex!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_social_media_follow_1_tb_header li a.icon{
    width:28px!important;height:28px!important;display:grid!important;place-items:center;
    border-radius:50%;background:rgba(255,255,255,.1)!important;color:#fff!important;
    font-size:12px!important;line-height:1!important;
  }
  body.av-quinceaneras.av-v223-page .et_pb_text_2_tb_header{
    width:auto!important;margin:0!important;padding:6px 12px!important;
    border-radius:999px;background:#25d366!important;white-space:nowrap;
  }
  body.av-quinceaneras.av-v223-page .et_pb_text_2_tb_header .et_pb_text_inner{white-space:nowrap;line-height:1}
  body.av-quinceaneras.av-v223-page .et_pb_text_2_tb_header .et_pb_text_inner p{
    margin:0;line-height:1;color:#062012!important;font-size:11.5px;font-weight:700;
  }
}

/* ============================================================
   V2.2.3 · rediseño del hero a sangre (ronda 2, 23/10/2026)
   Se carga después de v2.css, v221.css y v222.css.
   La franja de cabecera va en el bloque generado al principio
   de este archivo, con scope body.av-quinceaneras.av-v223-page.

   Composición:
   · Escritorio (>860 px): imagen horizontal a sangre, columna de
     texto a la izquierda y veladura lateral que se disipa ANTES
     de la quinceañera; el crucero conserva el lado derecho.
   · Móvil y tablet vertical (≤860 px): imagen vertical a sangre,
     título sobre el cielo, zona central despejada (chica + barco)
     y bloque comercial en la base sobre el vestido.
   · Franja de fechas en una línea con separador real entre fecha
     y duración; botones apilados a ancho completo en móvil.
   ============================================================ */

/* ---------- 1 · Fondo a sangre ---------- */
#av-v2 .v2-hero::before{content:none}
#av-v2 .v2-hero__bg{position:absolute;inset:0;z-index:0;margin:0}
#av-v2 .v2-hero__bg img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 42%;
}
#av-v2 .v2-hero__grid{z-index:2}
#av-v2 .v2-hero__copy{text-shadow:0 2px 26px rgba(7,16,34,.45)}

/* Escritorio y tablet horizontal: la veladura lateral muere antes del
   retrato (~46 % del ancho) para dejar a la quinceañera y al barco
   con luz propia; el degradado base asienta el crédito. */
@media (min-width:861px){
  #av-v2 .v2-hero{min-height:min(78svh,800px)}
  #av-v2 .v2-hero__bg img{object-position:55% 45%}
  #av-v2 .v2-hero::after{
    content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
    background:
      linear-gradient(180deg,rgba(7,16,34,0) 64%,rgba(7,16,34,.5) 100%),
      linear-gradient(92deg,rgba(7,16,34,.9) 0%,rgba(7,16,34,.64) 24%,rgba(7,16,34,.2) 44%,rgba(7,16,34,0) 60%);
  }
}

/* ---------- 2 · Franja de fechas: fecha ‖ duración, bien separadas ---------- */
#av-v2 .v2-hero__ribbon{
  display:inline-flex;align-items:center;
  gap:clamp(.8rem,1.6vw,1.2rem);
  padding:.85rem 1.3rem;
  border-radius:8px;
}
#av-v2 .v2-hero__ribbon b{
  display:inline-flex;align-items:center;
  gap:clamp(.8rem,1.6vw,1.2rem);
}
/* Separador vertical real entre la fecha y la duración. */
#av-v2 .v2-hero__ribbon b::after{
  content:"";width:1px;height:1.45em;flex:none;
  background:rgba(255,255,255,.5);
}
#av-v2 .v2-hero__ribbon .v2-dot{display:none}
#av-v2 .v2-hero__ribbon > span{white-space:nowrap;line-height:1.3}
/* Entre 861 y 1180 px la columna de texto es estrecha: la franja no parte
   y puede invadir unos píxeles la foto (la cubre la veladura lateral). */
@media (min-width:861px) and (max-width:1180px){
  #av-v2 .v2-hero__ribbon{flex-wrap:nowrap}
  #av-v2 .v2-hero__ribbon > span{font-size:.62rem;letter-spacing:.08em}
}

/* ---------- 3 · Composición móvil / tablet vertical (≤860 px) ----------
   El título vive sobre el cielo; la descripción, la franja y los
   botones bajan a la base (margin-top:auto) y dejan el centro de la
   foto —la quinceañera y el barco— sin nada encima. */
@media (max-width:860px){
  #av-v2 .v2-hero{
    display:flex;flex-direction:column;
    min-height:min(94svh,860px);
    padding-block:3.4rem 2.4rem;
  }
  #av-v2 .v2-hero__bg img{object-position:47% 42%}
  #av-v2 .v2-hero::after{
    content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
    background:linear-gradient(180deg,
      rgba(7,16,34,.88) 0%,rgba(7,16,34,.55) 15%,rgba(7,16,34,.14) 32%,
      rgba(7,16,34,0) 44%,rgba(7,16,34,0) 58%,
      rgba(7,16,34,.48) 78%,rgba(7,16,34,.86) 100%);
  }
  #av-v2 .v2-hero__grid{flex:1;display:flex;flex-direction:column}
  #av-v2 .v2-hero__copy{flex:1;display:flex;flex-direction:column;align-items:flex-start}
  #av-v2 .v2-hero__sub{
    margin-top:auto;padding-top:1.5rem;
    max-width:36ch;font-size:.95rem;line-height:1.55;
  }
  /* Franja compacta de una línea (centrada, sin rotación). */
  #av-v2 .v2-hero__ribbon{
    display:flex;flex-wrap:wrap;justify-content:center;width:100%;
    margin-top:1.05rem;padding:.72rem .85rem;row-gap:.3rem;
  }
  #av-v2 .v2-hero__ribbon b{
    font-size:clamp(.95rem,2.6vw,1.06rem);letter-spacing:.04em;gap:.7rem;
  }
  #av-v2 .v2-hero__ribbon > span{font-size:clamp(.58rem,1.55vw,.68rem);letter-spacing:.1em}
  /* Botones apilados a ancho completo, área táctil cómoda. */
  #av-v2 .v2-hero__cta{
    flex-direction:column;align-items:stretch;width:100%;
    gap:.6rem;margin-top:.95rem;
  }
  #av-v2 .v2-hero__cta .v2-btn{
    width:100%;justify-content:center;min-height:52px;
    padding:.95rem 1rem;font-size:.95rem;
  }
  #av-v2 .v2-hero__chips{
    justify-content:center;text-align:center;width:100%;
    gap:.35rem 1rem;margin-top:1rem;
  }
}

@media (max-width:600px){
  #av-v2 .v2-hero{min-height:min(92svh,760px);padding-block:3rem 2.2rem}
}

/* Móviles muy estrechos: la franja se apila en dos líneas centradas
   y el separador desaparece (la rotura queda controlada, no casual). */
@media (max-width:380px){
  #av-v2 .v2-hero{padding-block:2.8rem 2.2rem}
  #av-v2 .v2-hero__ribbon{flex-direction:column;gap:.32rem;padding:.72rem .6rem}
  #av-v2 .v2-hero__ribbon b::after{display:none}
}

/* ---------- 4 · Crédito ---------- */
#av-v2 .v2-hero__credit{
  position:absolute;z-index:2;left:clamp(.9rem,2.2vw,1.6rem);bottom:.55rem;margin:0;
  font-size:.58rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;
  color:rgba(255,255,255,.88);text-shadow:0 1px 7px rgba(0,0,0,.6);
  transition:opacity .25s;
}
/* El slide-in «¿Lo lees con calma?» se fija a la izquierda: mientras está
   abierto taparía el crédito, así que este se aparta hasta cerrarlo. */
body:has(#av-v2 [data-av-slidein].is-open) #av-v2 .v2-hero__credit{opacity:0}
