@import url("base.css");
@import url("utilities.css");
@import url("nav-pills.css");
@import url("footer.css");
@import url("helper.css");
@import url("stepper.css");
@import url("form.css");

/* ================= Header Section ================= */
/* ===== HEADER SECTION ===== */
.header-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    padding: 0;
    padding-top: 0;
    /* start without padding */
    padding-bottom: 0;
    overflow: hidden;
    will-change: transform, opacity, padding;

    .social-icons {
        display: flex;
        gap: 15px;

        .social-icon {
            color: var(--primary);
            font-size: clamp(14px, 1.3vw, 18px);
            transition: color 0.3s ease;

            &:hover {
                color: #8b4a8d;
            }
        }
    }
}

.header-divider {
    margin: 0;
    border-color: #e0e0e0;
    opacity: 0;
}

.header-section {
    opacity: 0;
    height: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    transform: translateY(-100%);
    background: #fff;
    z-index: 200;
    will-change: transform, opacity, height;

    .header-bottom {
        padding: 12px 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

        .main-nav {
            display: flex;
            align-items: center;
            gap: 30px;

            .nav-link {
                color: var(--heading-font);
                font-size: 16px;
                font-weight: 500;
                transition: color 0.3s ease;

                &:hover {
                    color: var(--primary);
                }

                &.has-dropdown {
                    position: relative;
                }
            }

            .nav-separator {
                color: var(--heading-font);
                font-size: 16px;
            }

            /* Dropdown Container */
            .nav-item-dropdown {
                position: relative;
                overflow: visible;

                &:hover {
                    .dropdown-menu {
                        opacity: 1;
                        visibility: visible;
                        transform: translateX(-50%) translateY(0);
                        pointer-events: auto;
                    }
                }
            }

            /* Dropdown Menu (first level) */
            .dropdown-menu {
                position: absolute;
                top: calc(100% + 18px);
                left: 50%;
                transform: translateX(-50%) translateY(-10px);
                background: #fff;
                border-radius: 12px;
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
                    0 2px 8px rgba(0, 0, 0, 0.08);
                padding: 24px 32px;
                min-width: 500px;
                max-width: 600px;
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                z-index: 1000;
                display: flex;
                gap: 40px;
                margin-top: 8px;
                overflow: visible !important;

                /* Keep dropdown open when hovering over it */
                &:hover {
                    opacity: 1;
                    visibility: visible;
                    transform: translateX(-50%) translateY(0);
                    pointer-events: auto;
                }

                /* Invisible bridge to prevent gap issues */
                &::after {
                    content: "";
                    position: absolute;
                    top: -12px;
                    left: 0;
                    right: 0;
                    height: 12px;
                    background: transparent;
                    pointer-events: auto;
                }

                &::before {
                    content: "";
                    position: absolute;
                    top: -8px;
                    left: 50%;
                    transform: translateX(-50%);
                    width: 0;
                    height: 0;
                    border-left: 8px solid transparent;
                    border-right: 8px solid transparent;
                    border-bottom: 8px solid #fff;
                    z-index: 1001;
                }
            }

            /* Dropdown Columns */
            .dropdown-column {
                display: flex;
                flex-direction: column;
                gap: 8px;
                min-width: 200px;
                position: relative;
                overflow: visible;
            }

            /* Dropdown Items */
            .dropdown-item {
                display: flex;
                flex-direction: column;
                padding: 12px 16px;
                border-radius: 8px;
                text-decoration: none;
                transition: background-color 0.2s ease;
                cursor: pointer;
                position: relative;
                overflow: visible;

                &:hover:not(.has-nested) {
                    background-color: #f5f5f7;
                }

                &.has-nested:hover {
                    background-color: #f5f5f7;
                }

                .dropdown-title {
                    color: var(--heading-font);
                    font-size: 15px;
                    font-weight: 500;
                    margin-bottom: 4px;
                    line-height: 1.3;
                }

                .dropdown-desc {
                    color: var(--muted);
                    font-size: 13px;
                    font-weight: 400;
                    line-height: 1.4;
                }
            }

            /* Parent for nested dropdown */
            .dropdown-item.has-nested {
                position: relative;
                overflow: visible;

                &::after {
                    content: "›";
                    position: absolute;
                    right: 16px;
                    top: 50%;
                    transform: translateY(-50%);
                    color: var(--muted);
                    font-size: 18px;
                    pointer-events: none;
                    z-index: 1;
                }
            }

            /* Nested Dropdown (second level) */
            .nested-dropdown {
                position: absolute;
                left: 100%;
                top: 0;
                margin-left: 4px;
                background: #fff;
                border-radius: 12px;
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
                    0 2px 8px rgba(0, 0, 0, 0.08);
                padding: 16px;
                min-width: 220px;
                max-width: 280px;
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transform: translateX(-10px);
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                z-index: 1002;
                display: flex;
                flex-direction: column;
                gap: 8px;

                /* Invisible bridge to prevent gap issues between parent and submenu */
                &::before {
                    content: "";
                    position: absolute;
                    left: -4px;
                    top: 0;
                    width: 4px;
                    height: 100%;
                    background: transparent;
                    pointer-events: auto;
                }

                >.dropdown-item {
                    padding: 10px 12px;
                    white-space: normal;
                    display: flex;
                    flex-direction: column;
                    min-width: 100%;
                    border-radius: 6px;

                    &:hover {
                        background-color: #f5f5f7;
                    }
                }
            }

            /* Show nested dropdown when hovering on parent (and keep it open on hover) */
            .dropdown-item.has-nested:hover>.nested-dropdown,
            .dropdown-item.has-nested:focus-within>.nested-dropdown,
            .dropdown-item.has-nested>.nested-dropdown:hover {
                opacity: 1 !important;
                visibility: visible !important;
                transform: translateX(0);
                pointer-events: auto;
                display: flex;
            }

            /* Responsive adjustments */
            @media (max-width: 1200px) {
                .dropdown-menu {
                    min-width: 400px;
                    gap: 30px;
                }
            }

            @media (max-width: 992px) {
                .dropdown-menu {
                    min-width: 350px;
                    padding: 20px 24px;
                    gap: 24px;
                }

                .dropdown-column {
                    min-width: 160px;
                }
            }
        }

        .cart-icon {
            position: relative;
            cursor: pointer;
            transition: color 0.3s ease;
        }
    }
}

#mobileMenu .accordion {
    --bs-accordion-color: var(--heading-font);
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-btn-padding-x: 0;
    --bs-accordion-btn-padding-y: 0.75rem;
    --bs-accordion-btn-color: var(--heading-font);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235b265d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-icon-width: 1.25rem;
    --bs-accordion-btn-icon-transform: rotate(-180deg);
    --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235b265d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    --bs-accordion-btn-focus-border-color: transparent;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
    --bs-accordion-active-color: var(--heading-font);
    --bs-accordion-active-bg: transparent;
    border: none;
}

#mobileMenu .offcanvas-body {
    .nav-link {
        font-size: 14px;
        font-weight: 500;
    }
}

#mobileMenu .accordion-item {
    background-color: transparent;
    border: 1px solid #e4e7e9;
    border-radius: 4px;
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

/* #mobileMenu .accordion-item:last-child {
  border-bottom: none;
} */

#mobileMenu .accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.875rem 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--heading-font);
    text-align: left;
    background-color: transparent;
    border: none;
    border-radius: 0;
    overflow-anchor: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    box-shadow: none !important;
    outline: none !important;
}

#mobileMenu .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: transparent;
    box-shadow: none !important;
    outline: none !important;
}

#mobileMenu .accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: var(--bs-accordion-btn-icon);
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: var(--bs-accordion-btn-icon-transition);
}

#mobileMenu .accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-active-icon);
    transform: var(--bs-accordion-btn-icon-transform);
}

#mobileMenu .accordion-button:hover {
    color: var(--primary);
    background-color: transparent;
}

#mobileMenu .accordion-button:focus {
    z-index: 3;
    border-color: transparent;
    outline: none !important;
    box-shadow: none !important;
}

#mobileMenu .accordion-button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

#mobileMenu .accordion-collapse {
    border: none;
}

#mobileMenu .accordion-body {
    padding: 0.5rem 0 0.75rem 0;
}

/* Remove any Bootstrap default focus styles */
#mobileMenu .accordion-button:not(.collapsed) {
    box-shadow: none !important;
}

#mobileMenu .accordion-button.collapsed {
    box-shadow: none !important;
}

/* Style nested nav links inside accordion */
#mobileMenu .accordion-body .nav-link {
    color: var(--heading-font);
    font-size: 13px;
    font-weight: 400;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

#mobileMenu .accordion-body .nav-link:hover {
    color: var(--primary);
}

#mobileMenu .accordion-body .nav-link small {
    color: var(--muted);
    font-size: 13px;
    margin-top: 0.25rem;
}

/* hero section  */

.hero-section {
    min-height: 70vh;
    width: 100%;
    position: relative;

    @media (max-width: 468px) {
        min-height: 50vh !important;
    }
}

.hero-section .container {
    opacity: 0;
    transform: translateY(20px);
}

.swiper-hero-section {
    width: 100%;
    height: 82vh;
    position: relative;

    .container {
        opacity: 0;
        transform: translateY(20px);
    }

    .swiper-slide {
        width: 100%;
        height: 100vh;
        position: relative;

        .slide-bg {
            width: 100%;
            height: 100%;
            position: absolute;
            inset: 0;
            z-index: 1;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .hero-content {
            position: relative;
            z-index: 5;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: start;
        }
    }

    .swiper-button-next,
    .swiper-button-prev {
        opacity: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        background: linear-gradient(90deg,
                #684471 0%,
                #a382a6 46.63%,
                #684471 100%);
        color: #fff;
        /* arrow color */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.6s ease;

        &:hover {
            transform: scale(1.1);
        }

        /* Style the arrow inside ::after pseudo-element */
        &::after {
            color: #fff;
            /* arrow color */
            font-size: 18px;
            /* medium font size */
            font-weight: 500;
            /* optional: medium weight */
        }

        /* Hide on mobile */
        @media (max-width: 767px) {
            display: none;
        }
    }

    /* Swiper Hero Pagination */
    .swiper-pagination {
        .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background-color: var(--white);
            opacity: 0.6;
            border-radius: 50%;
            transition: all 0.3s ease;

            &.swiper-pagination-bullet-active {
                width: 40px;
                border-radius: 10px;
                opacity: 1;
            }
        }
    }

    /* Mobile responsive adjustments */
    @media (max-width: 768px) {
        height: 60vh;

        .swiper-slide {
            height: 60vh;
        }

        .swiper-button-next,
        .swiper-button-prev {
            display: none;
        }

        .swiper-pagination {
            .swiper-pagination-bullet {
                width: 10px;
                height: 10px;

                &.swiper-pagination-bullet-active {
                    width: 30px;
                }
            }
        }
    }

    @media (max-width: 576px) {
        height: 50vh;

        .swiper-slide {
            height: 50vh;
        }

        .hero-content {
            padding: 20px 15px;
        }

        .swiper-pagination {
            bottom: 10px !important;

            .swiper-pagination-bullet {
                width: 8px;
                height: 8px;
                margin: 0 4px !important;

                &.swiper-pagination-bullet-active {
                    width: 24px;
                }
            }
        }
    }

    @media (max-width: 480px) {
        height: 45vh;

        .swiper-slide {
            height: 45vh;
        }

        .swiper-pagination {
            .swiper-pagination-bullet {
                width: 6px;
                height: 6px;
                margin: 0 3px !important;

                &.swiper-pagination-bullet-active {
                    width: 20px;
                }
            }
        }
    }
}

.hero-section {
    background: url("../img/hero.svg") center center/cover no-repeat;
}

.about-hero-section {
    background: url("../img/about-hero-bg.svg") center center/cover no-repeat;
    min-height: 50vh !important;

    @media (max-width: 768px) {
        min-height: 45vh !important;
    }

    @media (max-width: 576px) {
        min-height: 40vh !important;
    }

    @media (max-width: 480px) {
        min-height: 35vh !important;
    }
}

.service-hero-section {
    background: url("../img/service-hero-bg.svg") center center/cover no-repeat;
    min-height: 50vh !important;

    @media (max-width: 768px) {
        min-height: 45vh !important;
    }

    @media (max-width: 576px) {
        min-height: 40vh !important;
    }

    @media (max-width: 480px) {
        min-height: 35vh !important;
    }
}

.join-hero-section {
    background: url("../img/join-hero-bg.svg") center center/cover no-repeat;
    min-height: 50vh !important;

    @media (max-width: 768px) {
        min-height: 45vh !important;
    }

    @media (max-width: 576px) {
        min-height: 40vh !important;
    }

    @media (max-width: 480px) {
        min-height: 35vh !important;
    }
}

.feature-card {
    position: relative;
    background: #1f1f1f0a;
    border-radius: 20px;
    padding: 3rem 1rem;
    padding-left: 0;

    .left-side {
        position: absolute;
        left: -4rem;
    }

    .right-side {
        padding-left: 18rem;

        .feature-title {
            font-weight: 700;
            line-height: 1.2;
            font-size: clamp(20px, 1.6vw, 24px);
        }

        .feature-img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .feature-list li {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--Stroke-Color, #00000040);
            font-size: clamp(14px, 1.3vw, 18px);
            font-weight: 400;
            color: var(--muted);
        }

        .feature-list li:last-child {
            border-bottom: none;
        }
    }

    @media (max-width: 991px) {
        padding-left: 1rem;

        .left-side {
            position: relative;
            left: 0;
            margin-bottom: 2rem;
            text-align: center;
        }

        .right-side {
            padding-left: 0;
        }
    }

    @media (max-width: 576px) {
        .left-side {
            img {
                width: 13rem;
            }
        }
    }
}

.repair-service-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray);
    height: 100%;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease,
        box-shadow 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;

    img {
        max-width: 100%;
        height: auto;
        flex-shrink: 0;
        transition: filter 0.2s ease;
    }

    svg {
        transition: filter 0.2s ease;
    }

    h3 {
        text-align: center;
        margin: 0;
        color: var(--heading-font);
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        width: 100%;
        transition: color 0.2s ease;
    }

    p {
        text-align: center;
        margin: 0;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        width: 100%;
        transition: color 0.2s ease;
    }

    &:hover {
        background-color: var(--primary);
        color: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

        h3 {
            color: var(--white);
        }

        p {
            color: #bdbdbd;
        }

        img,
        svg {
            filter: brightness(0) invert(1);
        }
    }
}

/* Ensure link wrapper takes full height */
.col a.text-decoration-none {
    display: block;
    height: 100%;
    width: 100%;
}

/* product card */
.product-card {
    border: 1px solid #e4e7e9;
    background-color: var(--white);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease;

    .product-badge {
        font-family: "Public Sans", sans-serif;
        position: absolute;
        top: 1rem;
        left: 1rem;
        color: var(--white);
        padding: 5px 10px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 2px;
        z-index: 10;
    }

    .thumb {
        position: relative;
        overflow: hidden;

        img {
            width: 100%;
            height: auto;
            display: block;
        }

        .product-actions {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .action-btn {
            width: 38px;
            height: 38px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(16px, 1.5vw, 20px);
            transition: all 0.2s ease;
            cursor: pointer;
            pointer-events: auto;
            z-index: 10;
            position: relative;
            color: var(--heading-font);

            &:hover {
                background: var(--primary);
                color: var(--white);
                transform: scale(1.1);
            }
        }

        .wishlist-btn.active {
            color: var(--primary);

            &:hover {
                background: var(--primary);
                color: var(--white);
            }
        }
    }

    &:hover .thumb .product-actions {
        opacity: 1;
        pointer-events: auto;
    }

    .card-body {
        padding: 1rem;
    }

    .rating-count {
        font-family: "Public Sans", sans-serif;
        color: #77878f;
        font-weight: 400;
        font-size: 12px;
        padding-left: 0.5rem;
    }

    .product-title {
        font-family: "Public Sans", sans-serif;
        font-size: clamp(12.4px, 1vw, 14px);
        font-weight: 400;
        margin: 0.5rem 0;
        color: #191c1f;
    }

    .product-price {
        font-family: "Public Sans", sans-serif;
        font-size: clamp(12.4px, 1vw, 14px);
        font-weight: 700;
        margin-top: 0.5rem;
        color: var(--secondary);
    }
}

/* ===== HERO (Quality Repair) ===== */
.quality-repair-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url("../img/quality-repair-bg.png") center/cover no-repeat;
    overflow: hidden;

    /* top pill badge */
    .qm-badge {
        border: 1px solid rgba(255, 255, 255, 0.8);
        color: var(--white);
        border-radius: 8px;
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
        letter-spacing: 0.06em;
    }

    /* headline */
    .qm-title {
        color: var(--white);
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: 0.2px;

        @media (max-width: 476px) {
            font-size: 1.4rem;
            line-height: 1.4 !important;
        }
    }

    /* glass cards */
    .repair-cards {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;

        .repair-service-card {
            flex: 1;
            padding: 1.75rem;
            border-radius: 14px;
            background: #ffffff80;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(255, 255, 255, 0.35);
            text-align: center;

            .stat {
                color: var(--primary);
                font-weight: 900;
                font-size: clamp(2rem, 4.5vw, 3.25rem);
                display: block;
                font-family: "Satoshi Variable", "Inter", sans-serif !important;
            }

            .stat-label {
                color: var(--white);
                font-weight: 400;
                font-size: clamp(14px, 1.3vw, 18px);
            }
        }
    }
}

.choose-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #5b265d0d;
    border-radius: 10px;
    backdrop-filter: blur(14px);
    height: 100%;

    img {
        width: 45px;
        height: 45px;
    }

    span {
        text-align: left;
        font-weight: 500;
        font-size: clamp(16px, 1.4vw, 20px);
        color: var(--heading-font);
        font-family: "Satoshi Variable", "Inter", sans-serif !important;
    }
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    /* ensures visibility on smaller screens */
    border-radius: 12px;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.team-card {
    padding: 16px;
    text-align: center;
    background-color: white;
    margin: 10px auto;
}

.team-card .outer-div {
    border: 1px solid #83838326;
    border-radius: 10px;
    padding: 0.5rem;
}

.team-card img {
    object-fit: cover;
    border-radius: 8px;
    background-color: #e0e0e0;
}

.team-card h5 {
    margin-top: 12px;
    font-size: clamp(18px, 1.4vw, 20px);
    font-weight: 500;
}

.team-card p {
    font-weight: 400;
    font-size: clamp(14px, 1.3vw, 18px);
}

.device-card {
    position: relative;
    background: #f6f6f6;
    border-radius: 12px;
    padding: 3.5rem 2rem;
    font-weight: 700;
    font-size: 26px;
    transition: 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    flex: 1;
    font-family: "Satoshi Variable", "Inter", sans-serif !important;

    &:hover {
        background-color: #ececec;
    }

    .check-icon {
        position: absolute;
        top: 15px;
        right: 15px;
        visibility: hidden;
        font-size: 16px;
        margin-left: 10px;
        width: 20px;
        height: 20px;
        background: #fff;
        color: #61115b;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

.btn-check:checked+.device-card {
    /* background-color: #61115b; */
    /* color: #fff; */

    .check-icon {
        visibility: visible;
    }
}

.section-header {
    font-weight: 600;
    font-size: clamp(18px, 1.6vw, 24px);
    background: #e4e4e4;
    padding: 10px;
    margin-bottom: 20px;

    @media (max-width: 568px) {
        font-size: 14px;
    }
}

.section-details {
    label {
        font-weight: 400;
        font-size: clamp(18px, 1.4vw, 20px);
    }

    p {
        font-size: clamp(18px, 1.4vw, 20px);
        font-weight: 500;
    }

    @media (max-width: 568px) {

        label,
        p {
            font-size: 14px;
        }
    }

    @media (max-width: 768px) {

        label,
        p {
            font-size: 16px;
        }
    }
}

.total-cost-section {
    font-weight: bold;
    margin-top: 30px;
}

/* **********Begin:: Market Place **********  */

.marketplace-header {
    .category-btn {
        background: #f2f4f5;
        color: #5f6c72;
        border: none;
        font-weight: 400;
        font-size: clamp(12.4px, 1vw, 14px);
        padding: 14px 24px;
        border-radius: 2px;
        display: flex;
        align-items: center;
        gap: 6px;

        &:hover,
        &:focus {
            background-color: #eef1f3;
            color: #000;
        }
    }

    .dropdown-item {
        color: var(--body-font);
        font-weight: 400;
        font-size: clamp(12.4px, 1vw, 14px);
    }

    .top-link {
        text-decoration: none;
        color: #5f6c72;
        font-weight: 400;
        font-size: clamp(12px, 1vw, 14px) !important;
        transition: color 0.2s ease;

        &:hover {
            color: var(--primary);
        }
    }

    /* SVG path default color */
    .top-link svg path {
        stroke: #5f6c72;
        transition: stroke 0.3s ease;
    }

    .top-link:hover svg path {
        stroke: var(--primary);
    }

    @media (max-width: 468px) {
        .top-link svg {
            width: 17px;
        }
    }
}

.marketplace-navigation {
    background: #f2f4f5;
    padding: 2rem 1rem;
    border: 0.5px solid var(--Stroke-Color, #00000040);
    border-left: 0;
    border-right: 0;

    .breadcrumb {
        margin: 0;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        content: "›";
        color: #b5b5c3;
        /* padding: 0 8px; */
    }

    .breadcrumb-item a {
        text-decoration: none;
        color: #5f6c72;
        font-weight: 400;
        font-size: clamp(12.4px, 1vw, 14px);
    }

    .breadcrumb-item a:hover {
        color: var(--primary);
    }

    .breadcrumb-item.active {
        color: var(--primary);
        font-size: clamp(12.4px, 1vw, 14px);
    }

    @media (max-width: 468px) {
        .breadcrumb-item svg {
            width: 17px;
        }
    }
}

.marketplace-main-layout {
    font-family: "Public Sans", sans-serif;
    font-size: clamp(12.4px, 1vw, 14px);
    font-weight: 400;

    /* side bar  */
    aside {
        overflow: hidden;

        .sidebar-heading {
            font-weight: 500;
            font-size: 16px;
            text-transform: uppercase;
            color: var(--body-font);
            font-family: "Public Sans", sans-serif;
        }

        .filter-options {
            display: flex;
            align-items: self-start;
            flex-direction: column;
            gap: 0.7rem;

            .form-check {
                display: flex;
                align-items: center;
                gap: 0.6rem;

                .form-check-input[type="radio"] {
                    width: 20px;
                    height: 20px;
                    border: 1px solid #c9cfd2;
                    background-color: #fff;
                    box-shadow: none;
                    cursor: pointer;

                    &:checked {
                        border-color: var(--primary);
                        border-width: 5px;
                        background-color: var(--white);
                    }

                    /* When radio is checked → change label color */
                    &:checked+.form-check-label {
                        color: var(--heading-font);
                        font-weight: 500;
                    }
                }

                .form-check-label {
                    color: var(--muted);
                    font-size: clamp(12.4px, 1vw, 14px);
                    font-weight: 400;
                    cursor: pointer;
                }
            }
        }

        .double_range_slider {
            height: 2px;
            position: relative;
            background-color: #e4e7e9;
            border-radius: 20px;
            margin: 40px auto;

            input[type="range"] {
                position: absolute;
                width: 100%;
                height: 3px;
                top: 0;
                pointer-events: none;
                background: none;
                -webkit-appearance: none;
                appearance: none;

                &::-webkit-slider-thumb {
                    pointer-events: all;
                    width: 20px;
                    height: 20px;
                    border-radius: 50%;
                    background: var(--white);
                    border: 2px solid var(--primary);
                    cursor: pointer;
                    -webkit-appearance: none;
                }
            }

            .range_track {
                height: 100%;
                position: absolute;
                border-radius: 20px;
                background-color: var(--primary);
                z-index: 0;
            }
        }

        .custom-range-input {
            border: 1px solid #e4e7e9;
            background: #ffffff;
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            outline: none;
            padding: 0.7rem 0.6rem;
            width: 100%;
        }

        .brand-filter {
            font-family: "Inter", sans-serif;

            .form-check {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                margin-bottom: 1rem;

                .form-check-input[type="checkbox"] {
                    width: 20px;
                    height: 20px;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    box-shadow: none;
                    appearance: none;
                    background-color: var(--white);
                    position: relative;

                    &:checked {
                        background-color: var(--primary);
                        border-color: var(--primary);
                    }
                }

                .form-check-label {
                    color: var(--muted);
                    font-size: clamp(12.4px, 1vw, 14px);
                    font-weight: 400;
                    font-family: "Public Sans", sans-serif;
                    cursor: pointer;
                    transition: color 0.3s ease;
                }
            }
        }

        .popular-tags {
            font-family: "Public Sans", sans-serif;

            .tag-btn {
                border: 1px solid #e4e7e9;
                background-color: var(--white);
                color: var(--heading-font);
                font-weight: 500;
                font-size: clamp(12.4px, 1vw, 14px);
                padding: 6px 14px;
                border-radius: 2px;
                transition: all 0.25s ease;
                cursor: pointer;
                font-family: "Public Sans", sans-serif;

                &:hover {
                    border-color: var(--primary);
                    color: var(--primary);
                }

                &.active {
                    border-color: var(--primary);
                    color: var(--primary);
                    background-color: #fff;
                    font-weight: 500;
                }
            }
        }

        .side-product-card {
            border: 4px solid #ffe7d6;
            border-radius: 4px;
            background: var(--white);
            transition: all 0.3s ease;

            &:hover {
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
                /* transform: translateY(-4px); */
            }

            .product-subtitle {
                padding: 1rem 0;
                font-weight: 600;
                font-size: clamp(20px, 1.6vw, 24px);
                color: var(--heading-font);
                font-family: "Public Sans", sans-serif;
            }

            .price-text {
                font-size: clamp(12.4px, 1vw, 14px);
                font-weight: 400;
                color: var(--muted);
                font-family: "Public Sans", sans-serif;

                .price-tag {
                    background: #f3de6d;
                    padding: 2px 8px;
                    border-radius: 3px;
                    font-size: 16px;
                    font-weight: 600;
                    color: var(--heading-font);
                    margin-left: 4px;
                    font-family: "Public Sans", sans-serif;
                }
            }

            .add-cart-btn {
                background-color: var(--primary);
                border: none;
                color: var(--white);
                font-weight: 700;
                font-weight: 14px;
                padding: 10px 0;
                border-radius: 2px;
                font-family: "Public Sans", sans-serif;
                transition: all 0.25s ease;

                &:hover {
                    background-color: var(--primary);
                }

                i {
                    margin-right: 6px;
                }
            }

            .view-details-btn {
                border: 2px solid var(--primary);
                color: var(--primary);
                font-weight: 700;
                font-size: clamp(12.4px, 1vw, 14px);
                padding: 10px 0;
                border-radius: 2px;
                background: var(--white);
                transition: all 0.25s ease;
                font-family: "Public Sans", sans-serif;

                &:hover {
                    background-color: var(--primary);
                    color: var(--white);
                }
            }
        }
    }

    main {
        header {
            .search {
                position: relative;
                border: 1px solid #e4e7e9;
                padding: 12px 16px;
                border-radius: 2px;
                width: 50%;
                display: flex;
                justify-content: space-between;
                align-items: center;

                input {
                    border: 0;
                    width: 100%;
                    outline: none;
                    font-weight: 400;
                    font-size: clamp(12.4px, 1vw, 14px);
                    color: #77878f;
                    padding: 0 10px;
                    font-family: "Public Sans", sans-serif;
                }

                .bi-search {
                    cursor: pointer;
                    font-weight: bolder;
                }
            }
        }

        .filter-section {
            background: #f2f4f5;
            padding: 12px 24px;
            border-radius: 0.375rem;

            .btn-close {
                opacity: 0.6;
                width: 0.3rem;
                height: 0.3rem;
                color: #929fa5;
                background-size: 0.5rem 0.5rem;

                &:hover {
                    opacity: 0.9;
                }
            }
        }
    }

    .sort-section {
        label {
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            color: var(--heading-font);
        }

        .sortby-btn {
            border: 1px solid #e4e7e9;
            color: var(--body-font);
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            padding: 14px 24px;
            border-radius: 2px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .dropdown-item {
            color: var(--body-font);
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
        }
    }
}

/* ********** End:: Market Place **********  */

/* pagination  */
.custom-pagination {
    display: flex;
    gap: 10px;

    .page-item {
        .page-link {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid #e4e7e9;
            color: var(--heading-font);
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            background: #ffffff;
            transition: all 0.25s ease;

            i {
                font-size: 16px;
            }

            &:hover {
                background-color: var(--primary);
                color: #fff;
                border-color: var(--primary);
            }
        }

        &.active .page-link {
            background-color: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        &.disabled .page-link {
            opacity: 0.5;
            pointer-events: none;
        }

        .next-button,
        .previous-button {
            border: 1.5px solid var(--primary);
            color: var(--primary);
        }
    }
}

/* ===== Product Detail ===== */
.product-detail {
    font-family: "Public Sans", sans-serif;

    .pd-gallery {
        .pd-main img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background-color: #ffffff;
            padding: 10px;
        }

        .pd-thumbs {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: relative;
            padding: 0 5px;

            .pd-thumbs-track {
                transition: transform 0.4s ease;
                will-change: transform;

                &::-webkit-scrollbar {
                    display: none;
                    /* Chrome, Safari, Opera */
                }
            }
        }

        .pd-thumbs .pd-thumb {
            width: 96px;
            height: 96px;
            object-fit: cover;
            border: 1px solid #e4e7e9;
            border-radius: 2px;
            cursor: pointer;
            transition: border-color 0.2s ease, transform 0.2s ease;
        }

        .pd-thumbs .pd-thumb.active,
        .pd-thumbs .pd-thumb:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .pd-thumbs .pd-nav {
            flex: 0 0 auto;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 5;
            /* ensure arrows stay above thumbnails */
        }

        .pd-thumbs .pd-nav .bi {
            color: var(--white);
        }

        .pd-thumbs .pd-nav[data-dir="prev"] {
            left: -15px;
        }

        .pd-thumbs .pd-nav[data-dir="next"] {
            right: -18px;
        }
    }

    .pd-info {
        .pd-feedback {
            color: #5f6c72;
            font-weight: 400;
            font-family: "Public Sans", sans-serif;
        }

        .title-head {
            color: var(--heading-font);
            font-weight: 400;
            font-size: clamp(16px, 1.4vw, 20px);
            font-family: "Public Sans", sans-serif;
        }

        .text-stock {
            color: rgb(4, 150, 4);
        }

        .pd-price {
            color: var(--promo);
            font-weight: 600;
            font-size: clamp(18px, 1.6vw, 24px);
        }

        .off-badge {
            color: var(--heading-font);
            background: #efd33d;
            font-weight: 600;
            font-size: clamp(12.4px, 1vw, 14px);
            padding: 5px 10px;
            border-radius: 2px;
        }

        .label-text {
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            color: var(--heading-font);
            margin-bottom: 0.7rem;
        }

        .pd-color {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #b1b5b8;
            box-shadow: 0px 2px 6px 0px #0000001f inset;
            box-shadow: 0px -2px 6px 0px #ffffff3d inset;
            cursor: pointer;
            display: inline-block;
        }

        .btn-check:checked+.pd-color {
            border: 2px solid var(--primary);
        }

        .pd-qty {
            display: flex;
            align-items: center;
            border: 2px solid #e4e7e9;
            padding: 0 20px;

            .qty-btn {
                border: 0;
                outline: none;
                background: none;
            }

            input {
                width: 3rem;
                border: 0;
                outline: none;
            }
        }

        .custom-form-select {
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            color: #475156;
            border: 1px solid #e4e7e9;
            outline: none;
            border-radius: 2px;
            width: 100%;
            padding: 0.8rem;
        }

        .add-wishlist {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            color: #475156;
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
        }

        .share-product {
            color: #475156;
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
        }

        .safe-checkout-card {
            border: 1px solid #e4e7e9;
            padding: 1.5rem;
            border-radius: 3px;

            p {
                color: var(--heading-font);
                font-weight: 400;
                font-size: clamp(12.4px, 1vw, 14px);
            }
        }
    }
}

.shipping_information {
    font-family: "Public Sans", sans-serif;
    border: 1px solid #e4e7e9;

    /* Reset Bootstrap default borders */
    .nav-tabs {
        border-bottom: 1px solid #e4e7e9 !important;
        justify-content: center;
        gap: 40px;
    }

    /* Style tab buttons */
    .nav-tabs .nav-link {
        border: none;
        background: transparent;
        color: var(--muted);
        font-weight: 500;
        font-size: clamp(12.4px, 1vw, 14px);
        position: relative;
        padding-bottom: 1.2rem;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }

    /* Hover state */
    .nav-tabs .nav-link:hover {
        color: var(--heading-font);
    }

    /* Active tab underline and color */
    .nav-tabs .nav-link.active {
        color: var(--heading-font);
        font-weight: 600;
    }

    .nav-tabs .nav-link.active::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        box-shadow: 0px -3px 0px 0px #fa8232 inset;

        box-shadow: 0px 1px 0px 0px #e4e7e9 inset;

        background-color: #fa8232;
        border-radius: 2px;
    }
}

.product-card-s1 {
    border: 1px solid #e4e7e9;
    padding: 1rem;

    .product-title-s1 {
        font-weight: 400;
        font-size: clamp(12.4px, 1vw, 14px);
        color: var(--heading-font);
    }

    .product-img {
        width: 80px;
        height: 80px;
    }

    .prdoduct-price-s1 {
        font-weight: 600;
        color: var(--promo);
    }
}

.track-order-form {
    input[type="text"] {
        font-weight: 400;
        font-size: clamp(12.4px, 1vw, 14px);
        color: var(--muted);
        width: 100%;
        outline: none;
        border: 1px solid #e4e7e9;
        border-radius: 2px;
        padding: 0.5rem 0.7rem;

        &:placeholder {
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            color: var(--muted);
        }
    }
}

/* ===== Track Order Summary + Activity ===== */
.track-record-section {
    display: block;

    .track-record {
        font-weight: 400;
        border: 1px solid #e4e7e9;
        padding: 1rem;

        .order-summary-card {
            border: 1px solid var(--primary);
            background: #5b265d24;
            border-radius: 4px;
            padding: 1.3rem;

            .racking-number {
                font-weight: 400;
                font-size: clamp(18px, 1.4vw, 20px);
                color: #191c1f;
            }

            .order-amount {
                color: var(--promo);
                font-weight: 500;
                font-size: clamp(25px, 2vw, 28px);

                @media (max-width: 468px) {
                    font-size: 18px;
                }
            }
        }

        .order-tracker {
            --steps: 4;
            /* total number of steps */
            --completed: 2;
            /* last completed step index (1..--steps) */
            --circle: 26px;
            /* circle size, used for spacing if needed */
            --track-bg: #fdeae2;
            --primary: #5b265d;

            .progress-track {
                position: relative;
                display: flex;
                justify-content: space-between;
                align-items: center;

                .progress-line {
                    position: absolute;
                    top: 11px;
                    left: calc(50% / (var(--steps)));
                    right: calc(50% / (var(--steps)));
                    height: 6px;
                    background-color: var(--track-bg);
                    border-radius: 10px;
                    z-index: 1;
                    overflow: hidden;

                    @media (max-width: 468px) {
                        top: 9px;
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        top: 0;
                        left: 0;
                        height: 6px;
                        width: calc(clamp(0,
                                    (var(--completed) - 1) / (var(--steps) - 1),
                                    1) * 100%);
                        background-color: var(--primary);
                        border-radius: 10px;
                        transition: width 0.4s ease;
                        z-index: 2;
                    }
                }
            }

            .order-step {
                flex: 1;
                position: relative;
                z-index: 3;
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;

                .order-circle {
                    width: 26px;
                    height: 26px;
                    border: 3px solid var(--primary);
                    border-radius: 50%;
                    background-color: #fff;
                    position: relative;
                    transition: all 0.3s ease;

                    @media (max-width: 468px) {
                        width: 22px;
                        height: 22px;
                    }

                    .check-icon {
                        display: none;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        width: 16px;
                        height: 16px;

                        @media (max-width: 468px) {
                            width: 13px;
                            height: 13px;
                        }
                    }
                }

                .icon {
                    svg {
                        width: 35px;
                        height: 35px;
                        opacity: 0.3;
                        stroke: #999;
                        fill: transparent;
                        transition: all 0.3s ease;
                        margin-top: 25px;
                    }
                }

                p {
                    margin-top: 10px;
                    font-weight: 500;
                    font-size: clamp(12px, 1vw, 14px);
                    color: #999;
                    transition: all 0.3s ease;
                }

                &.completed,
                &.active {
                    .order-circle {
                        background-color: var(--primary);
                        border-color: var(--primary);
                    }

                    p {
                        color: #191c1f;
                    }
                }

                &.completed {
                    .order-circle {
                        .check-icon {
                            display: block;
                        }
                    }

                    .icon svg {
                        opacity: 1;
                        stroke: var(--primary);
                        fill: rgba(3, 194, 126, 0.1);
                    }
                }

                &.active {
                    .icon svg {
                        opacity: 1;
                        stroke: var(--primary);
                        fill: rgba(90, 12, 86, 0.1);
                    }
                }

                &:not(.active):not(.completed) {
                    .icon svg {
                        opacity: 0.4;
                        stroke: #bbb;
                        fill: rgba(0, 0, 0, 0.05);
                    }
                }
            }
        }


        .activity-item {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 14px 0;
        }

        .activity-item:last-child {
            border-bottom: 0;
        }

        .icon-badge {
            width: 48px;
            height: 48px;
            border-radius: 2px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        /* soft background helpers for badges */
        .bg-success-100 {
            background: #e8f7ec;
        }

        .bg-primary-100 {
            background: #eaf6fe;
        }

        .activity-head {
            color: #191c1f;
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
        }

        .activity-date {
            color: var(--muted);
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
        }
    }
}

.product-table {
    border: 1px solid #e4e7e9;
    border-radius: 6px;
    padding: 1.5rem 0;
    background: #fff;

    .table {
        margin-bottom: 0;

        thead {
            border-top: 1px solid #e4e7e9;
            border-bottom: 1px solid #e4e7e9;
            background: #f2f4f5;
        }

        th {
            font-weight: 600;
            color: #5f6c72;
            font-size: 12px;
            text-align: center;
            padding: 12px;
            white-space: nowrap;
        }

        td {
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            color: #475156;
            text-align: center;
            vertical-align: middle;
            padding: 18px 12px;

            @media (max-width: 468px) {
                white-space: nowrap;
            }
        }

        .product-img {
            width: 72px;
            height: 72px;
            object-fit: cover;
        }

        .original-price {
            font-weight: 600;
            font-size: clamp(12.4px, 1vw, 14px);
            color: #222;
        }

        .in-stock {
            color: #2db224;
            font-weight: 500;
            font-size: clamp(12.4px, 1vw, 14px);
            white-space: nowrap;
        }

        .out-stock {
            color: #e63946;
            font-weight: 500;
            font-size: clamp(12.4px, 1vw, 14px);
            white-space: nowrap;
        }

        .product-quantity {
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #e4e7e9;
            border-radius: 3px;
            width: 82px;
            height: 40px;
            background: #fff;
            gap: 12px;

            button {
                border: none;
                background: none;
                font-size: clamp(14px, 1.3vw, 18px);
                line-height: 1;
                color: #6c757d;
                padding: 0;
                cursor: pointer;
                transition: color 0.2s ease;

                &:hover {
                    color: #000;
                }

                &:focus {
                    outline: none;
                    box-shadow: none;
                }
            }

            .quantity-value {
                font-weight: 400;
                font-size: clamp(12.4px, 1vw, 14px);
                color: var(--muted);
                min-width: 18px;
                text-align: center;
            }
        }
    }

    .btn-link {
        color: var(--muted);

        &:hover {
            color: #6c757d;
        }
    }
}

.product-table {
    .table> :not(caption)>*>* {
        border-bottom: none !important;
    }
}

.product-table .table> :not(caption)>*>* {
    background-color: unset;
}

.card-summary {
    .card-total {
        border: 1px solid #e4e7e9;
        border-radius: 4px;
        padding: 1.5rem;
        background: #fff;
    }

    .card-total {
        padding: 1.5rem;
        border: 1px solid #e4e7e9;

        .totals-list li {
            font-size: clamp(12.4px, 1vw, 14px);
            font-weight: 400;
            color: var(--muted);
        }
    }

    .coupon-box {
        border: 1px solid #e4e7e9;
        border-radius: 4px;
        background: #fff;

        h5 {
            padding: 1.5rem;
            border-bottom: 1px solid #e4e7e9;
        }

        .coupon-form {
            padding: 1.5rem;
            padding-top: 1rem;
        }

        .form-control {
            border: 1px solid #e4e7e9;
            border-radius: 6px;
            padding: 10px 12px;
            font-size: clamp(12.4px, 1vw, 14px);
            color: var(--muted);

            &::placeholder {
                color: var(--muted);
            }

            &:focus {
                border-color: var(--primary);
                box-shadow: none;
            }
        }

        .btn-danger {
            background-color: var(--promo);
            border: none;
            font-weight: 600;
            font-size: clamp(12.4px, 1vw, 14px);
            padding: 10px 0;
            border-radius: 2px;

            &:hover {
                background-color: #d62839;
            }
        }
    }
}

.checkout-main {
    .billing-form {
        .form-label {
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            color: var(--heading-font);
            margin-bottom: 6px;

            span {
                color: #929fa5;
            }
        }

        .form-input {
            border: 1px solid #e4e7e9;
            border-radius: 6px;
            padding: 10px 12px;
            font-weight: 400;
            font-size: clamp(12.4px, 1vw, 14px);
            color: #77878f;
            width: 100%;

            &::placeholder {
                color: #77878f;
            }

            &:focus {
                border-color: var(--primary);
                box-shadow: none;
                outline: none;
            }
        }

        .form-checkbox {
            appearance: none;
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border: 1px solid #c9cfd2;
            border-radius: 4px;
            position: relative;
            cursor: pointer;
            transition: all 0.2s ease;

            &:checked {
                background-color: var(--primary);
                border-color: var(--primary);
            }

            &:checked::after {
                content: "";
                position: absolute;
                left: 6px;
                top: 2px;
                width: 5px;
                height: 10px;
                border: solid #fff;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

            &:hover {
                border-color: var(--primary);
            }
        }
    }
}

.payment-option {
    border: 1px solid #e4e7e9;

    .form-label {
        white-space: nowrap;
        margin-bottom: 0 !important;
        font-size: clamp(12px, 1vw, 14px) !important;

        @media (max-width: 468px) {
            font-size: 10px !important;
        }
    }

    img {
        display: block;
        margin: 0 auto;
        width: 25px;
        height: 25px;

        @media (max-width: 468px) {
            width: 20px;
            height: 20px;
        }
    }

    .col {
        position: relative;
        margin-bottom: 8px;
    }

    .border-end {
        border-right: 1px solid #e4e7e9 !important;
    }

    .custom-radio {
        appearance: none;
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border: 1px solid #c9cfd3;
        border-radius: 50%;
        display: inline-block;
        position: relative;
        cursor: pointer;
        outline: none;
        margin: 0 8px;
        transition: border-color 0.2s ease, background 0.2s ease;

        @media (max-width: 468px) {
            width: 17px;
            height: 17px;
        }
    }

    .custom-radio:checked {
        border-color: var(--primary);
        background-color: var(--primary);
    }

    .custom-radio:checked::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 12px;
        height: 12px;
        background: #fff;
        /* white inner dot */
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }
}