/* © Fernando Martínez Marín · VEOVIRTUAL® · veovirtual.com */

/* ===== Base ===== */
.vvt, .vvt *, .vvt-cajon, .vvt-cajon *, .vvt-modal, .vvt-modal *, .vvt-visor, .vvt-mega, .vvt-mega * { box-sizing: border-box; }
.vvt-ico { width: 1.25em; height: 1.25em; flex: none; }
.vvt-listado, .vvt-ficha { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 64px; }
.vvt-sin-scroll { overflow: hidden; }

/* ===== Botones ===== */
.vvt-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .65em 1.2em; border: 2px solid var(--vv-acento, #4a7c2a); border-radius: 999px; background: var(--vv-acento, #4a7c2a); color: #fff; font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.vvt-btn:hover { background: var(--vv-oscuro, #24361a); border-color: var(--vv-oscuro, #24361a); color: #fff; }
.vvt-btn:active { transform: scale(.97); }
.vvt-btn:focus-visible { outline: 3px solid var(--vv-foco, #1a73e8); outline-offset: 2px; }
.vvt-btn--linea { background: transparent; color: var(--vv-acento, #4a7c2a); }
.vvt-btn--linea:hover { background: var(--vv-acento, #4a7c2a); color: #fff; }
.vvt-btn--peq { min-height: 40px; padding: .45em .9em; font-size: .9rem; }
.vvt-btn--mini { min-height: 36px; min-width: 36px; padding: 0; font-size: .9rem; }
.vvt-btn--grande { min-height: 52px; padding: .8em 1.6em; font-size: 1.05rem; }
.vvt-btn--bloque { width: 100%; }
.vvt-btn.is-cargando { opacity: .6; pointer-events: none; }
.vvt-btn.is-hecho { background: var(--vv-oscuro, #24361a); }
.vvt-btn[disabled] { opacity: .5; cursor: default; }

/* ===== Migas y cabecera de listado ===== */
.vvt-migas ol { display: flex; flex-wrap: wrap; gap: .3em; margin: 0 0 12px; padding: 0; list-style: none; font-size: .85rem; color: var(--vv-texto, #333); opacity: .8; }
.vvt-migas li + li::before { content: "›"; margin-right: .3em; opacity: .6; }
.vvt-migas a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.vvt-cab { display: grid; gap: 24px; align-items: center; margin-bottom: 24px; }
.vvt-cab--foto { grid-template-columns: 1fr 220px; }
.vvt-cab__titulo { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--vv-oscuro, #24361a); }
.vvt-cab__intro { margin: .6em 0 0; max-width: 62ch; font-size: 1.05rem; }
.vvt-cab__foto img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: var(--vv-radio, 16px); background: #fff; }

/* ===== Subcategorías ===== */
.vvt-subcats ul { display: flex; gap: 14px; margin: 0 0 28px; padding: 4px 2px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.vvt-subcats li { flex: 0 0 auto; scroll-snap-align: start; }
.vvt-subcats a { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 112px; color: var(--vv-texto, #333); text-decoration: none; font-size: .88rem; font-weight: 600; text-align: center; line-height: 1.2; }
.vvt-subcats img, .vvt-subcats__vacio { display: block; width: 96px; height: 96px; object-fit: contain; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: transform .2s ease, box-shadow .2s ease; }
.vvt-subcats a:hover img { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }

/* ===== Barra de listado ===== */
.vvt-barra-lista { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.vvt-barra-lista__n { margin: 0; font-size: .92rem; opacity: .8; }
.vvt-orden label { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.vvt-orden select { min-height: 40px; padding: 0 12px; border: 1px solid rgba(0,0,0,.18); border-radius: 10px; background: #fff; font: inherit; }

/* ===== Rejilla y tarjetas ===== */
.vvt-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 20px; margin: 0; padding: 0; list-style: none; }
.vvt-tarjeta { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--vv-radio, 16px); background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06); transition: box-shadow .25s ease, transform .25s ease; }
.vvt-tarjeta:hover { box-shadow: 0 14px 34px rgba(0,0,0,.1); transform: translateY(-3px); }
.vvt-tarjeta__foto { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.vvt-tarjeta__foto img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.vvt-tarjeta:hover .vvt-tarjeta__foto img { transform: scale(1.04); }
.vvt-tarjeta.is-agotado .vvt-tarjeta__foto img { opacity: .55; }
.vvt-tarjeta__cuerpo { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 14px 16px 16px; }
.vvt-tarjeta__nombre { margin: 0; font-size: 1rem; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vvt-tarjeta__nombre a { color: var(--vv-texto, #222); text-decoration: none; }
.vvt-tarjeta__nombre a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vvt-tarjeta__pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.vvt-tarjeta__pie .vvt-btn { position: relative; z-index: 2; }
.vvt-precio { font-weight: 800; font-size: 1.1rem; color: var(--vv-oscuro, #24361a); }
.vvt-precio del { opacity: .55; font-weight: 400; font-size: .85em; margin-right: .3em; }
.vvt-precio ins { text-decoration: none; }
.vvt-precio small { font-size: .7rem; font-weight: 400; opacity: .7; }

/* ===== Etiquetas ===== */
.vvt-etqs { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; pointer-events: none; }
.vvt-etq { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--vv-oscuro, #24361a); color: #fff; font-size: .74rem; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
.vvt-etq--bio { background: #e7f2dc; color: #2f5617; }
.vvt-etq--oferta { background: #b3261e; }
.vvt-etq--agotado { background: #555; }
.vvt-etq--ultimas { background: #9a5b00; }
.vvt-etq__ico { width: 14px; height: 14px; }

/* ===== Estrellas ===== */
.vvt-estrellas { position: relative; display: inline-block; width: 5.3em; height: 1em; font-size: .9rem; line-height: 1; }
.vvt-estrellas::before, .vvt-estrellas span::before { content: "★★★★★"; letter-spacing: .06em; }
.vvt-estrellas::before { color: rgba(0,0,0,.18); }
.vvt-estrellas span { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
.vvt-estrellas span::before { color: #e0a100; }

/* ===== Paginación ===== */
.vvt-paginas ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0 0; padding: 0; list-style: none; }
.vvt-paginas a, .vvt-paginas span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.14); color: var(--vv-texto, #333); text-decoration: none; }
.vvt-paginas .current { background: var(--vv-acento, #4a7c2a); border-color: var(--vv-acento, #4a7c2a); color: #fff; }
.vvt-vacio { padding: 40px 0; text-align: center; }
.vvt-texto-cat { max-width: 78ch; margin: 56px auto 0; line-height: 1.7; }

/* ===== Ficha ===== */
.vvt-ficha__arriba { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.vvt-galeria { position: sticky; top: calc(var(--vv-arriba-alto, 90px) + 16px); }
.vvt-galeria__principal { position: relative; aspect-ratio: 1; border-radius: var(--vv-radio, 16px); background: #fff; overflow: hidden; }
.vvt-galeria__item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease; cursor: zoom-in; }
.vvt-galeria__item.is-activa { opacity: 1; visibility: visible; }
.vvt-galeria__item img { width: 100%; height: 100%; object-fit: contain; }
.vvt-galeria__minis { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.vvt-galeria__minis button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: #fff; cursor: pointer; overflow: hidden; }
.vvt-galeria__minis button.is-activa { border-color: var(--vv-acento, #4a7c2a); }
.vvt-galeria__minis img { width: 100%; height: 100%; object-fit: contain; }
.vvt-ficha__titulo { margin: 0 0 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--vv-oscuro, #24361a); }
.vvt-ficha__val { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: inherit; font-size: .9rem; }
.vvt-ficha__precio { margin: 6px 0 16px; font-size: 1.9rem; }
.vvt-ficha__corta { margin-bottom: 18px; line-height: 1.6; }
.vvt-sellos { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.vvt-sellos img { display: block; width: 58px; height: 58px; object-fit: contain; }
.vvt-sellos span { display: inline-block; padding: 6px 10px; border: 1px solid rgba(0,0,0,.15); border-radius: 8px; font-size: .8rem; }
.vvt-ficha__compra { display: grid; gap: 14px; padding: 18px; border-radius: var(--vv-radio, 16px); background: var(--vv-claro, #f5f7f0); }
.vvt-comprar { display: flex; gap: 10px; }
.vvt-comprar .vvt-btn { flex: 1; }
.vvt-cant { display: inline-flex; align-items: center; border: 1px solid rgba(0,0,0,.18); border-radius: 999px; background: #fff; }
.vvt-cant button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; }
.vvt-cant input { width: 42px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.vvt-cant input::-webkit-inner-spin-button, .vvt-cant input::-webkit-outer-spin-button { -webkit-appearance: none; }
.vvt-cant--peq button { width: 34px; height: 34px; }
.vvt-cant--peq span { min-width: 24px; text-align: center; font-weight: 700; }
.vvt-entrega { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .92rem; }
.vvt-entrega__ico { color: var(--vv-acento, #4a7c2a); }
.vvt-garantias { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; font-size: .9rem; }
.vvt-garantias li { display: flex; align-items: center; gap: 10px; }
.vvt-garantias .vvt-ico { color: var(--vv-acento, #4a7c2a); }
.vvt-agotado p { margin: 0 0 10px; }
.vvt-aviso-stock { display: flex; flex-wrap: wrap; gap: 8px; }
.vvt-aviso-stock input { flex: 1 1 200px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(0,0,0,.2); border-radius: 999px; font: inherit; }
.vvt-aviso-stock__legal { flex-basis: 100%; margin: 0; font-size: .78rem; opacity: .75; }
.vvt-ok { display: flex; align-items: center; gap: 8px; color: #2f5617; font-weight: 600; }
.vvt-ficha__mas { max-width: 860px; margin: 56px auto 0; }
.vvt-acordeon { border-top: 1px solid rgba(0,0,0,.12); }
.vvt-acordeon:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.vvt-acordeon summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font-weight: 700; font-size: 1.1rem; list-style: none; }
.vvt-acordeon summary::-webkit-details-marker { display: none; }
.vvt-acordeon summary::after { content: "+"; font-size: 1.4rem; transition: transform .25s ease; }
.vvt-acordeon[open] summary::after { transform: rotate(45deg); }
.vvt-acordeon__txt { padding-bottom: 20px; line-height: 1.7; }
.vvt-datos { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.vvt-datos dt { font-weight: 600; }
.vvt-datos dd { margin: 0; }
.vvt-opiniones { max-width: 860px; margin: 48px auto 0; }
.vvt-relacionados { margin-top: 64px; }
.vvt-relacionados h2 { margin: 0 0 18px; font-size: 1.5rem; color: var(--vv-oscuro, #24361a); }

/* ===== Carrusel ===== */
.vvt-carrusel { position: relative; }
.vvt-carrusel__pista { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, calc((100% - 60px) / 4)); gap: 20px; margin: 0; padding: 4px 2px 16px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vvt-carrusel__pista::-webkit-scrollbar { display: none; }
.vvt-carrusel__pista > li { scroll-snap-align: start; }
.vvt-carrusel__flecha { position: absolute; top: 38%; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.vvt-carrusel__flecha--izq { left: -14px; }
.vvt-carrusel__flecha--der { right: -14px; }

/* ===== Barra fija móvil ===== */
.vvt-fija { position: fixed; left: 0; right: 0; bottom: var(--vv-barra-alto, 0px); z-index: 60; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.1); }
.vvt-fija__nombre { flex: 1; font-size: .85rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vvt-fija .vvt-precio { font-size: 1rem; }
@media (min-width: 901px) { .vvt-fija { display: none; } }

/* ===== Envío gratis ===== */
.vvt-envio { display: grid; gap: 8px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,.08); }
.vvt-envio--ficha { margin: 0; }
.vvt-envio__txt { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .92rem; }
.vvt-envio__ico, .vvt-envio .vvt-ico { color: var(--vv-acento, #4a7c2a); }
.vvt-envio__barra { height: 8px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; }
.vvt-envio__barra span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--vv-acento, #4a7c2a), var(--vv-acento2, var(--vv-acento, #6aa33a))); transition: width .5s ease; }
.vvt-envio.is-gratis { background: #eef6e6; border-color: transparent; }

/* ===== Botón carrito cabecera ===== */
.vvt-cab-carrito { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; margin-left: auto; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.vvt-cab-carrito .vvt-ico { width: 26px; height: 26px; }
.vvt-cab-carrito__n { position: absolute; top: 2px; left: 26px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--vv-acento, #4a7c2a); color: #fff; font-size: .72rem; font-weight: 800; line-height: 20px; text-align: center; }
.vvt-cab-carrito__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vv-cabecera__menu { margin-left: 4px; }

/* ===== Cajón ===== */
.vvt-cajon, .vvt-modal { position: fixed; inset: 0; z-index: 10060; }
body.admin-bar .vvt-cajon, body.admin-bar .vvt-modal { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .vvt-cajon, body.admin-bar .vvt-modal { top: 46px; } }
.vvt-cajon__fondo, .vvt-modal__fondo { position: absolute; inset: 0; background: rgba(10,15,8,.45); opacity: 0; transition: opacity .25s ease; }
.vvt-cajon__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--vv-fondo, #fff); color: var(--vv-texto, #222); transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.vvt-cajon.is-abierto .vvt-cajon__fondo, .vvt-modal.is-abierto .vvt-modal__fondo { opacity: 1; }
.vvt-cajon.is-abierto .vvt-cajon__panel { transform: none; }
.vvt-cajon__cab { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(0,0,0,.08); }
.vvt-cajon__cab h2 { margin: 0; font-size: 1.2rem; }
.vvt-cajon__x, .vvt-modal__x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.05); color: inherit; cursor: pointer; }
.vvt-cajon__cuerpo { flex: 1; overflow-y: auto; padding: 16px 18px 0; display: flex; flex-direction: column; }
.vvt-cajon__cuerpo.is-cargando { opacity: .6; pointer-events: none; }
.vvt-cajon__vacio { margin: auto; text-align: center; }
.vvt-cajon__vacio .vvt-ico { width: 48px; height: 48px; opacity: .4; }
.vvt-cajon__lista { margin: 0; padding: 0; list-style: none; }
.vvt-linea { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.vvt-linea__foto img { display: block; width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: #fff; }
.vvt-linea__nombre { display: block; color: inherit; font-size: .9rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.vvt-linea__precio { font-size: .82rem; opacity: .75; }
.vvt-linea__acciones { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.vvt-linea__quitar { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: none; color: inherit; opacity: .6; cursor: pointer; }
.vvt-linea__total { font-size: .95rem; }
.vvt-sugerencias { margin: 18px 0 0; padding: 14px; border-radius: 14px; background: var(--vv-claro, #f5f7f0); }
.vvt-sugerencias h3 { margin: 0 0 10px; font-size: .95rem; }
.vvt-sugerencias ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vvt-sugerencias li { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: #fff; }
.vvt-sugerencias a { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; font-size: .8rem; line-height: 1.25; }
.vvt-sugerencias a span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vvt-sugerencias img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.vvt-sugerencias__pie { display: flex; align-items: center; justify-content: space-between; }
.vvt-cajon__pie { position: sticky; bottom: 0; margin-top: auto; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); background: var(--vv-fondo, #fff); }
.vvt-cajon__sub { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 1.1rem; }
.vvt-cajon__nota { margin: 0 0 12px; font-size: .78rem; opacity: .7; }
.vvt-cajon__ver { display: block; margin-top: 10px; text-align: center; color: inherit; font-size: .9rem; }

/* ===== Modal sin envío ===== */
.vvt-modal__caja { position: absolute; left: 50%; top: 50%; width: min(460px, calc(100% - 32px)); padding: 28px 24px 24px; border-radius: 18px; background: #fff; transform: translate(-50%, -46%); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.vvt-modal.is-abierto .vvt-modal__caja { transform: translate(-50%, -50%); opacity: 1; }
.vvt-modal__x { position: absolute; top: 10px; right: 10px; }
.vvt-sin-envio__t { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 1.1rem; }
.vvt-sin-envio__botones { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.vvt-sin-envio { padding: 14px; border-radius: 12px; background: #fff7e6; }

/* ===== Visor ===== */
.vvt-visor { position: fixed; inset: 0; z-index: 10070; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.97); }
.vvt-visor img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.vvt-visor__x { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(0,0,0,.06); cursor: pointer; }
.vvt-visor__f { position: absolute; top: 50%; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(0,0,0,.06); font-size: 2rem; cursor: pointer; transform: translateY(-50%); }
.vvt-visor__f--izq { left: 14px; }
.vvt-visor__f--der { right: 14px; }

/* ===== Aviso ===== */
.vvt-aviso { position: fixed; left: 50%; bottom: calc(var(--vv-barra-alto, 0px) + 20px); z-index: 10080; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--vv-oscuro, #24361a); color: #fff; font-size: .92rem; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
.vvt-aviso.is-visible { transform: translate(-50%, 0); opacity: 1; }
.vvt-aviso--error { background: #b3261e; }

/* ===== Megamenú ===== */
.vvt-mega-item { position: relative; }
.vvt-mega { position: absolute; top: 100%; left: 50%; z-index: 80; width: min(760px, 92vw); padding-top: 12px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.vvt-mega-item.is-mega .vvt-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.vvt-mega__caja { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.18); overflow: hidden; }
.vvt-mega__lista { margin: 0; padding: 14px; list-style: none; }
.vvt-mega__lista a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--vv-texto, #222); font-size: .95rem; font-weight: 600; text-decoration: none; transition: background .15s ease; }
.vvt-mega__lista a.is-activo, .vvt-mega__lista a:focus-visible { background: var(--vv-claro, #f2f5ec); }
.vvt-mega__lista img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; }
.vvt-mega__destacado { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; background: var(--vv-claro, #f2f5ec); }
.vvt-mega__destacado img { width: 100%; max-height: 230px; object-fit: contain; animation: vvt-aparece .35s ease; }
.vvt-mega__destacado strong { font-size: 1.15rem; color: var(--vv-oscuro, #24361a); }
.vvt-mega__destacado p { margin: 0; font-size: .88rem; line-height: 1.45; }
.vvt-mega__ir { font-size: .85rem; font-weight: 700; color: var(--vv-acento, #4a7c2a); }
a.vvt-mega__destacado { color: inherit; text-decoration: none; cursor: pointer; }
a.vvt-mega__destacado:hover .vvt-mega__ir { text-decoration: underline; text-underline-offset: 3px; }
@keyframes vvt-aparece { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ===== Compra (carrito y pago) ===== */
.vvt-compra-pag .woocommerce { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 64px; }
.vvt-compra-pag .woocommerce form .form-row { margin: 0 0 14px; }
.vvt-compra-pag .woocommerce form .form-row label { display: block; margin-bottom: 4px; font-weight: 600; font-size: .9rem; }
.vvt-compra-pag .woocommerce input.input-text, .vvt-compra-pag .woocommerce textarea, .vvt-compra-pag .woocommerce select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(0,0,0,.2); border-radius: 12px; font: inherit; background: #fff; }
.vvt-compra-pag .woocommerce .description { font-size: .8rem; opacity: .75; }
.vvt-compra-pag .form-row-first, .vvt-compra-pag .form-row-last { width: calc(50% - 7px); float: left; }
.vvt-compra-pag .form-row-last { margin-left: 14px; }
.vvt-compra-pag .form-row-wide { clear: both; }
.vvt-plegado.is-plegado > :not(.vvt-desplegar), .vvt-compra-pag .woocommerce form .form-row.vvt-plegado.is-plegado > :not(.vvt-desplegar) { display: none; }
.vvt-compra-pag .vvt-factura .optional { display: none; }
html.vvt-con-fija .vv-acc-flota { transform: translateY(-72px); }
.vvt-desplegar { display: block; clear: both; margin: 0; padding: 6px 0; border: 0; background: none; color: var(--vv-acento, #4a7c2a); font: inherit; font-weight: 600; cursor: pointer; }
.vvt-factura label { display: flex !important; align-items: center; gap: 8px; font-weight: 600; }
.vvt-compra-pag #place_order, .vvt-compra-pag .checkout-button, .vvt-compra-pag .woocommerce .button.alt { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border-radius: 999px; background: var(--vv-acento, #4a7c2a); color: #fff; font-weight: 800; font-size: 1.05rem; border: 0; }
.vvt-compra-pag .woocommerce .button { border-radius: 999px; }
.vvt-compra-pag table.shop_table { border-radius: 14px; border-collapse: separate; }
.vvt-compra-pag .col2-set { width: 100%; }
@media (min-width: 900px) {
	.vvt-compra-pag form.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
	.vvt-compra-pag form.checkout > .vvt-envio, .vvt-compra-pag form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
	.vvt-compra-pag form.checkout #order_review_heading, .vvt-compra-pag form.checkout #order_review { grid-column: 2; }
	.vvt-compra-pag form.checkout #customer_details { grid-column: 1; grid-row: span 3; }
	.vvt-compra-pag form.checkout .col2-set .col-1, .vvt-compra-pag form.checkout .col2-set .col-2 { float: none; width: 100%; }
	.vvt-compra-pag #order_review { position: sticky; top: calc(var(--vv-arriba-alto, 90px) + 16px); padding: 20px; border-radius: 18px; background: var(--vv-claro, #f5f7f0); }
}

/* ===== Bloques de portada ===== */
.vvt-bloque { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: clamp(32px, 5vw, 64px) 0; }
.vvt-bloque__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.vvt-bloque__titulo { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; color: var(--vv-oscuro, #24361a); }
.vvt-bloque__texto { margin: .4em 0 0; max-width: 60ch; }
.vvt-bloque__mas { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--vv-acento, #4a7c2a); font-weight: 700; text-decoration: none; white-space: nowrap; }
.vvt-bloque__mas-ico { width: 18px; height: 18px; }
.vvt-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.vvt-cat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 12px 16px; border-radius: var(--vv-radio, 16px); background: #fff; color: var(--vv-texto, #222); text-align: center; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.vvt-cat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.vvt-cat__foto { display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff; }
.vvt-cat__foto img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.vvt-cat:hover .vvt-cat__foto img { transform: scale(1.05); }
.vvt-cat__nombre { font-weight: 700; line-height: 1.25; }
.vvt-cat__n { font-size: .82rem; opacity: .7; }
.vvt-mega__lista:has(> li:nth-child(7)) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; align-content: start; }
.vvt-mega__caja:has(.vvt-mega__lista > li:nth-child(7)) { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 600px) {
	.vvt-bloque__cab { align-items: flex-start; flex-direction: column; gap: 8px; }
	.vvt-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.vvt-ficha__arriba { grid-template-columns: 1fr; gap: 20px; }
	.vvt-galeria { position: static; }
	.vvt-cab--foto { grid-template-columns: 1fr 110px; }
	.vvt-carrusel__pista { grid-auto-columns: 46%; gap: 12px; }
	.vvt-carrusel__flecha { display: none; }
	.vvt-con-fija .vvt-aviso { bottom: calc(var(--vv-barra-alto, 0px) + 84px); }
}
@media (max-width: 600px) {
	.vvt-rejilla { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
	.vvt-tarjeta__cuerpo { padding: 10px 10px 12px; gap: 6px; }
	.vvt-tarjeta__nombre { font-size: .88rem; }
	.vvt-tarjeta__pie { flex-direction: column; align-items: stretch; }
	.vvt-tarjeta__pie .vvt-btn { width: 100%; }
	.vvt-precio { font-size: 1rem; }
	.vvt-etq { font-size: .68rem; padding: 3px 7px; }
	.vvt-barra-lista { flex-direction: column; align-items: flex-start; }
	.vvt-compra-pag .form-row-first, .vvt-compra-pag .form-row-last { width: 100%; float: none; margin-left: 0; }
	.vvt-mega { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.vvt *, .vvt-cajon *, .vvt-modal *, .vvt-mega * { transition: none !important; animation: none !important; }
}
html.vv-a11y-quieto .vvt *, html.vv-a11y-quieto .vvt-mega * { transition: none !important; animation: none !important; }

/* ===== Formatos (variaciones) ===== */
.vvt-comprar--var { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.vvt-vars { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.vvt-vars__t { margin: 0 0 4px; padding: 0; font-size: .9rem; font-weight: 700; color: var(--vv-texto, #333); }
.vvt-var { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 14px 10px 44px; border: 2px solid rgba(0,0,0,.12); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.vvt-var input { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; accent-color: var(--vv-acento, #4a7c2a); }
.vvt-var:hover { border-color: var(--vv-acento, #4a7c2a); }
.vvt-var:has(input:checked) { border-color: var(--vv-acento, #4a7c2a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vv-acento, #4a7c2a) 18%, transparent); }
.vvt-var:has(input:focus-visible) { outline: 3px solid var(--vv-foco, #1a73e8); outline-offset: 2px; }
.vvt-var.is-agotada { opacity: .55; cursor: not-allowed; }
.vvt-var__n { font-weight: 600; line-height: 1.25; }
.vvt-var__p { display: flex; flex-direction: column; align-items: flex-end; font-weight: 800; color: var(--vv-oscuro, #24361a); white-space: nowrap; }
.vvt-var__p del { font-weight: 400; opacity: .6; font-size: .85em; }
.vvt-var__p ins { text-decoration: none; }
.vvt-var__ahorro { font-weight: 600; font-size: .75rem; color: var(--vv-acento, #4a7c2a); }
.vvt-comprar__fila { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vvt-sugerencias__txt { margin: -4px 0 10px; font-size: .85rem; opacity: .85; }

/* ===== Carrusel automático ===== */
.vvt-carrusel.is-completo .vvt-carrusel__copia,
.vvt-carrusel.is-completo .vvt-carrusel__flecha { display: none; }

/* ===== Panel de categorías ===== */
.vvt-cajon--izq .vvt-cajon__panel { right: auto; left: 0; transform: translateX(-100%); }
.vvt-cajon--izq.is-abierto .vvt-cajon__panel { transform: none; }
.vvt-cats__intro { margin: 0 0 12px; font-size: .9rem; opacity: .7; }
.vvt-cats__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.vvt-cats__lista > li { opacity: 0; transform: translateY(10px); }
.vvt-cats.is-abierto .vvt-cats__lista > li { animation: vvt-cats-entra .4s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i, 0) * 50ms + 120ms); }
@keyframes vvt-cats-entra { to { opacity: 1; transform: none; } }
.vvt-cats__tarjeta { display: flex; flex-direction: column; height: 100%; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.vvt-cats__tarjeta:hover, .vvt-cats__tarjeta:focus-visible { transform: translateY(-3px); border-color: var(--vv-acento, #4a7c2a); box-shadow: 0 14px 28px -18px rgba(0,0,0,.45); }
.vvt-cats__foto { display: grid; place-items: center; aspect-ratio: 1; padding: 12px; background: linear-gradient(160deg, #fff, #f2f0ea); }
.vvt-cats__foto img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.vvt-cats__foto .vvt-ico { width: 40%; height: 40%; opacity: .35; }
.vvt-cats__tarjeta:hover .vvt-cats__foto img { transform: scale(1.06); }
.vvt-cats__txt { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.vvt-cats__txt strong { font-size: .95rem; line-height: 1.25; }
.vvt-cats__txt small { font-size: .78rem; opacity: .65; }
@media (prefers-reduced-motion: reduce) { .vvt-cats__lista > li { opacity: 1; transform: none; } .vvt-cats.is-abierto .vvt-cats__lista > li { animation: none; } }
