:root {
    --font-primary: "Shabnam-Regular", Vazir, sans-serif;
    --font-secondary-medium: "Shabnam-Medium", Vazir, sans-serif;
    --font-secondary-bold: "Shabnam-Bold", Vazir, sans-serif;
}

:root {
    --primary-color: #e03248;
    --secondary-color: #f1f1f1;
    --text-color: #3f4064;

}

::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    font-family: var(--font-primary);
    scrollbar-width: none;
    font-size: 62.5%;
}

body {
    scroll-behavior: smooth;
    line-height: 19.2px;
    direction: rtl;
    -ms-overflow-style: none;
    color: var(--text-color);
    font-size: 1.4rem;

}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    cursor: pointer;
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
}

li {
    list-style-type: none;
}

.color-svg {
    stroke: #131313;
    fill: #131313;
}

/*
===============
----Header-----
===============
*/

.header__container-main {
    height: auto;
    cursor: pointer !important;
}


/*Scroll*/

/*Scroll End*/


.header__top {
    /*display: none;*/
    display: flex;
    justify-content: center;
    background-color: var(--secondary-color);
    overflow: hidden;
    transition: all 0.3s ease;

}

.header__top-banner {
    width: 100%;
    height: 6rem;
    overflow: hidden;
}

.header__top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.header__main {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
}

.header__main-logo {
    width: 12rem;
}

.header__main-logo-image {
    width: 100%;
}

.header__main-search {
    width: 50%;
}

.search {
    display: flex;
    margin-left: 1rem;

}

.search-input {
    background-color: var(--secondary-color);
    border-bottom-right-radius: 1rem;
    border-top-right-radius: 1rem;
    width: 100%;
    border: none !important;
    padding: 1rem 2rem;
    height: 5rem;
    color: var(--text-color);
    font-family: var(--font-primary);
    outline: none;
}

.search-btn {
    background-color: var(--secondary-color);
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
    border: none;
    padding: 0 1rem;

}

.header__main-menu {
    display: flex;
    align-items: center;
}

.header__main-menu a {
    margin-left: 1rem;
}

.header__main-menu-admin {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: var(--text-color);
    transition: background-color 0.3s ease;
}

.header__main-menu-login {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: var(--text-color);
    transition: background-color 0.3s ease;
}

.account-link {
    display: none;
}

.header__main-menu-account {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: var(--text-color);
    margin-left: 2rem;
    transition: background-color 0.3s ease;
}

.header__main-menu-shop {
    background-color: var(--secondary-color);
    border: none;
    padding: 1.2rem;
    display: flex;
    justify-content: center;
    border-radius: 1rem;
    color: var(--text-color);
    transition: background-color 0.3s ease;
    position: relative;
}

.header__main-menu-btn {
    display: none;
    background-color: var(--secondary-color);
    border: none;
    padding: 1rem;
    border-radius: 1rem;
    color: var(--text-color);
    transition: background-color 0.3s ease;
    position: relative;
    margin-right: 1rem;
}

.header__main-menu-btn img {
    width: 2.8rem;
    height: 2.8rem;
}


.header__main-menu-shop:hover {
    background-color: #e3e3e3;
}

.header__main-menu-login:hover {
    background-color: #e3e3e3;
}

.header__main-menu-admin:hover {
    background-color: #e3e3e3;
}

.header__main-menu-login svg {
    width: 3rem;
    height: 3rem;
}

.header__nav {
    display: flex;
    justify-content: right;
    direction: rtl;
    background-color: var(--secondary-color);
    margin-top: 1rem;
    transition: border-bottom, color 0.3s ease;

}

.header__main-search-mobile {
    display: none;
}

.header__nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 2rem;
    padding: 0;
}

.header__nav-menu li {
    position: relative;
}

.header__nav-menu-item {
    display: block;
    color: var(--text-color);
    padding: 1.8rem;
    transition: all .3s ease;
    border-bottom: 2px solid transparent;
}


.header__nav-menu-item:hover {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
}


.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 22rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .08);
    padding: 1rem 0;
    display: none;
    z-index: 999;
}

.mega-menu a {
    display: block;
    padding: 1.2rem 1.8rem;
    color: var(--text-color);
    transition: .3s;
}

.mega-menu a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}


.has-mega:hover .mega-menu {
    display: block;
}


/*
===================
----Mobile Menu----
===================
*/
.header__mobile {
    display: none;
    width: 28rem;
    height: 100%;
    position: fixed;
    right: -30rem;
    top: 0;
    background-color: #ffffff;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.19);
    z-index: 10;
    transition: right 0.3s ease;
}

.show-header__mobile {
    right: 0;
}

.header__mobile-top {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.21);
}

.header__mobile-top span svg {
    width: 4rem;
    height: 4rem;
    transform: rotate(45deg);
    cursor: pointer;
}

.header__mobile-top button {
    padding: 1.2rem 2rem !important;
    font-size: 1.5rem;
}

.header__mobile-top button img {
    margin-left: 0.3rem;
}

.header__mobile-menu {
    padding: 1rem;
}

.header__mobile-menu li {
    padding: 1.5rem 0;
    transition: background-color 0.3s ease;
}

.header__mobile-menu li:hover {
    background-color: #ffffff;
    border-radius: 1rem;
}

.header__mobile-menu li:hover .header__mobile-menu-item {
    color: var(--primary-color);
    padding-right: 2.7rem;
}

.header__mobile-menu li:hover .header__mobile-menu-item::before {
    width: 2rem;
}

.header__mobile-menu-item {
    width: 10rem;
    padding: 1.5rem 1rem 1.5rem 10rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
}

.header__mobile-menu-item:before {
    content: " ";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0;
    height: .3rem;
    border-radius: 5rem;
    background-color: var(--primary-color);
    -webkit-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    transition: width 250ms ease-in-out;
}

.header__mobile-btn {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.21);
}

.header__mobile-btn button {
    padding: 1.5rem !important;
    font-size: 1.5rem;
    margin: 0;
}

.header__mobile-btn button svg {
    width: 2.3rem;
    height: 2.3rem;
}

.header__mobile-btn button img {
    width: 2.3rem;
    height: 2.3rem;
}

.active-flex {
    display: block !important;
}

/*
=================
----Cart Shop----
=================
*/

.cart-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    background-color: var(--secondary-color);
    border-radius: 1rem;
}

.header__main-menu-shop .icon-shop path {
    stroke: #333;
}

.cart-badge {
    position: absolute;
    top: .2rem;
    right: .2rem;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    min-width: 2rem;
    height: 2rem;
    border-radius: .8rem;
    border: .2rem solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem .4rem 0 .4rem;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

.dk-cart-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 32rem;
    background: #fff;
    border-radius: .8rem;
    box-shadow: 0 .4rem 2rem rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: all 0.3s ease-out;
    text-align: right;
}

.cart-wrapper:hover .dk-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dk-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f1;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.dk-cart-header-link {
    color: #19bfd3;
    text-decoration: none;
    font-size: 1.2rem;
}

.dk-cart-body {
    max-height: 28rem;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.dk-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.dk-cart-item:last-child {
    border-bottom: none;
}

.dk-cart-item .item-details {
    flex-grow: 1;
    padding-left: 1rem;
}

.dk-cart-item .item-name {
    font-size: 1.3rem;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-bottom: 5rem;
    line-height: 1.5;
}

.dk-cart-item .item-delivery {
    font-size: 1rem;
    color: #777;
    margin-bottom: 8rem;
}

.dk-cart-item .item-price {
    font-weight: bold;
    color: var(--text-color);
}

.dk-cart-item .item-quantity-control {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    border: 1px solid #ddd;
    border-radius: 1rem;
    width: fit-content;
}

.item-quantity-control button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    padding: .5rem 1rem;
    color: var(--primary-color);
    transition: background 0.2s;

}
.btn-plus{
    border-bottom-right-radius: 1rem;
    border-top-right-radius: 1rem;
}
.btn-minus{
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
}
.item-quantity-control button:hover {
    background: #fdf2f2;
}

.item-quantity-control .qty-num {
    padding: 0 1rem;
    font-weight: bold;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    min-width: 3rem;
    text-align: center;
}

.dk-cart-item .item-image {
    width: 10rem;
    height: 10rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dk-cart-item .item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: .3rem;
}

.dk-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f1;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.dk-cart-footer .total-price-section {
    text-align: right;
}

.dk-cart-footer .total-label {
    font-size: 1.2rem;
    color: #777;
    display: block;
    margin-bottom: .5rem;
}

.dk-cart-footer .total-amount {
    font-weight: bold;
    font-size: 1.6rem;
    color: var(--text-color);
}

.dk-cart-footer .btn-checkout {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: .6rem;
    transition: background 0.2s;
}

.dk-cart-footer .btn-checkout:hover {
    background: var(--primary-color);
}

.dk-cart-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #999;
    line-height: 1.8;
}


/*
==============
---- Main ----
==============
*/
main {

}

/*
=================
---- Banners ----
=================
*/
.banners {
    width: 100%;
    margin: 5rem 0 2rem 0;

}

.banners__container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;

}

.banner {
    width: 30rem;
    flex-grow: 1;
}

.banner img {
    border-radius: 1rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.11);
    object-fit: cover;
    width: 100%;
    height: 25rem;
}

/*
============================
---- Products Cart Main ----
============================
*/

.products {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding-bottom: 1rem;
}

.products__top {
    width: 100%;
    margin-top: 15rem;
    line-height: 2;
    margin-bottom: 1rem;
}

.products__top-title {
    text-align: center;
    font-size: 2.7rem;
}

.products__top-text {
    text-align: center;
    font-size: 1.6rem;
    color: #8c8c8c;
}

.product {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(20% - 1.6rem);
    max-width: calc(20% - 1.6rem);
    background: #ffffff;
    border: 1px solid var(--secondary-color);
    border-radius: 1.2rem;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: box-shadow .2s ease;
    min-width: 24rem;
}

.product:hover {
    box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.16);
}

.product__image-box {
    border-radius: .7rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.product__info-title {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.8;
    color: var(--text-color);
    margin: 1rem 0 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1em * 3);
}

.product__info-feature {
    font-size: 1.6rem;
    color: #ef394e;
    margin: .8rem 0;
    min-height: 2rem;
    display: flex;
    align-items: center;
}

.product__info-price {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: .6rem;
}

.product__info-price-box {
    display: flex;
}

.product__info-price-final-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.product__info-price-icon {
    font-size: 1.5rem;
    color: #6b7280;
    margin-right: .2rem;
    white-space: nowrap;
}

.product__info-price-discount {
    background: #ef394e;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: .1rem 1.2rem;
    border-radius: 10rem;
    margin-left: auto;
}

.product__info-price-no-discount {
    display: flex;
    justify-content: left;
    margin-top: .4rem;
}

.price-no-discount {
    font-size: 1.5rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.product__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.product__info-bottom-section {
    margin-top: auto;
    padding-top: 1rem;
}

.product__info-price-no-discount {
    min-height: 2rem;
}

/*
====================
----Product page----
====================
*/


.product-page {
    margin-top: 4rem;
}

.product-page__container {
    display: flex;
    align-items: start;
}

.product-page__gallery {
    display: flex;
    width: 35%;
}

.product-page__gallery-nav {
    margin-left: 1rem;
    margin-top: 2rem;
}

.product-page__gallery-menu-item {
    margin-bottom: 4rem;
}

.product-page__gallery-menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background-color: var(--secondary-color);
    border-radius: 10rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.29);
    transition: box-shadow 0.3s ease;
}

.product-page__gallery-menu-link:hover {
    box-shadow: none;
}

.product-page__gallery-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.product-page__slider {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;

}

.product-page__slider img {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    border-radius: 1rem;

}

.product-page__main-image {
    width: 100%;
}

.product-page__thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.product-page__thumbnail {
    width: 7rem;
    border-radius: 1rem;
    opacity: 1;
    cursor: pointer;
    transition: opacity .3s ease;
}

.product-page__thumbnail--active {
    opacity: .6;
}

@media (min-width: 768px) {

    .product-page__main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
        cursor: zoom-in;
    }

    .product-page__main-image.zooming {
        transform: scale(1.5);
        cursor: zoom-out;
    }

}

/*
===========================
----Product-page-center----
===========================
*/
.product-page__info {
    margin-right: 2rem;
    margin-left: 2rem;
    width: 40%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-page__info-top {
    border-bottom: 1px solid rgba(184, 184, 184, 0.43);
    padding-bottom: 1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.product-page__title {
    color: var(--text-color);
    font-size: 2.5rem;
}

.product-page__code {

}

.product-page__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-page__color {
    margin-bottom: 2rem;
}

.product-page__color-title {
    font-family: var(--font-secondary-medium);
    font-size: 1.6rem;

}

.product-page__color-list {
    display: flex;
    justify-content: start;
    gap: 1rem;
    margin-top: 1.5rem;

}

.product-page__color-item {
    padding: .4rem;
    border: 1px solid rgb(189, 189, 189);
    border-radius: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-page__color-button {
    background-color: #afd9ee;
    position: relative;

}

.active-color-button:before {
    content: url("/image/check.svg");
    position: absolute;
    top: .4rem;
    right: 0;
    left: 0;
    bottom: 0;

}

.btn-color {
    width: 3rem;
    height: 3rem;
    border-radius: 10rem;
    border: 1px solid rgb(209, 209, 209);
}

.product-page__price {
    display: flex;
    align-items: center;
    justify-content: right;
    margin: 1rem 0 0 0;
    color: var(--primary-color);
}

.price-amount-unit,
.price-amount {
    font-size: 3rem;
    font-family: var(--font-secondary-medium);
    padding: 0;


}

.product-qty {
    display: flex;
    flex-direction: column;
    margin: 2.5rem 0 0 0;
}

.product-qty__label {
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.product-qty__row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.product-qty__input {
    flex: 1;
    min-width: 12rem;
    padding: 1.4rem 2rem;
    background-color: var(--secondary-color);
    border: 2px solid transparent;
    border-radius: 5rem;
    font-family: var(--font-primary);
    outline: none;
    transition: border .3s ease;
}

.product-qty__input:focus {
    border-color: #c6c6c6;
}

.product-qty__input::-webkit-inner-spin-button,
.product-qty__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-qty__input {
    -moz-appearance: textfield;
}

.product-qty__price {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
}

.product-qty__price-example {
    white-space: nowrap;
    font-size: 1.6rem;
}

.product-qty__price-group {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.product-qty__price-number,
.product-qty__price-currency {
    font-size: 2rem;
    color: var(--primary-color);
    white-space: nowrap;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .2rem;
    margin-top: 2.5rem;
}

.product-actions__counter {
    display: flex;
    align-items: center;
    border-radius: 4rem;
    border: 1px solid rgba(0, 0, 0, 0.25);
    overflow: hidden;
    height: 5rem;
}

.product-actions__btn {
    width: 3rem;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.6rem;
    transition: background-color .3s ease;
}

.product-actions__btn--minus {
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.product-actions__btn--plus {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.product-actions__btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-actions__count {
    width: 3.5rem;
    height: 100%;
    text-align: center;
    border: none;
    outline: none;
}

.product-actions__count::-webkit-inner-spin-button,
.product-actions__count::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-actions__count {
    -moz-appearance: textfield;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-actions__add {
    flex-grow: 1;
}

.product-actions__add-btn {
    width: 100%;
    padding: 1.4rem 2rem;
    background-color: var(--primary-color);
    border-radius: 4rem;
    border: none;
    color: white;
    font-size: 1.6rem;
}

.product-qty__final-price {
    display: flex;
    align-items: end;
    justify-content: space-between;

    height: 5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: var(--font-secondary-medium);
}

.product-qty__final-price-label {

}

.product-qty__final-price-value {
    color: var(--primary-color);
}

/*
===========================
----Product Page Left----
===========================
*/


.product-page__features {
    width: 30%;
}

.product-page__features-top {
    padding: 1rem 0 3rem;
}

.product-page__features-title {
    font-family: var(--font-secondary-medium);
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.product-page__features-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12.8rem, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.product-page__features-item {
    background-color: var(--secondary-color);
    padding: .5rem 1rem;
    border-radius: 1rem;
}

.product-page__features-label {
    font-size: 1.2rem;
    opacity: .7;
}

.product-page__features-value {
    padding: 0;
    font-size: 1.5rem;
}


/*
====================
----Product Info----
====================
*/
.product-info__container{
    margin-top: 10rem;
    min-height: 200px;
}
.product-info__top{
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}
.product-info__top-item{
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.24);
    border-bottom: none;
    padding: 1rem 2rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
}
.btn-description{
    background-color: #FFC3C3FF;
}
.similar{
    margin: 2rem;

}
.similar-products{
    overflow: scroll;
    border: 1px solid rgb(209, 209, 209);
    border-radius: 1rem;
    background-color: var(--secondary-color);
}
.similar-products__title{
    font-size: 1.6rem;
    line-height: 2;
    font-weight: var(--font-secondary-bold);
    display: inline-block;
    position: relative;
    width: auto;
    margin: 2rem 1rem;
}
.similar-products__title:before{
    content: '';
    position: absolute;
    width: 100%;
    height: .3rem;
    background-color: var(--primary-color);
    bottom: 0;
    border-radius: 1rem;
}
.similar-products__main{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 2rem 3rem;
}

.product-info__main{
    padding-right: 2rem;
    line-height: 2;
}
.product-info__main-description{
    display: inline-block;
    transition: all 0.3s ease;
}
.product-info__main-specifications{
    display: none;
    transition: all 0.3s ease;

}
.product-specs__row{
    display: flex;
    gap: 3rem;
    line-height: 3;

}
/*
==============
----Footer----
==============
*/
.footer {
    margin-top: 4rem;
    background-color: var(--secondary-color);
    padding: 2.5rem 0 0 0;
}

.footer__features {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.27);
}

.footer__feature-item {
    text-align: center;
}

.footer__feature-image {
    margin-bottom: 1rem;
}

.footer__feature-content {

}

.footer__feature-title {
    margin: 0;
}

.footer__feature-text {
    padding: .5rem 0;
    font-family: "IRANSans UltraLight";
}

.footer__links-section {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.27);
}

.footer__links {
    margin-top: 2rem;
    width: 50%;
}

.footer__links-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.footer__links-wrapper {
    display: flex;
    justify-content: space-between;
}

.footer__links-list {
    margin-top: 2rem;
}

.footer__links-item {
    margin: 1.5rem 0;
    position: relative;
    list-style-type: none;
}

.footer__links-item::before {
    color: var(--primary-color);
    content: "●";
    margin-left: .5rem;
}

.footer__links-link {
    position: relative;
    display: inline-block;
    color: var(--text-color);
    font-family: "IRANSans UltraLight";
    transition: all 0.3s ease;
}

.footer__links-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -.5rem;
    width: 0;
    height: 10%;
    background-color: var(--primary-color);
    border-radius: 1rem;
    transition: width 0.3s ease;
}

.footer__links-link:hover {
    color: var(--text-color);
    font-weight: bold;
}

.footer__links-link:hover::after {
    width: 100%;
}

.footer__social {
    width: 30%;
    margin-top: 7.6rem;
    padding: 0;
}

.footer__social-header {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}

.footer__social-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.footer__social-icon {

}

.footer__social-list {
    display: flex;
    margin-top: 4rem;
    gap: 2rem;
}

.footer__social-item {
    width: 7rem;
    height: 7rem;
    border-radius: 1rem;
    border: 2px solid rgba(224, 50, 72, 0);
    background-color: #ffffff;
    padding: 1rem;
    transition: all 0.3s ease;
}

.footer__social-item:hover {
    box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.21);
    transform: scale(1.2);
}

.footer__contact-section {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.27);
    padding-bottom: 1rem;
}

.footer__contact {
    width: 50%;
}

.footer__contact-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
}

.footer__contact-item {
    display: flex;
    align-items: center;
}

.footer__contact-icon {

}

.footer__contact-label {
    padding: 1rem;
}

.footer__contact-text {
    padding: 0;
    color: var(--primary-color);
}

.footer__contact-link {
    color: var(--primary-color);
}

.footer__map {
    display: none;
}


.footer__map-buttons {
    display: flex;
    align-items: center;
}

.footer__map-button {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    color: white;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.footer__map-button--hide {
    display: none;
}

.footer__map {
    border-bottom: 1px solid rgba(0, 0, 0, 0.27);
    display: none;
}

.footer__map-wrapper {
    position: relative;
    width: 100%;
    max-width: 110rem;
    height: 42rem;
    margin: 4rem auto;
    border-radius: 2rem;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.08),
    0 .6rem 1.6rem rgba(0, 0, 0, 0.06);

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.footer__map-wrapper:hover {
    transform: translateY(-6px);

    box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.12),
    0 1rem 2.4rem rgba(0, 0, 0, 0.08);
}

.footer__map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(5%) contrast(1.05) saturate(1.1);
}

.footer__certificates {
    width: 30%;
    display: flex;
    justify-content: right;
    gap: 2rem;
}

.footer__certificate-link {
    width: 10rem;
    height: 10rem;
}

.footer__about {
    margin-top: 3rem;
    line-height: 3rem;
}

.footer__about-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.footer__about-text {
    margin-top: 1rem;
    padding: 0;
    color: var(--text-color);
}

.footer__developer {
    margin-top: 5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.27);
    direction: ltr;
}

.footer__developer-text {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__developer-text svg {
    margin: 6px 3px 0 3px;
}

.footer__developer-link {
    color: var(--primary-color);
}

/*
==================
----Responsive----
==================
*/


@media (max-width: 1400px) {

}

@media (max-width: 1200px) {
    /*
 ==============
 ----Header----
 ==============
 */
    .header__main-menu-login {
        padding: 1rem !important;
    }

    /*
     ==============
     ----Main----
     ==============
     */

}

@media (max-width: 992px) {
    /*
 ==============
 ----Header----
 ==============
 */
    .header__main-menu-login {
        font-size: 1.2rem;
    }

    .header__main-menu-login svg {
        width: 2rem;
        height: 2rem;
    }

    /*
     ==============
     ----Main----
     ==============
     */
    .product {
        flex: 1 1 calc(50% - 1.6rem);
        max-width: calc(50% - 1.6rem);
    }

    .product-qty__row {
        flex-wrap: wrap;
    }

    .product-qty__final-price {
        font-size: 2.3rem;
    }

    /*
     ====================
     ----Product page----
     ====================
     */
    .product-actions {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {

    /*
    ==============
    ---- Header ---
    ==============
    */
    .admin-link,
    .login-link {
        display: none;
    }

    .header__main-search {
        display: none;
    }

    .header__main-menu-btn {
        background-color: transparent;
        display: block;
        margin: 0;
    }

    .header__main-menu-btn img {
        width: 2.5rem;
        height: 2.5rem;
        margin-top: .5rem;
    }

    .header__nav {
        display: none;
    }

    .cart-wrapper,
    .header__main-menu-shop {
        background-color: transparent !important;
    }

    .cart-badge {
        width: 2rem;
        height: 2rem;
        top: .5rem;
        right: .2rem;
        padding-top: .2rem;
        border: 2px solid white;
    }

    .header__main-search-mobile {
        display: flex;
        width: 100%;
    }

    .header__main-search-mobile .search {
        width: 100%;
        margin: 2rem 0 0 0;
    }

    .header__mobile {
        display: block;
    }

    .header__top-banner {
        height: 4rem;
    }

    .header__main-logo {
        width: 9rem;
    }

    .header__nav-menu {
        display: none;
    }

    /*
    ==============
    ---- Main ----
    ==============
    */
    .banner img{
        height: 20rem;
    }
    /*
    =================
    ---- Banners ----
    =================
    */
    .product {
        flex: 1 1 calc(50% - 1.6rem);
        max-width: calc(50% - 1.6rem);
        min-width: auto;
    }

    /*
    ====================
    ----Product page----
    ====================
    */
    .product-page__gallery {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .product-page__slider img {
        width: 100%;
    }

    .product-page__container {
        flex-direction: column;
    }

    .product-page__info {
        width: 100%;
        margin: 2rem 0;
    }

    .product-qty__row {
        flex-direction: column;
        align-items: start;
    }

    .product-qty__input {
        max-width: 100%;
        width: 100%;
        padding: 1rem 2rem;
    }

    .product-qty {
        margin-top: 3.5rem;
    }

    .product-qty__final-price {
        align-items: center;
        margin: 3rem 0;
    }

    .product-actions {
        margin: 0;
        flex-direction: row;
    }

    .product-actions__counter {
        height: 4.5rem;
    }

    .product-actions__add-btn {
        padding: 1.2rem 2rem;
    }

    .product-page__features {
        width: 100%;
        margin: 3rem 0;
    }

    .product__info-feature {
        font-size: 1.2rem;
    }

    .product-page__thumbnail {
        width: 6rem;
    }

    .product__info-feature {
        font-size: 1.2rem;
    }

    /*
    ==============
    ---- Footer ---
    ==============
    */
    .footer__features {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-right: 1rem;
    }

    .footer__feature-item {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding-left: 4rem;
        margin-left: auto !important;
        text-align: right;
    }

    .footer__feature-image {
        margin-left: 2rem;
    }

    .footer__contact-section,
    .footer__links-section {
        flex-direction: column;
    }

    .footer__contact,
    .footer__certificates,
    .footer__social,
    .footer__links {
        width: 100%;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .footer__links-wrapper {
        gap: 10rem;
        justify-content: start;
    }

    .footer__contact-item {
        align-items: baseline;
    }

    .footer__contact-text {
        max-width: 70%;
    }

    .footer__map-button {
        margin-top: 2rem;
    }


}

@media (max-width: 576px) {

    /*
    ===============
    ---- Header ---
    ===============
    */
    .dk-cart-dropdown {
        display: none !important;
    }

    .cart-wrapper:hover .dk-cart-dropdown {
        display: none !important;
    }

    /*
    ==============
    ---- Main ----
    ==============
    */
    .products {
        gap: 0;
        justify-content: space-between;
    }

    .product {
        flex: 1 1 100%;
        max-width: 49%;
        padding: 1rem;
        margin-top: .5rem;
    }


    .product__image img {
        border-radius: 1rem;
    }

    .product__info-price {
        flex-direction: column;
        justify-content: start;
        align-items: end;
    }

    .product-qty__final-price {
        font-size: 2rem;
    }

    /*
    ===============
    ---- Footer ---
    ===============
    */
    .footer__links-wrapper {
        gap: 3rem;
    }

    .footer__developer-text {
        text-align: center;
        font-size: 1rem;
    }
}
