@font-face {
    font-family: kalameh;
    src: url("../fonts/KalamehWeb-Medium.woff2");
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: kalameh;
    scroll-behavior: smooth;
}

/* Toggle BTN Code */
.toggle-switch {
    display: inline-block;
    position: relative;
    width: 32px;
    height: 16px;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(128, 128, 128, 0.5);
    transition: 0.3s;
    border-radius: 34px;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 2px;
    top: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #4CAF50;
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(16px);
}

/* Shop START */

.shop {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
    margin: 50px 0 100px 0;
}

.shop-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    width: 1200px;
}

.shop-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    border-bottom: 1px dotted gray;
    padding-bottom: 20px;
}

.shop-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.shop-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: sticky;
    top: 10px;
    gap: 5px;
    width: 290px;
    min-width: 290px;
}

.shop-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #2c3f5d50;
    box-shadow: 0 0 10px rgba(44, 63, 93, 0.1);
    border-radius: 10px;
}

.shop-filter-title a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: red;
    font-size: 14px;
}

.shop-filter-inv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #2c3f5d50;
    box-shadow: 0 0 10px rgba(44, 63, 93, 0.1);
    border-radius: 10px;
    font-size: 15px;
}

.shop-filter-category,
.shop-filter-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #2c3f5d50;
    box-shadow: 0 0 10px rgba(44, 63, 93, 0.1);
}

.shop-filter-category-title,
.shop-filter-brand-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 15px;
}

.shop-filter-category-title.rotate i,
.shop-filter-brand-title.rotate i {
    transform: rotate(-90deg);
}

.shop-filter-cagetory-cards,
.shop-filter-brand-cards {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    font-size: 13px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 15px;
}

.shop-filter-cagetory-cards.active,
.shop-filter-brand-cards.active {
    max-height: 230px;
    padding-bottom: 10px;
    overflow-y: scroll;
    scrollbar-width: none;
}

.shop-filter-cagetory-cards.active::-webkit-scrollbar,
.shop-filter-brand-cards.active::-webkit-scrollbar {
    display: none;
}

.shop-filter-cagetory-card,
.shop-filter-brand-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.shop-cards {
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
}

/* Shop END */

.product-card {
    display: none;
}

.product-card.visible {
    display: flex;
}


























/* Responsive START */

@media screen and (max-width:650px) {

    .shop-container {
        width: 100%;
    }

    .shop-bottom {
        width: 100%;
        flex-direction: column;
    }

    .shop-filter {
        width: 100%;
        position: unset;
    }

    .shop-cards {
        width: 100%;
        align-items: center;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(1, auto);
    }

}

@media screen and (min-width:651px) and (max-width:910px) {

    .shop-container {
        width: 100%;
    }

    .shop-bottom {
        width: 100%;
    }

    .shop-filter {
        width: 100%;
    }

    .shop-cards {
        width: 100%;
        align-items: center;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(1, auto);
    }

}

@media screen and (min-width:911px) and (max-width:1200px) {

    .shop-container {
        width: 100%;
    }

    .shop-bottom {
        width: 100%;
    }

    .shop-cards {
        width: 100%;
        align-items: center;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(2, auto);
    }

}

/* Responsive END */