/* Dora · acabado final (15/11/2026). Se carga después de site.css y editorial.css.
   Mantiene la identidad editorial (verde bosque, crema, serif) y añade: retrato grande de Dora en
   portada, comunidad con fotos y vídeos, mínimos de legibilidad y transiciones entre páginas. */

/* ---------- Legibilidad: ningún texto informativo por debajo de 11 px ---------- */
.overline,.eyebrow,.editorial-hero-copy .overline,.boutique-heading .overline,.boutique-sidebar .overline{font-size:12px;letter-spacing:1.6px}
.topbar,.topbar-inner>span{font-size:12.5px}
.brand-wordmark small{font-size:11px;letter-spacing:1.3px}
.ribbon-track>span{font-size:12px}
.hero-product-note small,.scene-top,.boutique-scene-top,.boutique-edit-label,.hero-baseline,.tiny-label,.editorial-portrait small,.footer-brand span,.orbit-link span,.collection-index sup{font-size:11px}
.product-cat,.boutique-catalog .product-cat{font-size:11.5px;letter-spacing:.8px}
.product-badge,.boutique-catalog .product-badge{font-size:11.5px;letter-spacing:.3px}
.footer-bottom,.motion-control,.invitation-copy small,.detail-summary .pill{font-size:12.5px}
.editorial-story-copy p,.path-option p,.invitation-copy p,.boutique-intro p,.affiliate-editorial>div>p,.community-intro p,.catalog-note p,.assurances li,.post-card .post-text>p:not(.eyebrow){font-size:16px;line-height:1.65}
.product-summary{font-size:14.5px}
.hero-person small{font-size:13px}
.hero-person strong{font-size:15px}

/* ---------- Portada: Dora en grande ---------- */
.editorial-hero-art{height:auto;min-height:0;padding:0 0 46px;position:relative}
.hero-portrait-frame{position:relative;margin:0 0 0 auto;width:min(100%,560px);aspect-ratio:4/5;border-radius:240px 240px 26px 26px;overflow:hidden;background:#dcd9cc;box-shadow:0 40px 70px -40px #1c2f2380}
.hero-portrait{width:100%;height:100%;object-fit:cover;object-position:50% 16%;display:block}
.hero-portrait-frame figcaption{position:absolute;right:20px;top:46%;display:flex;flex-direction:column;gap:2px;background:#f7f5edf0;padding:12px 18px;border-radius:14px;backdrop-filter:blur(6px)}
.hero-portrait-frame figcaption strong{font:500 24px/1.1 var(--serif);color:var(--ink)}
.hero-portrait-frame figcaption span{font-size:11.5px;letter-spacing:1.3px;text-transform:uppercase;color:var(--muted);font-weight:700}
.editorial-hero-art .orbit-link{top:34px;right:max(-18px,calc(50% - 300px))}
.editorial-hero-art .hero-product-note{left:calc(100% - min(100%,560px) - 36px);right:auto;bottom:0;width:min(350px,80%);border-radius:18px;box-shadow:0 20px 40px -24px #1c2f2366;background:#fbfaf3}
.hero-actions{gap:12px}
.hero-actions .button{min-height:52px}
.hero-person-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--green-100);color:var(--green-800);font-size:24px;flex-shrink:0}

/* ---------- Comunidad ---------- */
.community-hero{display:grid;grid-template-columns:1.25fr 1fr;gap:60px;align-items:end;padding-block:54px 36px}
.community-hero h1{font-size:clamp(40px,5.2vw,74px);line-height:1.02}
.community-intro p{font-size:18px;max-width:440px}
.community-feature{padding-bottom:28px}
.post-card{position:relative}
.post-card .post-image{position:relative;display:block}
.post-card .post-image video{width:100%;height:100%;object-fit:cover;background:#1d2b23}
.play-badge{position:absolute;inset:0;margin:auto;width:70px;height:70px;border-radius:50%;background:#10221aa8;backdrop-filter:blur(4px);box-shadow:0 10px 30px #0004;pointer-events:none}
.play-badge::after{content:'';position:absolute;left:27px;top:21px;border-style:solid;border-width:14px 0 14px 22px;border-color:transparent transparent transparent #fff}
.post-count{position:absolute;left:14px;bottom:14px;background:#f7f5edf0;color:var(--ink);font-size:13px;font-weight:800;padding:4px 12px;border-radius:999px}
.post-image-empty{display:grid;place-items:center;width:100%;height:100%;min-height:220px;font:22px var(--serif);color:var(--muted);background:var(--green-50)}
.post-card-large{display:grid;grid-template-columns:1.15fr 1fr;align-items:stretch;padding-bottom:0;overflow:hidden}
.post-card-large .post-image{aspect-ratio:auto;height:100%;min-height:440px;margin:0}
.post-card-large .post-image img,.post-card-large .post-image video{width:100%;height:100%;object-fit:cover}
.post-card-large .post-text{align-self:center;padding:44px 48px;margin:0}
.post-card-large h3{font-size:clamp(28px,3vw,40px);line-height:1.1;margin-bottom:16px}
.post-card-large .post-text>p:not(.eyebrow){font-size:17px;-webkit-line-clamp:5}
.post-card .post-text{display:flex;flex-direction:column;flex:1}
.post-card .post-text .text-link{margin-top:auto}

/* Publicación */
.post-header{max-width:920px;text-align:center;padding-block:26px 34px}
.post-header h1{font-size:clamp(32px,4.6vw,62px);line-height:1.06;margin-bottom:18px}
.post-lead{font-size:19px;max-width:700px;margin:0 auto;color:var(--muted)}
.post-media{max-width:1080px}
.post-media figure{margin:0}
.post-media-main{border-radius:26px;overflow:hidden;background:#ece9df}
.post-media-main a{display:block;cursor:zoom-in}
.post-media-main img{width:100%;max-height:82vh;object-fit:contain;background:#ece9df;margin:auto}
.post-video{display:block;width:100%;max-height:82vh;background:#0f1a14;border-radius:inherit}
.post-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.post-gallery figure{border-radius:18px;overflow:hidden;background:#ece9df;aspect-ratio:1}
.post-gallery figure.is-video{aspect-ratio:auto;grid-column:span 2;background:#0f1a14}
.post-gallery figure.is-video .post-video{max-height:none;aspect-ratio:16/9;object-fit:contain}
.post-gallery a{display:block;height:100%;cursor:zoom-in}
.post-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.post-gallery a:hover img{transform:scale(1.04)}
.post-body{max-width:760px;padding-top:40px}
.post-body p,.post-body li{font-size:18px;line-height:1.75}
.post-cta{max-width:1080px;display:grid;grid-template-columns:1.25fr 1fr;gap:34px;align-items:center;background:var(--green-900,#203c30);color:#f3f1e4;border-radius:30px;padding:46px 50px;margin-block:10px 70px}
.post-cta h2{color:#fff;margin-bottom:12px}
.post-cta h2 em{color:#dfe9b8;background:none}
.post-cta p{color:#d3dccd;margin:0}
.post-cta .overline{color:#c7d6a9}
.post-cta-actions{display:grid;gap:12px}
.post-cta-actions .button.secondary{color:#fff;border-color:#ffffff59;background:transparent}
.post-cta-actions .button-wa{background:#f3f1e4;border-color:#f3f1e4;color:var(--green-900,#203c30)}
.post-cta-actions .button-wa:hover{background:#fff;border-color:#fff}
.post-cta-actions .button.secondary:hover{background:#ffffff14}

/* ---------- Transiciones entre páginas (navegadores compatibles; el resto navega normal) ---------- */
@media (prefers-reduced-motion:no-preference){
 @view-transition{navigation:auto}
 body>header{view-transition-name:site-header}
 ::view-transition-old(root){animation:dora-page-out .24s cubic-bezier(.4,0,1,1) both}
 ::view-transition-new(root){animation:dora-page-in .42s cubic-bezier(.16,1,.3,1) both}
 @keyframes dora-page-out{to{opacity:0;transform:translateY(-8px)}}
 @keyframes dora-page-in{from{opacity:0;transform:translateY(14px)}}
 .post-card,.product-card,.collection-scene,.boutique-scene{transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s}
 .post-card:hover{transform:translateY(-4px)}
}

/* ---------- Tablet y móvil ---------- */
@media(max-width:1100px){
 .community-hero{gap:36px}
 .post-card-large .post-text{padding:34px}
}
@media(max-width:850px){
 .editorial-hero-art{padding-bottom:56px;margin-inline:0}
 .hero-portrait-frame{margin:0 auto;width:min(100%,520px);border-radius:200px 200px 22px 22px}
 .editorial-hero-art .orbit-link{right:max(0px,calc(50% - 280px));top:22px}
 .editorial-hero-art .hero-product-note{left:max(0px,calc(50% - 270px));right:auto}
 .community-hero{grid-template-columns:1fr;gap:18px;padding-block:34px 26px}
 .post-card-large{grid-template-columns:1fr}
 .post-card-large .post-image{min-height:0;aspect-ratio:4/3}
 .post-card-large .post-text{padding:26px}
 .post-cta{grid-template-columns:1fr;padding:34px 28px}
}
@media(max-width:600px){
 .hero-actions{flex-direction:column;align-items:stretch}
 .hero-actions .button{width:100%}
 .hero-portrait-frame{border-radius:170px 170px 20px 20px}
 .hero-portrait-frame figcaption{right:12px;top:auto;bottom:118px;padding:9px 13px}
 .hero-portrait-frame figcaption strong{font-size:20px}
 .editorial-hero-art .hero-product-note{width:calc(100% - 24px);left:12px;right:auto}
 .editorial-hero-art .orbit-link{width:84px;height:84px;right:6px;top:14px}
 .post-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .post-gallery figure{border-radius:12px}
 .post-gallery figure.is-video{grid-column:1/-1}
 .post-media-main{border-radius:18px}
 .post-body p,.post-body li{font-size:17px}
 .post-cta{border-radius:22px;padding:28px 20px;margin-bottom:46px}
 .post-cta-actions .button{width:100%}
}
@media(max-height:500px) and (orientation:landscape){
 .hero-portrait-frame{width:min(100%,420px)}
 .post-media-main img,.post-video{max-height:88vh}
}

/* Menú móvil: la altura máxima descuenta también la barra superior (en horizontal no cabía). site.js la ajusta al abrir. */
@media(max-width:850px){.navigation nav{max-height:calc(100vh - 130px);max-height:calc(100dvh - 130px);overscroll-behavior:contain}}

/* ---------- Móvil: campos a 16 px (el iPhone no hace zoom al tocarlos) y zonas táctiles cómodas ---------- */
input,select,textarea,.sort-label select,form>input,form textarea,.search-box input{font-size:16px}
@media(max-width:850px),(pointer:coarse){
 .topbar a,.breadcrumbs a,.footer-grid>div>a:not(.footer-brand),.socials a,.footer-bottom a,.footer-bottom .link-button,.collection-index a,.text-link{display:inline-flex;align-items:center;min-height:44px}
 .footer-grid>div>a:not(.footer-brand){display:flex;margin-bottom:0}
 .breadcrumbs{padding-block:8px 0}
 .product-info h3 a,.post-card h3 a,.hero-person{display:block;padding-block:6px}
 .hero-person{display:flex}
 /* En la ficha ya está el botón grande «Pedir por WhatsApp»: el flotante lo tapaba. */
 body[data-page=producto] .floating-wa{display:none}
}
@media(max-width:850px),(pointer:coarse){.invitation-question{display:inline-flex;align-items:center;min-height:44px}}
