/* Homepage categories: squircle imagery, complete labels, one link per category. */
.tubik-home-categories{--category-ink:#211b66;--category-muted:#69718b;--category-line:#e6e8f1;--category-surface:#fff;--category-gap:12px;--category-label-gap:10px;--category-row-gap:14px;--category-focus:#7e71d4}
.tubik-home-categories-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
body.tubik-liquid .toway-home .tubik-home-categories-heading h2{margin:0;color:var(--category-ink);font-size:20px;line-height:1.6;font-weight:800}
.tubik-home-categories-all{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:44px;padding:8px 10px;border:1px solid #e6e3f2;border-radius:16px;background:#ffffffb8;color:var(--category-ink);font-size:12px;font-weight:600;line-height:1.6}
.tubik-home-categories-all svg{width:15px;height:15px;flex-shrink:0}
[dir=rtl] .tubik-home-categories-all svg{transform:rotate(180deg)}
.tubik-home-category-rail{min-width:0;overflow:hidden;padding:4px 4px 6px;margin-inline:-4px;touch-action:pan-y}
.tubik-home-category-rail .swiper-wrapper{margin:0;padding:0;list-style:none;align-items:stretch}
.tubik-home-category-rail .tubik-home-category-slide{width:104px;height:auto;flex-shrink:0}
.tubik-home-category-loading{display:flex;gap:12px;overflow:hidden;margin:0;padding:0;list-style:none}
.tubik-home-category-loading>li{flex:0 0 104px}
body.tubik-liquid .tubik-storefront .toway-home .toway-category-card.tubik-home-category{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--category-label-gap);height:100%;padding:6px 2px;border:1px solid var(--category-line);border-radius:24px;background:var(--category-surface);box-shadow:none;overflow:visible;transform:none;transition:background .18s ease,border-color .18s ease}
.tubik-home-category-image{width:84px;max-width:100%;aspect-ratio:1;flex-shrink:0;padding:3px;border:1px solid #ffffff;border-radius:24px;background:var(--category-surface);box-shadow:inset 0 1px 0 #ffffff,0 4px 14px #211b6609;overflow:hidden;transition:box-shadow .18s ease}
body.tubik-liquid .toway-home .tubik-home-category-image img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;border-radius:20px;background:var(--category-surface)}
body.tubik-liquid .toway-home .toway-category-card .tubik-home-category-name{display:block;width:100%;min-height:42px;padding:0;color:var(--category-ink);font-size:12px;font-weight:600;line-height:1.75;text-align:center;overflow-wrap:anywhere}
.tubik-home-categories :is(a,button):focus-visible{outline:3px solid var(--category-focus);outline-offset:3px}
.tubik-home-category-placeholder{display:flex;flex-direction:column;align-items:center;gap:10px;padding:6px 2px}
.tubik-home-category-placeholder i{display:block;width:84px;max-width:100%;aspect-ratio:1;border-radius:24px;background:#e9ebf2}
.tubik-home-category-placeholder span{width:70%;height:10px;margin:8px 0 24px;border-radius:5px;background:#e9ebf2}
@media(hover:hover){body.tubik-liquid .tubik-storefront .toway-home .toway-category-card.tubik-home-category:hover{background:var(--category-surface);border-color:#e5e2f1}.tubik-home-category:hover .tubik-home-category-image{box-shadow:0 6px 18px #211b6612}.tubik-home-categories-all:hover{background:#fff}}
@media(max-width:359px){.tubik-home-categories-heading{flex-wrap:wrap;gap:8px}body.tubik-liquid .toway-home .tubik-home-categories-heading h2{font-size:18px}.tubik-home-categories-all{font-size:11px;padding-inline:8px}}
@media(min-width:768px){.tubik-home-category-rail .tubik-home-category-slide{width:156px}.tubik-home-category-image,.tubik-home-category-placeholder i{width:112px;border-radius:30px}.tubik-home-category-image img{border-radius:26px}body.tubik-liquid .toway-home .toway-category-card .tubik-home-category-name{font-size:14px;min-height:49px}body.tubik-liquid .toway-home .tubik-home-categories-heading h2{font-size:26px}.tubik-home-categories-heading{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.tubik-home-category,.tubik-home-category-image{transition:none!important}}
