﻿:root {
    /* brand */
    --primary-red: #e30613;
    /* ui reds */
    --secondary-red: #d90429;
    --accent-red: #ef233c;
    --light-red: #fff1f2;
    /* background reds */
    --red-soft-bg: #8b1e2d;
    --red-dark-bg: #5a0f18;
    /* text */
    --text-dark: #0a0a0a;
    --text-gray: #6b6b6b;
    --text-light: #ffffff;
    /* backgrounds */
    --bg-light: #f5f5f5;
    --bg-soft: #fafafa;
    --bg-white: #ffffff;
    /* borders */
    --border-light: #e2e8f0;
    --border-gray: #dddddd;
    /* shadow */
    --shadow-dark: rgba(0,0,0,0.15);
}

.sublist--title > a {
    position: relative;
    padding-right: 12px;
}

    .sublist--title > a::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 18px;
        background-color: var(--primary-red);
        border-radius: 2px;
    }



/************************** Modern-Footer *******************************/

.modern-footer {
    background: linear-gradient(135deg,var(--red-dark-bg),var(--red-soft-bg));
    color: var(--text-light);
    padding: 40px 25px 25px;
    text-align: center;
    font-family: "IRANSans",sans-serif;
    position: relative;
    overflow: hidden;
}

/* Logo */

.footer-logo img {
    height: 80px;
    margin: 0 auto 20px;
    display: block;
}

/* Menu */

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

    .footer-menu li a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
        letter-spacing: .3px;
        position: relative;
        transition: color .3s,transform .2s;
    }

        .footer-menu li a::after {
            content: "";
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--accent-red);
            left: 50%;
            bottom: -6px;
            transition: .3s;
            transform: translateX(-50%);
        }

        .footer-menu li a:hover {
            color: var(--light-red);
            transform: translateY(-2px);
        }

            .footer-menu li a:hover::after {
                width: 100%;
            }

/* Social */

.footer-social {
    margin: 20px 0;
}

    .footer-social a {
        color: var(--text-light);
        margin: 0 12px;
        font-size: 22px;
        transition: color .3s,transform .3s;
        display: inline-block;
    }

        .footer-social a:hover {
            color: var(--accent-red);
            transform: scale(1.2);
        }

/* Divider */

.footer-divider {
    height: 1px;
    width: 80px;
    margin: 20px auto;
    background: linear-gradient(to right,transparent,var(--accent-red),transparent);
}

/* Text */

.footer-text {
    font-size: 14px;
    color: var(--light-red);
    margin: 15px auto 20px;
    max-width: 850px;
    line-height: 1.8;
    letter-spacing: .2px;
}

/* Enamad */

.trust-seal img {
    margin: 15px auto;
    display: block;
}

/* CopyRight */

.footer-copy {
    font-size: 13px;
    color: var(--light-red);
    margin-top: 20px;
    line-height: 1.7;
}

    .footer-copy a {
        color: #f89d36;
        text-decoration: none;
        font-weight: 600;
    }

        .footer-copy a:hover {
            color: #ffc107;
        }

/* Responsive */

@media (max-width:768px) {

    .modern-footer {
        padding: 30px 15px 20px;
    }

    .footer-menu {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 15px;
    }

    .footer-text {
        font-size: 13px;
        padding: 0 10px;
        line-height: 1.7;
    }

    .footer-social a {
        margin: 0 8px;
        font-size: 20px;
    }
}

@media (max-width:576px) {

    .modern-footer {
        padding: 25px 10px 15px;
    }

    .footer-logo img {
        height: 70px;
        margin-bottom: 10px;
    }
}

/***************************************************/
/* Slider */

.noUi-target {
    background: var(--bg-light);
    border-radius: 4px;
    border: 1px solid var(--border-gray);
    box-shadow: none;
    height: 6px;
}

.noUi-connect {
    background: var(--primary-red);
}

.noUi-handle {
    width: 18px;
    height: 18px;
    top: -7px;
    right: -9px;
    border-radius: 50%;
    background: var(--primary-red);
    box-shadow: none;
    border: 2px solid var(--bg-white);
}

    .noUi-handle:before,
    .noUi-handle:after {
        display: none;
    }

#slider-non-linear-step-value {
    font-weight: bold;
    color: var(--primary-red);
}



@media (max-width:576px) {

    .px-res-0 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}



/* ================== Search (Desktop) ================== */

.search-area {
    position: relative;
    margin: 0 auto;
    max-width: 600px;
}

    .search-area .search {
        position: relative;
    }

        .search-area .search input {
            width: 100%;
            height: 44px;
            border-radius: 8px;
            padding: 0 40px 0 15px;
            border: 1px solid var(--border-gray);
            font-size: 14px;
            transition: .3s;
        }

            .search-area .search input:focus {
                border-color: var(--primary-red);
                box-shadow: 0 0 6px var(--shadow-dark);
                outline: none;
            }

    .search-area .search-icon,
    .search-area .close-search-result {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-gray);
        font-size: 16px;
    }

    .search-area .search-icon {
        left: 15px;
    }

    .search-area .close-search-result {
        left: 40px;
        background: none;
        border: none;
        cursor: pointer;
        display: none;
    }



    /* Dropdown Results */

    .search-area .search-result {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border: 1px solid var(--border-light);
        border-radius: 8px;
        box-shadow: 0 3px 6px rgba(0,0,0,.1);
        z-index: 1000;
        display: none;
        max-height: 400px;
        overflow-y: auto;
    }

        .search-area .search-result ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .search-area .search-result li {
            padding: 10px 15px;
            border-bottom: 1px solid var(--bg-light);
            transition: .3s;
        }

            .search-area .search-result li a {
                color: var(--text-dark);
                text-decoration: none;
                display: block;
                font-size: 14px;
            }

            .search-area .search-result li:hover {
                background: var(--bg-soft);
            }

                .search-area .search-result li:hover a {
                    color: var(--primary-red);
                }



/* ================== Search Suggestions ================== */

.search-suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestion-item {
    padding: 10px 15px;
    border-bottom: 1px solid var(--bg-light);
    transition: .3s;
}

    .search-suggestion-item a {
        color: var(--text-dark);
        text-decoration: none;
        display: block;
    }

    .search-suggestion-item:hover {
        background: var(--bg-light);
        cursor: pointer;
    }

        .search-suggestion-item:hover a {
            color: var(--primary-red);
        }

    .search-suggestion-item.no-result {
        color: var(--text-gray);
        text-align: center;
        cursor: default;
        background: transparent !important;
    }



/* ================== Search (Mobile) ================== */

.search-box-side-menu {
    padding: 0 15px;
    position: relative;
}

    .search-box-side-menu form {
        position: relative;
    }

    .search-box-side-menu input {
        width: 100%;
        height: 44px;
        border-radius: 8px;
        padding: 0 40px 0 15px;
        border: 1px solid var(--border-gray);
        font-size: 14px;
        background-color: var(--bg-soft);
        transition: .3s;
    }

        .search-box-side-menu input:focus {
            border-color: var(--primary-red);
            box-shadow: 0 0 6px var(--shadow-dark);
            outline: none;
        }

    .search-box-side-menu .search-icon-mobile,
    .search-box-side-menu .close-search-result-mobile {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-gray);
        font-size: 18px;
    }

    .search-box-side-menu .search-icon-mobile {
        left: 15px;
    }

    .search-box-side-menu .close-search-result-mobile {
        right: 15px;
        background: none;
        border: none;
        cursor: pointer;
        display: none;
    }

    .search-box-side-menu .search-result-mobile {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        background: var(--bg-white);
        border: 1px solid var(--border-light);
        border-radius: 8px;
        box-shadow: 0 3px 6px rgba(0,0,0,.1);
        z-index: 1000;
        display: none;
        max-height: 300px;
        overflow-y: auto;
        margin-top: 5px;
    }

        .search-box-side-menu .search-result-mobile ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .search-box-side-menu .search-result-mobile li {
            padding: 10px 15px;
            border-bottom: 1px solid var(--bg-light);
            transition: .3s;
        }

            .search-box-side-menu .search-result-mobile li a {
                color: var(--text-dark);
                text-decoration: none;
                display: block;
                font-size: 14px;
            }

            .search-box-side-menu .search-result-mobile li:hover {
                background: var(--bg-soft);
            }

                .search-box-side-menu .search-result-mobile li:hover a {
                    color: var(--primary-red);
                }



/* ================== Mobile Search Items ================== */

.mobile-search-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
}

.mobile-search-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    margin-left: 10px;
}

.mobile-search-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-search-title {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 3px;
    text-align: right;
}

.mobile-search-price {
    font-size: 12px;
    color: var(--primary-red);
    font-weight: bold;
    text-align: right;
}



/* ================== Responsive ================== */

@media (max-width:768px) {

    .search-area {
        margin-bottom: 15px;
    }

        .search-area .search input {
            height: 40px;
            font-size: 13px;
        }
}

@media (min-width:768px) {

    .search-box-side-menu {
        display: none;
    }
}



/******************************************************************************/
/* Checkout */

.checkout-pack {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.checkout-time-table {
    width: 100%;
    max-width: 100%;
}

.radio-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.custom-control-label {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    cursor: pointer;
    word-wrap: break-word;
}

    .custom-control-label img.checkout-additional-options-checkbox-image {
        width: 42px;
        height: 42px;
        margin-left: 10px;
        flex-shrink: 0;
    }

.content-box {
    flex: 1;
    min-width: 0;
}

.checkout-time-table-title-bar {
    font-size: .95rem;
    line-height: 1.6;
    word-break: break-word;
}

.checkout-time-table-subtitle-bar li {
    font-size: .85rem;
    line-height: 1.4;
    white-space: normal;
}



/* Checkout Icons */

.custom-control-label i {
    font-size: 1.8rem;
    margin-left: 10px;
    flex-shrink: 0;
    color: var(--primary-red);
}



.sticky-sidebar {
    transition: .3s;
}

    .sticky-sidebar[style*="position: fixed"] {
        border-radius: 8px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
