/* Category mosaic — dedicated layout, does not affect other sections. */
.ptfh-home .ptfh-section-categories{background:#111111;color:#fff;padding:72px 0 76px;}
.ptfh-home .ptfh-section-categories .ptfh-shell{max-width:1240px;}
.ptfh-home .ptfh-categories-head{display:flex;gap:28px;align-items:center;margin-bottom:30px;}
.ptfh-home .ptfh-categories-head h2{color:#f6f6f6;font-size:clamp(25px,3vw,36px);line-height:1.2;font-weight:800;letter-spacing:.02em;margin:0;white-space:nowrap;text-transform:uppercase;}
.ptfh-home .ptfh-categories-head>span{height:1px;flex:1;background:rgba(255,255,255,.24);}
.ptfh-home .ptfh-category-mosaic{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:row dense;grid-auto-rows:120px;gap:20px;}
.ptfh-home .ptfh-category-card{position:relative;isolation:isolate;display:block;grid-column:span 4;grid-row:span 3;min-width:0;min-height:0;background:#282828;overflow:hidden;border-radius:16px;color:#fff!important;transform:translateZ(0);}
.ptfh-home .ptfh-category-card:nth-child(6n + 1){grid-column:span 8;grid-row:span 3;}
.ptfh-home .ptfh-category-card:nth-child(6n + 2){grid-column:span 4;grid-row:span 3;}
.ptfh-home .ptfh-category-card:nth-child(6n + 3),.ptfh-home .ptfh-category-card:nth-child(6n + 4){grid-column:span 3;grid-row:span 2;}
.ptfh-home .ptfh-category-card:nth-child(6n + 5){grid-column:span 6;grid-row:span 4;}
.ptfh-home .ptfh-category-card:nth-child(6n + 6){grid-column:span 6;grid-row:span 2;}
.ptfh-home .ptfh-category-card>img{width:100%;height:100%;object-fit:cover;display:block;max-width:none;transition:transform .7s cubic-bezier(.22,1,.36,1);}
.ptfh-home .ptfh-category-card:hover>img{transform:scale(1.055);}
.ptfh-home .ptfh-category-card:after{content:'';position:absolute;inset:38% 0 0;background:linear-gradient(0deg,rgba(0,0,0,.55),transparent);pointer-events:none;}
.ptfh-home .ptfh-category-card .ptfh-img-fallback{height:100%;min-height:0;}
.ptfh-home .ptfh-category-title{position:absolute;z-index:2;bottom:22px;left:27px;right:16px;font-size:16px;line-height:1.3;font-weight:800;color:#fff;text-transform:uppercase;text-shadow:0 1px 3px rgba(0,0,0,.3);}
.ptfh-home .ptfh-category-all-wrap{text-align:center;margin-top:36px;}
.ptfh-home .ptfh-category-all{display:inline-flex;justify-content:center;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.7);border-radius:7px;color:#fff!important;padding:13px 27px;min-width:245px;font-size:12px;font-weight:700;background:transparent;transition:background .25s,color .25s,border-color .25s;}
.ptfh-home .ptfh-category-all:hover{background:white;color:#111!important;border-color:#fff;}
@media(max-width:900px){
 .ptfh-home .ptfh-category-mosaic{grid-auto-rows:92px;gap:14px;}
 .ptfh-home .ptfh-category-card{border-radius:12px;}
 .ptfh-home .ptfh-category-title{font-size:13px;bottom:16px;left:16px;}
}
@media(max-width:600px){
 .ptfh-home .ptfh-section-categories{padding:48px 0 55px;}
 .ptfh-home .ptfh-categories-head{gap:14px;margin-bottom:23px;}
 .ptfh-home .ptfh-categories-head h2{font-size:clamp(20px,5.5vw,27px);white-space:normal;}
 .ptfh-home .ptfh-category-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:105px;gap:12px;}
 .ptfh-home .ptfh-category-card,.ptfh-home .ptfh-category-card:nth-child(n){grid-column:span 1;grid-row:span 2;border-radius:12px;}
 .ptfh-home .ptfh-category-card:nth-child(6n + 1),.ptfh-home .ptfh-category-card:nth-child(6n + 5){grid-column:span 2;grid-row:span 3;}
 .ptfh-home .ptfh-category-title{font-size:13px;left:13px;right:10px;bottom:13px;}
 .ptfh-home .ptfh-category-all-wrap{margin-top:28px;}
}
@media(prefers-reduced-motion:reduce){.ptfh-home .ptfh-category-card>img{transition:none!important;}}
