/* Keep the shell, typography and controls already loaded by the original templates. */
[data-hm-interior] { --ref-gutter:clamp(.85rem,1.5vw,1.9rem); --ref-gap:clamp(1rem,2vw,2.3rem); --ref-stroke:#dedbd4; }
[data-hm-interior] .hm-ref-cover { position:relative; isolation:isolate; overflow:hidden; margin:0; padding:0; min-height:0; background:#484744; }
[data-hm-interior] .hm-ref-cover-photo { width:100%; height:clamp(20rem,55vh,41rem); }
[data-hm-interior] .hm-ref-cover-photo img { display:block; width:100%; height:100%; object-fit:cover; }
[data-hm-interior] .hm-ref-cover-type { position:absolute; z-index:1; inset:auto var(--ref-gutter) 7%; color:white; }
[data-hm-interior] .hm-ref-cover-type h1 { margin:0; font-size:clamp(2.6rem,5.3vw,6.6rem); line-height:1.04; letter-spacing:-.035em; font-weight:500; text-wrap:balance; text-shadow:0 1px 4px rgb(0 0 0 / 35%); }
[data-hm-interior] .hm-ref-cover:has(.hm-ref-cover-type)::after { content:""; position:absolute; inset:20% 0 0; background:linear-gradient(transparent,#0006); pointer-events:none; }
.hm-ref-image-note { position:absolute; z-index:1; inset:auto var(--ref-gutter) .5rem auto; font-size:.74rem; line-height:1.3; padding:.18rem .45rem; border-radius:.24rem; color:#fff; background:rgb(24 24 21 / 75%); }
.hm-ref-crumb { width:100%; padding:1.2rem var(--ref-gutter); margin:0; font-size:.8rem; line-height:1.6; }
.hm-ref-crumb a { color:inherit; }.hm-ref-crumb i { font-style:normal;color:#79811b;padding:0 .25rem; }
[data-hm-interior] .hm-ref-intro { width:min(90%,66ch); margin:clamp(1.8rem,4vw,4.5rem) auto; font-size:clamp(1.05rem,1.45vw,1.55rem); line-height:1.6; text-wrap:pretty; }
[data-hm-interior="product"] .hm-ref-cover-photo { height:clamp(17rem,50vh,35rem); }
[data-hm-interior="product"] .hm-ref-single { margin:0; padding:0 0 clamp(1.6rem,3.4vw,4.25rem); }
.hm-ref-single .section-single-product-content { display:flex; flex-flow:row nowrap; gap:var(--ref-gap); align-items:start; }
.hm-ref-single .section-single-product-left,.hm-ref-single .section-single-product-right { width:calc(50% - var(--ref-gap)/2); min-width:0; padding:0; display:block; }
.hm-ref-single .section-single-product-box-title { display:block; margin:0 0 1.5rem; }
.hm-ref-single .section-single-product-title { font-size:clamp(1.8rem,2.4vw,3rem); font-weight:500; line-height:1.15; text-wrap:pretty; }
.hm-ref-single .section-single-product-left figure,.hm-ref-single .section-single-product-left>a { display:block; width:100%; max-width:none; margin:0; }
.hm-ref-single .section-single-product-left a:not(.hm-bp-link) { display:block; background:#fafaf8; }
.hm-ref-single .section-single-product-left img { display:block; width:100%; height:clamp(15rem,36vw,35rem); max-height:none; object-fit:contain; margin:0; padding:0; }
.hm-ref-single .section-single-product-left figcaption,.hm-ref-single .white-pattern-note { position:static; display:block; color:#55554e; background:none; text-shadow:none; font-size:.8rem; line-height:1.45; text-align:start; margin:.5rem 0 0; }
.hm-ref-single .product-detail-specs { width:100%; }.hm-ref-single .product-detail-specs h3 { font-size:1rem; }
.hm-ref-single .product-detail-specs dl { margin:0; }.hm-ref-single .product-detail-specs dl>div { display:grid; grid-template-columns:minmax(6rem,1fr) minmax(0,2fr); gap:1rem; padding:.65rem 0; border-bottom:1px solid var(--ref-stroke); }
.hm-ref-single .product-detail-specs dt,.hm-ref-single .product-detail-specs dd { margin:0; overflow-wrap:anywhere; }
.hm-ref-single .hm-p-actions { margin-block:1.2rem; }.hm-ref-single.hm-ref-unpictured .section-single-product-right { width:min(100%,55rem); }
[data-hm-interior="product"] .product-detail-layout { display:block; }
[data-hm-interior="product"] .product-detail-description { max-width:72ch; }
[data-hm-interior="product"] .hm-p-related:empty { display:none; }
[data-hm-interior="product"] .hm-p-scene { margin:0 auto; width:min(100%,78rem); }
[data-hm-interior="product"] .hm-p-scene img { display:block; width:100%; height:clamp(14rem,40vw,38rem); object-fit:cover; }
[data-hm-interior="category"].hm-p-main { padding:0; }.hm-p-main .hm-ref-crumb { width:min(100%,100rem); margin:auto; }
[data-hm-interior="category"] .hm-p-lead { width:min(96%,92rem); }.hm-p-main .hm-p-grid { align-items:start; }
[data-hm-interior="category"] .hm-p-examples { width:min(96%,100rem); }
.hm-ref-index ol { padding:0; margin:0; list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.4rem 1.3rem; scroll-margin-top:6rem; }
.hm-ref-index li { min-width:0; display:flex; flex-flow:column; gap:.18rem; padding:.6rem .2rem; border-bottom:1px solid var(--ref-stroke); }
.hm-ref-index li[hidden],.hm-ref-index nav[hidden] { display:none; }
.hm-ref-index li a { line-height:1.35; color:inherit; text-decoration:underline; text-underline-offset:.18em; }
.hm-ref-index li span { color:#57574f; font-size:.82rem; }.hm-ref-index nav { display:flex; justify-content:center; align-items:center; gap:.9rem; padding:1.3rem 0; }
.hm-ref-index nav button { min-width:2.6rem; min-height:2.6rem; border:0; border-radius:.5rem; background:#efede7; font-size:1.4rem; cursor:pointer; }
.hm-ref-index nav button:disabled { opacity:.45; cursor:default; }
.hm-ref-library-title { margin:1.5rem 0; font-size:clamp(1.9rem,3.4vw,4rem); font-weight:500; }
.hm-ref-guides { padding-bottom:clamp(2rem,5vw,5rem); }.hm-ref-guide .section-c14-element-box-img { background:#f5f3ee; display:flex; justify-content:center; align-items:center; overflow:hidden; }
.hm-ref-guide .section-c14-element-box-img img { display:block; width:100%; height:100%; max-height:30rem; object-fit:contain; }
.hm-ref-guide .section-c14-element-content small { color:#55554c; font-size:.8rem; }
[data-hm-interior].hm-bp .hm-bp-body { width:min(100%,100rem); max-width:none; padding-inline:var(--ref-gutter); }
.hm-ref-story .section-c02-box-title h2,[data-hm-interior="nosotros"] .hm-bp-row h2,.hm-ref-tech-split h2 { font-size:clamp(1.7rem,3.25vw,4rem); line-height:1.13; }
.hm-ref-story .container { width:100%; max-width:none; padding:0; }.hm-ref-story .section-c02-content-box { align-items:stretch; }
.hm-ref-story .section-c02-box-left img { width:100%;height:100%;min-height:18rem;max-height:40rem;object-fit:cover;border-radius:.5rem;display:block; }
.hm-ref-story .section-c02-box-right { padding:0 1rem; }.hm-ref-story time { display:block; font-size:clamp(1.8rem,3.2vw,3.5rem); margin:.8rem 0 .35rem; }
[data-hm-interior="about"] .hm-bp-body>.hm-bp-row { display:block; padding:clamp(2rem,5vw,5rem) 0; }
[data-hm-interior="about"] .hm-bp-row>p { margin:.6rem 0 1.2rem; }
.hm-ref-principles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--ref-gap); }
.hm-ref-principles section { min-width:0; padding:1.3rem 0; border-top:1px solid var(--ref-stroke); }.hm-ref-principles h3 { margin:0 0 .45rem; }
.hm-ref-tech-split { display:grid;grid-template-columns:1fr 1fr;gap:var(--ref-gap);margin:0 0 clamp(1.6rem,4vw,4rem); }
.hm-ref-tech-split .hm-bp-row { display:block; }.hm-ref-tech-split .hm-bp-row p { margin-top:.7rem; }
.hm-ref-tech-split figure { margin:0; min-width:0; }.hm-ref-tech-split img { display:block; width:100%;height:100%;max-height:39rem;object-fit:cover;border-radius:.6rem; }
[data-hm-interior="contacto"] .hm-bp-body { padding-top:clamp(6rem,9vw,10rem); }
[data-hm-interior="contacto"] .hm-ref-contact { margin:0;padding:0; }.hm-ref-contact .container { width:100%;padding:0; }
.hm-ref-contact .section-contact-content { align-items:start; }.hm-ref-contact figure { margin:0; }
.hm-ref-contact .section-contact-left img { width:100%; min-height:22rem; height:min(73vh,54rem);object-fit:cover;display:block;border-radius:.65rem; }
.hm-ref-contact figcaption { color:#555;font-size:.8rem;margin-top:.5rem; }.hm-ref-contact h1 { font-size:clamp(2rem,4vw,4.7rem);font-weight:500;line-height:1.1; }
.hm-ref-contact .section-contact-right>p { margin:.8rem 0 1rem; }.hm-ref-contact .hm-bp-enquiry form { max-width:none; }
.hm-ref-contact .hm-bp-direct { padding:1rem 0; margin:0 0 1.2rem; }
[data-hm-interior="showroom"] .sg-wrap { max-width:100rem; margin:auto; }
[data-hm-interior="showroom"] .hm-ref-showroom { position:static; padding:0; margin:0; display:block; }
.hm-ref-viewer figure { margin:0; }.hm-ref-viewer .sg-feature-image { display:block; aspect-ratio:auto; }
.hm-ref-viewer .sg-feature-image img { width:100%; height:clamp(24rem,70vh,55rem); object-fit:cover; display:block; }
.hm-ref-viewer figcaption { padding:.45rem 0; }.hm-ref-showroom .sg-feature-text { max-width:66ch;padding:clamp(1.3rem,3vw,3rem) 0; }
[data-hm-interior="configurador-3d"] .floor-shell { max-width:100rem; margin:auto; }
.hm-ref-configurator { display:block; padding:0; margin:0; }.hm-ref-configurator .floor-intro { max-width:65ch; width:100%;margin:0 auto 1.4rem; text-align:center; }
.hm-ref-configurator .section-configurator-3d-box-iframe { display:block; width:100%; height:auto; }
.hm-ref-configurator .floor-cover .floor-photo { display:block; width:100%;aspect-ratio:auto; }
.hm-ref-configurator .floor-cover .floor-photo img { width:100%; height:clamp(18rem,52vh,42rem); object-fit:cover; }
[data-hm-interior="journal"] .news-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(2.4rem,4vw,5rem) var(--ref-gutter);align-items:start; }
[data-hm-interior="journal"] .news-tile-media { margin:0; border-radius:clamp(.4rem,.65vw,.85rem); overflow:hidden; height:clamp(11rem,17.7vw,22.4rem); aspect-ratio:auto; }
[data-hm-interior="journal"] .news-tile-media .news-picture,[data-hm-interior="journal"] .news-tile-media img { width:100%;height:100%;object-fit:cover; }
[data-hm-interior="journal"] .news-tile-link { display:block; }.hm-ref-read { display:inline-block; background:#efede8; border-radius:.42rem; padding:.48rem .95rem; color:#33322e; font-size:.88rem; margin:.65rem 0 0; }
[data-hm-interior="journal"] .section-reading { padding-inline:0; }.hm-ref-article-header { background:#fff; padding:clamp(6.6rem,10vw,11rem) 0 0; }
.hm-ref-article-header .container { width:min(100%,100rem); padding-inline:var(--ref-gutter); }
.hm-ref-article-header .section-banner-single-news-box-title h1 { color:#363632; max-width:27ch; font-weight:500;font-size:clamp(1.95rem,4vw,4.8rem);line-height:1.12;margin:.8rem 0 1.2rem; }
.hm-ref-article-header .section-banner-single-news-box-img { position:relative; height:auto; }
.hm-ref-article-header .section-banner-single-news-box-img img { display:block; width:100%; height:clamp(12rem,28vw,28rem); object-fit:cover; border-radius:.55rem; }
.hm-ref-article-header .news-hero-media,.hm-ref-article-header .news-picture { display:block; position:relative; inset:auto; width:100%;height:auto;max-height:none; }
.hm-ref-article-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:var(--ref-gap);align-items:start; }
.hm-ref-article-intro .section-c18-left,.hm-ref-article-intro .section-c18-right { width:auto;min-width:0; }
.hm-ref-article-intro .hm-article-figure { margin:0; }.hm-ref-article-intro img { width:100%; height:auto; }
[data-hm-interior="knowledge"] .hm-ref-article-header { padding-top:0; }.hm-ref-article-header figure { margin:0; }.hm-ref-article-header .mf-photo-box { aspect-ratio:auto; }
[data-hm-interior="noticias"] .mf-intro { display:block; margin:1.2rem auto; max-width:72ch; }
@media(max-width:780px) {
  .hm-ref-index ol,.hm-ref-principles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  [data-hm-interior="journal"] .news-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hm-ref-single .section-single-product-content { flex-direction:column; }
  .hm-ref-single .section-single-product-left,.hm-ref-single .section-single-product-right { display:block; width:100%; }
  .hm-ref-single .section-single-product-left img { height:clamp(14rem,64vw,24rem); }
  .hm-ref-story .section-c02-box-left img {min-height:12rem;}.hm-ref-story .section-c02-box-right { padding:0; }
  .hm-ref-tech-split,.hm-ref-article-intro { grid-template-columns:1fr; }
  .hm-ref-tech-split figure img { max-height:19rem; }
  .hm-ref-contact .section-contact-content { flex-direction:column; gap:1.5rem; }
  .hm-ref-contact .section-contact-left,.hm-ref-contact .section-contact-right { width:100%; }
  .hm-ref-contact .section-contact-left img { min-height:0; height:clamp(11rem,45vw,20rem); }
}
@media(max-width:530px) {
  [data-hm-interior] .hm-ref-cover-photo { height:clamp(18rem,52vh,29rem); }
  [data-hm-interior="product"] .hm-ref-cover-photo { height:clamp(12rem,38vh,21rem); }
  [data-hm-interior="journal"] .news-cards,.hm-ref-principles { grid-template-columns:1fr; }
  [data-hm-interior="journal"] .news-tile-media { height:clamp(9.4rem,51vw,17rem); }
  .hm-ref-image-note { font-size:.65rem; }.hm-ref-viewer .sg-feature-image img {height:clamp(19rem,60vh,29rem);}
}
