@font-face { font-family: "TikTok Text"; src: url("/fonts/tiktok-text-regular.otf") format("opentype"); font-display: swap; font-weight: 400; }
@font-face { font-family: "TikTok Text"; src: url("/fonts/tiktok-text-bold.otf") format("opentype"); font-display: swap; font-weight: 700; }
:root { --category-width: 420px; --pink: #fe2c55; --teal: #16b9ad; color-scheme: dark; font-family: "TikTok Text", Arial, sans-serif; }
* { box-sizing: border-box; }
html { background: #efefef; }
body { margin: 0; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.category-products-page { min-width: 320px; background: #efefef; }
.category-products { width: min(100%,var(--category-width)); min-height: 100vh; margin: 0 auto; overflow-x: clip; background: #000; color: #eee; }
.category-products__header { position: sticky; top: 0; z-index: 30; display: grid; height: 55px; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; background: #242426; }
.category-products__header > a:first-child { position: relative; width: 48px; height: 55px; }
.category-products__header > a:first-child span { position: absolute; top: 20px; left: 18px; width: 12px; height: 12px; border-bottom: 2px solid white; border-left: 2px solid white; transform: rotate(45deg); }
.category-products__header h1 { margin: 0; overflow: hidden; font-size: 19px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.category-products__cart { position: relative; display: grid; width: 48px; height: 55px; place-items: center; }
.category-products__cart > img { width: 28px; height: 28px; object-fit: contain; filter: brightness(0) invert(1); }
.category-products__cart > span { position: absolute; top: 7px; right: 7px; display: grid; min-width: 17px; height: 17px; place-items: center; padding: 0 4px; border-radius: 9px; background: var(--pink); color: white; font-size: 10px; font-weight: 700; }
.category-products__filters { position: sticky; top: 55px; z-index: 29; display: grid; height: 47px; grid-template-columns: 1fr 1.55fr 1fr; border-bottom: 1px solid #262629; background: #242426; box-shadow: 0 4px 8px rgba(0,0,0,.28); }
.category-products__filters button { position: relative; border: 0; background: transparent; color: #8f8f94; cursor: pointer; font-size: 14px; }
.category-products__filters button + button::before { position: absolute; top: 15px; bottom: 15px; left: 0; width: 1px; background: #3a3a3d; content: ""; }
.category-products__filters button.is-active { color: #eee; }
.category-products__filters button.is-active::after { position: absolute; right: 22%; bottom: 0; left: 22%; height: 2px; background: white; content: ""; }
.category-products__filters button i { display: inline-block; width: 0; height: 0; margin: 0 0 2px 3px; border-right: 4px solid transparent; border-bottom: 5px solid #777; border-left: 4px solid transparent; }
.category-products__filters button.is-descending i { border-top: 5px solid #ddd; border-bottom: 0; }
.category-product-grid { padding: 8px 4px 14px; }
.category-product-grid__items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 7px; }
.category-product { min-width: 0; overflow: hidden; }
.category-product__media { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 7px 7px 0 0; background: #171719; }
.category-product__media > img { width: 100%; height: 100%; object-fit: cover; }
.category-product__media > span { position: absolute; bottom: 3px; left: 3px; padding: 2px 3px; border-radius: 2px; background: #16c7b6; color: white; font-size: 7px; font-weight: 700; line-height: 1.05; text-transform: uppercase; }
.category-product__title { display: block; margin: 6px 7px 0; overflow: hidden; color: #d2d2d6; font-size: 14px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.category-product__shipping { display: inline-flex; height: 19px; max-width: calc(100% - 14px); align-items: center; gap: 3px; margin: 4px 7px 0; padding: 0 5px; overflow: hidden; border-radius: 3px; background: #07534f; color: #8ce5da; font-size: 10px; white-space: nowrap; }
.category-product__shipping img { width: 12px; height: 12px; object-fit: contain; }
.category-product__shipping i { overflow: hidden; font-style: normal; text-overflow: ellipsis; }
.category-product__social { display: flex; min-width: 0; align-items: center; gap: 3px; margin: 5px 7px 0; overflow: hidden; color: #87878d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.category-product__social strong { flex: 0 0 auto; color: white; font-size: 10px; letter-spacing: 0; }
.category-product__social i { color: #555; font-style: normal; }
.category-product__price { display: flex; min-height: 48px; align-items: end; justify-content: space-between; gap: 6px; margin: 3px 7px 0; }
.category-product__price > span { min-width: 0; }
.category-product__price strong { display: block; color: #ff3b61; font-size: 20px; line-height: 1; white-space: nowrap; }
.category-product__price del { display: block; margin-top: 5px; color: #57575d; font-size: 11px; }
.category-product__price > a { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 50%; background: #29050d; }
.category-product__price > a img { width: 21px; height: 21px; object-fit: contain; filter: invert(32%) sepia(93%) saturate(3272%) hue-rotate(328deg) brightness(103%); }
.category-product-grid__empty { grid-column: 1 / -1; padding: 60px 20px; color: #777; text-align: center; }
.category-product-grid__loader { display: grid; min-height: 56px; grid-column: 1 / -1; place-items: center; }
.category-product-grid__loader[hidden] { display: none; }
.category-product-grid__loader > span { width: 23px; height: 23px; border: 2px solid #3b3b3f; border-top-color: var(--pink); border-radius: 50%; visibility: hidden; }
.category-product-grid__loader.is-loading > span { visibility: visible; animation: category-product-spin 700ms linear infinite; }
.category-product-grid__loader button { padding: 7px 18px; border: 1px solid #4a4a4e; border-radius: 4px; background: #171719; color: #ddd; cursor: pointer; }
@keyframes category-product-spin { to { transform: rotate(360deg); } }
@media (max-width: 365px) {
  .category-product-grid__items { gap-inline: 5px; }
  .category-product__title { font-size: 13px; }
  .category-product__price strong { font-size: 18px; }
  .category-product__price > a { width: 34px; height: 34px; flex-basis: 34px; }
}
@media (min-width: 421px) { .category-products { box-shadow: 0 0 24px rgba(0,0,0,.14); } }
