/* BAQUE MOBILIARIO 2.7 · editorial layouts and interactive product catalogue */
.bq27{--bq27-ink:#1d1d1b;--bq27-taupe:#666057;--bq27-gold:#b79364;--bq27-paper:#f4f0e9;--bq27-cream:#fbfaf8;color:var(--bq27-ink);font-family:Optima,'Palatino Linotype',Georgia,serif;font-weight:400;box-sizing:border-box}
.bq27 *, .bq27 *::before, .bq27 *::after{box-sizing:border-box}
.bq27 img{display:block;width:100%;height:100%;max-width:100%}
.bq27 .bq27-wide{width:min(1320px,calc(100% - 56px));margin-inline:auto}
.bq27 .bq27-eyebrow{font:600 11px/1.5 system-ui,-apple-system,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:#80694c;margin:0 0 23px}
.bq27 h1,.bq27 h2,.bq27 h3{font-family:Optima,'Palatino Linotype',Georgia,serif;font-weight:400;letter-spacing:-.027em;color:#1d1d1b}
.bq27 h1{font-size:clamp(43px,5.6vw,88px);line-height:1.07;margin:0 0 24px}
.bq27 h2{font-size:clamp(34px,3.5vw,58px);line-height:1.12;margin:0 0 24px}
.bq27 h3{font-size:clamp(22px,2.2vw,30px);line-height:1.22;margin:0 0 16px}
.bq27 p{margin:0 0 17px;font-size:clamp(16px,1.35vw,19px);line-height:1.65}
.bq27 a{text-decoration:none}
.bq27 .bq27-dark,.bq27 .bq27-cream{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:13px 21px;background:#1d1d1b;color:#fff;border:1px solid #1d1d1b;font:500 14px/1.25 system-ui,-apple-system,sans-serif;letter-spacing:.005em;text-align:center;transition:background .2s,color .2s;white-space:normal}
.bq27 .bq27-dark:hover{background:#514433;color:white}
.bq27 .bq27-cream{background:#eee8df;border-color:#eee8df;color:#1d1d1b}
.bq27 .bq27-cream:hover{background:#fff}
.bq27 .bq27-textlink{color:#1d1d1b;border-bottom:1px solid #b79364;padding:9px 0;font:500 14px system-ui,-apple-system,sans-serif}
.bq27-hero{display:grid;grid-template-columns:44% 56%;min-height:590px;background:var(--bq27-paper)}
.bq27-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(35px,5.5vw,105px);max-width:720px}
.bq27-hero-copy>p:not(.bq27-eyebrow){font-size:clamp(17px,1.7vw,22px);color:#4d4942;line-height:1.55}
.bq27-hero-media{min-width:0;overflow:hidden;min-height:490px}
.bq27 .bq27-hero-media>img{width:100%;height:100%;min-height:490px;object-fit:cover;object-position:center center}
.bq27-hero-actions{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin-top:26px}
.bq27-section{padding:clamp(62px,7.3vw,116px) 0;background:#fff}
.bq27-muted{background:var(--bq27-paper)}
.bq27-split{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:clamp(30px,7vw,120px)}
.bq27-prose p{color:#504a42;font-size:clamp(17px,1.5vw,21px);line-height:1.72}
.bq27-story{display:grid;grid-template-columns:1fr .84fr;gap:clamp(35px,7vw,108px);align-items:center}
.bq27-story.is-reverse{grid-template-columns:.84fr 1fr}
.bq27-story.is-reverse .bq27-story-photo{order:2}.bq27-story.is-reverse .bq27-story-copy{order:1}
.bq27-story-photo{height:clamp(360px,43vw,640px);overflow:hidden;background:#e8e1d7}
.bq27 .bq27-story-photo>img{width:100%;height:100%;object-fit:cover;object-position:center}
.bq27-story-copy p:not(.bq27-eyebrow){color:#514d46;line-height:1.75;font-size:clamp(17px,1.4vw,19px)}
.bq27-catalog{padding:clamp(62px,7vw,100px) 0;background:#fff}
.bq27-heading{max-width:700px;margin:0 auto 45px;text-align:center}.bq27-heading>p:not(.bq27-eyebrow){color:#655d53}
.bq27-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2.5vw,30px)}
.bq27-product{width:100%;min-width:0;border:0;padding:0 0 19px;background:#fff;cursor:pointer;text-align:left;color:#1d1d1b;display:flex;flex-direction:column;box-shadow:0 0 0 1px #e8e2d9}
.bq27-product:hover,.bq27-product:focus-visible{box-shadow:0 0 0 2px #b79364;outline:none}
.bq27-product-photo{width:100%;aspect-ratio:1/1;background:#f4f1eb;display:grid;place-items:center;overflow:hidden;padding:clamp(14px,2vw,28px)}
.bq27 .bq27-product-photo>img{width:100%;height:100%;object-fit:contain;object-position:center center;transition:transform .35s ease}
.bq27-product:hover .bq27-product-photo>img{transform:scale(1.035)}
.bq27-product-name{display:block;font:400 clamp(22px,2vw,29px)/1.25 Optima,'Palatino Linotype',Georgia,serif;padding:20px 20px 9px}
.bq27-product-more{display:block;font:500 12px/1.5 system-ui,-apple-system,sans-serif;padding:0 20px;color:#77654e}
.bq27-disclaimer{color:#777067;font:400 12px/1.55 system-ui,-apple-system,sans-serif!important;text-align:center;margin:26px 0 0!important}
.bq27-tips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:35px}.bq27-tips article{padding:clamp(25px,3vw,40px);background:var(--bq27-paper)}
.bq27-tips span{display:block;font:500 13px system-ui,sans-serif;color:#9a7d5b;margin-bottom:26px}
.bq27-tips h3{margin-bottom:13px}.bq27-tips p{font-size:16px;line-height:1.68;color:#56514b}
.bq27-faq{border-top:1px solid #cdc6ba}.bq27-faq details{border-bottom:1px solid #cdc6ba;padding:21px 4px}.bq27-faq summary{font-size:clamp(19px,1.9vw,25px);cursor:pointer;list-style:none;position:relative;padding-right:34px}.bq27-faq summary:after{content:'+';position:absolute;right:5px;font-size:25px}.bq27-faq details[open] summary:after{content:'−'}.bq27-faq details p{max-width:800px;font-size:16px;color:#5a554c;margin:17px 0 0}
.bq27-end{background:#30271f;color:#fff;padding:clamp(67px,8vw,130px) 0;text-align:center}.bq27-end h2{color:#fff}.bq27-end .bq27-eyebrow{color:#ceb08a}.bq27-end p:not(.bq27-eyebrow){color:#ebe0d2;max-width:720px;margin:0 auto 32px}
.bq27-center{text-align:center;max-width:760px!important}.bq27-center p{color:#555047}.bq27-shipping{background:#ede7dc;padding:64px 0}.bq27-shipping .bq27-dark{margin-top:18px}
.bq27-dialog{position:fixed;inset:0;margin:auto;width:min(1100px,calc(100vw - 32px));max-width:1100px;max-height:calc(100vh - 36px);padding:0;border:0;color:#1d1d1b;background:#fff;box-shadow:0 20px 80px #0005;overflow:auto}
.bq27-dialog::backdrop{background:rgba(23,22,20,.72)}
.bq27-dialog-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);min-height:490px}
.bq27-dialog-media{padding:clamp(22px,3vw,42px);background:#f4f0e9;min-width:0;position:relative;display:flex;flex-direction:column;justify-content:center}
.bq27-dialog-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #d5cbc0;background:#fff;font:400 30px/1 system-ui,sans-serif;cursor:pointer;z-index:2}
.bq27-dialog-zoom{width:100%;height:clamp(280px,48vh,530px);border:0;padding:12px;background:transparent;cursor:zoom-in;display:grid;place-items:center;overflow:hidden}
.bq27-dialog-zoom img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;object-position:center center}
.bq27-dialog-zoom.is-zoomed{cursor:zoom-out;overflow:auto}.bq27-dialog-zoom.is-zoomed img{width:155%;max-width:none;height:auto;max-height:none}
.bq27-dialog-thumbs{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:15px auto 0}.bq27-dialog-thumbs button{width:65px;height:65px;border:1px solid #d1cabe;background:#fff;padding:5px;cursor:pointer}.bq27-dialog-thumbs button[aria-pressed=true]{border:2px solid #b79364}
.bq27-dialog-thumbs img{width:100%;height:100%;object-fit:contain}
.bq27-dialog-copy{padding:clamp(30px,4vw,58px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;font-family:Optima,'Palatino Linotype',Georgia,serif}
.bq27-dialog-copy h2{font:400 clamp(30px,3.3vw,48px)/1.14 Optima,'Palatino Linotype',Georgia,serif;margin:0 0 20px}
.bq27-dialog-copy h3{font-size:24px;margin:22px 0 10px}.bq27-dialog-copy p{font-size:17px;line-height:1.7;color:#554d45}.bq27-dialog-copy .bq27-small{font:400 13px/1.55 system-ui,sans-serif;color:#766f66}
.bq27-dialog-copy .bq27-dark{margin:15px 0}.bq27-dialog-copy .bq27-textlink{margin-top:8px}
/* Existing legacy galleries: product photos should not be stretched or clipped. */
.bq27-page .baque-sp-canapes .baque-fs-type img,.bq27-page .baque-sp-colchones .baque-fs-type img{height:auto!important;max-height:380px!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;background:#f4f0e9}
.bq27-page .baque-sp-canapes .baque-sp-models img,.bq27-page .baque-sp-colchones .baque-sp-models img{height:320px!important;object-fit:contain!important;object-position:center!important;background:#f4f0e9}
@media(max-width:900px){.bq27-hero{grid-template-columns:1fr}.bq27-hero-media{order:-1;min-height:330px}.bq27 .bq27-hero-media>img{min-height:330px;max-height:450px}.bq27-hero-copy{padding:35px 24px 45px}.bq27-split,.bq27-story,.bq27-story.is-reverse{grid-template-columns:1fr;gap:27px}.bq27-story.is-reverse .bq27-story-photo{order:0}.bq27-story.is-reverse .bq27-story-copy{order:1}.bq27-story-photo{height:clamp(300px,59vw,480px)}.bq27-products{grid-template-columns:repeat(2,minmax(0,1fr))}.bq27-dialog-layout{grid-template-columns:1fr}.bq27-dialog-copy{padding:26px}.bq27-dialog-zoom{height:40vh}}
@media(max-width:540px){.bq27 .bq27-wide{width:calc(100% - 36px)}.bq27-hero-media,.bq27 .bq27-hero-media>img{min-height:270px;max-height:360px}.bq27-hero-copy{padding:32px 18px}.bq27 h1{font-size:clamp(40px,10vw,58px)}.bq27-products{gap:12px}.bq27-product-photo{padding:10px}.bq27-product-name{font-size:20px;padding:12px 12px 8px}.bq27-product-more{font-size:11px;padding:0 12px}.bq27-tips{grid-template-columns:1fr}.bq27-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.bq27-dialog-zoom{height:36vh}.bq27-dialog-thumbs button{width:55px;height:55px}.bq27-dialog-copy{padding:22px}.bq27 .bq27-dark{width:auto;max-width:100%}}
@media(prefers-reduced-motion:reduce){.bq27 *{transition:none!important;scroll-behavior:auto!important}}

/* BAQUE 2.8: video links and controlled model presentation */
.bq28-product-videos{display:grid;gap:9px;margin-top:18px}.bq28-play-video{background:#f1ede6;border:1px solid #bcaa92;padding:12px 14px;color:#1d1d1b;cursor:pointer;font:inherit;text-align:left}.bq28-video-frame{aspect-ratio:16/9;width:100%;background:#161616}.bq28-video-frame iframe,.bq28-video-frame video{width:100%;height:100%;border:0}

/* BAQUE 2.8.2: new products follow the existing editorial card system. */
.bq27-product-status{display:block;margin:0 20px 8px;color:#7b6952;font:500 11px/1.4 system-ui,-apple-system,sans-serif;letter-spacing:.04em;text-transform:uppercase}
@media(max-width:540px){.bq27-product-status{margin:0 12px 8px;font-size:10px}}
