/* Tema v1: layout extensions only; reuse Maderín's fonts, colors and controls. */
.theme-preview{display:flex;align-items:center;justify-content:space-between;gap:16px}
.theme-hero{position:relative;isolation:isolate;min-height:440px;padding:54px 6%;display:flex;align-items:center;overflow:hidden;background:var(--arena);border-radius:6px}
.theme-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.theme-hero-with-image:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--crema) 0%,color-mix(in srgb,var(--crema) 92%,transparent) 25%,color-mix(in srgb,var(--crema) 70%,transparent) 42%,transparent 72%)}
.theme-hero-copy{width:min(52%,580px)}
.theme-hero:not(.theme-hero-with-image) .theme-hero-copy{width:min(100%,700px)}
.theme-hero .theme-hero-copy h1{font-size:clamp(38px,5vw,68px);line-height:1.02;margin:20px 0;overflow-wrap:anywhere}
.theme-hero .theme-hero-copy>p:not(.eyebrow){line-height:1.8;font-size:14px;color:var(--carbon-secundario)}
.theme-hero .btn{margin-top:18px;white-space:normal;text-align:center}
.theme-section{margin:64px 0}
.theme-section-title{font:36px/1.2 var(--serif);text-align:center;margin:0 0 30px}
.theme-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px}
.theme-category{min-width:0;text-align:center;padding:0 0 15px;border-bottom:1px solid var(--carbon-borde)}
.theme-category img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:5px}
.theme-category h3{font:26px/1.2 var(--serif);margin:18px 0 10px;overflow-wrap:anywhere}
.theme-inspiration{background:var(--arena-panel);border-radius:6px;overflow:hidden;margin:64px 0}
.theme-inspiration-with-image{display:grid;grid-template-columns:1fr 1.25fr;align-items:stretch}
.theme-inspiration-copy{padding:clamp(24px,4vw,56px)}
.theme-inspiration h2{font:42px/1.08 var(--serif);margin:15px 0 22px;overflow-wrap:anywhere}
.theme-inspiration p:not(.eyebrow){font-size:14px;line-height:1.85}
.theme-inspiration .btn{margin-top:15px;white-space:normal}
.theme-inspiration img{width:100%;height:100%;min-height:320px;object-fit:cover}
.theme-features{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;margin:55px 0;padding:32px 0;border-top:1px solid var(--carbon-borde);border-bottom:1px solid var(--carbon-borde)}
.theme-features article{text-align:center;min-width:0;padding:5px 15px}
.theme-icon{width:34px;height:34px;margin:0 auto 18px;color:var(--carbon-secundario)}
.theme-features h3{font:23px/1.2 var(--serif);margin:12px 0;overflow-wrap:anywhere}
.theme-features p{font-size:12px;color:var(--carbon-secundario)}
.theme-collection-tabs{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0 0 30px}
.theme-collection-tabs a{padding:12px 2px;border-bottom:2px solid transparent;font-size:12px;overflow-wrap:anywhere}
.theme-collection-tabs a[aria-current]{border-bottom-color:var(--carbon);font-weight:600}
.theme-catalog .collection-head{border-top:0}
.theme-editor-row{min-width:0;border:1px solid var(--carbon-borde);border-radius:6px;padding:20px}
.theme-editor-row legend{padding:0 8px;color:var(--carbon-secundario)}
.theme-product-options{margin-top:20px;max-height:430px;overflow:auto;border-top:1px solid var(--carbon-borde)}
.theme-product-option{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:20px;border-bottom:1px solid var(--carbon-borde);align-items:center;padding:8px 0}
.theme-product-option label{margin:8px 0}
.theme-product-option input:disabled{opacity:.4}
@media(max-width:800px){.theme-hero-copy{width:65%}.theme-features{grid-template-columns:repeat(2,1fr)}.theme-inspiration-with-image{grid-template-columns:1fr}.theme-inspiration img{max-height:360px}.theme-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-preview{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.theme-hero{padding:30px 24px;min-height:350px}.theme-hero-copy{width:100%}.theme-hero-with-image:after{background:color-mix(in srgb,var(--crema) 88%,transparent)}.theme-section{margin:42px 0}.theme-section-title{font-size:30px}.theme-inspiration h2{font-size:34px}.theme-features{gap:12px}.theme-features article{padding:5px}.theme-category h3{font-size:23px}.theme-editor-row{padding:14px}.theme-features h3{font-size:20px}}
