/* PDT - Opciones con foto: tarjetas encima de los campos de PPOM (codigo propio, no nativo). El campo original sigue en el DOM y manda el precio. */
.pdt-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;margin:8px 0 14px}
.pdt-card{appearance:none;background:#fff;border:1px solid #d3e3e8;border-radius:14px;padding:8px;cursor:pointer;display:flex;flex-direction:column;gap:8px;text-align:center;font:inherit;font-size:14px;line-height:1.25;color:#1f3a42;transition:border-color .15s,box-shadow .15s}
.pdt-card:hover{border-color:#0084AE}
.pdt-card:focus-visible{outline:2px solid #0084AE;outline-offset:2px}
.pdt-card.is-active{border-color:#005970;box-shadow:0 0 0 2px #005970 inset;background:#f1f8fa}
.pdt-card__img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:#eef4f6}
.pdt-card__txt{display:block;font-weight:500}
.pdt-card--solo{justify-content:center;min-height:56px}
.pdt-sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pdt-fieldimgs{display:flex;flex-wrap:wrap;gap:12px;margin:6px 0 10px}
.pdt-fieldimgs figure{margin:0;flex:0 0 auto;max-width:150px;text-align:center;font-size:13px}
.pdt-fieldimgs img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px}
.pdt-fieldimgs figcaption{margin-top:4px;color:#1f3a42}
/* Ajustes sobre los estilos de boton del tema (Woodmart) */
.pdt-cards .pdt-card{background:#fff!important;color:#1f3a42!important;border:1px solid #d3e3e8!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;font-weight:400!important;min-height:0!important;height:auto!important;border-radius:14px!important;padding:8px!important;width:auto!important}
.pdt-cards .pdt-card:hover{border-color:#0084AE!important}
.pdt-cards .pdt-card.is-active{background:#f1f8fa!important;border-color:#005970!important;box-shadow:0 0 0 2px #005970 inset!important}
.pdt-cards .pdt-card__txt{color:#1f3a42!important;font-weight:500}
.pdt-cards .pdt-card--solo{min-height:56px!important}
.pdt-cards{grid-column:1/-1}
.ppom-field-wrapper.pdt-has-cards{flex:0 0 100%!important;max-width:100%!important;width:100%!important}
.pdt-cards{grid-template-columns:repeat(auto-fill,minmax(120px,150px))!important}

/* Tarjetas mas grandes */
.pdt-cards{grid-template-columns:repeat(auto-fill,minmax(190px,240px))!important;gap:14px!important}
.pdt-cards .pdt-card{padding:10px!important}
.pdt-cards .pdt-card__txt{font-size:15px}
.pdt-fieldimgs figure{max-width:240px!important}

/* Movil: 2 columnas que ocupan todo el ancho */
@media (max-width:600px){.pdt-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.pdt-cards .pdt-card{padding:8px!important}.pdt-cards .pdt-card__txt{font-size:14px}.pdt-fieldimgs figure{max-width:none!important;flex:1 1 calc(50% - 6px)}}

/* Campos con fotos de referencia (modo field): a todo el ancho y fotos en fila */
.ppom-field-wrapper.pdt-has-strip{flex:0 0 100%!important;max-width:100%!important;width:100%!important}
.pdt-fieldimgs{flex-wrap:nowrap;gap:14px}
.pdt-fieldimgs figure{flex:0 1 200px!important;max-width:200px!important}
.ppom-field-wrapper.pdt-has-strip select{max-width:420px}
@media (max-width:600px){.pdt-fieldimgs figure{flex:1 1 0!important;max-width:none!important}.ppom-field-wrapper.pdt-has-strip select{max-width:none}}

/* Cierre: 4 tarjetas por fila en escritorio */
@media (min-width:601px){.ppom-wrapper_outer-cierre .pdt-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
