:root{--accent:#ff6200;--paper:#fff;--ink:#111;--soft:#f2f2ef;--line:#d7d7d7;--muted:#5f5f5f}
body.category-page{background:var(--paper);color:var(--ink)}
.category-header{min-height:112px;padding:12px 5%;display:flex;align-items:center;justify-content:space-between;gap:28px}
.category-header nav{display:flex;align-items:center;gap:30px;font-size:.88rem}.category-header nav a:hover{text-decoration:underline;text-underline-offset:6px}
.category-cart{font-weight:800;text-transform:uppercase}.category-cart span{display:inline-grid;place-items:center;min-width:25px;height:25px;margin-left:7px;padding:0 6px;border-radius:50%;background:var(--accent);font-size:.72rem}
.category-main{padding:54px 5% 90px}.category-intro{display:grid;grid-template-columns:1fr auto;gap:8px 30px;align-items:end;margin-bottom:50px}
.category-switcher{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:70px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}.category-switcher a{display:flex;gap:12px;align-items:center;padding:17px 14px;border-right:1px solid var(--line);font-size:.82rem;font-weight:800;text-transform:uppercase}.category-switcher a:last-child{border-right:0}.category-switcher a span{color:var(--muted);font-size:.68rem}.category-switcher a[aria-current="page"]{background:var(--ink);color:#fff}.category-switcher a[aria-current="page"] span{color:var(--accent)}
.category-intro>a{grid-column:1/-1;width:max-content;margin-bottom:45px;font-size:.78rem;letter-spacing:.07em;text-transform:uppercase}.category-intro .eyebrow{grid-column:1/-1;margin-bottom:8px;color:var(--muted)}
.category-intro h1{margin:0;font-size:clamp(4rem,10vw,10rem);font-weight:900;line-height:.78;text-transform:uppercase}.category-intro>p:last-child{max-width:360px;margin:0;color:var(--muted);line-height:1.7}
.category-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.category-product{min-width:0}.category-product-visual{display:block;aspect-ratio:4/5;overflow:hidden;background:var(--soft)}
.category-products.is-single{display:block}.category-products.is-single .category-product{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);min-height:620px}.category-products.is-single .category-product-visual{aspect-ratio:auto;min-height:620px}.category-products.is-single .category-product-copy{padding:clamp(40px,7vw,90px);display:flex;flex-direction:column;justify-content:flex-end;background:var(--soft)}.category-products.is-single .category-product-copy h2{font-size:clamp(2.8rem,5vw,5.8rem)}.category-products.is-single .category-product-copy>span{font-size:1rem}.category-products.is-single .category-product-copy>div{margin-top:35px;padding-top:20px;border-top:1px solid var(--line)}
.category-product-visual img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.category-product-visual:hover img{transform:scale(1.02)}
.category-product-visual.is-typographic{background:var(--ink);color:#fff}.category-product-type{height:100%;padding:25px;display:flex;flex-direction:column;justify-content:space-between}.category-product-type i{font-style:normal;font-size:.75rem;letter-spacing:.13em}.category-product-type b{font-family:'Manrope',Arial,sans-serif;font-size:clamp(2.4rem,5vw,6rem);line-height:.84;letter-spacing:-.06em;text-transform:uppercase}.category-product-type em{width:max-content;padding:7px 9px;background:var(--accent);color:var(--ink);font-style:normal;font-size:.68rem;font-weight:800;letter-spacing:.08em}
.category-product-copy{padding:17px 0 30px}.category-product-copy>p{margin:0 0 8px;color:var(--muted);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase}.category-product-copy h2{margin:0 0 7px;font-size:clamp(1.4rem,2.5vw,2.6rem);font-weight:800;line-height:1;text-transform:uppercase}.category-product-copy>span{color:var(--muted);font-size:.85rem}.category-product-copy>div{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:18px}.category-product-copy strong{font-size:1rem}.category-product-copy button{min-height:43px;padding:0 16px;border:1px solid var(--accent);background:var(--accent);font-weight:800;text-transform:uppercase}
.category-product-copy>.category-sizes{justify-content:flex-start;gap:6px;margin-top:15px;padding:0;border:0}.category-sizes>span{display:inline-grid;place-items:center;min-width:34px;height:30px;padding:0 8px;border:1px solid var(--ink);font-size:.7rem;font-weight:800}.category-products.is-single .category-product-copy>.category-sizes{margin-top:20px;padding:0;border:0}
.category-demo-note{max-width:720px;margin:28px 0 0;color:var(--muted);font-size:.75rem;line-height:1.6}.category-missing{padding:10vh 0}.category-missing h1{font-size:clamp(2.5rem,7vw,6rem)}
.subcategory-switcher{display:flex;gap:7px;flex-wrap:wrap;margin:-14px 0 32px}.subcategory-switcher button{min-height:42px;padding:0 17px;border:1px solid var(--ink);border-radius:999px;background:#fff;color:var(--ink);font-size:.75rem;font-weight:800;text-transform:uppercase}.subcategory-switcher button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent)}
.subcategory-empty{grid-column:1/-1;min-height:390px;padding:35px;display:flex;flex-direction:column;justify-content:flex-end;background:var(--soft)}.subcategory-empty>span{margin-bottom:auto;font-size:.75rem;letter-spacing:.14em}.subcategory-empty h2{margin:0;font-size:clamp(2.8rem,6vw,6.5rem);font-weight:900;line-height:.86;text-transform:uppercase}.subcategory-empty p{margin:20px 0 0;color:var(--muted)}
@media(max-width:850px){.category-products{grid-template-columns:repeat(2,minmax(0,1fr))}.category-intro{grid-template-columns:1fr}.category-intro>p:last-child{margin-top:18px}.category-products.is-single .category-product{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.category-header{min-height:96px;padding:10px 5%;gap:12px}.category-header nav{gap:14px;font-size:.75rem}.category-header nav>a:first-child{display:none}.category-main{padding:24px 5% 55px}.category-switcher{grid-template-columns:1fr 1fr;margin-bottom:42px}.category-switcher a:nth-child(2){border-right:0}.category-switcher a:nth-child(-n+2){border-bottom:1px solid var(--line)}.category-intro>a{margin-bottom:30px}.category-intro h1{font-size:clamp(3.4rem,17vw,6rem)}.category-products{grid-template-columns:1fr 1fr;gap:6px}.category-products.is-single .category-product{display:block;min-height:0}.category-products.is-single .category-product-visual{min-height:62vh}.category-products.is-single .category-product-copy{padding:28px 5px;background:#fff}.category-products.is-single .category-product-copy h2{font-size:clamp(2rem,10vw,3.5rem)}.category-product-type{padding:15px}.category-product-type b{font-size:clamp(1.7rem,9vw,3rem)}.category-product-copy h2{font-size:1.1rem;overflow-wrap:anywhere}.category-product-copy>span{display:none}.category-product-copy>div{display:block}.category-product-copy button{width:100%;margin-top:12px;padding:0 8px;font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.category-product-visual img{transition:none}}
@media(max-width:650px){.subcategory-switcher{flex-wrap:nowrap;overflow-x:auto;margin-top:-8px;padding-bottom:6px}.subcategory-switcher button{flex:none}.subcategory-empty{min-height:310px;padding:22px}.subcategory-empty h2{font-size:2.4rem}}

/* Negro para la acción; naranja y onda como firma. */
.category-intro:after{content:'';grid-column:1/-1;width:64px;height:22px;margin-top:18px;background:url('/assets/onda-galileo.png') center/contain no-repeat}
.category-product-copy button{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:inset 0 -3px 0 var(--accent)}
.category-product-copy button:hover{background:#fff;color:var(--ink)}
.subcategory-switcher button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:inset 0 -3px 0 var(--accent)}
.category-product-type em{background:#fff;color:var(--ink);box-shadow:inset 4px 0 0 var(--accent)}

/* Navegación y acciones limpias: los códigos quedan reservados al inventario interno. */
.category-switcher{display:flex;gap:clamp(24px,4vw,56px);align-items:center;margin-bottom:clamp(72px,9vw,120px);border:0;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.category-switcher::-webkit-scrollbar{display:none}
.category-switcher a{position:relative;flex:none;padding:12px 0 17px;border:0;background:transparent!important;color:var(--muted)!important;font-size:.76rem;letter-spacing:.08em}
.category-switcher a[aria-current="page"]{color:var(--ink)!important}
.category-switcher a[aria-current="page"]:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:3px;background:var(--accent);border-radius:99px}
.subcategory-switcher{gap:clamp(18px,3vw,34px);flex-wrap:nowrap;margin:-10px 0 42px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.subcategory-switcher::-webkit-scrollbar{display:none}
.subcategory-switcher button{position:relative;flex:none;min-height:auto;padding:0 0 13px;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:.72rem;letter-spacing:.07em}
.subcategory-switcher button[aria-pressed="true"]{background:transparent;border:0;color:var(--ink);box-shadow:none}
.subcategory-switcher button[aria-pressed="true"]:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent)}
.category-product-copy button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:116px;min-height:46px;padding:0 18px;border:0;border-radius:999px;background:var(--ink);color:#fff;box-shadow:none;letter-spacing:.04em;transition:background .2s ease,color .2s ease,transform .2s ease}
.category-product-copy button:not(:disabled):after{content:'';width:24px;height:9px;background:url('/assets/onda-galileo.png') center/contain no-repeat}
.category-product-copy button:not(:disabled):hover{background:#252525;color:#fff;transform:translateY(-1px)}
.category-product-copy button:disabled{opacity:.45}
.category-sizes>span{min-width:36px;width:36px;height:36px;padding:0;border-color:#b9b9b5}
.category-product-type em{padding:0;background:transparent;color:#fff;box-shadow:none;letter-spacing:.11em}
.category-intro>a{text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:7px}

/* Tarjetas de categoría: solo la información necesaria para decidir. */
.category-product-copy{padding:20px 0 34px}
.category-product-copy h2{margin-bottom:14px;font-size:clamp(1.25rem,2vw,2.15rem)}
.category-product-copy>.category-sizes{display:flex;gap:18px;margin:0;padding:0}
.category-sizes>span{display:inline-block;width:auto;min-width:22px;height:auto;padding:3px 0 6px;border:0;border-bottom:2px solid var(--line);font-size:.72rem;line-height:1;font-weight:700;text-align:center}
.category-product-action{margin-top:22px!important;padding-top:14px;border-top:1px solid var(--line)}
.category-product-copy button{position:relative;min-width:104px;min-height:42px;padding:0 38px 0 0;justify-content:flex-start;border:0;border-bottom:1px solid var(--ink);border-radius:0;background:#fff;color:var(--ink);overflow:hidden}
.category-product-copy button:not(:disabled):after{position:absolute;right:0;width:28px;height:10px}
.category-product-copy button:not(:disabled):before{content:'';position:absolute;right:0;bottom:-1px;width:28px;height:2px;background:var(--accent);transition:width .25s ease}
.category-product-copy button:not(:disabled):hover{background:#fff;color:var(--ink);transform:none}
.category-product-copy button:not(:disabled):hover:before{width:100%}
.category-intro:after{margin-top:24px}

@media(max-width:650px){
  .category-switcher{display:flex;gap:24px;margin-bottom:52px}
  .category-switcher a,.category-switcher a:nth-child(2),.category-switcher a:nth-child(-n+2){border:0;border-bottom:0;padding:10px 0 14px}
  .subcategory-switcher{margin-top:-4px;padding-bottom:0}
  .subcategory-switcher button{width:auto;margin:0;padding:0 0 12px}
  .category-product-copy button{width:100%;margin-top:12px}
}

/* Vista de todas las categorías: conserva la fotografía editorial solo en Plantas. */
.category-overview-head{margin-bottom:clamp(28px,4vw,58px)}
.category-overview-head .eyebrow{margin:0 0 18px}
.category-overview-head h1{margin:0}
.category-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(26px,4vw,64px)}
.category-overview-card{min-width:0;border-top:1px solid var(--ink);padding-top:14px}
.category-overview-entry{position:relative;display:flex;align-items:flex-end;min-height:clamp(240px,25vw,370px);padding:clamp(22px,3vw,44px);overflow:hidden;background:#f1f1ee;color:var(--ink)}
.category-overview-entry img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.category-overview-card--plantas .category-overview-entry:after{content:'';position:absolute;inset:42% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.5))}
.category-overview-entry span{position:relative;z-index:1;font-size:clamp(2.4rem,5vw,5.8rem);font-weight:900;line-height:.9;letter-spacing:-.055em;text-transform:uppercase}
.category-overview-card--plantas .category-overview-entry span{color:#fff}
.category-overview-entry:hover span{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:9px}
.category-overview-types{display:flex;flex-wrap:wrap;gap:10px 28px;padding:22px 0 6px}
.category-overview-types a{padding:4px 0;border-bottom:1px solid #bbb;font-size:.9rem}
.category-overview-types a:hover{border-color:var(--ink)}
.category-overview-gallery{display:block;width:max-content;margin-top:clamp(70px,9vw,130px);padding-bottom:8px;border-bottom:1px solid var(--ink);font-size:1.2rem;font-weight:800;text-transform:uppercase}
.category-overview-back{display:inline-block;margin-bottom:clamp(36px,5vw,70px);padding-bottom:6px;border-bottom:1px solid var(--line);font-size:.9rem}
.category-main>.subcategory-switcher{margin:clamp(34px,5vw,65px) 0 34px}
.category-main>.subcategory-switcher a{position:relative;flex:none;padding:0 0 14px;color:var(--muted);font-size:.9rem;font-weight:700;text-transform:uppercase}
.category-main>.subcategory-switcher a[aria-current="page"]{color:var(--ink)}
.category-main>.subcategory-switcher a[aria-current="page"]:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--accent)}
.category-main>.product-grid{margin-top:0}
.category-empty{grid-column:1/-1;max-width:32rem;margin:0;padding:42px 0;color:var(--muted);font-size:1rem;line-height:1.5}
@media(max-width:700px){
  .category-overview-grid{grid-template-columns:1fr}
  .category-overview-entry{min-height:55vw}
  .category-overview-types{gap:8px 20px}
}
