@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: Inter;
    background-color: #171722;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

#root,
#__next {
    isolation: isolate;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.main-container {
    width: 100%;
    height: fit-content;
    background-color: #161616;

    .contents {
        max-width: 1000px;
        padding: 40px 20px;
        margin: auto;

        .heading {
            color: #FDB042;
            font-size: 3em;
            margin-bottom: 10px;
        }

        .subtitle {
            color: #ccc;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .plan-type {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;

            .radio-container {
                display: flex;
                align-items: center;
                color: white;
                font-size: 25px;
                font-family: sans-serif;
                position: relative;
                cursor: pointer;
            }

            .radio-container input {
                opacity: 0;
                position: absolute;
                cursor: pointer;
            }

            .custom-radio {
                height: 20px;
                width: 20px;
                border: 2px solid orange;
                border-radius: 50%;
                display: inline-block;
                margin-right: 10px;
                position: relative;
                box-shadow: 0 0 0 2px black;
            }

            .radio-container input:checked+.custom-radio::after {
                content: "";
                position: absolute;
                top: 4px;
                left: 4px;
                width: 8px;
                height: 8px;
                background: orange;
                border-radius: 50%;
            }
        }

        p {
            margin-bottom: 10px;
            color: #828282;
            font-size: 20px;
        }

        .plan-type label {
            margin-right: 20px;
        }

        .btn {
            display: flex;
            justify-content: space-between;
        }

        .cart-btn {
            background: linear-gradient(to right, #fca311, #f77f00);
            color: #000;
            font-size: 24px;
            border: 3px solid #fca311;
            padding: 5px 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: sans-serif;
        }

        .add-to-cart-btn i {
            font-size: 24px;
        }

        .view-btn {
            background: linear-gradient(to right, #fca311, #f77f00);
            color: #000;
            font-size: 24px;
            border: 3px solid #fca311;
            padding: 5px 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: sans-serif;
        }

        .services {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 40px;
        }

        .column {
            flex: 1;
            min-width: 250px;
        }

        h3 {
            margin-bottom: 15px;
            color: #BDBDBD;
            font-weight: 700;
            font-size: 25px;
        }

        input[type="checkbox"]:checked::after {
            opacity: 1;
        }

        /* ✅ Dropdown Functionality */
        .subcategory {
            background-color: #1e1e1e;
            padding: 15px;
            margin-bottom: 12px;
            border-radius: 6px;
            border-left: 3px solid #ffa42b;
            cursor: pointer;
            color: #FDB042;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .subcategory:hover {
            background-color: #2c2c2c;
        }

        .products {
            padding-left: 25px;
            margin-right: 25px;
            margin-bottom: 15px;
        }

        .products.hidden {
            display: none;
        }

        label.product {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #1e1e1e;
            padding: 12px 15px;
            margin-bottom: 10px;
            border-radius: 5px;
            color: #FDB042;
            border-left: 3px solid #ffa42b;
            font-family: sans-serif;
            font-weight: 700;
            cursor: pointer;
        }

        label.product input[type="checkbox"] {
            margin-right: 10px;
            appearance: none;
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid orange;
            border-radius: 3px;
            background-color: white;
            cursor: pointer;
            position: relative;
            transition: background-color 0.2s ease;
        }

        label.product input[type="checkbox"]:checked {
            background-color: #F16C1D;
            border-color: #F16C1D;
        }

        label.product input[type="checkbox"]::after {
            content: "";
            position: absolute;
            top: 1px;
            left: 4px;
            width: 5px;
            height: 10px;
            border: solid #FFFFFF;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        label.product input[type="checkbox"]:checked::after {
            opacity: 1;
        }

        label.product span.price {
            font-weight: bold;
            color: white;
            margin-left: auto;
        }
    }

    .cart-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        font-family: sans-serif;
    }

    .cart-modal-content {
        background-color: #1e1e1e;
        margin: 5% auto;
        padding: 30px 20px;
        border-radius: 10px;
        width: 90%;
        max-width: 500px;
        color: #FDB042;
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
    }

    .cart-modal-content h2 {
        font-size: 28px;
        color: #FDB042;
        margin-bottom: 20px;
        text-align: center;
    }

    .cart-modal-content h3 {
        color: #ffffff;
        margin-top: 20px;
        font-size: 22px;
        text-align: right;
    }

    .cart-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 12px 0;
        border-bottom: 1px solid #333;
        font-size: 16px;
        color: #fff;
        gap: 15px;
    }

    .cart-item-info {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .cart-item-info span {
        line-height: 1.4;
    }

    .qty-control {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 8px;
    }

    .qty-control button {
        background-color: #FDB042;
        border: none;
        padding: 4px 10px;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
        color: #000;
        font-weight: bold;
        transition: background-color 0.2s ease;
    }

    .qty-control button:hover {
        background-color: #ffa42b;
    }

    .qty-number {
        font-size: 16px;
        color: #fff;
        min-width: 20px;
        text-align: center;
    }

    .cart-item .remove-btn {
        background: none;
        border: none;
        color: #ff4d4d;
        font-size: 20px;
        cursor: pointer;
        transition: color 0.2s;
        margin-left: 10px;
        margin-top: 5px;
    }

    .cart-item .remove-btn:hover {
        color: #ff1a1a;
    }



    .close-btn {
        float: right;
        font-size: 28px;
        font-weight: bold;
        color: #FDB042;
        cursor: pointer;
    }

    .close-btn:hover {
        color: #ffffff;
    }


    .cart-actions {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin-top: 20px;
    }

    /* Shared rule to make both buttons same width */
    .clear-cart-btn,
    .proceed-btn {
        flex: 1;
        padding: 10px 20px;
        background: linear-gradient(to right, #fca311, #f77f00);
        color: #000;
        font-size: 16px;
        border: 2px solid #fca311;
        border-radius: 6px;
        cursor: pointer;
        font-weight: bold;
        text-align: center;
    }

    .clear-cart-btn:hover,
    .proceed-btn:hover {
        background: linear-gradient(to right, #fca311, #fcbf49);
    }

    .payment-options {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .payment-btn {
        padding: 12px;
        font-size: 18px;
        font-weight: bold;
        border-radius: 6px;
        border: 2px solid #fca311;
        background: linear-gradient(to right, #fca311, #f77f00);
        color: #000;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .payment-btn:hover {
        background: linear-gradient(to right, #fca311, #fcbf49);
    }

}