﻿:root {
    /* brand - Apple inspired silver & space gray */
    --apple-silver: #f5f5f7;
    --apple-spacegray: #1d1d1f;
    --apple-logo-start: #e3e3e5;
    --apple-logo-end: #86868b;
    /* accent colors - luxurious */
    --accent-blue: #0071e3;
    --accent-blue-light: #42a5f5;
    --accent-gold: #d4af37;
    --accent-orange: #ff9f0a;
    /* soft backgrounds - airy & glass */
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-soft-gray: #fbfbfd;
    --bg-offwhite: #f5f5f7;
    /* dark backgrounds */
    --dark-bg: #000000;
    --dark-soft: #1c1c1e;
    --dark-card: #262628;
    /* text colors */
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --text-light: #ffffff;
    /* backgrounds */
    --bg-light: #fbfbfd;
    --bg-soft: #f5f5f7;
    --bg-white: #ffffff;
    /* borders - ultra thin */
    --border-subtle: #d2d2d6;
    --border-light: #e5e5ea;
    --border-gray: #c4c4c8;
    --border-dark: #424245;
    /* shadow - soft & diffused */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 24px 48px rgba(0, 0, 0, 0.12);
    --shadow-md: rgba(0, 0, 0, 0.06);
    /* glassmorphism blur */
    --blur-bg: saturate(180%) blur(20px);
}

.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(--accent-blue);
        border-radius: 2px;
    }

/* ================= FOOTER ================= */

.modern-footer {
    background: linear-gradient(135deg, var(--dark-bg), var(--apple-spacegray));
    color: var(--text-light);
    padding: 40px 25px 25px;
    text-align: center;
    font-family: "IRANSans",sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-logo img {
    height: 80px;
    margin: 0 auto 20px;
    display: block;
    transition: filter 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    opacity: 1;
}

    .footer-logo img:hover {
        filter: brightness(0) invert(1);
    }

.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: .3s;
    }

        .footer-menu li a::after {
            content: "";
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--accent-gold);
            left: 50%;
            bottom: -6px;
            transform: translateX(-50%);
            transition: .3s;
        }

        .footer-menu li a:hover {
            color: var(--apple-silver);
            transform: translateY(-2px);
        }

            .footer-menu li a:hover::after {
                width: 100%;
            }

.footer-social {
    margin: 20px 0;
}

    .footer-social a {
        color: var(--text-light);
        margin: 0 12px;
        font-size: 22px;
        transition: .3s;
        display: inline-block;
    }

        .footer-social a:hover {
            color: var(--accent-gold);
            transform: scale(1.2);
        }

.footer-divider {
    height: 1px;
    width: 80px;
    margin: 20px auto;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
}

.footer-text {
    font-size: 14px;
    color: #a1a1a6;
    margin: 15px auto 20px;
    max-width: 850px;
    line-height: 1.8;
    letter-spacing: .2px;
}

.trust-seal img {
    margin: 15px auto;
    display: block;
}

.footer-copy {
    font-size: 13px;
    color: #a1a1a6;
    margin-top: 20px;
    line-height: 1.7;
}

    .footer-copy a {
        color: var(--accent-orange);
        text-decoration: none;
        font-weight: 600;
    }

        .footer-copy a:hover {
            color: var(--accent-gold);
        }

/* 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(--accent-blue);
}

.noUi-handle {
    width: 18px;
    height: 18px;
    top: -7px;
    right: -9px;
    border-radius: 50%;
    background: var(--accent-blue);
    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(--accent-blue);
}



@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(--accent-blue);
                box-shadow: 0 0 6px var(--shadow-md);
                outline: none;
            }

    .search-area .search-icon,
    .search-area .close-search-result {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-secondary);
        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: var(--shadow-md);
        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-primary);
                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(--accent-blue);
                }



/* ================== 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-primary);
        text-decoration: none;
        display: block;
    }

    .search-suggestion-item:hover {
        background: var(--bg-light);
        cursor: pointer;
    }

        .search-suggestion-item:hover a {
            color: var(--accent-blue);
        }

    .search-suggestion-item.no-result {
        color: var(--text-secondary);
        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(--accent-blue);
            box-shadow: 0 0 6px var(--shadow-md);
            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-secondary);
        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: var(--shadow-md);
        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-primary);
                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(--accent-blue);
                }



/* ================== 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-primary);
    margin-bottom: 3px;
    text-align: right;
}

.mobile-search-price {
    font-size: 12px;
    color: var(--accent-blue);
    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(--accent-blue);
}



.sticky-sidebar {
    transition: .3s;
}

    .sticky-sidebar[style*="position: fixed"] {
        border-radius: 8px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
