/* Styling the form-switch container */
.form-switch-container {
    display: flex;
    flex-direction: column;
    /* Stack the toggle and label vertically */
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

/* Adjust the form-check switch size */
.form-check {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check-input {
    width: 40px;
    /* Adjust width for visibility */
    height: 20px;
    /* Adjust height for visibility */
    margin: 0 5px;
    /* Add margin for spacing */
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
}

.form-check-input:checked {
    background-color: #4caf50;
    /* Green when active */
    border-color: #4caf50;
}

/* Label styling */
.form-check-label {
    font-size: 12px;
    /* Make the font smaller */
    font-weight: 500;
    margin-top: 5px;
    /* Space between the toggle and the label */
    text-align: center;
    /* Ensure the text is centered */
    display: inline-block;
    /* Ensure the label behaves as a block element */
    width: 100%;
    /* Allow the label to span the entire width */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .form-switch-container {
        justify-content: center;
        margin: 10px 0;
    }

    .form-check-input {
        width: 30px;
        height: 15px;
    }

    .form-check-label {
        font-size: 10px;
        /* Smaller font on smaller screens */
    }
}

.brand-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content horizontally */
    justify-content: center;
    /* Center content vertically */
    text-align: center;
}

.brand-box img {
    width: 100px;
    /* Fixed small size */
    height: 100px;
    /* Fixed small size */
    object-fit: cover;
    /* Keep image proportional */
    border-radius: 8px;
    /* Optional rounded corners */
}

.brand-box h4 {
    font-size: 14px;
    /* Reduced font size for the name */
    text-align: center;
    /* Center-align the text */
    margin-top: 10px;
    /* Add spacing between image and name */
}

.cart-fixed-bottom {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background-color: #f2a93e;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

/* Show the cart button on mobile */
@media (max-width: 991px) {
    .cart-fixed-bottom {
        display: flex;
    }

    /* Make the quantity buttons smaller on mobile */
    .qty-counter button {
        padding: 3px 8px;
        font-size: 12px;
    }

    .qty-counter input {
        width: 40px;
        font-size: 14px;
    }
}

/* Show the cart button on desktop too */
@media (min-width: 992px) {
    .cart-fixed-bottom {
        display: flex;
    }
}

.qty-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-counter button {
    background: #f2a93e;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.qty-counter input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    padding: 5px;
}

.cart-items-count {
    font-size: 14px;
    color: #fff;
}
.star {
    color: #ccc;
    /* Default color */
    cursor: pointer;
}

.star.active {
    color: #ffd700;
    /* Gold color for active stars */
}
.star {
    color: #ccc;
    /* Default color */
    cursor: pointer;
}

.star.text-warning {
    color: #ffc107;
}
.qty-counter {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-counter button {
    width: 30px;
    height: 30px;
    font-size: 12px;
    text-align: center;
    border: 1px solid #ccc;
    /* background-color: #f8f8f8; */
    cursor: pointer;
    border-radius: 5px;
}

.qty-counter input {
    width: 40px;
    height: 30px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
