/* Department identities. Loaded after site.css; filters and native details stay shared. */
body[data-department]{background:var(--paper);color:var(--ink)}
body[data-department] .skip{color:var(--paper)}
[data-department="hogar"]{--paper:#f6efe5;--surface:#fffaf3;--ink:#392c25;--muted:#716153;--line:#ddcdbb;--accent:#92533c;--soft:#eddfce;--chapter-tint:#eee1d0;--scene:#ead8c0}
[data-department="tecnologia"]{--paper:#eef2f6;--surface:#fcfdff;--ink:#182b3f;--muted:#53667b;--line:#cbd7e2;--accent:#235dc0;--soft:#dfe9f6;--chapter-tint:#e0e8f1;--scene:#dce5ef}
[data-department="limpieza"]{--paper:#edf5f2;--surface:#fcfffd;--ink:#173c35;--muted:#4f6c63;--line:#c8ded5;--accent:#237763;--soft:#dceee6;--chapter-tint:#e0ede7;--scene:#d5eae1}
[data-department="decoracion"]{--paper:#f4eee8;--surface:#fffaf6;--ink:#41312f;--muted:#76625e;--line:#ddccc7;--accent:#8c4c50;--soft:#eadbd5;--chapter-tint:#e9dcd4;--scene:#e6d0c6}
[data-department="gamer"]{--paper:#11131e;--surface:#1b1e2e;--ink:#f0eff9;--muted:#b5b7cb;--line:#383d58;--accent:#b7a1ff;--soft:#282642;--chapter-tint:#191c30;--scene:#26253d;color-scheme:dark}
[data-department="festividades"]{--paper:var(--season-paper);--surface:var(--season-surface);--ink:var(--season-ink);--muted:var(--season-muted);--line:var(--season-line);--accent:var(--season-accent);--soft:var(--season-soft);--chapter-tint:var(--season-soft);--scene:var(--season-soft)}
[data-season="halloween"]{--season-paper:#20172b;--season-surface:#2b2139;--season-ink:#fff1df;--season-muted:#d2bfd4;--season-line:#5b436b;--season-accent:#ffb276;--season-soft:#392448;--season-button:#5a2c19;--season-button-ink:#ffcfaa}
[data-season="navidad"]{--season-paper:#122f28;--season-surface:#1c3c33;--season-ink:#fff5dd;--season-muted:#c5d2c8;--season-line:#4a6b58;--season-accent:#efce8f;--season-soft:#204337;--season-button:#6f2932;--season-button-ink:#fff1d2}
[data-season="san-valentin"]{--season-paper:#f8e9ec;--season-surface:#fff8f9;--season-ink:#572a37;--season-muted:#80545f;--season-line:#dfbfc9;--season-accent:#a03150;--season-soft:#f0d7df;--season-button:#9d3150;--season-button-ink:#fff4f6}
[data-season="entretiempo"]{--season-paper:#f5ecd9;--season-surface:#fffaf0;--season-ink:#4b3927;--season-muted:#746148;--season-line:#ddcdae;--season-accent:#95522c;--season-soft:#eee0bd;--season-button:#805131;--season-button-ink:#fff7e4}
.nav .season-link{background:var(--season-button);color:var(--season-button-ink);border:1px solid var(--season-accent);gap:8px;border-radius:9px 24px 9px 24px;padding-inline:16px;box-shadow:0 3px 0 #00000010}
.nav .season-link:hover,.nav .season-link[aria-current]{background:var(--season-button);color:var(--season-button-ink);outline:1px solid var(--season-accent);outline-offset:3px}
.season-link span{font-size:1.2rem;line-height:1}.nav .season-link[data-season="san-valentin"]{border-radius:30px}.nav .season-link[data-season="navidad"]{border-radius:4px 4px 18px 4px;border-bottom-width:3px}
.category-link[data-category="hogar"]{background:#f3e7d7;color:#684631;border-color:#dac5ae}.category-link[data-category="tecnologia"]{background:#e3ecf6;color:#214778;border-color:#c2d5ea}.category-link[data-category="limpieza"]{background:#e2f0e8;color:#24634c;border-color:#bad4c6}.category-link[data-category="decoracion"]{background:#efe1dc;color:#75464a;border-color:#d8beba}.category-link[data-category="gamer"]{background:#1b1c2f;color:#d2c2ff;border-color:#72628f}.category-link[data-category] small,.category-link[data-category] span{color:inherit}.category-link[data-category="festividades"]{background:var(--season-button);color:var(--season-button-ink);border-color:var(--season-accent);border-radius:8px 28px 8px 28px}
.department-hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:7%;padding-block:38px 65px}.department-copy h1{font-size:clamp(3rem,5.4vw,5.4rem);margin:22px 0}.department-copy>p{color:var(--muted);max-width:590px;font-size:1.02rem}.department-scene{position:relative;min-width:0;isolation:isolate;background:var(--scene);height:430px;display:grid;place-items:center;overflow:hidden;border-radius:8px}.department-object{display:block;z-index:2;width:90%;position:relative}.department-object img{width:100%;height:325px;object-fit:contain;padding:32px;mix-blend-mode:multiply;transition:transform .6s ease}.department-object:hover img{transform:translateY(-6px)}.scene-word{position:absolute;top:25px;left:25px;font:italic clamp(2.5rem,5vw,4.5rem) var(--serif);letter-spacing:-.06em;opacity:.25;color:var(--ink);z-index:0}.scene-caption{position:absolute;bottom:22px;left:25px;right:25px;z-index:3;font-size:.69rem;letter-spacing:.13em;text-transform:uppercase}.scene-orbit{position:absolute;width:290px;height:290px;border:1px solid var(--line);border-radius:50%;z-index:0}.chapter-nav{display:flex;flex-wrap:wrap;gap:10px 24px;margin:20px 0 34px;padding:16px 0;border-block:1px solid var(--line)}.chapter-nav a{padding-block:8px;font-size:.83rem;text-decoration:none;min-height:44px}.chapter-nav a:hover{text-decoration:underline}.chapter-nav span{font-family:var(--serif);font-size:1.1rem;color:var(--accent);margin-right:8px}.product-chapter{padding-block:28px 52px;scroll-margin-top:115px}.product-chapter+.product-chapter{margin-top:24px}.product-chapter:nth-of-type(even){position:relative;isolation:isolate}.product-chapter:nth-of-type(even)::before{content:'';position:absolute;inset:0 -24px;background:var(--chapter-tint);border-radius:18px;z-index:-1;pointer-events:none}.chapter-intro{display:flex;align-items:center;gap:26px;margin-bottom:32px}.chapter-number{font:italic clamp(3.8rem,7vw,6.5rem)/1 var(--serif);color:var(--accent);opacity:.65}.chapter-intro h3{font:400 clamp(1.9rem,3.3vw,3rem)/1.1 var(--serif);letter-spacing:-.04em;margin:8px 0 12px}.chapter-intro p{color:var(--muted);max-width:580px;font-size:.91rem}.chapter-grid{align-items:stretch}.chapter-grid .product{display:flex;flex-direction:column}.chapter-grid .product-body{display:flex;flex-direction:column;flex:1}.chapter-grid h4{font-size:1.13rem;line-height:1.4;font-weight:600;letter-spacing:-.025em;margin:8px 0 12px}.chapter-grid h4 a{text-decoration:none}.chapter-grid h4 a:hover{text-decoration:underline}.chapter-grid .review{margin-top:auto;padding-top:16px;border-top:0}.chapter-grid .review summary{border-top:1px solid var(--line)}.department-next{padding-block:35px 65px;border-top:1px solid var(--line)}.department-next>a{font:400 clamp(1.8rem,4vw,3.4rem)/1.3 var(--serif);text-decoration:none;display:flex;justify-content:space-between;gap:20px;margin-top:14px}.department-next>a:hover{color:var(--accent)}[data-department] .guide p{color:var(--muted)}[data-department] .guide details{border-color:var(--line)}
/* Home: broad, warm editorial spreads, then a quiet rhythm of three. */
[data-department="hogar"] .department-scene{border-radius:48% 48% 8px 8px;background:radial-gradient(ellipse at 50% 65%,#f7ebd8,transparent 70%),var(--scene)}
[data-department="hogar"] .department-object img{transform:rotate(-5deg)}[data-department="hogar"] .department-object:hover img{transform:rotate(0) translateY(-6px)}
[data-department="hogar"] .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
[data-department="hogar"] .chapter-grid>.product:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.1fr 1fr;border-radius:60px 10px 10px 10px;overflow:hidden}
[data-department="hogar"] .chapter-grid>.product:first-child .product-image img{height:100%;min-height:280px;max-height:410px}
[data-department="hogar"] .chapter-grid>.product:first-child .product-body{padding:35px}
[data-department="hogar"] .chapter-grid>.product:first-child h4{font:400 2rem/1.15 var(--serif)}
[data-department="hogar"] .chapter-2 .product:first-child .product-image{order:2}
/* Technology: a measured grid, blue lines and wide feature modules. */
[data-department="tecnologia"] .department-scene{border:1px solid var(--line);background:linear-gradient(#bbcfe04d 1px,transparent 1px),linear-gradient(90deg,#bbcfe04d 1px,transparent 1px),var(--scene);background-size:32px 32px;border-radius:4px 64px 4px 4px}
[data-department="tecnologia"] .scene-orbit{border-color:var(--accent);border-radius:20px;transform:rotate(-12deg);width:260px;height:260px}
[data-department="tecnologia"] .department-copy h1,[data-department="tecnologia"] .chapter-intro h3{font-family:system-ui,sans-serif;font-weight:500;letter-spacing:-.065em}
[data-department="tecnologia"] .eyebrow,[data-department="tecnologia"] .scene-caption{font-family:ui-monospace,monospace}
[data-department="tecnologia"] .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
[data-department="tecnologia"] .chapter-grid>.product:first-child{grid-column:span 2;border-top:3px solid var(--accent)}
[data-department="tecnologia"] .chapter-grid>.product:first-child .product-image img{aspect-ratio:2.1;height:250px}
[data-department="tecnologia"] .product{border-radius:4px}
[data-department="tecnologia"] .chapter-2 .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-department="tecnologia"] .chapter-2 .product:first-child{grid-column:auto}
/* Cleaning: a bright, linear catalogue with image and information side by side. */
[data-department="limpieza"] .department-scene{border-radius:50% 50% 12px 50%;background:radial-gradient(circle at 72% 25%,#fcfffd 0 10%,transparent 10.4%),radial-gradient(circle at 22% 70%,#f2faf6 0 17%,transparent 17.4%),var(--scene)}
[data-department="limpieza"] .scene-orbit{width:340px;height:340px;border:20px solid #ffffff50}
[data-department="limpieza"] .chapter-grid{grid-template-columns:1fr;gap:14px}
[data-department="limpieza"] .chapter-grid>.product{display:grid;grid-template-columns:minmax(180px,.38fr) 1fr;border-radius:8px 26px 8px 8px}
[data-department="limpieza"] .product-image{margin:12px;background:#e3eee8;display:grid;align-items:center}
[data-department="limpieza"] .product-image img{height:230px;aspect-ratio:auto}
[data-department="limpieza"] .product-body{padding:24px 30px}
[data-department="limpieza"] .chapter-grid h4{font-size:1.35rem}
[data-department="limpieza"] .review{margin-bottom:12px}
[data-department="limpieza"] .chapter-2 .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-department="limpieza"] .chapter-2 .product{display:flex}
[data-department="limpieza"] .chapter-2 .product-image img{height:220px}
/* Decoration: an intimate gallery, arches and deliberate asymmetry. */
[data-department="decoracion"] .department-hero{grid-template-columns:1fr 1.05fr;gap:10%}
[data-department="decoracion"] .department-scene{height:490px;border-radius:180px 180px 4px 4px;background:linear-gradient(135deg,#e4cbc0,#f1e3db)}
[data-department="decoracion"] .scene-word{top:auto;bottom:55px;font-size:5rem;left:12px}
[data-department="decoracion"] .scene-orbit{border-radius:140px 140px 0 0;width:240px;height:350px;border:1px solid #a77162}
[data-department="decoracion"] .chapter-grid{grid-template-columns:1.2fr 1fr;gap:40px;align-items:start}
[data-department="decoracion"] .product{border:0;background:transparent;box-shadow:none}
[data-department="decoracion"] .product-image{margin:0;border-radius:120px 120px 3px 3px;background:#e6d7cc}
[data-department="decoracion"] .product-image img{aspect-ratio:1;height:auto;padding:28px}
[data-department="decoracion"] .product:nth-child(even){margin-top:90px}
[data-department="decoracion"] .product:nth-child(even) .product-image{border-radius:3px}
[data-department="decoracion"] .product-body{padding:24px 8px}
[data-department="decoracion"] .chapter-grid h4{font:400 1.7rem/1.2 var(--serif)}
[data-department="decoracion"] .chapter-1 .product:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:35px}
[data-department="decoracion"] .chapter-1 .product:last-child .product-image{border-radius:4px}
/* Gamer: charcoal, controlled violet/cyan light, a panoramic opening card. */
[data-department="gamer"] .department-scene{border:1px solid #605193;background:radial-gradient(ellipse at 75% 20%,#7263bc40,transparent 55%),radial-gradient(ellipse at 15% 95%,#52b8c733,transparent 60%),#161929;box-shadow:inset 0 0 50px #ad86fc09;border-radius:6px 56px 6px 6px}
[data-department="gamer"] .department-object img{mix-blend-mode:normal;background:#e9eaf2;border-radius:12px;height:250px;padding:20px;transform:rotate(-7deg);width:88%;margin:auto}
[data-department="gamer"] .department-object:hover img{transform:rotate(-3deg) translateY(-4px)}
[data-department="gamer"] .scene-word{color:#b7a1ff;opacity:.6;font:600 5rem/1 system-ui;top:24px}
[data-department="gamer"] .scene-orbit{border-radius:6px;border-color:#72e4d6;transform:rotate(12deg);box-shadow:0 0 20px #72e4d620}
[data-department="gamer"] .department-copy h1{font-family:system-ui,sans-serif;font-weight:600;letter-spacing:-.07em}
[data-department="gamer"] .eyebrow,[data-department="gamer"] .chapter-number{font-family:ui-monospace,monospace}
[data-department="gamer"] .chapter-number{font-size:3rem;color:#7ee1d3}
[data-department="gamer"] .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
[data-department="gamer"] .chapter-1 .product:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;border-color:#8e79c3;border-top:2px solid #7ee1d3}
[data-department="gamer"] .product:hover{border-color:#b7a1ff;box-shadow:0 0 24px #b7a1ff12}
[data-department="gamer"] .product-image{background:#e5e9ee;border-radius:3px}
[data-department="gamer"] .chapter-1 .product:first-child .product-image img{height:330px;aspect-ratio:auto}
[data-department="gamer"] .chapter-1 .product:first-child h4{font-size:1.8rem;letter-spacing:-.05em}
[data-department="gamer"] .shop:hover{background:#b7a1ff;color:#151322;border-color:#b7a1ff}
/* Seasonal room: expressive artwork, ornaments and a different edition per celebration. */
[data-department="festividades"][data-season="halloween"],[data-department="festividades"][data-season="navidad"]{color-scheme:dark}
[data-department="festividades"] .department-hero{padding-top:20px;gap:5%;min-height:590px}
[data-department="festividades"] .department-copy h1{font-size:clamp(3.7rem,6.9vw,7rem);line-height:.98}
[data-department="festividades"] .department-scene{height:520px;border-radius:210px 210px 20px 20px;background:radial-gradient(ellipse at center,var(--season-soft),transparent 70%);overflow:visible}
.season-illustration{width:100%;height:100%;position:relative;z-index:1;filter:drop-shadow(0 22px 25px #00000022)}
[data-department="festividades"] .scene-word{top:20px;left:10px;font-size:clamp(3rem,6vw,5rem);opacity:.15;transform:rotate(-10deg)}
[data-department="festividades"] .scene-orbit{width:360px;height:360px;border:1px dashed var(--season-accent);opacity:.35}
[data-department="festividades"] .scene-caption{left:0;right:0;bottom:-8px;text-align:center;font-family:var(--serif);font-style:italic;font-size:1.05rem;letter-spacing:0;text-transform:none}
[data-department="festividades"] .product-chapter{padding:32px 24px 48px;border:1px solid var(--line);border-radius:14px;position:relative;background:var(--surface)}
[data-department="festividades"] .product-chapter:nth-of-type(even)::before{inset:0;border-radius:14px;background:var(--soft)}
[data-department="festividades"] .chapter-intro{border-bottom:1px dashed var(--line);padding-bottom:25px}
[data-department="festividades"] .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
[data-department="festividades"] .product{background:var(--paper);border-radius:70px 70px 8px 8px;overflow:hidden}
[data-department="festividades"] .product-image{border-radius:60px 60px 4px 4px;background:#efe5d8}
[data-department="festividades"] .chapter-2 .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-department="festividades"] .chapter-2 .product:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;border-radius:8px}
[data-department="festividades"] .chapter-2 .product:first-child .product-image{border-radius:4px}
[data-department="festividades"] .chapter-2 .product:first-child .product-image img{height:300px}
[data-department="festividades"][data-season="halloween"] main{background:radial-gradient(ellipse at 98% 10%,#b26b2917,transparent 35%),radial-gradient(ellipse at 0 38%,#8d5caf22,transparent 30%)}
[data-department="festividades"][data-season="halloween"] .chapter-number{color:#ffb276;text-shadow:3px 3px 0 #774587}
[data-department="festividades"][data-season="halloween"] .chapter-intro::after{content:'✦';margin-left:auto;font-size:3rem;color:#cba1ff}
[data-department="festividades"][data-season="navidad"] main{background:radial-gradient(circle,#ead8a515 1px,transparent 2px);background-size:30px 30px}
[data-department="festividades"][data-season="navidad"] .chapter-intro::after{content:'✧';margin-left:auto;font-size:3rem;color:#edcf8e}
[data-department="festividades"][data-season="navidad"] .product{border-radius:8px;border-top:4px solid #bb7473}
[data-department="festividades"][data-season="san-valentin"] .chapter-intro::after{content:'♡';margin-left:auto;font-size:3.5rem;color:var(--accent)}
[data-department="festividades"][data-season="san-valentin"] .product{border-radius:28px 28px 8px 8px}
/* Filtering removes editorial offsets so a small result never leaves a layout hole. */
[data-department] .is-filtered .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
[data-department] .is-filtered .chapter-grid>.product{grid-column:auto;display:flex;flex-direction:column;margin-top:0;gap:0}
[data-department] .is-filtered .chapter-grid>.product .product-image{order:0}
[data-department] .is-filtered .chapter-grid>.product .product-image img{height:240px;min-height:0;aspect-ratio:4/3}
[data-department] .is-filtered .chapter-grid>.product .product-body{padding:20px}
[data-department] .is-filtered .chapter-grid>.product h4{font-size:1.13rem}
@media(max-width:1000px){
 .department-hero{gap:30px}.department-scene{height:350px}.department-object img{height:280px;padding:20px}.scene-word{font-size:3rem}.scene-caption{font-size:.6rem}.scene-orbit{width:230px;height:230px}
 [data-department="decoracion"] .department-scene{height:410px}
 [data-department="festividades"] .department-copy h1{font-size:4.4rem}
 [data-department="festividades"] .department-scene{height:410px}
 [data-department="festividades"] .scene-orbit{width:250px;height:250px}
 [data-department="festividades"] .chapter-grid,[data-department="hogar"] .chapter-grid,[data-department="tecnologia"] .chapter-grid,[data-department] .is-filtered .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-department="tecnologia"] .chapter-grid>.product:first-child{grid-column:1/-1}
 [data-department="limpieza"] .chapter-grid>.product{grid-template-columns:.6fr 1fr}
 [data-department="hogar"] .chapter-grid>.product:first-child .product-body{padding:24px}
 [data-department="festividades"] .product-chapter{padding:25px 18px}
 [data-department="festividades"] .chapter-intro::after{display:none}
 .product-chapter:nth-of-type(even)::before{inset:0 -12px}
}
@media(max-width:650px){
 .department-hero,[data-department="decoracion"] .department-hero{grid-template-columns:1fr;gap:30px;padding-block:25px 40px}.department-copy h1{font-size:3.1rem}.department-scene,[data-department="decoracion"] .department-scene{height:320px}.department-object img{height:260px}.department-scene{max-width:100%;width:100%}.scene-caption{font-size:.64rem}.scene-word{font-size:3.6rem}
 .chapter-nav{gap:4px 16px;margin-bottom:15px}.chapter-nav a{font-size:.79rem}.chapter-intro{gap:16px;margin-bottom:22px}.chapter-intro h3{font-size:1.85rem}.chapter-number{font-size:3.4rem}.product-chapter{padding-block:24px 30px}.product-chapter+.product-chapter{margin-top:20px}
 [data-department] .chapter-grid,[data-department] .chapter-2 .chapter-grid,[data-department] .is-filtered .chapter-grid{grid-template-columns:1fr;gap:20px}
 [data-department] .chapter-grid>.product,[data-department] .chapter-grid>.product:first-child,[data-department="decoracion"] .chapter-1 .product:last-child{grid-column:auto;display:flex;flex-direction:column;gap:0;margin-top:0}
 [data-department] .chapter-grid>.product .product-image{order:0}
 [data-department] .chapter-grid>.product .product-image img{height:260px;min-height:0;max-height:none;aspect-ratio:4/3}
 [data-department] .chapter-grid>.product .product-body{padding:22px}
 [data-department="hogar"] .chapter-grid>.product:first-child h4,[data-department="gamer"] .chapter-grid>.product:first-child h4{font-size:1.4rem}
 [data-department="decoracion"] .chapter-grid>.product .product-body{padding:22px 4px}
 [data-department="decoracion"] .product:nth-child(even) .product-image{border-radius:50px 4px 4px 4px}
 [data-department="limpieza"] .product-image img{padding:15px}
 [data-department="gamer"] .department-copy h1{font-size:3.2rem}
 [data-department="festividades"] .department-hero{min-height:0;padding-bottom:40px}
 [data-department="festividades"] .department-copy h1{font-size:3.8rem}
 [data-department="festividades"] .department-scene{height:365px}
 [data-department="festividades"] .product-chapter{padding:20px 12px}
 [data-department="festividades"] .chapter-intro{gap:12px}
 [data-department="festividades"] .chapter-number{font-size:2.7rem}
 .department-next{padding-bottom:40px}
}
@media(prefers-reduced-motion:reduce){[data-department] .department-object img,[data-department] .department-object:hover img{transform:none;transition:none}}
@media(forced-colors:active){.department-scene,.product,.season-link{border:1px solid CanvasText}.scene-orbit,.scene-word{display:none}}
