.cannon-catalog .intro{padding-block:clamp(22px,4vw,48px);background:#f7f3ed}
.cannon-catalog .mattress-catalog{max-width:1300px}
.cannon-catalog .mattress-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,30px)}
.cannon-catalog .mattress-card{border-radius:16px;box-shadow:none;border-color:#e6ded4}
.cannon-image{width:100%;position:relative;display:block;border:0;padding:12px 12px 10px;background:#f4f1ed;cursor:zoom-in;color:#132033}
.cannon-image img{display:block;width:100%;height:clamp(280px,31vw,425px)!important;object-fit:contain}
.cannon-image span{position:absolute;bottom:12px;right:12px;padding:6px 10px;border-radius:100px;background:#fff;color:#132033;font-size:.78rem;font-weight:650}
.cannon-catalog .card-content details{background:none;border-bottom:1px solid #e8e0d6;border-radius:0;padding:9px 0;margin:0 0 13px}
.cannon-catalog .price-summary{padding:0;background:none;border-radius:0;margin:8px 0 0}
.cannon-catalog .mattress-price-label{margin:0 0 2px;font-size:.82rem;color:#62574c}
.cannon-catalog .mattress-price{font-size:clamp(1.55rem,2.7vw,2.1rem)}
.cannon-catalog .installment-preview{color:#443a30;font-size:.86rem}
.cannon-catalog .card-content .cta{order:10;background:#efd1a5;color:#171410}
.cannon-catalog .card-content>button{order:11}
#cannon-gallery{width:min(880px,calc(100% - 24px));max-height:calc(100% - 24px);max-height:calc(100dvh - 24px);border:1px solid #dfd7cd;padding:clamp(10px,2vw,18px);border-radius:16px;background:#fff;color:#132033;overflow:auto}
#cannon-gallery::backdrop{background:#132033b8}
.gallery-head,.gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:8px}.gallery-head h2{font:700 clamp(1.1rem,3vw,1.5rem)/1.15 system-ui;margin:0}
#cannon-gallery button{min-height:44px;font:inherit;color:inherit;background:#f4f1ed;border:1px solid #dfd7cd;border-radius:10px;padding:6px 11px;cursor:pointer}
.gallery-stage{margin:9px 0;background:#f4f1ed;border-radius:9px;height:min(62vh,630px);height:min(62dvh,630px);overflow:auto;overscroll-behavior:contain}
.gallery-stage img{display:block;height:100%;width:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.gallery-stage.zoomed img{width:200%;height:200%;max-width:none}
#gallery-thumbs{display:flex;flex-wrap:wrap;gap:6px}#gallery-thumbs button{padding:3px}#gallery-thumbs button[aria-pressed=true]{outline:2px solid #a98254;outline-offset:-2px}
#gallery-thumbs img{display:block;width:46px;height:42px;object-fit:contain}
#gallery-note{font-size:.8rem;margin:6px 0 0;color:#62574c}
@media(max-width:640px){.cannon-catalog .mattress-grid{grid-template-columns:1fr}.cannon-image img{height:clamp(260px,82vw,390px)!important}}

/* Show the existing lifestyle photograph inside each original creative, not its flyer text. */
.cannon-catalog .intro{background:linear-gradient(105deg,#e9ded1,#f7f3ed 68%,#e5e9e4)}
.cannon-catalog .mattress-card{border-color:#e6dfd5}
.cannon-catalog .line-nav a[href="#resortes"]{background:#e7ebe6}
.cannon-catalog .line-nav a[href="#espuma"]{background:#f3e7d9}
.cannon-catalog .cannon-image{padding:0;overflow:hidden;border-radius:0;aspect-ratio:2.65}
.cannon-catalog .cannon-image img{height:100%!important;width:100%;object-fit:cover;object-position:50% 70%}
.cannon-catalog .cannon-image:is([data-cannon-photo$="/exclusive.jpeg"],[data-cannon-photo$="/exclusive-pillow-top.jpeg"],[data-cannon-photo$="/princess-23.jpeg"],[data-cannon-photo$="/tropical-matelaseado.jpeg"]) img{object-position:50% 68%}
.cannon-catalog .cannon-image[data-cannon-photo$="/sublime-euro-pillow.jpeg"] img{object-position:50% 73%}
.cannon-catalog .cannon-no-photo{display:flex;min-height:120px;align-items:center;justify-content:center;margin:0;background:#f4f1ed;color:#62574c;font-size:.84rem;padding:1rem}
.gallery-stage{height:auto;max-height:62vh;max-height:62dvh}
.gallery-crop{aspect-ratio:2.65;width:100%}
.gallery-stage .gallery-crop img{width:100%;height:100%;object-fit:cover}
.gallery-stage.zoomed .gallery-crop{width:200%}
#gallery-thumbs[hidden]{display:none}
#gallery-thumbs img{object-fit:cover}
