﻿.doran-bold {
    font-family: "doran-bold" !important;
}

.text-secondary {
    color: var(--secondary);
}

.desktop-none {
    display: none;
}

.no-js #category-table {
    display: block;
}

.js-enabled #category-table {
    display: none;
}


.breadcrumb-item {
    font-size: 16px;
    font-weight: 400;
}

    .breadcrumb-item a {
        color: var(--s-secondary) !important;
    }

    .breadcrumb-item.active {
        color: var(--mute) !important;
    }

.swiper-banner:not(.swiper-initialized) {
    visibility: hidden;
    height: 0;
    min-height: auto;
}

.swiper-banner.swiper-initialized {
    visibility: visible;
    height: auto;
}
.swiper-wrapper {
    display: block !important;
}

.swiper-slid-init {
    width: auto !important;
    margin-left: 8px;
    padding-bottom: 8px;
    height: auto !important;
}

.top-sell-products-container .swiper-slid-init {
    max-width: 450px;
}

.top-sell-products-container:has(.swiper-slid-init) {
    width: 100%;
    padding-left: 3%;
    padding-right: 3%;
}

.swiper-wrapper:has(.swiper-slid-init) {
    overflow-x: scroll;
    display: flex !important;
    width: 100%;
    position: unset;
}

.swiper-wrapper:has(.product-card:not(.landscape)) {
    width: 100%;
    overflow: auto;
}

.swiper-wrapper-flex {
    display: flex !important;
    width: auto !important;
    overflow: unset !important;
}

.swiper-category .swiper-slid-init img {
    max-height: 100px;
    object-fit: scale-down;
    width: 100%;
}

.swiper-category .swiper-slid-init {
    width: 125px !important;
}


.category li {
    margin-top: 16px;
}

.category .first {
    color: var(--tertiary);
}

.category .second {
    color: var(--secondary);
}

.category .third {
    color: var(--mute-2);
}

.gateways {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    gap: 16px;
    color: var(--secondary) !important;
    align-items: center;
}

    .gateways img {
        max-width: 60px;
        border-radius: 8px;
        margin-left: 8px;
    }

    .gateways .text-muted {
        font-size: 16px;
        font-weight: 300;
    }

    .gateways input {
        width: 24px;
        height: 24px !important;
    }

#shipping-methods .gateways {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    gap: 16px;
    color: var(--secondary) !important;
    align-items: center;
}

    #shipping-methods
    .gateways .text-muted {
        font-size: 14px;
        font-weight: 300;
    }

/* The checkBox-container */
.checkBox-container {
    display: block;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: medium;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 30px;
    margin-right: 30px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

    /* Hide the browser's default radio button */
    .checkBox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #e9ecef;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.checkBox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.checkBox-container input:checked ~ .checkmark {
    background-color: black;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.checkBox-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.checkBox-container .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.drawer-container {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100svh - 80px);
    bottom: 80px;
    z-index: 9998;
    background: white;
    transition: all 1s;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.drawer-top-menu {
    width: 100%;
    background: white;
    overflow: auto;
    display: flex;
    gap: 8px;
    padding: 24px 16px;
}

.drawer-top-menu-item {
    padding: 9px 16px;
    border-radius: 8px;
    width: auto;
    border: 1px solid #F4F4F4;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    color: #2C3E50;
    background-color: transparent;
}

    .drawer-top-menu-item.active {
        border: 2px solid var(--s-secondary);
        color: var(--s-secondary);
        background-color: #FFC8C20D;
    }

.drawer-content {
    display: flex;
    height: calc(100% - 87px);
}

.drawer-content-right {
    flex: 3;
    height: 100%;
    overflow: auto;
}

.drawer-content-left {
    padding: 0 16px;
    flex: 7;
    background: white;
    height: 100%;
}

.drawer-right-menu-item {
    width: 100%;
    color: #2C3E50;
    padding: 15px 12px;
    border: none;
    font-size: 12px;
    font-weight: 500;
    outline: none;
}

    .drawer-right-menu-item.active {
        background-color: white !important;
        color: var(--s-secondary);
    }

.drawer-left-menu-item a {
    border: none;
    outline: none;
    width: 100%;
    font-size: 12px;
    color: #2C3E50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 2px solid #EEEEEE;
    background: white;
}

.drawer-right-menu-item a i {
    font-size: 16px;
    color: #2C3E50;
}

.drawer-container .dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}


    .drawer-container .dropdown-content.open {
        max-height: 500px;
    }

    .drawer-container .dropdown-content ul {
        list-style: none;
        padding: 8px 16px;
        margin: 0;
    }

    .drawer-container .dropdown-content li {
        padding: 6px;
        border-bottom: 1px solid #FFFFFF;
        font-size: 12px;
        background-color: var(--primary);
    }

.drawer-container .dropdown-btn i {
    transition: transform 0.3s ease;
}

.trnsform-100 {
    transform: translateX(100%);
}

.fa-rotate-270 {
    transform: rotate(-90deg);
}

#search-modal {
    top: -5%;
    width: 100%;
}

    #search-modal .modal-dialog-scrollable .modal-body {
        overflow-x: hidden;
    }

    #search-modal .modal-dialog {
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #search-modal .modal-content {
        border-radius: 0;
        padding-top: 24px;
        padding-bottom: 24px;
        height: 90%;
    }

    #search-modal .modal-header .btn-close {
        font-size: 14px;
        background-color: var(--gray-8);
        padding: 10px;
        border-radius: 50%;
    }

    #search-modal .modal-title {
        font-family: "doran-bold" !important;
        color: var(--secondary);
    }

.search-container {
    position: relative;
}

.search-input {
    height: 48px;
    padding-right: 48px;
    border: 1px solid var(--light-pink);
    border-radius: 24px;
    font-size: 16px;
    background: none;
    color: var(--gray-1);
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 22px;
    color: var(--secondary);
    transform: translateY(-50%);
}

.fill-tertiary svg {
    fill: var(--secondary);
}

#popular-search-items {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

    #popular-search-items .bg-secondary {
        background-color: #09b2a3 !important;
        color: white;
        max-width: 100%;
    }

    #popular-search-items a:hover {
        color: white;
        background-color: var(--secondary) !important
    }

@media (min-width: 992px) { /* lg و بزرگ‌تر (دسکتاپ) */
    .sticky-desktop {
        position: sticky;
        top: 100px; /* فاصله از بالای صفحه */
    }
}

@media (max-width: 600px) {
    .top-sell-products-container .swiper-slid-init {
        max-width: 100%;
    }

    .swiper-category .swiper-slid-init {
        width: 85px !important;
    }
}

#cart-notification-backdrop {
    visibility: visible;
    opacity: .7;
    z-index: 99998;
    position: fixed;
}

#cart-notification-popup {
    visibility: visible;
    opacity: 1;
    z-index: 99998;
    position: fixed;
    width: 580px;
    left: calc(50% - 580px / 2);
    top: 70%;
}

.cart-notification-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    animation: fadeIn 0.3s ease-out;
    touch-action: none;
    display: none;
    visibility: hidden;
    opacity: 0;
}

.cart-notification-popup {
    position: fixed;
    width: 580px;
    height: 150px;
    left: calc(50% - 580px/2);
    top: 879px;
    z-index: 99999;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    gap: 56px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideInDown 0.3s ease-out;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDownMobile {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes slideInCenterMobile {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.cart-notification-content {
    display: flex;
    flex-direction: column;
    padding: 0px;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    position: relative;
    z-index: 100001;
    justify-content: space-between;
}

.cart-notification-left {
    display: block;
    padding: 0px;
}

.cart-notification-message-wrapper {
    margin-top: 0px;
    text-align: center;
    margin-bottom: 16px;
}

.cart-notification-message {
    font-family: 'doran-bold' !important;
    color: var(--s-secondary);
    font-size: 20px;
}


.cart-notification-right {
    margin: auto;
}

.cart-notification-button {
    display: flex;
    align-items: center;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    border-radius: 8px;
    padding: 8px 16px;
    gap: 8px;
}

    .cart-notification-button:hover {
        background-color: var(--gray-7);
        color: var(--secondary);
    }

    .cart-notification-button:hover {
        opacity: 0.8;
    }

.cart-notification-button-text {
}

.cart-notification-arrow {
    width: 24px;
    height: 24px;
    flex: none;
    flex-grow: 0;
}

.cart-notification-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    flex-grow: 0;
    transition: opacity 0.2s;
}

    .cart-notification-close img {
        width: 24px;
        height: 24px;
    }

    .cart-notification-close:hover {
        opacity: 0.7;
    }

    .cart-notification-close svg {
        width: 32px;
        height: 32px;
    }

@media(max-width: 768px) {
    #cart-notification-popup {
        visibility: visible;
        opacity: 1;
        z-index: 99998;
        position: fixed;
        width: calc(100% - 32px) !important;
        max-width: 580px !important;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 50%;
        bottom: auto;
        height: auto;
        min-height: 80px;
    }
}

.breadcrumb {
    margin-bottom: 32px;
    text-align: center;
    background-color: var(--card-back);
    padding: 10px;
    border-radius: 8px;
    justify-content: center;
}

.category-nonImage {
    background: var(--card-back);
    padding: 16px 4px;
    border-radius: 8px;
    color: var(--secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px !important;
}

.form-check-input:checked {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

@media (max-width: 1023px) {
    .breadcrumb {
        padding: 10px 4px;
    }

    .breadcrumb-item {
        font-size: 11px;
    }

        .breadcrumb-item + .breadcrumb-item::before {
            padding-left: .5rem;
            padding-right: .5rem;
        }
}
.category-text { 
    padding: 28px 28px; 
}

.category-text {
    color: #000000;
    font-family: "anjoman", Sans-serif !important;
    font-weight: 300;
    line-height: 35px;
}

    .category-text  h1 {
        font-size: 23px !important;
        font-family: "doran-bold", Sans-serif !important;
        color: var(--secondary);
        font-weight: 600;
        margin-bottom: 20px;
    }
    .category-text h2 {
        color: var(--secondary);
        font-family: "doran-bold", Sans-serif !important;
        font-size: 19px !important;
        font-weight: 600 !important;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .category-text h3 {
        font-family: "doran-bold", Sans-serif !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        margin-bottom: 20px;
        margin-top: 20px; 
    }

    .category-text p {
        color: #000000;
        font-family: "anjoman", Sans-serif !important;
        font-weight: 300;
        line-height: 35px;
    }

    .category-text img {
        display: flex;
        width: 50% !important;
        margin: 16px auto;
    }

    .category-text a {
        color: var(--s-secondary) !important;
    }

        .category-text a:hover {
            color: var(--secondary) !important;
        }

    .category-text table {
        border-collapse: collapse;
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .category-text th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #033a35;
        color: white;
        text-align: center;
        font-weight: 400;
    }

    .category-text td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: center;
    }

    .category-text  tr:nth-child(even) {
        background-color: #f2f2f2;
    }
footer .social a {
    background-color: var(--card-back);
}
footer .social svg path{
    fill: var(--secondary);
}
footer .social{
    margin-top: 16px;
    margin-bottom: 16px;
}
.contact-us-banner {
    background: #FCF8F5;
    height: 208px;
    border-radius: 20px;
    position: relative;
    overflow: visible; /* اجازه خروج محتوا از باکس را می‌دهد */
    margin-bottom: 64px; 
}
    .contact-us-banner .btn {
        background-color: #DCB893;
        font-family: "doran", Sans-serif !important;
        font-size: 14px;
        font-weight: 800;
        border-radius: 10px;
        padding: 15px 28px 0px 28px;
        color: white;
    }
    .contact-us-banner .btn:hover {
        background-color: var(--secondary); 
    }
    .contact-us-banner svg {
        margin-right: 8px;
    }
    .contact-us-banner .text {
        margin: auto;
        display: flex;
    }
    .contact-us-banner p { 
        font-family: "doran" !important;
        font-size: 35px;
        font-weight: 500;
        color: var(--secondary);
        margin: auto;
    }

    .contact-us-banner .first-image {
        background: url(/images/icon/top-art-02.webp);
        background-repeat: no-repeat;
        background-size: 180px;
        height: 188px;
        background-position-x: right;
        z-index: 0;
        background-position-y: bottom;
    }

    .contact-us-banner .last-image {
        background: url(/images/icon/top-art-01.webp);
        background-repeat: no-repeat;
        background-size: 275px;
        height: 248px;
        position: relative;
        top: -42px;
        z-index: 10;
        left: 16px;
    }
    .swiper {
        user-select: none;
    }
.compare-search .category-page .product-card:not(.landscape) {
    height: 290px !important;
    padding: 8px 16px !important;
}
    .compare-search .product-card .card-img-top {
        margin-bottom: 8px !important;
        height: auto !important;
        max-width: 160px!important;
    }
    .compare-search .product-card .card-title {
        margin-bottom: 4px !important;
    }
@media (max-width: 600px) {
    .contact-us-banner {
        height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
    }

        .contact-us-banner .first-image {
            background-size: 70px;
            height: 70px;
            background-position-x: 95%;
        }

        .contact-us-banner .text {
            flex-direction: column;
        }

        .contact-us-banner p {
            font-size: 18px;
            margin: unset;
            padding-top: 16px;
        }

        .contact-us-banner .last-image {
            display: none;
        }

        .contact-us-banner .btn {
            width: 50%;
            font-size: 12px;
            padding: 10px 20px 10px 20px;
            margin-right: auto;
            margin-top: 16px;
        }
    .compare-search .category-page .product-card:not(.landscape) {
        height: 260px !important;
        padding: 8px 8px !important;
    }
    .compare-search-modal .search {
        padding: 4px;
    }
}
    @media (min-width: 768px) and (max-width: 1300px) {
        .contact-us-banner { 
            height: auto;
            padding-top: 8px;  
            padding-bottom: 8px;  
        }
        .contact-us-banner .first-image {
            background-size: 95px;
            height: 95px;
            background-position-x: 95%;
        }
            .contact-us-banner .text {
                justify-content: space-around;
                align-items: center;
            }
        .contact-us-banner p { 
            font-size: 18px; 
            margin: unset; 
        }
        .contact-us-banner .last-image {
            display: none;
        }
            .contact-us-banner .btn { 
                font-size: 12px;
                padding: 10px 20px 10px 20px; 
            }
    }