.assets-actions {
    display: flex;
    flex-direction: column;
    row-gap: 35px;
    margin-bottom: 25px;
}

.assets-actions > div {
    display: flex;
    gap: 30px;
}

.form-checkbox {
    display: inline-flex;
    align-items: center;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    border: 1px solid #152f1f;
    border-radius: 0;
    appearance: none;
    background-color: #fff;
    background-origin: border-box;
    color: #baab86;
    display: inline-block;
    flex-shrink: 0;
    padding: 0;
    margin-right: 8px;
    user-select: none;
    vertical-align: middle;
}

.form-checkbox input:checked,
.form-checkbox input:indeterminate {
    background-color: currentColor;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-color: transparent;
}

.form-checkbox input:checked {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0'/%3E%3C/svg%3E");
}

.form-checkbox input:indeterminate {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");
}

.assets-filter__group-list .form-checkbox input {
    width: 14px;
    height: 14px;
}

.assets-filters-toggle {
    display: flex;
    align-items: center;
    column-gap: 10px;
    color: #2b2a29;
    border-color: #15253f;
    background: #fff;
}

.assets-filters-toggle svg path{
    transition: .5s;
}

.assets-filters-toggle:hover {
    color: #fff;
    background: #15253f;
}

.assets-filters-toggle:hover svg path {
    fill: #fff;
}

.assets-search-form {
    display: flex;
    column-gap: 30px;
    width: 100%;
}

.assets-search-form label {
    display: flex;
    width: 100%;
    max-width: 452px;
}

.assets-search-form input {
    width: 100%;
    border-color: transparent;
    border-bottom-color: #baab86;
}

.assets-search-form input:focus {
    outline: none;
}

.assets-search-form button,
.assets-download button {
    min-width: 164px;
}

.assets-download {
    display: flex;
    column-gap: 30px;
    align-items: center;
}

.assets-download button:disabled {
    background: #fff;
    color: #baab86;
}

.assets-download span {
    white-space: nowrap;
}

.assets-count {
    display: flex;
    column-gap: 35px;
}

.assets-grid-wrap {
    display: flex;
    align-items: flex-start;
    /*gap: 20px;*/
}

.assets-filter {
    width: 0;
    max-width: 232px;
    overflow: hidden;
}

.assets-filter.is-opened {
    width: 100%;
    margin-right: 20px;
}

.assets-filter.is-opened + .assets-grid {
}

.assets-filter__inner {
    display: grid;
    grid-auto-flow: row;
    border: 1px solid #baab86;
}

.assets-filter__group,
.assets-filter__group-list,
.assets-filter__group-list-inner {
    display: grid;
    grid-template-columns: subgrid;
}

.assets-filter__group + .assets-filter__group {
    border-top: 1px solid #baab86;
}

.assets-filter__group-head button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    border: none;
    background: #fff;
    font-size: 13px;
    line-height: 20px;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    cursor: pointer;
}

.assets-filter__group-head button svg {
    flex-shrink: 0;
}

.assets-filter__group-list {
    grid-template-rows: 0fr;
    transition: grid-template-rows linear .2s;
}

.assets-filter__group-list-inner {
    width: 100%;
    overflow: hidden;
}

.assets-filter__group-list ul {
    list-style: none;
    margin: 0;
    padding: 0 20px 20px;
}

.assets-filter__group-list ul li {
    font-size: 15px;
    line-height: 18px;
    font-weight: 300;
    padding: 5px 0;
}

.assets-filter__group-list ul li.hidden {
    display: none;
}

.assets-filter__group-list .form-checkbox {
    align-items: flex-start;
}

.assets-filter__group-list .form-checkbox input {
    margin-top: 3px;
}

.assets-filter__group.is-opened .assets-filter__group-list {
    grid-template-rows: 1fr;
}

.assets-filter__group.is-opened button svg {
    transform: rotate(180deg);
}

.assets-filter__clear {
    padding: 20px 0;
}

.assets-filter__clear button {
    width: 100%;
}

.assets-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.asset-card {
    position: relative;
    padding: 14px;
    border: 4px solid #152F1F;
}

.asset-card__check {
    position: absolute;
    left: 14px;
    top: 14px;
}

.asset-card__img {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.asset-card__img img {
    width: 100%;
    height: 100%;
    max-width: 185px;
    max-height: 185px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.asset-card__title {
    font-family: 'Bedini', sans-serif;
    font-size: 15px;
    line-height: 18px;
    font-weight: bold;
}

.asset-card__subtitle {
    font-size: 15px;
    margin-top: 5px;
}
