/* Mariani Studio 2.0 category page — matches reference structure, values from saved CSS. */
/* 1.9 logo size/offset refinement — applied at the final cascade layer. */
@media(min-width:1024px){.header-container .menu-container>.header__logo.desktop-only{margin-top:-1.15em!important;transform:translateY(8px)}.header-container .header__logo.desktop-only .mariani-brand-link{width:19.5vw!important}}
@media(max-width:1023px){.header-container .header__logo.mobile-only{transform:translateY(3px)}.header-container .header__logo.mobile-only .mariani-brand-link{width:176px!important}}
body.tax-product_cat,body.tax-mariani_product_cat,body.post-type-archive-mariani_product{background:#fff;color:#111}
.mariani-category-page{width:100%;background:#fff;overflow:clip;direction:rtl}
.mariani-category-hero{width:100%;height:100svh;position:relative;overflow:hidden;color:#fff;background:#171717}
.mariani-category-hero picture,.mariani-category-hero picture img{width:100%;height:100%;display:block}
.mariani-category-hero img{object-fit:cover;object-position:center}
.mariani-category-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.08),transparent 42%,rgba(0,0,0,.15));pointer-events:none}
.mariani-category-caption{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;width:min(90%,1000px);color:#fff}
.mariani-category-caption h1{font-size:clamp(42px,5.2vw,84px);font-weight:400;line-height:1.05;margin:0 0 14px;letter-spacing:.015em}
.mariani-category-caption p{font-size:clamp(12px,1vw,17px);font-weight:400;letter-spacing:.16em;text-transform:uppercase;margin:0}
.mariani-category-hero .mariani-category-arrow{position:absolute;left:50%;bottom:2.5em;z-index:3;width:48px;height:48px;transform:translateX(-50%);border:0;background:transparent url('./arrow-down-white.svg') center/40px no-repeat;cursor:pointer;animation:mariani-category-arrow 2s linear .6s infinite}
@keyframes mariani-category-arrow{0%{transform:translate(-50%,0);opacity:0}35%,65%{opacity:1}100%{transform:translate(-50%,28px);opacity:0}}
.mariani-category-products{background:#fff;min-height:100svh;padding:6em 0;box-sizing:border-box;color:#111}
.mariani-category-products>.container{width:100%;max-width:1400px;margin:0 auto;padding:0 clamp(22px,4vw,72px);box-sizing:border-box}
.mariani-category-products .product-grid{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;margin:2em -2em;direction:rtl}
.mariani-category-products .product-grid__item{box-sizing:border-box;padding:4em 2em;position:relative;text-align:center;flex:0 0 33.333%;width:33.333%;min-width:0}
.mariani-category-products .product-grid__item a{display:block;text-decoration:none;color:#111}
.mariani-category-products .product-grid__item figure{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;width:100%;margin:0;padding:0;height:auto}
.mariani-category-products .product-grid__item .mariani-category-product-image{width:100%;height:18vh;min-height:130px;display:flex;justify-content:center;align-items:center;overflow:hidden}
.mariani-category-products .product-grid__item img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;display:block;transition:transform .65s cubic-bezier(.2,.65,.2,1),opacity .45s ease}
.mariani-category-products .product-grid__item a:hover img{transform:scale(1.045);opacity:.88}
.mariani-category-products .product-grid__item figcaption{text-align:center;font-size:clamp(13px,1.1vw,16px);font-weight:600;text-transform:uppercase;line-height:1.5;color:#111;letter-spacing:.025em}
.mariani-category-products .mariani-reveal{opacity:0;transform:translateY(36px);transition:opacity .85s cubic-bezier(.2,.7,.2,1),transform .85s cubic-bezier(.2,.7,.2,1)}
.mariani-category-products .mariani-reveal.in-view{opacity:1;transform:none}
.mariani-category-description{max-width:900px;margin:4em auto 0;text-align:right;line-height:2;color:#555}
.mariani-category-products .mariani-empty-products{text-align:center;min-height:240px;padding:80px 10px;color:#666}
body.tax-product_cat .header-container:not(:hover):not(.active),body.tax-mariani_product_cat .header-container:not(:hover):not(.active){color:#fff!important}
@media(max-width:1023px){.mariani-category-products .product-grid__item{flex-basis:50%;width:50%;padding:3em 1.5em}}
@media(max-width:767px){.mariani-category-hero{height:auto;aspect-ratio:2.2/1;min-height:240px;margin-top:70px}.mariani-category-caption h1{font-size:clamp(28px,7vw,45px)}.mariani-category-caption p{font-size:10px;letter-spacing:.09em}.mariani-category-hero .mariani-category-arrow{display:none}.mariani-category-products{min-height:0;padding:2.2em 0 4em}.mariani-category-products>.container{padding:0 12px}.mariani-category-products .product-grid{margin:0 -8px}.mariani-category-products .product-grid__item{flex-basis:50%;width:50%;padding:24px 9px}.mariani-category-products .product-grid__item .mariani-category-product-image{height:19vw;min-height:100px}.mariani-category-products .product-grid__item figcaption{font-size:12px}.mariani-category-products .product-grid__item figure{gap:10px}}
@media(max-width:460px){.mariani-category-products .product-grid__item .mariani-category-product-image{height:26vw;min-height:90px}}
@media(prefers-reduced-motion:reduce){.mariani-category-products .mariani-reveal{opacity:1;transform:none;transition:none}.mariani-category-hero .mariani-category-arrow{animation:none}}
