#loop {
    display: flex;
    gap: 40px;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: -60px;
}


/* infos */
#loop .infos {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    padding: 12px;
    font-family: "Albert Sans";
}
#loop .infos .count {
    color: #787C97;
    font-size: 14px;
    font-style: normal;
}
#loop .infos .icon {
    position: relative;
    top: 2.5px;
    cursor: pointer;
}
#loop .infos .result {
    color: #203567;
    font-size: 14px;
    font-style: normal;
    cursor: pointer;
}
#loop .infos .sort {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-content: center;
    align-items: center;
    position: relative;
}

#loop .infos .dropdown-options {
    display: none;
    position: absolute;
    overflow: auto;
    z-index: 9;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-radius: 5px;
    gap: 20px;
    right: 0;
    font-size: 12px;
    color: #203567;
    z-index: 99999;
    box-shadow: 0px 1px 24px 0px rgba(218, 220, 224, 0.40);
    top: 25px;
    white-space: nowrap;
}
#loop .infos .dropdown-options.show {
    display: flex;
}
#loop .infos .dropdown-options .sub-title {
    color: #A3A7C0;
    font-size: 10px;
    font-style: normal;
}
#loop .infos .dropdown-options .order a {
    color: #575D81;
    font-size: 12px;
    font-style: normal;
    display: flex;
    gap: 4px;
}
#loop .infos .dropdown-options .order a img {
    width: 12px;
}
#loop .infos .dropdown-options .order a:hover {
    color: black;
}
#loop .infos .dropdown-options .order a.active {
    color: #1865FF;
}





/* filter */
#loop .filter {
    font-family: "Albert Sans";
    background: white;
    border-radius: 12px;
    width: 25%;
    border: 1px solid #EEF1F8;
    /*! display: flex; */
    flex-direction: column;
    padding: 24px;
    /*min-width: 288px;*/
}
#loop .filter form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}


#loop .filter .all {
    font-family: "Albert Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    cursor: pointer;
    color: #203567;
    display: flex;
    gap: 10px;
    align-items: center;
}
#loop .filter .all .empty {
    display: none
}
#loop .filter .all.checked .empty {
    display: block;
}
#loop .filter .all.checked .check {
    display: none;
}

#loop .filter .options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}
#loop .filter .options .option {
    display: flex;
    gap: 10px;
    align-items: center;
}
#loop .filter .options .option input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    width: 20px;
    height: 20px;
    border: 1.5px solid #C4C9DF;
    border-radius: 4px;
    cursor: pointer;
    display: grid;
    place-content: center;
}
#loop .filter .options .option input[type="checkbox"]::before {
    content: "";
    width: 16px;
    height: 16px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    border-radius: 2px;
    background: transparent
      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none"><path d="M8.625 1.99935L4.04167 6.58268C3.95833 6.66602 3.875 6.70768 3.75 6.70768C3.625 6.70768 3.54167 6.66602 3.45833 6.58268L1.375 4.49935C1.20833 4.33268 1.20833 4.08268 1.375 3.91602C1.54167 3.74935 1.79167 3.74935 1.95833 3.91602L3.75 5.70768L8.04167 1.41602C8.20833 1.24935 8.45833 1.24935 8.625 1.41602C8.79167 1.58268 8.79167 1.83268 8.625 1.99935Z" fill="%23134DDC" stroke="%23134DDC"/></svg>')
      no-repeat 50% 50%;
}
#loop .filter .options .option input[type="checkbox"]:checked::before {
  transform: scale(1);
}
#loop .filter .options .option label {
    font-family: "Albert Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    cursor: pointer;
}


#loop .filter .btn input {
    padding: 8px 16px;
    background: #1865FF;
    color: white;
    border-radius: 100px;
    transition: 0.3s all;
    width: 100%;
    border: none;
    outline: none;
}
#loop .filter .btn input:hover {
    opacity: 0.8;
}

#loop .items {
    display: flex;
    gap: 20px;
    align-content: center;
    font-family: "Albert Sans";
    justify-items: stretch;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    width: calc(75% - 40px);
    justify-content: flex-start;
}

.items .item {
    background: white;
    border-radius: 12px;
    width: calc(33.3% - 15px);
    border: 1px solid #EEF1F8;
    min-width: 300px;
}
.items .item .img {
    height: 180px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.items .item .info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    gap: 10px;
}
.items .item .info .taxs {
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex-wrap: wrap;
}
.items .item .info .tax {
    border-radius: 4px;
    border: 1px solid #EEF1F8;
    color: #787C97;
    padding: 5px 7px;
    font-size: 9px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.54px;
    text-transform: uppercase;
    font-family: "Albert Sans";
}
.items .item .info .title {
    font-size: 16px;
    line-height: normal;
    color: #203567;
    margin-bottom: 30px;
    min-height: 40px;
    margin: unset;
}
.items .item .info .price {
    font-size: 16px;
    line-height: normal;
    color: #203567;
}
.items .item .info .author {
    font-size: 12px;
    font-weight: 400;
    color: #787C97;
}
.items .item .info .author .by {
    font-weight: 500;
    color: #1865FF;
}



/* Dropdown Button */
.filter.dropdown {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.filter .dropdown-options {
    display: none;
    overflow: auto;
    flex-direction: column;
    z-index: 99;
    width: 100%;
    margin-top: 20px;
}
.filter .dropdown-options.show {
    display: flex;
}

.filter .filter-mobile {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    flex-direction: row;
}
.filter .filter-mobile .title {
	font-size: 14px;
	font-style: normal;
}
.filter .filter-mobile .icon {
    display: flex;
    width: 20px;
    height: 20px;
}
.filter .filter-mobile #icon.active {
	-webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}


/* Media queries */
@media (max-width: 960px) {
}

@media (min-width: 768px) {
    .filter .filter-mobile {
        display: none;
    }
    .filter .dropdown-options {
        margin: auto;
        display: flex;
    }
}

@media (max-width: 767px) {
    #loop {
        flex-wrap: wrap;
        gap: 20px;
        margin-top: -30px;
    }
    #loop .filter,
    #loop .items,
    .items .item {
        width: 100%;
        justify-content: center;
    }
    #loop .infos {
        order: 2;
        margin: auto;
    }
    #loop .filter {
        order: 1;
        margin-top: 30px;
    }
    #loop .items {
        order: 3;
    }
    .items .item a {
        display: flex;
        flex-direction: row;
        align-content: center;
        gap: 10px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .items .item.product .img {
        width: 40%;
        border-bottom-left-radius: 12px;
        border-top-right-radius: 0;
    }
    .items .item.product .info {
        padding: 10px;
        width: 60%;
    }
}
@media (max-width: 460px) {
}
