/* Persianas venecianas: complementa a persianas-ceilan.css y ficha-ceilan.css (mismo aspecto que Ceilán) */

/* Tres tipos */
.ven-tipos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ven-tipo { background: #fff; border: 1px solid #e7e1d8; border-radius: 14px; padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; }
.ven-tipo h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.ven-tipo p { margin: 0 0 .8rem; color: #5c554d; line-height: 1.55; }
.ven-tipo .ven-desde { font-weight: 700; color: #2d2a26; margin-top: auto; }
.ven-tipo .ven-desde span { font-weight: 400; color: #5c554d; font-size: .9rem; }
.ven-tipo ul { margin: 0 0 1rem; padding-left: 1.1rem; color: #5c554d; }

/* Cuadrícula de colores */
.ven-colores-grupo { margin-top: 2rem; }
.ven-colores-grupo h3 { font-size: 1.15rem; margin: 0 0 .9rem; }
.ven-colores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.ven-color a { display: block; background: #fff; border: 1px solid #e7e1d8; border-radius: 10px; padding: .55rem .55rem .6rem; text-decoration: none; color: #2d2a26; height: 100%; }
.ven-color a:hover, .ven-color a:focus-visible { border-color: #704b35; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.ven-color img { display: block; width: 100%; height: auto; aspect-ratio: 338 / 183; object-fit: cover; border-radius: 6px; }
.ven-color .ven-color-nombre { display: block; font-weight: 700; margin-top: .45rem; }
.ven-color .ven-color-lamas { display: block; font-size: .85rem; color: #5c554d; }

/* Tabla de lamas y precios */
.ven-precios { width: 100%; border-collapse: collapse; background: #fff; }
.ven-precios th, .ven-precios td { padding: .65rem .8rem; border-bottom: 1px solid #e7e1d8; text-align: left; }
.ven-precios thead th { background: #f5f1ea; font-weight: 700; }
.ven-precios td.num, .ven-precios th.num { text-align: right; white-space: nowrap; }
.ven-precios .ven-no { color: #9a928a; }

/* Qué incluye */
.ven-incluye { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; background: #fff; border: 1px solid #e7e1d8; border-radius: 14px; padding: 1.4rem; }
.ven-incluye img { width: 100%; height: auto; border-radius: 8px; }
.ven-incluye ul { margin: 0; padding-left: 1.1rem; line-height: 1.8; }

/* Ficha: lamas disponibles */
.ven-lamas-ficha { list-style: none; margin: .4rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ven-lamas-ficha li { border: 1px solid #d8cfc3; border-radius: 999px; padding: .3rem .8rem; background: #fff; font-size: .95rem; }
.ven-lamas-ficha li strong { margin-left: .25rem; }
.ven-muestra-color { display: block; width: 100%; max-width: 336px; height: 26px; border-radius: 4px; object-fit: cover; margin-top: .6rem; }
.ven-proximamente { font-size: .9rem; color: #5c554d; margin-top: .5rem; }

@media (max-width: 900px) {
  .ven-tipos { grid-template-columns: 1fr; }
  .ven-incluye { grid-template-columns: 1fr; }
}

/* Ficha: la foto de la veneciana es apaisada y pequeña (338×183): sin la altura fija de las fotos de Ceilán */
.ceilan-shop-main img.ven-foto { height: auto; max-height: 360px; object-fit: contain; }
.ceilan-shop-main img.ven-muestra-color { height: 26px; width: 100%; max-width: 336px; margin: .8rem auto 0; object-fit: cover; }

/* Imagen de cada tipo (las de la web publicada: 250×55) */
.ven-tipo-img { display: block; width: 100%; height: auto; margin: .2rem 0 1.1rem; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* Páginas de tipo: «otros tipos» en dos columnas; título dentro de «qué incluye»; título solo para lectores de pantalla */
.ven-tipos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ven-incluye h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .ven-tipos-2 { grid-template-columns: 1fr; } }

/* Guías (medir, instalar): dibujo + texto */
.ven-guia { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.4rem; align-items: center; margin: 1rem 0 1.6rem; }
.ven-guia img { max-width: 100%; height: auto; border-radius: 8px; background: #fff; }
.ven-guia-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.ven-guia figure { margin: 0; }
.ven-guia figcaption { font-size: .92rem; color: #5c554d; margin-top: .4rem; }
@media (max-width: 700px) { .ven-guia, .ven-guia-2 { grid-template-columns: 1fr; } }
.ven-no-incluye { margin: .7rem 0 0; font-size: .92rem; color: #5c554d; }

/* Formulario de pedido (hacer-pedido.htm?tipo=veneciana) */
.ven-pedido { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; margin-top: 1.2rem; }
.ven-pedido-foto { background: #fbf8f4; border: 1px solid #e7e1d8; border-radius: 18px; padding: 1rem; text-align: center; }
.ven-pedido-foto img { width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.ven-pedido-foto p { margin: .5rem 0 0; color: #5c554d; font-size: .95rem; }
.ven-pedido-campos { display: grid; gap: 1rem; }
.ven-campo { display: grid; gap: .35rem; font-weight: 700; border: 0; margin: 0; padding: 0; }
.ven-campo legend { font-weight: 700; margin-bottom: .35rem; padding: 0; }
.ven-campo select, .ven-campo input[type=text], .ven-campo input[type=number] { font: inherit; font-weight: 400; padding: .65rem .75rem; border: 1px solid #d8cfc3; border-radius: 10px; background: #fff; width: 100%; }
.ven-opciones { display: flex; flex-wrap: wrap; gap: .5rem; }
.ven-opcion { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #d8cfc3; border-radius: 999px; padding: .45rem .9rem; background: #fff; font-weight: 400; cursor: pointer; }
.ven-opcion:has(input:checked) { border-color: #704b35; background: #f6efe7; font-weight: 700; }
.ven-opcion small { color: #5c554d; font-weight: 400; }
.ven-medidas { display: grid; grid-template-columns: 1fr 1fr 110px; gap: .8rem; }
.ven-ayuda { margin: 0; font-size: .9rem; color: #5c554d; font-weight: 400; }
.ven-resultado { background: #fff; border: 1px solid #e7e1d8; border-radius: 12px; padding: 1rem 1.1rem; }
.ven-desglose { margin: 0; display: grid; gap: .35rem; }
.ven-desglose div { display: flex; justify-content: space-between; gap: 1rem; }
.ven-desglose dt { font-weight: 400; color: #5c554d; }
.ven-desglose dd { margin: 0; white-space: nowrap; }
.ven-total { margin: .7rem 0 0; padding-top: .6rem; border-top: 1px solid #e7e1d8; font-size: 1.15rem; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.ven-error { margin: 0; color: #9b1c1c; background: #fdecec; border-radius: 8px; padding: .6rem .8rem; }
#ven-anadir:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 800px) { .ven-pedido { grid-template-columns: 1fr; } .ven-medidas { grid-template-columns: 1fr 1fr; } }
.ven-desglose dt small { color: #8a8178; font-size: .85em; }
.ven-desglose .ven-base { border-top: 1px solid #e7e1d8; padding-top: .35rem; margin-top: .2rem; font-weight: 700; }
.ven-desglose .ven-base dt { color: #2d2a26; font-weight: 700; }
.ven-lamas-ficha small { color: #5c554d; }
.ven-precios caption { caption-side: top; text-align: left; font-size: .9rem; color: #5c554d; padding: 0 0 .5rem; }
