/* FARICCI mood cards: wide section, square photos and balanced click-open panel. */
#categories.category-grid{width:100%;max-width:none;margin:22px auto 0;padding:0 clamp(18px,2.7vw,50px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.2vw,20px)}
#categories .category-tile{width:100%;aspect-ratio:1/1;min-width:0;isolation:isolate;background:#e6e3dc;box-shadow:0 12px 30px rgba(24,28,28,.09)}
#categories .category-tile img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .8s cubic-bezier(.2,.65,.3,1),filter .5s ease}
#categories .category-tile:hover img{transform:scale(1.045)}
#categories .category-tile--mood .category-copy{padding:clamp(20px,3vw,42px)}
#categories .category-tile--mood .category-name{font-size:clamp(28px,3.2vw,48px);line-height:1.02;text-wrap:balance}
#categories .category-tile--mood .category-descriptor{font-size:clamp(9px,.85vw,12px);line-height:1.5}
#categories .category-tile--mood .category-link{bottom:clamp(18px,2.5vw,32px)}
/* The reveal keeps the same square footprint as its photo tile. */
#categories .category-tile--mood.is-open{aspect-ratio:1/1}
#categories .mood-reveal{display:flex;flex-direction:column;justify-content:center;gap:clamp(9px,1.2vw,15px);padding:clamp(22px,3vw,42px);background:linear-gradient(145deg,#edf5f8 0%,#dfedf4 100%)}
#categories .mood-reveal .eyebrow{font-size:9px;letter-spacing:.2em}
#categories .mood-reveal h3{font-size:clamp(23px,2.5vw,34px);line-height:1.05}
#categories .mood-reveal-copy{max-width:52ch;margin:0;color:#515a5d;font-size:clamp(11px,.95vw,13px);line-height:1.6;-webkit-line-clamp:4}
#categories .mood-reveal .mood-product-card{display:grid;grid-template-columns:clamp(76px,10vw,124px) minmax(0,1fr) auto;align-items:center;gap:clamp(10px,1.5vw,18px);width:100%;margin-top:clamp(8px,1.2vw,14px);padding:clamp(10px,1.5vw,18px);border:1px solid #fff;background:rgba(255,255,255,.94);box-shadow:0 12px 30px rgba(24,38,43,.08)}
#categories .mood-reveal .mood-product-card>img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;padding:6px;background:#f6f5f1}
#categories .mood-reveal .mood-product-info{min-width:0;gap:5px}
#categories .mood-reveal .mood-product-info>span{font-size:8px;letter-spacing:.12em}
#categories .mood-reveal .mood-product-info strong{font-size:clamp(11px,1vw,14px);line-height:1.3}
#categories .mood-reveal .mood-product-info b{font-size:clamp(12px,1.1vw,15px)}
#categories .mood-reveal .mood-shop-link{grid-column:3;grid-row:1;min-height:42px;padding:0 14px;font-size:9px;white-space:nowrap}
#categories .mood-reveal-close{z-index:2;top:clamp(12px,1.6vw,20px);right:clamp(12px,1.6vw,20px);width:34px;height:34px}
@media(max-width:900px){#categories.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:22px;gap:14px}#categories .mood-reveal{padding:20px}#categories .mood-reveal .mood-product-card{grid-template-columns:78px minmax(0,1fr);gap:10px}#categories .mood-reveal .mood-shop-link{grid-column:1/-1;grid-row:auto;width:100%}}
@media(max-width:560px){#categories.category-grid{grid-template-columns:1fr;padding-inline:16px;gap:16px;margin-top:18px}#categories .category-tile,#categories .category-tile--mood.is-open{aspect-ratio:1/1}#categories .category-tile--mood .category-name{font-size:clamp(32px,9vw,44px)}#categories .category-tile--mood .category-descriptor{font-size:10px;letter-spacing:.13em}#categories .mood-reveal{justify-content:flex-start;gap:10px;padding:20px}#categories .mood-reveal h3{font-size:24px}#categories .mood-reveal-copy{-webkit-line-clamp:5;font-size:11px}#categories .mood-reveal .mood-product-card{grid-template-columns:70px minmax(0,1fr);padding:9px}#categories .mood-reveal .mood-product-card>img{height:70px}#categories .mood-reveal .mood-product-info>span{font-size:7px}#categories .mood-reveal .mood-product-info strong{font-size:10px}#categories .mood-reveal .mood-product-info b{font-size:12px}#categories .mood-reveal .mood-shop-link{min-height:38px}}
@media(prefers-reduced-motion:reduce){#categories .category-tile img{transition:none!important}}
