/* Homepage assortment: same brand shapes and type as the promotion panels. */
#tm-home-assortiment{--tma-ink:#183A28;--tma-green:#287636;--tma-surface:#EFF5EC;padding:42px 0 48px;background:#fff;font-family:Inter,Arial,sans-serif;color:var(--tma-ink)}
#tm-home-assortiment *{box-sizing:border-box}
#tm-home-assortiment>.container{width:min(1280px,calc(100% - 48px));max-width:none;margin:0 auto;padding:0}
#tm-home-assortiment .section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;text-align:left;margin:0 0 28px}
#tm-home-assortiment .section-title h2{font-family:Kanit,Arial,sans-serif;font-size:42px;font-weight:800;letter-spacing:-.025em;line-height:1.03;color:var(--tma-green);margin:0;flex:none}
#tm-home-assortiment .section-title p{max-width:345px;margin:0 0 4px;color:#45594C;font-size:14px;font-weight:400;line-height:1.6;text-align:left}
#tm-home-assortiment .cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#tm-home-assortiment .cat-card{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--tma-surface);color:var(--tma-ink);text-decoration:none;border:0;border-radius:0;box-shadow:none;overflow:hidden;clip-path:polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,24px 100%,0 calc(100% - 24px));transform:none;transition:background-color .2s}
#tm-home-assortiment .cat-card:hover{transform:none;box-shadow:none;background:#E4EEDC}
#tm-home-assortiment .cat-card:focus-visible{outline:none;box-shadow:inset 0 0 0 4px #00AEEF}
#tm-home-assortiment .cat-card:focus-visible .cat-cta{outline:3px solid #00AEEF;outline-offset:2px;text-decoration:underline;text-underline-offset:3px}
#tm-home-assortiment .cat-img{height:auto;aspect-ratio:16/9;flex:none;background-color:#E4EADf;position:relative;border-radius:0}
#tm-home-assortiment .cat-count{position:absolute;top:12px;left:12px;right:auto;padding:6px 10px;font-family:Inter,Arial,sans-serif;font-size:10px;font-weight:600;line-height:1.2;background:#fff;color:var(--tma-ink);border-radius:0;backdrop-filter:none;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px))}
#tm-home-assortiment .cat-body{display:flex;flex-direction:column;padding:17px 20px 0;flex:1}
#tm-home-assortiment .cat-body h3{font-family:Kanit,Arial,sans-serif;font-size:24px;font-weight:800;letter-spacing:-.015em;line-height:1.1;margin:0 0 8px;color:var(--tma-green)}
#tm-home-assortiment .cat-body p{font-family:Inter,Arial,sans-serif;font-size:12px;font-weight:400;color:#45594C;line-height:1.55;margin:0;flex:1}
#tm-home-assortiment .cat-cta{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:43px;margin:16px 20px 20px;padding:11px 14px;background:#fff;color:var(--tma-ink);font-family:Kanit,Arial,sans-serif;font-size:14px;font-weight:800;font-style:italic;line-height:1.25;border-radius:0;text-align:left;text-decoration:none;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));transition:none}
#tm-home-assortiment .cat-card:hover .cat-cta{background:#fff;color:var(--tma-ink)}
#tm-home-assortiment .cat-cta svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;transition:transform .2s}
#tm-home-assortiment .cat-card:hover .cat-cta svg{transform:translateX(3px)}
@media(min-width:961px) and (max-width:1150px){
 #tm-home-assortiment .cat-body{padding:16px 16px 0}
 #tm-home-assortiment .cat-body h3{font-size:21px}
 #tm-home-assortiment .cat-cta{margin:16px;font-size:12px;padding:11px}
}
@media(max-width:960px){
 #tm-home-assortiment .cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tm-home-assortiment .section-title h2{font-size:36px}
 #tm-home-assortiment .section-title p{max-width:300px;font-size:13px}
}
@media(max-width:600px){
 #tm-home-assortiment{padding:28px 0 36px}
 #tm-home-assortiment>.container{width:calc(100% - 28px)}
 #tm-home-assortiment .section-title{display:block;margin-bottom:22px}
 #tm-home-assortiment .section-title h2{font-size:34px;line-height:1.06}
 #tm-home-assortiment .section-title p{font-size:13px;max-width:330px;margin:12px 0 0}
 #tm-home-assortiment .cat-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 #tm-home-assortiment .cat-card{display:grid;grid-template-columns:34% minmax(0,1fr);grid-template-rows:1fr auto;min-height:180px;clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 20px))}
 #tm-home-assortiment .cat-img{grid-column:1;grid-row:1/3;align-self:stretch;width:100%;height:100%;aspect-ratio:auto}
 #tm-home-assortiment .cat-count{top:10px;left:8px;padding:5px 7px;font-size:9px}
 #tm-home-assortiment .cat-body{grid-column:2;grid-row:1;padding:16px 14px 0}
 #tm-home-assortiment .cat-body h3{font-size:21px;line-height:1.1;margin-bottom:8px}
 #tm-home-assortiment .cat-body p{font-size:11px;line-height:1.5}
 #tm-home-assortiment .cat-cta{grid-column:2;grid-row:2;margin:12px 14px 16px;padding:10px;min-height:42px;font-size:12px;gap:5px}
 #tm-home-assortiment .cat-cta svg{width:16px;height:16px}
}
@media(max-width:360px){
 #tm-home-assortiment .cat-body{padding:15px 12px 0}
 #tm-home-assortiment .cat-body h3{font-size:18px}
 #tm-home-assortiment .cat-cta{margin:10px 12px 14px;font-size:11px;padding:9px;gap:3px}
 #tm-home-assortiment .cat-count{font-size:8px;padding:5px}
}
@media(prefers-reduced-motion:reduce){
 #tm-home-assortiment .cat-card,#tm-home-assortiment .cat-cta svg{transition:none}
}
