/* The Edition Press v3 — carácter de periódico (v1) + ficha de tienda (v2) */
.ee-main--v3 { background: var(--ee-papel); padding: 0 var(--ee-pad, 20px) 4.5rem; }
.ee-main--v3 .wp-block-post-content { max-width: none; }
.v3-wrap { max-width: 1200px; margin-inline: auto; }
.v3-panel { display: block; position: relative; overflow: hidden; background: #F3EFE8; border: 1px solid var(--ee-filete); }
.v3-panel img { display: block; width: 100%; height: auto; transition: opacity .25s ease; }
.v3p .v2-panel, .v3p .v3-panel { border-color: var(--ee-filete); }
.v3-conf .v2-btns button, .v3-conf .v2-tile, .v3-select { background: var(--ee-blanco); }
.v3-select { width: 100%; min-height: 46px; padding: 0 0.75rem; font: 500 0.9375rem var(--ee-sans); color: var(--ee-tinta); border: 1px solid #A8A296; border-radius: 4px; }
.v3-conf .v2-opt__head { cursor: default; }
.v3-delivery { display: flex; gap: 0.5rem; align-items: baseline; margin: 0 0 1rem; padding: 0.7rem 0.85rem; background: #EAF1E6; color: #2F5A27; font-size: 0.875rem; line-height: 1.45; border-radius: 4px; }
.v3-delivery i { font-style: normal; font-weight: 700; }

/* Cabeceras de sección con filete doble */
.v3-band { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.v3-band--press { margin-top: clamp(3.5rem, 7vw, 5.5rem); padding: clamp(3rem, 6vw, 4.5rem) var(--ee-pad, 20px); margin-inline: calc(-1 * var(--ee-pad, 20px)); background: var(--ee-prensa); border-block: 1px solid var(--ee-filete); }
.v3-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); padding-top: 0.9rem; border-top: 3px double var(--ee-tinta); max-width: 40rem; }
.v3-head .ee-kicker { margin: 0 0 0.4rem; }
.v3-h2 { font: 500 clamp(1.9rem, 4vw, 2.75rem)/1.05 var(--ee-display); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.v3-h2 em { font-style: italic; color: var(--ee-rojo); }
.v3-two { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.v3-two .v3-panel { margin-top: 0.5rem; }
.v3-ruled > div { border-left: 1px solid var(--ee-filete); padding-left: 1.25rem; }
.v3-ruled > div:first-child { border-left: 0; padding-left: 0; }

/* Portada */
.v3-hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
.v3-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.v3-hero__txt .ee-display { margin: 0.6rem 0 1.1rem; }
.v3-hero__txt .ee-lede { max-width: 32rem; margin: 0 0 1.75rem; }
.v3-hero__btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.v3-hero__btns .v2-btn { margin: 0; min-width: 12rem; }
.v3-star { background: #F3EFE8; border: 1px solid var(--ee-filete); }
.ee-main--v3 .v2-card em { color: var(--ee-rojo); }

@media (max-width: 900px) {
	.v3-hero__grid, .v3-two { grid-template-columns: minmax(0, 1fr); }
	.v3-ruled > div { border-left: 0; padding-left: 0; }
}

/* Selector de interior y «Tres maneras» */
.v3-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.v3-seg button { display: grid; gap: 3px; text-align: left; padding: 10px 11px; background: var(--ee-blanco); border: 1px solid #A8A296; border-radius: 4px; cursor: pointer; color: var(--ee-tinta); }
.v3-seg button b { font: 600 0.875rem var(--ee-sans); }
.v3-seg button span { font: 400 0.75rem/1.3 var(--ee-sans); color: var(--ee-gris); }
.v3-seg button[aria-pressed="true"] { border: 2px solid var(--ee-tinta); padding: 9px 10px; }
.v3-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.v3-three .v2-way { position: relative; grid-template-rows: auto auto 1fr auto auto; }
.v3-num { font: 700 2.25rem/1 var(--ee-display); color: var(--ee-rojo); }
.v3-tag { font: 600 0.75rem var(--ee-sans); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ee-gris); }
.v3-way--star { border: 2px solid var(--ee-tinta); }
.v3-three .v2-btn { margin: 0.25rem 0 0; }
.v3-cover-line { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--ee-filete); font-size: 1rem; }
.v3-cover-line a { color: var(--ee-rojo); }
@media (max-width: 900px) { .v3-three { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .v3-seg { grid-template-columns: minmax(0, 1fr); } }
.v3-panel.v2-way { display: grid; }

/* Texto completo bajo la ficha (SEO) y preguntas frecuentes */
.v3-seo { max-width: 760px !important; margin: clamp(3.5rem, 7vw, 5rem) auto 0; padding-top: 1rem; border-top: 3px double var(--ee-tinta); }
.v3-seo .wp-block-buttons { display: none; }
.v3-faq { max-width: 760px; margin: 3rem auto 0; }

/* Portada: cuatro tarjetas de producto (incluye la revista de motor) */
.v2-cards.v3-cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .v2-cards.v3-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cinco estilos de revista en una fila */
.v3p .v2-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.v3p .v2-tile { padding: 5px 4px 7px; font-size: 0.6875rem; }
.v3p .v2-tile img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

/* Barra fija de compra en móvil */
.v3-sticky { display: none; }
@media (max-width: 781px) {
	.v3-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 1rem;
		padding: 0.7rem var(--ee-pad, 1rem) calc(0.7rem + env(safe-area-inset-bottom)); background: var(--ee-papel, #F5F1E8); border-top: 1px solid var(--ee-filete, #ddd);
		box-shadow: 0 -6px 18px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s ease; }
	.v3-sticky.is-on { transform: none; }
	.v3-sticky strong { font: 700 1.125rem var(--ee-sans); white-space: nowrap; }
	.v3-sticky .v2-btn { flex: 1 1 auto; max-width: 60%; min-height: 44px; }
	.v3p .v2-tile span { font-size: 0.5625rem; letter-spacing: 0; }
}

/* ---------- Ficha: tu portada en vivo ---------- */
.v2p__hero { position: relative; }
.v2p__hero .v3-live { display: none; }
.v2p__hero.is-live .v3-live { display: block; }
.v2p__hero.is-live > img[data-v3-g="0"] { display: none; }
.v3-live { padding: 2.5rem 1rem 4rem; }
.ee-studio--embed { box-shadow: none; border: 0; background: transparent; padding: 0; max-width: 520px; margin: 0 auto; }
.ee-studio--embed .ee-studio__label, .ee-studio--embed .ee-studio__tabs, .ee-studio--embed .ee-studio__fields,
.ee-studio--embed .ee-studio__go, .ee-studio--embed .ee-studio__diy { display: none !important; }
.ee-studio--embed .ee-stage { background: transparent; }
.v3-live__switch { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; gap: 0; background: #fff; border: 1px solid var(--ee-filete, #ddd); border-radius: 999px; padding: 3px; z-index: 3; }
.v3-live__switch button { border: 0; background: transparent; padding: 0.45rem 0.9rem; border-radius: 999px; font: 600 0.75rem var(--ee-sans); cursor: pointer; white-space: nowrap; }
.v3-live__switch button[aria-pressed="true"] { background: var(--ee-tinta, #111); color: #fff; }
.v3-tuya { display: grid; gap: 0.7rem; }
.v3-tuya__name { display: grid; gap: 0.3rem; font: 600 0.8125rem var(--ee-sans); }
.v3-tuya__name input { font: 400 1rem var(--ee-sans); padding: 0.7rem 0.8rem; border: 1px solid var(--ee-filete, #ccc); background: #fff; }
.v3-tuya__up { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; cursor: pointer; }
.v3-tuya__up input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v3-tuya__up input:focus-visible + .v2-btn { outline: 2px solid var(--ee-rojo, #B3261E); outline-offset: 2px; }
.v3-tuya__up em { font: 400 0.8125rem var(--ee-sans); color: var(--ee-gris, #6b665e); font-style: normal; }
.v3-add-msg { font: 400 0.8125rem var(--ee-sans); color: #B3261E; margin: 0.2rem 0 0; min-height: 1em; }
button.v2-btn { cursor: pointer; width: 100%; font: inherit; }
button.v2-btn[disabled] { opacity: .6; cursor: wait; }
.v2-cards.v3-cards4 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .v2-cards.v3-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
