:root {
    --font-sans: -apple-system, BlinkMacSystemFont, 'Roboto', ui-sans-serif, system-ui, sans-serif;
    --color-sidebar: rgba(57, 57, 57, 1);
    --color-text: rgba(17, 17, 17, 1);
    --color-muted: rgba(117, 117, 117, 1);
    --color-line: rgba(255, 255, 255, 1);
    --color-page: rgba(249, 249, 249, 1);
    --color-panel: rgba(255, 255, 255, 1);
    --color-blue: rgba(74, 102, 212, 1);
    --color-green: rgba(52, 199, 89, 1);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--color-page);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 0;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--color-page);
    color: var(--color-text);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    padding-inline: 0;
    background: var(--color-sidebar);
}

.site-header__inner {
    position: relative;
    overflow: visible;
    display: grid;
    grid-template-columns: calc(56px + ((100vw - 256px) / 9)) minmax(250px, max-content) minmax(280px, 360px) minmax(220px, 1fr);
    align-items: center;
    min-height: 85px;
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 0;
    background: var(--color-sidebar);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    /* width: 132px; */
    min-height: 85px;
    padding: 8px 22px;
    color: #fff;
}

.site-logo img {
    /* width: 52px;
    height: 52px; */
    object-fit: contain;
}

.site-logo__mark {
    display: block;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: .84;
}

.site-logo__text {
    display: block;
    margin-top: 3px;
    font-size: 20px;
    font-weight: 800;
    line-height: .9;
}

.site-product-nav {
    display: flex;
    align-items: stretch;
    min-width: 0;
    height: 85px;
}

.site-product-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 85px;
    padding: 0 18px;
    color: #E7E7E7;
    font-size: 16px;
    font-weight: 510;
    white-space: nowrap;
}

.site-product-nav__link.active {
    background: #525252;
    box-shadow: inset 0 -3px 0 #fff;
    color: #fff;
    font-weight: 700;
}

.site-search {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 360px;
    transform: translate(-50%, -50%);
}

.site-search__input {
    width: 100%;
    height: 46px;
    padding: 0 48px 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--color-panel);
    color: var(--color-text);
    font: inherit;
    font-size: 14px;
    outline: none;
}

.site-search__input::placeholder {
    color: rgba(156, 156, 156, 1);
}

.site-search__button {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.site-search__button img {
    width: 16px;
    height: 16px;
    margin: 0 auto;
}

.site-search__dropdown {
    position: absolute;
    z-index: 10;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #252525;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.site-search__dropdown[hidden] {
    display: none;
}

.site-search__results {
    max-height: 520px;
    overflow-y: auto;
}

.site-search__result {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 8px 14px;
    color: #f5f5f5;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.site-search__result + .site-search__result {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-search__result:hover,
.site-search__result:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.site-search__result-image {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 9px;
    background: #3a3a3a;
}

.site-search__result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-search__result-title {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-search__status {
    padding: 18px;
    color: #d2d2d2;
    font-size: 12px;
    text-align: center;
}

.site-search__status.is-loading {
    color: #ededed;
}

.site-search__status.is-error {
    color: #ffb4b4;
}

.site-search__view-all {
    width: 100%;
    min-height: 44px;
    padding: 9px 14px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #303030;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.site-search__view-all:hover,
.site-search__view-all:focus-visible {
    background: #3d3d3d;
    outline: none;
}

.site-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 34px 0 24px;
    color: var(--color-panel);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.site-actions span {
    color: rgba(215, 215, 215, 1);
    font-weight: 400;
}

.asset-detail__download.is-disabled,
.asset-detail-file.is-disabled {
    pointer-events: none;
    opacity: .55;
}

.category-page {
    width: 100%;
    margin: 32px 0 56px;
    padding-inline: 32px;
}

.category-shell {
    --category-content-columns: 8;
    --category-shell-columns: 9;
    display: grid;
    grid-template-columns: repeat(var(--category-shell-columns), minmax(0, 1fr));
    align-items: start;
    gap: 20px 24px;
}

.category-sidebar {
    grid-column: span 1;
    min-width: 0;
}

.categories-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.categories-panel h2 {
    margin: 0;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 590;
    line-height: 1;
    text-transform: uppercase;
}

.categories-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: 7px;
    background: var(--color-panel);
    color: var(--color-text);
    cursor: pointer;
}

.categories-list {
    display: grid;
    gap: 6px;
    align-content: start;
    grid-auto-rows: max-content;
}

.categories-list--scroll {
    --category-link-height: 32px;
    --category-link-gap: 6px;
    --category-visible-count: 12;
    max-height: 700px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 17, 17, 0.25) transparent;
}

.categories-list--scroll::-webkit-scrollbar {
    width: 6px;
}

.categories-list--scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.25);
}

.categories-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.categories-modal[hidden] {
    display: none;
}

.categories-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.45);
}

.categories-modal__dialog {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: calc(100% - var(--categories-drawer-gap, 48px));
    height: 100%;
    border: 0;
    border-left: 1px solid var(--color-line);
    border-radius: 0;
    background: var(--color-page);
    box-shadow: -12px 0 32px rgba(17, 17, 17, 0.12);
    overflow: hidden;
}

.categories-modal__header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 16px 14px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    background: var(--color-panel);
}

.categories-modal__header h2 {
    margin: 0;
}

.categories-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
}

.categories-list--modal {
    flex: 1;
    min-height: 0;
    padding: 12px 16px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

body.categories-modal-open {
    overflow: hidden;
}

.category-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 37px;
    padding: 0 10px;
    border: 1px solid var(--color-line);
    border-radius: 7px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 274;
}

.category-link.active {
    border-color: rgba(255, 255, 255, 1);
    background: var(--color-panel);
    color: var(--color-blue);
}

.category-link__icon {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: var(--color-sidebar);
    font-size: 18px;
    overflow: hidden;
}

.category-link.active .category-link__icon {
    color: var(--color-blue);
}

.category-link .label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mode-filter {
    margin-top: 30px;
}

.mode-filter label {
    display: flex;
    align-items: center;
    min-height: 30px;
    gap: 8px;
    color: var(--color-text);
    font-size: 11px;
}

.mode-filter input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-blue);
}

.category-results {
    grid-column: span var(--category-content-columns);
    min-width: 0;
}

.home-results {
    display: grid;
    gap: 36px;
}

.home-category-row {
    min-width: 0;
}

.home-category-row__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 16px;
}

.home-category-row__header h2 {
    margin: 0;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 510;
    line-height: 1.5;
    text-transform: uppercase;
}

.home-category-row__header a {
    color: var(--color-blue);
    font-size: 16px;
    font-weight: 510;
    line-height: 1.5;
    white-space: nowrap;
}

.home-asset-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-results__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 0;
    margin-bottom: 14px;
    gap: 16px;
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: rgba(177, 177, 177, 1);
    font-size: 11px;
    font-weight: 600;
}

.page-breadcrumb a::after {
    margin-left: 7px;
    content: "-";
}

.category-results h1 {
    margin: 0;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.category-results__count {
    color: var(--color-muted);
    font-size: 11px;
    white-space: nowrap;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 32px 24px;
}

.asset-grid--layouts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.asset-card {
    min-width: 0;
}

.asset-card__thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(246, 246, 246, 1), rgba(218, 218, 218, 1));
}

.asset-card__thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asset-card__preview {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(17, 17, 17, .28);
    opacity: 0;
    transition: opacity .16s ease;
}

.asset-card__preview::before {
    position: absolute;
    inset: 16px;
    border-radius: 8px;
    background: rgba(57, 57, 57, .22);
    content: "";
}

.asset-card__eye {
    position: relative;
    z-index: 1;
    width: 37px;
    height: 37px;
    object-fit: contain;
}

.asset-card__thumb:hover .asset-card__preview,
.asset-card__thumb:focus-visible .asset-card__preview {
    opacity: 1;
}

.asset-card__body {
    padding-top: 9px;
}

.asset-card__title {
    margin: 0 0 5px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 590;
    line-height: 1.2;
}

.asset-card__title a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.asset-card__format {
    min-height: 14px;
    margin: 0 0 7px;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 274;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asset-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    line-height: 1;
}

.asset-card__price {
    color: var(--color-green);
    font-weight: 590;
    font-size: 14px;
}

.asset-card__downloads {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    overflow: hidden;
    max-width: 62px;
    color: var(--color-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asset-card__downloads img {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
}

.search-results__empty {
    grid-column: 1 / -1;
    margin: 32px 0;
    color: var(--color-muted);
    font-size: 13px;
}

.category-pagination {
    margin-top: 46px;
}

.asset-detail-page {
    width: 100%;
    margin: 32px 0 56px;
    padding-inline: 32px;
}

.asset-detail-shell {
    --category-content-columns: 8;
    --category-shell-columns: 9;
    display: grid;
    grid-template-columns: repeat(var(--category-shell-columns), minmax(0, 1fr));
    align-items: start;
    gap: 20px 24px;
}

.asset-detail {
    grid-column: span var(--category-content-columns);
    min-width: 0;
    width: min(100%, 1120px);
    margin-inline: auto;
}

.asset-detail__breadcrumb {
    margin-bottom: 48px;
    gap: 14px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 510;
    line-height: 1.5;
}

.asset-detail__breadcrumb a {
    color: var(--color-blue);
}

.asset-detail__breadcrumb a::after {
    margin-left: 14px;
    color: var(--color-text);
    content: "→";
}

.asset-detail__breadcrumb span {
    color: var(--color-text);
    font-size: 16px;
    font-weight: 274;
    line-height: 1.5;
}

.asset-detail h1 {
    margin: 0 0 36px;
    color: var(--color-text);
    font-size: 24px;
    font-weight: 510;
    line-height: 1.5;
}

.asset-detail__main {
    display: grid;
    grid-template-columns: minmax(420px, 656px) minmax(240px, 300px);
    align-items: start;
    justify-content: start;
    gap: clamp(72px, 6vw, 96px);
}

.asset-detail__media {
    width: min(100%, 656px);
    margin: 0;
}

.asset-gallery {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding-right: 42px;
}

.asset-gallery--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
}

.asset-gallery-thumbs {
    display: grid;
    height: calc((var(--thumb-visible, 4) * 82px) + ((var(--thumb-visible, 4) - 1) * 10px));
    max-height: calc((var(--thumb-visible, 4) * 82px) + ((var(--thumb-visible, 4) - 1) * 10px));
    overflow-y: auto;
    padding-right: 2px;
}

.asset-gallery-thumbs-rail {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
}

.asset-gallery-thumbs .swiper-slide,
.asset-lightbox__thumbs .swiper-slide {
    width: 82px;
    height: 82px;
    aspect-ratio: 1 / 1;
    border: 1px solid transparent;
    border-radius: 4px;
    background: rgba(255, 255, 255, .95);
    cursor: pointer;
    overflow: hidden;
}

.asset-gallery-thumbs .swiper-slide-thumb-active,
.asset-lightbox__thumbs .swiper-slide-thumb-active {
    border-color: var(--color-blue);
}

.asset-gallery-thumbs .swiper-slide img,
.asset-lightbox__thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 3px;
}

.asset-gallery-thumbs-nav,
.asset-lightbox__thumb-nav {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.asset-gallery-thumbs-nav img,
.asset-lightbox__thumb-nav img {
    width: 24px;
    height: 24px;
    display: block;
}

.asset-gallery-thumbs-nav.swiper-button-disabled,
.asset-lightbox__thumb-nav.swiper-button-disabled {
    opacity: .4;
    cursor: default;
}

.asset-detail__stage {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: rgba(226, 226, 226, 1);
    overflow: hidden;
}

.asset-gallery-main,
.asset-gallery-main .swiper-wrapper,
.asset-gallery-main .swiper-slide {
    height: 100%;
}

.asset-gallery-main {
    position: absolute;
    inset: 0;
}

.asset-gallery-main .swiper-slide {
    display: grid;
    place-items: center;
}

.asset-detail__main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: inherit;
}

.asset-detail__preview-link {
    position: absolute;
    right: 0;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    z-index: 5;
    cursor: pointer;
}

.asset-detail__preview-link img {
    width: 32px;
    height: 32px;
}

.asset-detail__side {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 34px;
    min-width: 0;
    padding-top: 36px;
    max-height: 560px;
}

.asset-detail__side-scroll {
    display: grid;
    align-content: start;
    gap: 34px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}

.asset-detail__side-scroll::-webkit-scrollbar {
    width: 8px;
}

.asset-detail__side-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .06);
    border-radius: 999px;
}

.asset-detail__side-scroll::-webkit-scrollbar-thumb {
    background: rgba(120, 120, 120, .65);
    border-radius: 999px;
}

.asset-detail__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 12px;
    width: 194px;
    height: 42px;
    border-radius: 7px;
    background: var(--color-green);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08);
    color: var(--color-panel);
    font-size: 16px;
    font-weight: 590;
}

.asset-detail__download img {
    width: 15px;
    height: 18px;
}

.asset-detail-box h2 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 510;
    line-height: 1.2;
    text-transform: uppercase;
}

.asset-related h2 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 510;
    line-height: 1.2;
}

.asset-detail-files {
    display: grid;
    border-top: 1px solid var(--color-line);
}

.asset-detail-file {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(238, 238, 238, 1);
}

.asset-detail-file > img {
    width: 24px;
    height: 24px;
}

.asset-detail-file span {
    min-width: 0;
}

.asset-detail-file strong {
    display: block;
    margin-bottom: 3px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.asset-detail-file em {
    display: block;
    overflow: hidden;
    color: var(--color-text);
    font-size: 14px;
    font-style: normal;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asset-detail-file small {
    color: rgba(48, 88, 255, 1);
    font-size: 12px;
    font-weight: 500;
}

.asset-specs {
    display: grid;
    margin: 0;
    border-top: 1px solid var(--color-line);
}

.asset-specs div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    gap: 14px;
    background: rgba(244, 244, 244, 1);
}

.asset-specs div:nth-child(odd) {
    background: rgba(250, 250, 250, 1);
}

.asset-specs dt,
.asset-specs dd {
    margin: 0;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 274;
}

.asset-specs dd {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.asset-specs__yes,
.asset-specs__no {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.asset-specs__yes {
    border: 2px solid rgba(48, 199, 89, 1);
}

.asset-specs__no {
    border: 2px solid rgba(255, 87, 51, 1);
}

.asset-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--color-line);
}

.asset-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(132, 132, 132, 1);
    color: rgba(231, 231, 231, 1);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.asset-tag:hover {
    background: rgba(99, 99, 99, 1);
    color: rgba(255, 255, 255, 1);
}

.asset-description {
    padding-top: 10px;
    border-top: 1px solid var(--color-line);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 274;
    line-height: 1.55;
}

.asset-description p {
    margin: 0 0 12px;
}

.asset-description__content > *:first-child {
    margin-top: 0;
}

.asset-description__content > *:last-child {
    margin-bottom: 0;
}

.asset-added-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--color-line);
}

.asset-added-date img {
    width: 30px;
    height: 30px;
}

.asset-added-date strong,
.asset-added-date span {
    display: block;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.15;
}

.asset-added-date strong {
    font-weight: 510;
}

.asset-added-date span { 
    font-weight: 274;
}

.asset-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, .76);
}

.asset-lightbox[hidden] {
    display: none !important;
}

.asset-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.asset-lightbox__dialog {
    width: min(1400px, 100%);
    max-height: calc(100vh - 32px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.asset-lightbox__dialog.has-thumbs {
    grid-template-columns: 100px minmax(0, 1fr);
}

.asset-lightbox__thumbs {
    height: calc((var(--thumb-visible, 4) * 90px) + ((var(--thumb-visible, 4) - 1) * 10px));
    max-height: calc((var(--thumb-visible, 4) * 90px) + ((var(--thumb-visible, 4) - 1) * 10px));
    overflow-y: auto;
}

.asset-lightbox__thumb-rail {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
}

.asset-lightbox__thumbs .swiper-slide {
    width: 90px;
    height: 90px;
    aspect-ratio: 1 / 1;
}

.asset-lightbox__stage {
    display: grid;
    place-items: center;
    background: rgba(245, 245, 245, 1);
}

.asset-lightbox-main,
.asset-lightbox-main .swiper-wrapper,
.asset-lightbox-main .swiper-slide {
    width: 100%;
    height: 100%;
}

.asset-lightbox-main .swiper-slide {
    display: grid;
    place-items: center;
}

.asset-lightbox-main .swiper-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    object-fit: contain;
}

.asset-lightbox-open {
    overflow: hidden;
}

.asset-related {
    margin-top: 54px;
}

.asset-related h2 {
    margin-bottom: 18px;
}

.asset-grid--related {
    grid-template-columns: repeat(9, minmax(0, 1fr));
}

.pagination-nav__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: rgba(39, 39, 39, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease;
}

a.pagination-link:hover {
    background: rgba(235, 235, 235, 1);
}

.pagination-link--current {
    background: rgba(45, 45, 45, 1);
    color: #fff;
    font-weight: 500;
}

.pagination-link--ellipsis {
    min-width: 28px;
    padding-inline: 4px;
}

.pagination-link--direction {
    gap: 10px;
    min-width: auto;
    padding-inline: 8px;
}

.pagination-link--direction svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.pagination-link--disabled {
    color: rgba(176, 176, 176, 1);
}

.site-footer {
    width: 100%;
    margin-top: 54px;
    padding: 0 32px 36px;
    background: var(--color-page);
}

.site-footer__inner {
    width: 100%;
    margin: 0 auto;
}

.site-footer__title {
    margin: 0 0 18px;
    color: rgba(117, 117, 117, 1);
    font-size: 16px;
    font-weight: 510;
    line-height: 1.5;
    text-align: center;
}

.site-footer__sponsors {
    display: grid;
    grid-template-columns: repeat(10, minmax(116px, 1fr));
    gap: 6px;
    width: 100%;
}

.site-footer__sponsor {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 52px;
    padding: 6px 8px;
    border: 1px solid rgba(238, 238, 238, 1);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.site-footer__sponsor-icon {
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.site-footer__sponsor-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    color: rgba(0, 0, 0, 0.8);
    font-size: 7px;
    line-height: 1.05;
}

.site-footer__sponsor-content strong {
    margin-bottom: 2px;
    overflow: hidden;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer__sponsor-description {
    display: -webkit-box;
    margin-bottom: 2px;
    overflow: hidden;
    color: rgba(42, 42, 42, 1);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.site-footer__sponsor-url {
    margin-top: auto;
    overflow: hidden;
    color: rgba(65, 17, 103, 0.8);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .site-footer__sponsors {
        grid-template-columns: repeat(5, minmax(130px, 1fr));
    }
}

@media (max-width: 1440px) {
    .site-header__inner {
        grid-template-columns: calc(56px + ((100vw - 208px) / 7)) minmax(250px, max-content) minmax(280px, 360px) minmax(220px, 1fr);
        max-width: none;
    }

    .site-search {
        left: calc(50% + 40px);
    }

    .category-shell {
        --category-content-columns: 6;
        --category-shell-columns: 7;
    }

    .asset-detail-shell {
        --category-content-columns: 6;
        --category-shell-columns: 7;
    }

    .home-shell {
        --category-content-columns: 5;
        --category-shell-columns: 6;
    }

    .asset-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .asset-grid--layouts {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .home-asset-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .asset-grid--related {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .site-header__inner {
        grid-template-columns: 132px minmax(0, 1fr);
        gap: 0;
    }

    .site-product-nav {
        order: 3;
        grid-column: 1 / -1;
        height: 60px;
    }

    .site-product-nav__link {
        flex: 1;
        min-width: 0;
        height: 60px;
        font-size: 20px;
    }

    .site-search {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        transform: none;
        padding-inline: 18px;
    }

    .site-search__dropdown {
        top: calc(100% - 5px);
        right: 18px;
        left: 18px;
    }

    .site-search__button {
        right: 28px;
    }

    .site-actions {
        order: 4;
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 46px;
        padding-inline: 18px;
    }

    .category-shell {
        --category-content-columns: 4;
        --category-shell-columns: 5;
    }

    .home-shell {
        --category-content-columns: 3;
        --category-shell-columns: 4;
    }

    .asset-detail-shell {
        --category-content-columns: 4;
        --category-shell-columns: 5;
    }

    .asset-detail {
        padding-left: 0;
    }

    .asset-detail__main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .asset-detail__side {
        display: grid;
        grid-template-rows: auto auto;
        padding-top: 0;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .asset-detail__side-scroll {
        overflow: visible;
        padding-right: 0;
    }

    .asset-detail__download {
        justify-self: start;
    }

    .asset-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .asset-grid--layouts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-asset-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .asset-grid--related {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .category-page,
    .asset-detail-page {
        padding-inline: 14px;
    }

    .category-pagination {
        margin-top: 34px;
    }

    .pagination-nav__links {
        flex-wrap: nowrap;
        gap: 2px;
    }

    .pagination-link {
        min-width: 34px;
        height: 36px;
        padding-inline: 8px;
        font-size: 14px;
    }

    .pagination-link--direction {
        gap: 5px;
        padding-inline: 4px;
    }

    .pagination-link--direction svg {
        width: 16px;
        height: 16px;
    }

    .site-footer {
        margin-top: 40px;
        padding: 0 14px 24px;
    }

    .site-footer__sponsors {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .site-footer__sponsor {
        flex: 0 0 146px;
        scroll-snap-align: start;
    }

    .site-header__inner {
        grid-template-columns: 90px minmax(0, 1fr);
        min-height: 0;
        gap: 0;
    }

    .site-logo {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-height: 74px;
        padding: 11px 16px;
        border: 0;
    }

    .site-logo img {
        width: 52px;
        height: 52px;
    }

    .site-logo__mark {
        font-size: 42px;
    }

    .site-logo__text {
        font-size: 18px;
    }

    .site-product-nav {
        order: 3;
        grid-column: 1 / -1;
        grid-row: 2;
        height: auto;
    }

    .site-product-nav__link {
        height: 52px;
        padding: 0 14px;
        font-size: 16px;
    }

    .site-search {
        grid-column: 2;
        grid-row: 1;
        padding: 14px 14px 14px 0;
    }

    .site-search__dropdown {
        top: calc(100% - 6px);
        right: 14px;
        left: 0;
    }

    .site-search__button {
        right: 24px;
    }

    .site-actions {
        justify-content: center;
        grid-column: 1;
        min-height: 46px;
        padding: 0 0 16px;
    }

    .category-shell {
        --category-content-columns: 1;
        --category-shell-columns: 1;
        grid-template-columns: 1fr;
    }

    .category-sidebar,
    .category-results {
        grid-column: 1;
    }

    .asset-detail-shell {
        --category-content-columns: 1;
        --category-shell-columns: 1;
        grid-template-columns: 1fr;
    }

    .asset-detail__breadcrumb {
        margin-bottom: 28px;
    }

    .asset-detail h1 {
        margin-bottom: 22px;
        font-size: 20px;
    }

    .asset-detail__media {
        width: 100%;
    }

    .asset-detail__preview-link {
        top: 10px;
        right: 10px;
    }

    .asset-gallery {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .asset-gallery-thumbs {
        width: 100%;
        height: auto;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
    }

    .asset-gallery-thumbs-rail {
        order: 2;
        min-width: 0;
        width: 100%;
        grid-template-rows: minmax(0, 1fr);
    }

    .asset-detail__stage {
        order: 1;
    }

    .asset-gallery-thumbs .swiper-slide {
        width: 72px;
        height: 72px;
    }

    .asset-gallery-thumbs-nav {
        display: none;
    }

    .asset-lightbox {
        padding: 12px;
    }

    .asset-lightbox__close {
        top: 18px;
        right: 18px;
        z-index: 2;
        width: 36px;
        height: 36px;
        font-size: 26px;
    }

    .asset-lightbox__dialog {
        width: 100%;
        min-width: 0;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        grid-template-rows: minmax(0, 1fr);
    }

    .asset-lightbox__dialog.has-thumbs {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .asset-lightbox__thumbs {
        width: 100%;
        height: auto;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        order: 2;
    }

    .asset-lightbox__thumb-rail {
        min-width: 0;
        width: 100%;
        grid-template-rows: minmax(0, 1fr);
    }

    .asset-lightbox__thumbs .swiper-slide {
        width: 74px;
        height: 74px;
    }

    .asset-lightbox__thumb-nav {
        display: none;
    }

    .asset-lightbox__stage {
        min-width: 0;
        min-height: 0;
        height: min(calc(100vh - 122px), calc(100vw - 24px));
        height: min(calc(100dvh - 122px), calc(100vw - 24px));
        border-radius: 8px;
        overflow: hidden;
    }

    .asset-lightbox__dialog:not(.has-thumbs) .asset-lightbox__stage {
        height: min(calc(100vh - 24px), calc(100vw - 24px));
        height: min(calc(100dvh - 24px), calc(100vw - 24px));
    }

    .asset-lightbox-main .swiper-slide img {
        max-width: 100%;
        max-height: 100%;
    }

    .categories-menu-toggle {
        display: inline-flex;
    }

    .categories-list--desktop {
        display: none;
    }

    .categories-modal__dialog {
        --categories-drawer-gap: 44px;
    }

    .categories-list--modal {
        gap: 4px;
        padding: 10px 14px 20px;
    }

    .categories-list--modal .category-link {
        min-height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }

    .mode-filter {
        margin-top: 20px;
    }

    .asset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .asset-grid--layouts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-results {
        gap: 30px;
    }

    .home-asset-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .asset-grid--related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .pagination-link--direction span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

/* Asset hover preview (Free3D-style) */
.asset-hover-preview {
    position: fixed;
    z-index: 90;
    width: 360px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(17, 17, 17, .22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease;
}

.asset-hover-preview.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.asset-hover-preview__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(246, 246, 246, 1), rgba(218, 218, 218, 1));
}

.asset-hover-preview__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .35s ease;
}

.asset-hover-preview__image.is-active {
    opacity: 1;
}

.asset-hover-preview__info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(17, 17, 17, .78);
    color: #fff;
}

.asset-hover-preview__info-main {
    min-width: 0;
    flex: 1 1 auto;
}

.asset-hover-preview__title {
    margin: 0 0 3px;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asset-hover-preview__formats {
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asset-hover-preview__price {
    margin: 0;
    flex: 0 0 auto;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

@media (hover: none), (pointer: coarse) {
    .asset-hover-preview {
        display: none !important;
    }
}
