/* Koeju v1.5: detalles de producto. Aislado: no afecta la web central ni Informática. */
.koeju-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:15px}
.koeju-gallery-tile{margin:0;background:#fff;border:1px solid #d5e4d8;border-radius:15px;overflow:hidden;box-shadow:0 5px 17px #12452713;transition:transform .2s,box-shadow .2s}
.koeju-gallery-tile:hover{transform:translateY(-3px);box-shadow:0 10px 25px #12452722}
.koeju-gallery-photo,.koeju-product-photo-button{display:block;width:100%;padding:0;margin:0;border:0;background:transparent;text-align:left;cursor:zoom-in;position:relative;overflow:hidden}
.koeju-gallery-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .25s}
.koeju-gallery-photo:hover img,.koeju-product-photo-button:hover img{transform:scale(1.045)}
.koeju-gallery-tile figcaption{padding:11px 13px;color:#245039;font-weight:800}
.koeju-zoom-tag,.koeju-photo-action{position:absolute;bottom:10px;right:10px;background:#0c6143;color:white;padding:7px 10px;border-radius:7px;font-size:12px;font-weight:850;box-shadow:0 3px 13px #0004}
.koeju-product-photo-button{height:100%}.koeju-product-photo-button .product-image{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.koeju-product-title-button{border:0;background:transparent;padding:0;font:inherit;font-weight:inherit;color:inherit;cursor:pointer;text-align:left}.koeju-product-title-button:hover{text-decoration:underline;color:#126949}
.koeju-detail-open{overflow:hidden}
.koeju-detail-overlay[hidden]{display:none!important}
.koeju-detail-overlay{position:fixed;inset:0;z-index:15000;display:flex;align-items:center;justify-content:center;padding:22px}
.koeju-detail-scrim{position:absolute;inset:0;background:rgba(6,24,17,.78);backdrop-filter:blur(7px)}
.koeju-detail-panel{position:relative;width:min(1080px,96vw);height:min(710px,87vh);min-height:420px;background:#fff;border:3px solid #158154;border-radius:23px;box-shadow:0 35px 100px #0008;display:grid;grid-template-columns:minmax(0,50%) minmax(0,50%);overflow:hidden;outline:none}
.koeju-detail-photo-col{min-width:0;background:#e7f3ec;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.koeju-detail-photo-col img{width:100%;height:100%;object-fit:contain}
.koeju-detail-photo-hint{position:absolute;bottom:17px;left:16px;padding:8px 12px;border-radius:11px;background:#17553fe6;color:#fff;font-weight:800;font-size:12px}
.koeju-detail-close{position:absolute;top:14px;right:17px;z-index:4;width:46px;height:46px;border-radius:50%;border:2px solid #c6dccc;background:#fff;color:#16462f;box-shadow:0 4px 11px #0002;cursor:pointer;font-size:19px;font-weight:900}
.koeju-detail-copy{min-width:0;overflow-y:auto;padding:55px 32px 28px;color:#213429;display:flex;flex-direction:column;gap:15px}
.koeju-detail-eyebrow{color:#16824e;font-weight:900;letter-spacing:1.2px;font-size:12px;text-transform:uppercase}
.koeju-detail-copy h2{margin:0;line-height:1.12;font-size:clamp(23px,2.3vw,34px);font-weight:950;color:#17452d}
.koeju-detail-copy p{margin:0;line-height:1.65;font-size:15px}
.koeju-detail-price-block{padding:16px 0;border-top:1px solid #c9dfd1;border-bottom:1px solid #c9dfd1;display:flex;flex-direction:column;gap:5px}
.koeju-detail-price-block span{color:#53745f;font-size:11px;font-weight:900;letter-spacing:1px}
.koeju-detail-price-block strong{font-size:clamp(22px,2vw,30px);color:#176a42}
.koeju-detail-price-block small{color:#4d6b58;font-size:12px;font-weight:700}
.koeju-detail-copy .koeju-detail-notice{font-size:12px;color:#626f62}
.koeju-detail-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.koeju-detail-buttons button,.koeju-detail-buttons a{padding:14px 12px;min-height:51px;border-radius:12px;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;font-size:13px;font-weight:950;cursor:pointer;line-height:1.3}
.koeju-detail-buy{border:2px solid #e9a71b;background:#ffc73e;color:#292013}
.koeju-detail-order{border:2px solid #1969b7;background:#2478cd;color:#fff}
.koeju-detail-bottom{display:flex;flex-wrap:wrap;gap:15px;color:#486652;font-size:12px;font-weight:750}
@media(max-width:760px){.koeju-detail-overlay{padding:8px}.koeju-detail-panel{width:100%;height:96vh;min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(190px,40%) 1fr;border-radius:16px}.koeju-detail-copy{padding:20px 18px;gap:12px}.koeju-detail-photo-hint{bottom:8px;font-size:10px}.koeju-detail-close{top:9px;right:9px}.koeju-detail-buttons{grid-template-columns:1fr 1fr}}
@media(max-width:400px){.koeju-detail-buttons{grid-template-columns:1fr}.koeju-detail-panel{grid-template-rows:32% 1fr}}
@media(prefers-reduced-motion:reduce){.koeju-gallery-tile,.koeju-gallery-photo img{transition:none}}

.koeju-marquee-photo{border:0;background:transparent;cursor:zoom-in;padding:0;margin:0;display:block;width:100%;height:100%}.koeju-marquee-photo img{width:100%;height:100%;display:block;object-fit:cover}
#heroImage[data-detail-marquee]{cursor:zoom-in}
