/* Catalogues share the established PyP palette and never autoplay. */
.spaces-browser{position:relative}
.spaces-browser .architectural-cards{display:flex;gap:23px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 10px;scroll-padding-inline:0}
.spaces-browser .architectural-cards::-webkit-scrollbar{display:none}
.spaces-browser .architectural-card{flex:0 0 calc((100% - 46px)/3);scroll-snap-align:start}
.spaces-browser .architectural-card>figure{height:auto;aspect-ratio:1.6}
.spaces-browser .architectural-card strong{font-size:clamp(23px,2.2vw,30px)}
.spaces-browser .architectural-card small{font-size:13px;line-height:1.5}
.spaces-arrow{position:absolute;top:calc((100vw - 2*var(--gutter) - 46px)/9.6 - 22px);z-index:2;width:46px;height:46px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);font-size:25px;box-shadow:0 2px 12px #24251f15;display:grid;place-items:center;cursor:pointer}
.spaces-arrow--previous{left:-21px}.spaces-arrow--next{right:-21px}
.spaces-arrow:disabled{opacity:.4;cursor:default;box-shadow:none}
.spaces-arrow:hover:not(:disabled){background:var(--ink);color:var(--paper)}
.spaces-browser-note{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:12px;color:var(--muted);font-size:12px;line-height:1.7}
.spaces-browser-note a{border-bottom:1px solid var(--line);min-height:44px;display:inline-flex;align-items:center}
.spaces-browser-note [data-spaces-status]{font-variant-numeric:tabular-nums}
.spaces-browser-note>nav{display:flex;gap:25px;justify-content:flex-end}
@media(max-width:760px){.spaces-browser-note>nav{display:flex;flex-direction:column;align-items:flex-end;gap:0}.spaces-browser-note>nav a{min-height:44px;max-width:180px;text-align:right}}
.catalog-section{scroll-margin-top:24px;border-top:1px solid var(--line)}
.catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:38px;margin-bottom:27px}
.catalog-heading h2{font:clamp(33px,3.5vw,46px)/1.08 Georgia,serif;letter-spacing:-.04em}
.catalog-heading .eyebrow{margin-bottom:14px}.catalog-heading>p{font-size:14px;line-height:1.8;max-width:420px;color:var(--muted)}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 22px}
.catalog-card{display:block;min-width:0;color:var(--ink)}
.catalog-card[hidden]{display:none}
.catalog-card figure{position:relative;aspect-ratio:3/2;overflow:hidden;background:var(--sand)}
.catalog-card figure>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s}
.catalog-card:hover figure>img{transform:scale(1.025)}
.catalog-card figure>span{position:absolute;right:10px;bottom:10px;width:37px;height:37px;display:grid;place-items:center;background:var(--paper);font-size:20px}
.catalog-card .catalog-card-copy{padding-top:13px;border-bottom:1px solid var(--line);padding-bottom:14px}
.catalog-card-code{display:flex;justify-content:space-between;gap:10px;font-size:10px;letter-spacing:.05em;line-height:1.6;color:var(--muted)}
.catalog-card h3{font:23px/1.15 Georgia,serif;letter-spacing:-.025em;margin-top:9px;font-weight:400}
.catalog-card p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:7px}
.catalog-more{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;font-size:13px;color:var(--muted)}
.catalog-more button{min-height:48px;padding:12px 20px;border:1px solid var(--ink);background:transparent;cursor:pointer;color:var(--ink);font-size:14px;display:inline-flex;gap:26px;align-items:center}
.catalog-more button:hover{background:var(--ink);color:var(--paper)}
.catalog-footer{display:flex;justify-content:space-between;align-items:center;gap:35px;border-top:1px solid var(--line);padding-top:24px;margin-top:28px}
.catalog-footer p{font-size:13px;line-height:1.8;color:var(--muted);max-width:580px}
.catalog-footer .text-link{font-size:14px;flex-shrink:0;min-height:48px}
.catalog-dialog{padding:0;border:0;width:min(1240px,96vw);max-width:96vw;max-height:94dvh;background:var(--paper);color:var(--ink);overflow:auto}
.catalog-dialog::backdrop{background:#20221eeb}
.catalog-dialog-open{overflow:hidden}
.catalog-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 22px;border-bottom:1px solid var(--line)}
.catalog-dialog-header p{font-size:12px;line-height:1.6;color:var(--muted)}
.catalog-dialog-header h2{font:25px/1.15 Georgia,serif;letter-spacing:-.025em;margin-top:3px}
.catalog-dialog-close{width:46px;height:46px;font:30px/1 Arial,sans-serif;background:transparent;color:var(--ink);cursor:pointer;flex-shrink:0}
.catalog-stage{position:relative;background:#e7e1d6;display:grid;place-items:center;min-height:200px;touch-action:pan-y}
.catalog-stage{height:min(62dvh,720px)}
.catalog-tabs{display:flex;gap:7px 24px;border-bottom:1px solid var(--line);margin-bottom:0;overflow-x:auto}
.catalog-tabs button{min-height:55px;white-space:nowrap;font-size:14px;position:relative;color:var(--muted);padding:12px 3px;cursor:pointer}
.catalog-tabs button[aria-selected=true]{color:var(--ink)}
.catalog-tabs button[aria-selected=true]::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--ink)}
.catalog-tabs-intro{margin:0;padding-bottom:25px;font-size:14px;line-height:1.7;color:var(--muted)}
.catalog-tab-panel .catalog-section{border-top:0;padding:30px 0 0}
.catalog-card[data-product] figure{background:#fff;display:grid;place-items:center}
.catalog-card[data-product] figure>img{width:auto;height:auto;max-width:90%;max-height:90%;object-fit:contain}
.catalog-card[data-product]:hover figure>img{transform:none}
.catalog-card[data-brand-photo] figure>img{object-fit:contain}
.catalog-dialog[data-product-view=true] .catalog-stage{background:#fff}
.catalog-dialog[data-product-view=true] .catalog-stage>img{width:auto;height:auto;max-width:95%;max-height:100%;object-fit:contain}
.supplier-note{font-size:13px;color:var(--muted);line-height:1.8;margin:24px 0 0}
@media(max-width:760px){.catalog-stage{height:calc(100dvh - 253px);min-height:220px}.catalog-tabs{gap:22px}.catalog-tabs button{font-size:14px;min-height:52px}.catalog-tabs-intro{font-size:14px}.catalog-tab-panel .catalog-section{padding-left:0;padding-right:0}.catalog-card[data-product] figure>img{max-width:90%;max-height:90%}}
.catalog-stage>img{display:block;width:100%;height:min(62dvh,720px);object-fit:contain}
.catalog-stage[aria-busy=true]>img{opacity:.55}
.catalog-stage[aria-busy=true]::after{content:'Cargando imagen…';position:absolute;font-size:14px;color:var(--muted);pointer-events:none}
.catalog-stage>.catalog-image-error{position:absolute;background:var(--paper);padding:20px;text-align:center;max-width:75%;font-size:14px;line-height:1.6}
.catalog-image-error[hidden]{display:none}
.catalog-stage>button{position:absolute;top:calc(50% - 24px);width:48px;height:48px;border-radius:50%;background:var(--paper);border:1px solid var(--line);color:var(--ink);font-size:27px;cursor:pointer}
.catalog-stage>[data-image-previous]{left:15px}.catalog-stage>[data-image-next]{right:15px}
.catalog-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px}
.catalog-dialog-footer p{font-size:12px;line-height:1.7;color:var(--muted)}
.catalog-dialog-footer [data-image-position]{font-variant-numeric:tabular-nums}
.catalog-dialog-footer .button{background:var(--ink);color:var(--paper);font-size:14px;min-height:48px;gap:25px;flex-shrink:0}
.catalog-dialog-error-link{font-size:13px;text-decoration:underline;display:inline-block;margin-top:4px}
@media(max-width:1000px){.spaces-browser .architectural-card{flex-basis:calc((100% - 23px)/2)}.spaces-arrow{top:calc((100vw - 2*var(--gutter) - 23px)/6.4 - 22px)}.catalog-grid{gap:24px 17px}.catalog-card h3{font-size:22px}}
@media(max-width:760px){.spaces-browser .architectural-cards{gap:15px}.spaces-browser .architectural-card{flex-basis:87%}.spaces-arrow{top:calc((100vw - 2*var(--gutter))*.87/3.2 - 23px);width:46px;height:46px}.spaces-arrow--previous{left:-13px}.spaces-arrow--next{right:-13px}.spaces-browser-note{align-items:start;font-size:12px}.spaces-browser-note>a{max-width:180px;text-align:right;line-height:1.5}.spaces-browser .architectural-card strong{font-size:28px}.spaces-browser .architectural-card small{font-size:14px}.catalog-heading{display:block;margin-bottom:23px}.catalog-heading>p{margin-top:18px;font-size:14px;line-height:1.75}.catalog-heading .eyebrow{font-size:9px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 13px}.catalog-card figure{aspect-ratio:4/3}.catalog-card figure>span{width:29px;height:29px;font-size:17px;right:7px;bottom:7px}.catalog-card h3{font-size:22px;line-height:1.17;margin-top:9px}.catalog-card p{font-size:12px;line-height:1.6}.catalog-card-code{display:block;font-size:10px}.catalog-card-code>span{display:block}.catalog-more{align-items:start;font-size:12px;line-height:1.7}.catalog-more button{font-size:14px;gap:15px;flex-shrink:0;padding:11px 14px}.catalog-footer{display:block;margin-top:24px}.catalog-footer p{font-size:14px;line-height:1.75}.catalog-footer .text-link{margin-top:13px;font-size:14px}.catalog-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0;background:var(--paper)}.catalog-dialog-header{padding:13px 16px;gap:9px}.catalog-dialog-header p{font-size:11px}.catalog-dialog-header h2{font-size:24px}.catalog-dialog-close{width:44px;height:44px}.catalog-stage>img{height:calc(100dvh - 253px);min-height:220px}.catalog-stage>button{width:44px;height:44px}.catalog-stage>[data-image-previous]{left:7px}.catalog-stage>[data-image-next]{right:7px}.catalog-dialog-footer{display:block;padding:14px 18px calc(16px + env(safe-area-inset-bottom,0px))}.catalog-dialog-footer p{font-size:12px;line-height:1.6}.catalog-dialog-footer .button{margin-top:12px;width:100%;font-size:14px;min-height:50px;justify-content:space-between}}
@media(max-width:370px){.catalog-card h3{font-size:20px}.catalog-more{display:block}.catalog-more button{margin-top:13px}.spaces-browser .architectural-card strong{font-size:26px}}
@media(prefers-reduced-motion:reduce){.catalog-card figure>img{transition:none}.catalog-card:hover figure>img{transform:none}}
