@font-face {
    font-family: 'Vazir';
    src: url('/assets/fonts/Vazir.eot');
    src: url('/assets/fonts/Vazir.eot?#iefix') format('eot'), url('/assets/fonts/Vazir.woff2') format('woff2'), url('/assets/fonts/Vazir.woff') format('woff'), url('/assets/fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'yekan';
    src: url("../fonts/Yekan.eot") format('eot');
    src: url("../fonts/Yekan.ttf") format('truetype'), url("../fonts/Yekan.woff") format('woff');
}





* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    direction: rtl;
    font-family: 'Vazir';
    direction: rtl;
    background: #EEF3EC;
}


input,
button {
    font-family: 'vazir';
}

.container {
    width: 90vw;
    margin: auto;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}



.border-top {
    border-top: 1px solid #252525;
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    position: relative;
}

    .header-title::before {
        content: "";
        position: absolute;
        background-color: #dfdfdf;
        bottom: 0;
        right: 0;
        left: 0;
        height: 1px;
    }

    .header-title h2 {
        width: 300px;
        text-align: center;
        position: relative;
        padding-bottom: 10px;
    }

        .header-title h2::before {
            content: "";
            position: absolute;
            background-color: #c00;
            bottom: 0;
            right: 0;
            left: 0;
            height: 1px;
        }

        .header-title h2::after {
            content: "";
            position: absolute;
            background-color: rgb(255, 255, 255);
            bottom: 0;
            width: 15px;
            height: 1px;
            left: -15px;
        }

    .header-title a {
        color: #000;
    }

        .header-title a:hover {
            color: #c00;
        }

.sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #c00;
    padding: 10px 0;
}

    .sidebar-title a {
        color: #000;
    }

        .sidebar-title a:hover {
            color: #c00;
        }

.btn {
    /* position: relative; */
    /* background-color: aqua; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0 20px 0;
}

.shop-btn {
    /* position: absolute; */
    /* top: 10px;
  left: 10px; */
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.eye-btn {
    /* position: absolute; */
    /* top: 50px;
  left: 10px; */
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.heart-btn {
    /* position: absolute; */
    /* top: 90px;
  left: 10px; */
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Header */

header {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 18vh;
}

    header .navbar {
        width: 100%;
        /* height: 9vh; */
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* position: relative; */
    }



/* Header ===UP====> Search */
.searchbox {
    width: 100%;
}

    .searchbox form {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin: 5px 0;
        align-items: center;
        color: #cacaca;
    }

    .searchbox input {
        width: 99%;
        padding: 10px;
        border: none;
        border-bottom: 2px solid #cacaca;
        outline: none;
        transition: all 0.3s ease-in-out;
        color: #cacaca;
        border: solid 3px #fff;
        border-radius: 10px;
    }


/* Header ===Right====> Menu */

.menu {
    display: flex;
    /* width: 50%; */
}

    .menu > ul {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

        .menu > ul > li {
            text-align: center;
        }

            .menu > ul > li > a {
                text-align: center;
                transition: all 0.3s ease-in-out;
                text-decoration: none;
            }

.navbar .menu > ul > li > a > svg {
    font-size: 30px;
    width: 100%;
    margin-top: 5px;
}

/* Mega-menu */

header .navbar .menu ul li ul.mega-menu {
    position: absolute;
    width: 100%;
    right: 0;
    top: 8vh;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 0.4s ease-in-out;
    z-index: 1000 !important;
    /* gap: 10px; */
    padding: 30px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

header .navbar .menu > ul > li:hover ul.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.menu ul li ul.mega-menu li {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

    .menu ul li ul.mega-menu li h2 {
        font-size: 24px;
        color: #fff;
        border-bottom: 1px solid #202020;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .menu ul li ul.mega-menu li ul {
        margin-top: 10px;
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

        .menu ul li ul.mega-menu li ul li {
            width: 100%;
        }

            .menu ul li ul.mega-menu li ul li a {
                width: 100%;
                display: block;
                padding: 10px 0;
                color: #fff;
                transition: all 0.2s ease;
                text-decoration: none;
            }

    .menu ul li ul.mega-menu li img {
        width: 100%;
        height: 100%;
        padding: 10px;
    }




/* Header ===Left====> Social */

.navbar .social {
    display: flex;
    /* width: 100%; */
    height: 100%;
    align-items: center;
    justify-content: flex-end;
}

    .navbar .social ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100%;
    }

        .social ul li {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
            margin: 0 10px;
        }

            .social ul li a {
                height: 100%;
                display: flex;
                align-items: center;
            }

                .social ul li a svg {
                    font-size: 25px;
                    transition: all 0.2s ease-in-out;
                }







/* DETAIL_PAGE */


.main {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}


.category {
  margin: 20px 0;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  font-size: 14px;
  color: #666;
}
/* .breadcrumb-list {
  content: ">";
  margin: 0 8px;
  color: #aaa;
} */
.breadcrumb-list .breadcrumb-item::after {
  content: ">";
  margin: 0 8px;
  color: #aaa;
}
.breadcrumb-list .breadcrumb-item::before {
  content: "";
  margin: 0 8px;
  color: #aaa;
}
.breadcrumb-list .breadcrumb-item a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list .breadcrumb-item.active {
  color: #555;
  font-weight: 500;
}

.product {
  display: flex;
  gap: 30px;
  margin: 40px 0;
}

.product-gallery {
/*  width: 100%;*/
  display: flex;
  flex-direction: column;
}

.product-image {
  width: 100%;
  height: 400px;
  /* height: 100%; */
  overflow: hidden;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-list {
  display: flex;
  gap: 10px;
/*  margin-top: 15px;*/
  list-style: none;
  margin:15px auto;
}

.image-item {
  flex: 1;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.details {
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
    height: 100%;
}

.details h1 {
  width: 100%;
  font-size: 24px;
  color: #333;
  margin-bottom: 5px;
}


.price-options {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.details h2 {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}

.combo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 48%;
  padding-top: 15px;
  gap: 6px;
  /* min-width: 130px; */
}

.combo label {
  font-size: 14px;
  color: #555;
  text-align: right;
  font-weight: bold;
}


.custom-select {
    display:flex;
  padding: 5px 14px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-left: 14px;
  padding-right: 35px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(5252, 188, 188, 0.1);
}

.description {
  font-size: 15px;
  color: #555;
  margin: 15px 0;
  line-height: 1.8;
}

.description p + p {
  margin-top: 10px;
}


.add-to-cart {
    padding: 14px;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: auto;
    align-self: flex-start;
}

    .add-to-cart:hover {
        transform: translateY(-2px);
    }








.offer .related-products {
  margin: 60px 0;
  text-align: center;
}

.related-products h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 30px;
}

.related-products .related-items {
  display: inline-block;
  width: 95%;
  height: 400px;
  margin: 15px 10px;
  /* vertical-align: top; */
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.related-products .related-items .img img{
  width: 90%;
  height: 100%;
}

.related-products .related-items img{
  width: 90%;
  height: 100%;
  object-fit: cover;
}

.related-products .related-items h4 {
  font-size: 18px;
  margin: 15px 0 5px;
  color: #333;
}

.related-products .related-items .price {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 15px;
}

.related-products .col-lg-4:hover{
  transform: translateY(-5px);
}




/* MODAL_ZOOM */

.image-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.image-modal.active {
  display: flex;
}


.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
}


.zoomable-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  cursor: zoom-out;
  transition: transform 0.1s ease;
}


.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.prev {
  left: 20px;
  color:gray;
}

.next {
    right: 20px;
    color: gray;
}


.product-image {
  overflow: hidden;
  position: relative;
}

.product-image img {
  transition: transform 0.3s ease;
}

.product-image:hover img {
  transform: scale(1.1);
}

.nav-btn {
  font-size: 22px;
  width: 40px;
  height: 40px;
  font-weight: bold;
  align-items: center;
  justify-content: center;
}



/* DOWN_MENU */

.down-menu {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0; 
  z-index: 900;
}

.down-menu .container {
  padding: 0 15px;
}

.down-navbar {
  display: flex;
  justify-content: center;
}

.down-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.down-nav .nav-item {
  position: relative;
}

.down-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}






.tab-content {
  margin-top: 20px;
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.8;
  color: #444;
  font-size: 15px;
  text-align: right;
}

.tab-content h3 {
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}


.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.specs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  text-align: right;
}

.specs-table td:first-child {
  width: 30%;
  font-weight: 600;
  color: #333;
  background-color: #fff;
  border-radius: 6px 0 0 6px;
}

.specs-table td:last-child {
  width: 70%;
  color: #555;
  border-radius: 0 6px 6px 0;
}



/* DIDGAH */

.didgah-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.didgah-item {
  background-color: #fff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.didgah-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.didgah-name {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.didgah-date {
  font-size: 13px;
  color: #888;
}

.didgah-body {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.didgah-body p {
  margin: 0;
}


.add-didgah {
  margin-top: 40px;
  padding: 20px;
  border-top: 1px dashed #ddd;
}

.add-didgah h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
}

.add-didgah textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  resize: vertical;
  background-color: #fff;
}

.btn-submit-didgah {
  margin-top: 10px;
  padding: 10px 20px;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.add-didgah input{
  width: 30%;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
  margin: 10px 0;
  padding: 3px 5px;
}



















/* Footer */

.footer {
    width: 100%;
    padding: 40px 0;
    text-align: right;
}

    .footer h3,
    .footer h4 {
        text-align: center;
        margin-bottom: 10px;
        color: #fff;
    }

    .footer .footer-about {
        width: 33%;
        text-align: center;
    }

        .footer .footer-about p {
            color: #fff;
            text-align: center;
        }

        .footer .footer-about button {
            padding: 8px 8px;
            margin: 15px 0;
            color: #fff;
            background: #c00;
            border: none;
            border-radius: 3px;
            cursor: pointer;
            font-size: 16px;
        }

            .footer .footer-about button:hover {
                color: #c00;
                background: #fff;
                transition: all 0.3s ease-in-out;
            }

    .footer .footer-social {
        width: 33%;
        color: #fff;
    }

        .footer .footer-social ul {
            display: flex;
            justify-content: space-between;
            width: 40%;
            margin: auto;
        }

            .footer .footer-social ul li a {
                font-size: 26px;
                color: #fff;
            }

                .footer .footer-social ul li a:hover {
                    color: #c00;
                    transition: all 0.3s ease-in-out;
                }

    .footer .footer-news {
        width: 33%;
    }

        .footer .footer-news form {
            display: flex;
        }

            .footer .footer-news form input {
                width: 90%;
                padding: 10px;
                border: none;
                border-radius: 2px;
                outline: none;
            }

            .footer .footer-news form button {
                padding: 0 10px;
                margin-right: 5px;
                color: #fff;
                background: #c00;
                border: none;
                border-radius: 3px;
                cursor: pointer;
                font-size: 16px;
            }

                .footer .footer-news form button:hover {
                    color: #c00;
                    background: #fff;
                    transition: all 0.3s ease-in-out;
                }

    /* Down part */



    .footer .footer-customer-services ul li a {
        color: #fff;
        padding: 10px 0;
        display: block;
        text-decoration: none;
    }

    .footer .footer-customer-services h3,
    .footer .footer-quick-access h3 {
        text-align: right;
        font-size: 20px;
    }



    .footer .footer-quick-access ul li a {
        color: #fff;
        padding: 10px 0;
        display: block;
        text-decoration: none;
    }



    .footer .footer-license .information {
        margin-bottom: 15px;
    }

        .footer .footer-license .information h4 {
            margin-bottom: 10px;
            text-align: right;
            font-size: 15px;
        }

            .footer .footer-license .information h4.mail {
                margin-bottom: 10px;
                text-align: left;
            }

    .footer .footer-license .license {
        display: flex;
    }

        .footer .footer-license .license img {
            width: 33%;
            height: 140px;
        }

    .footer .footer-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .footer .footer-logo img {
            width: 150px;
            padding: 60px 0;
            border-radius: 48%;
        }

.hamburger {
    display: none;
}

header .navbar .menu > ul > .close-icon {
    display: none;
}
