/*
Theme Name: Imaginjocs Estudi
Description: Escaparate y catálogo de la juguetería Imaginjocs en Barcelona.
Version: 5.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: imaginjocs-estudi
*/
@font-face{font-family:DM;src:url(assets/dm-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:DM;src:url(assets/dm-700.woff2) format("woff2");font-weight:600 800;font-display:swap}
@font-face{font-family:Bricolage;src:url(assets/bricolage-800.woff2) format("woff2");font-weight:750 900;font-display:swap}
@font-face{font-family:Bricolage;src:url(assets/bricolage-700.woff2) format("woff2");font-weight:600 749;font-display:swap}
:root{--ink:#30263c;--purple:#52345f;--muted:#655c64;--paper:#fffcf7;--line:#ddd6cf;--lilac:#e5d6f0;--light:#f5f1ed;--head:Bricolage,system-ui,sans-serif;--body:DM,system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 var(--body)}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9a3b7e;outline-offset:4px}img{max-width:100%;height:auto;display:block}.wrap{width:min(1376px,calc(100% - clamp(32px,8vw,138px)));margin-inline:auto}.site-head{border-bottom:1px solid var(--line)}.mast{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:88px}.brand{display:block;line-height:0}.brand img{width:178px;border-radius:3px}.mast nav{display:flex;align-self:stretch;align-items:center;gap:32px}.mast nav a,.head-search{font-weight:700;text-decoration:none;white-space:nowrap;font-size:.94rem}.mast nav a[aria-current=page]{text-decoration:underline;text-underline-offset:8px;text-decoration-color:#825d95;text-decoration-thickness:2px}.head-search{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:99px;padding:9px 16px}.glass{display:inline-block;width:16px;height:16px;position:relative;border:2px solid currentColor;border-radius:50%;margin-right:3px}.glass:after{content:"";width:7px;height:2px;background:currentColor;position:absolute;right:-6px;bottom:-3px;transform:rotate(46deg);border-radius:8px}.skip,.screen-reader-text{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.skip:focus{clip-path:none;z-index:5;padding:12px;background:white;width:auto;height:auto}
.hero{display:grid;grid-template-columns:45% 55%;border-radius:25px;overflow:hidden;margin-top:28px;background:var(--lilac)}.hero-copy{padding:clamp(30px,4.2vw,76px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.kicker{font-size:.76rem;text-transform:uppercase;font-weight:700;letter-spacing:.14em;line-height:1.4;margin:0 0 18px}.hero .kicker{display:flex;align-items:center;gap:9px;letter-spacing:.085em}.spark{font-size:1.7rem;line-height:1;color:#6b407a}.hero h1,.store-panel h1{font:800 clamp(3.9rem,6.5vw,7rem)/.9 var(--head);letter-spacing:-.075em;margin:6px 0 23px}.hero em,.store-panel em{font:italic 1.07em/.87 Georgia,serif;color:#654377;letter-spacing:-.07em}.lead{font-size:clamp(1rem,1.35vw,1.25rem);line-height:1.5;max-width:33ch;margin:0 0 27px}.hero-image{position:relative;min-height:400px}.hero-image img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 58%}.button{background:var(--ink);color:#fff;border:0;text-decoration:none;border-radius:100px;font:700 .96rem/1.2 var(--body);padding:16px 23px;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;align-self:flex-start}.button:hover{background:#583965}.home-cats{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:26px 0;border-bottom:1px solid var(--line)}.home-cats h2{font:700 .94rem var(--body);margin:0}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:99px;padding:7px 13px;font-size:.88rem;text-decoration:none;background:var(--paper);font-weight:600}.chip:hover,.chip.active{border-color:var(--ink)}.chip.active{background:var(--ink);color:#fff}.chip i{width:12px;height:12px;border-radius:3px;display:inline-block;background:var(--dot);transform:rotate(-10deg)}.chip:nth-child(3n) i{border-radius:50%}.chip:nth-child(3n + 1) i{transform:rotate(45deg);width:10px;height:10px}
.picks{padding:52px 0 12px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.section-head .kicker,.visit .kicker,.product-copy .kicker,.catalog-title .kicker{color:#714c74;margin-bottom:8px}.section-head h2,.visit h2,.store-info h2,.empty h2{font:800 clamp(2rem,3.4vw,3.2rem)/1.08 var(--head);letter-spacing:-.055em;margin:0}.textlink,.secondary-link{font-weight:700}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:31px 20px}.card>a{display:block;text-decoration:none}.card-art,.product-photo{background:#f2f1eb;display:grid;place-items:center;overflow:hidden;border-radius:16px;aspect-ratio:1.22}.card:nth-child(4n + 2) .card-art{background:#f4ede9}.card:nth-child(4n + 3) .card-art{background:#efedf4}.card:nth-child(4n + 4) .card-art{background:#eff3eb}.card-art img{width:100%;height:100%;object-fit:contain;padding:clamp(14px,1.4vw,27px);mix-blend-mode:multiply;transition:transform .22s}.card a:hover img{transform:scale(1.035)}.card a:hover h3{text-decoration:underline}.card-line{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-top:13px}.card-line span{font-size:.77rem;color:var(--muted)}.card-line strong{white-space:nowrap;font-size:.98rem}.card h3{font:700 clamp(1.05rem,1.55vw,1.4rem)/1.18 var(--head);margin:3px 0;letter-spacing:-.035em}.no-photo{color:var(--muted);font-size:.87rem}.visit{margin:48px 0 50px;background:#dce9dc;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:clamp(28px,4vw,60px)}.visit .kicker{color:#3a5d43}.visit p:last-child{max-width:56ch;margin:12px 0 0}.button.light{color:var(--ink);background:#fffdf7;align-self:center;white-space:nowrap}.button.light:hover{background:white}
footer{background:#322638;color:#fff9f3}.footgrid{padding-block:44px 28px;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:32px}.footgrid .brand img{width:155px}.footgrid p{margin:10px 0 0;color:#eee4ef;font-size:.96rem}.footbottom{border-top:1px solid #65566c;padding-block:14px;display:flex;justify-content:space-between;align-items:center;font-size:.85rem}.footbottom ul{display:flex;gap:18px;flex-wrap:wrap;list-style:none;margin:0}
.inside{padding-top:24px;padding-bottom:52px}.crumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.875rem;margin-bottom:30px}.crumb a{text-decoration:none}.crumb a:hover{text-decoration:underline}.catalog-title h1,.product-copy h1,.prose h1{font:800 clamp(2.7rem,5.2vw,5rem)/1 var(--head);letter-spacing:-.06em;margin:0 0 24px}.filters{margin:0 0 23px}.searchbar{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;background:#f2ede8;border-radius:16px;padding:18px}.searchbar label{font-size:.85rem;font-weight:700;display:grid;gap:5px}.searchbar .searchlabel{flex:1 1 210px}.searchbar input[type=search],.searchbar select{border:1px solid #c6bdc6;border-radius:8px;background:#fffdfa;font:400 .95rem var(--body);color:var(--ink);height:44px;padding:0 10px;max-width:100%;width:100%}.searchbar .input-wrap{position:relative;display:block}.input-wrap .glass{position:absolute;left:13px;top:13px;transform:scale(.8)}.searchbar input[type=search]{padding-left:38px}.searchbar .check{display:flex;align-items:center;gap:5px;align-self:center;padding-top:17px}.check input{accent-color:var(--purple);width:17px;height:17px}.searchbar .button{padding:13px 21px;align-self:end}.result-line{display:flex;justify-content:space-between;font-size:.94rem;color:var(--muted);margin:22px 0 16px}.empty{padding:45px 18px;text-align:center}.pagination{margin:34px 0}.nav-links{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.page-numbers{padding:7px 13px;border-radius:99px;text-decoration:none}.page-numbers.current{background:var(--ink);color:white}
.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,80px);align-items:start}.product-photo{aspect-ratio:1;background:#f3eee9}.product-photo a{width:100%;height:100%;display:grid;place-items:center}.product-photo img{width:100%;height:100%;object-fit:contain;padding:7%;mix-blend-mode:multiply}.product-copy{padding-top:1.5vw}.product-copy h1{font-size:clamp(2.35rem,4vw,4.2rem);margin-bottom:12px}.price{font-size:1.7rem;margin:8px 0;font-weight:700}.description{max-width:66ch}.specs{margin:20px 0 25px}.specs div{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:9px 0;border-bottom:1px solid var(--line);font-size:.94rem}.specs dd{margin:0;text-align:right}.specs dt{font-weight:700}.gallery,.store-gallery{display:flex;gap:12px;flex-wrap:wrap;margin-top:15px}.gallery a{width:82px;padding:4px;background:white;border:1px solid var(--line);border-radius:8px}.secondary-link{margin:12px;display:inline-block}.store-panel{background:var(--lilac);border-radius:22px;display:grid;grid-template-columns:1fr 1fr;gap:45px;padding:clamp(25px,5vw,78px);align-items:center}.store-info{background:var(--paper);padding:clamp(22px,3vw,42px);border-radius:18px}.store-info h2{font-size:2rem}.store-gallery img{width:min(100%,330px);border-radius:12px}.prose{min-height:45vh;overflow-wrap:anywhere}.prose h1{margin:20px 0}.prose img{height:auto}.prose .wp-block-image{margin-inline:0}
@media(max-width:900px){.mast{min-height:74px}.mast nav{gap:18px}.brand img{width:150px}.hero-copy{padding:30px}.hero-image{min-height:360px}.grid{gap:22px 14px}.searchbar .check{padding-top:0}.home-cats{gap:9px}.head-search span:last-child{display:none}.head-search{padding:12px}.store-panel{gap:20px}}
@media(max-width:680px){.wrap{width:calc(100% - 32px)}.mast{gap:12px;min-height:76px;flex-wrap:wrap;justify-content:space-between;padding:12px 0 9px}.mast nav{order:3;width:100%;gap:23px}.mast nav a{font-size:.9rem}.mast nav a[aria-current=page]{text-underline-offset:4px}.brand img{width:139px}.head-search{padding:6px 11px}.head-search span:last-child{display:inline;font-size:.8rem}.head-search .glass{transform:scale(.75)}.hero{grid-template-columns:1fr;margin-top:16px;border-radius:19px}.hero-copy{padding:27px 24px 26px}.hero .kicker{margin-bottom:11px}.hero h1{font-size:clamp(3.9rem,14vw,5rem);margin-bottom:14px}.hero h1 br{display:none}.hero h1 br:after{content:' '}.hero .lead{margin-bottom:18px}.hero-image{min-height:0;aspect-ratio:1.9}.hero-image img{object-position:50% 57%}.home-cats{padding:18px 0}.home-cats h2{width:100%}.chip{padding:6px 10px;font-size:.8rem}.picks{padding-top:32px}.section-head{align-items:end;gap:8px}.section-head h2{font-size:2rem}.section-head .textlink{font-size:.8rem;white-space:nowrap}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.card-art{border-radius:11px;aspect-ratio:1.03}.card-line{align-items:flex-start;flex-direction:column;gap:0;margin-top:7px}.card-line span{font-size:.75rem}.card-line strong{font-size:.95rem}.card h3{margin-top:2px}.visit{display:block;margin:30px 0;padding:24px}.visit .button{margin-top:14px}.footgrid{grid-template-columns:1fr 1fr;gap:21px 12px;padding-block:26px}.footgrid>div:first-child{grid-column:1/-1}.footgrid p,.footgrid b{font-size:.86rem}.footbottom{gap:12px;align-items:start}.inside{padding-top:16px}.crumb{margin-bottom:19px}.product-layout,.store-panel{grid-template-columns:1fr}.product-layout{gap:20px}.product-photo{aspect-ratio:1.2}.searchbar{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px}.searchbar .searchlabel{grid-column:1/-1}.searchbar .button{justify-self:end}.searchbar select{width:100%;min-width:0}.store-panel h1{font-size:3.6rem}.store-panel{padding:23px 18px}.store-panel .lead{margin-bottom:0}.secondary-link{margin-left:6px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
