 /* Sticky Image Fix */
 #fiximage, .sticky-top {
    position: sticky !important;
    top: 130px !important;
    background: transparent !important;
    z-index: 0 !important;
    height: fit-content !important;
    transition: top 1s ease-in-out;
}
.initial-top {
    position: sticky !important;
    top: 0 !important;
    z-index: 0 !important;
    height: fit-content !important;
    transition: top 1s ease-in-out;
}


.content {
    z-index: 10 !important;
}

/* Checkbox Container */
.checkbox-container {
    background: #ffc107;
    /* bg-warning */
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

/* Checkbox Styling */
.form-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.form-check:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-check-label {
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.form-check-input {
    width: 28px;
    height: 28px;
    cursor: pointer;
    accent-color: #28a745;
    border: 2px solid #ecf004;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

/* Form Switch Styling */
.form-switch .form-check-input {
    width: 48px;
    height: 20px;
    margin-left: 0;
    background-color: #ddd;
    border: none;
}

.form-switch .form-check-input:checked {
    background-color: #28a745;
}

.form-switch .form-check-label {
    margin-left: 10px;
}

/* Modal Button */
.modal-btn {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s ease;
    cursor: pointer;
    display: block;
    width: 100%;
    border: none;
}

.modal-btn:hover {
    background: linear-gradient(135deg, #ff758c, #ff527a);
    transform: scale(1.02);
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.quantity-selector button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.quantity-selector button:hover {
    background-color: #0056b3;
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    margin: 0 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

/* Submit Button */
.submit-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
    .checkbox-container {
        padding: 10px;
    }

    .form-check {
        padding: 8px;
    }

    .quantity-selector button {
        padding: 8px 12px;
        font-size: 14px;
    }

    .quantity-selector input {
        width: 40px;
        font-size: 14px;
    }

    .submit-btn {
        font-size: 14px;
        padding: 10px;
    }
}



/* Image Wrapper */
.transparent-img {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transparent-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.transparent-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* Product Details Section */
.product-about {
    background: #f8f9fa;
    /* Light gray background */
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-about p.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.product-about p.price del {
    font-size: 1.2rem;
    color: #dc3545;
    /* Red color for discount */
    margin-left: 10px;
}

.product-about h2.product-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.product-about p.text-dark {
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
}

.product-about p.text-dark:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    #fiximage {
        position: static;
        /* Remove sticky behavior on smaller screens */
        padding-right: 0;
    }

    .product-about {
        padding: 15px;
    }

    .product-about p.price {
        font-size: 1.3rem;
    }

    .product-about h2.product-title {
        font-size: 1.5rem;
    }

    .product-about p.text-dark {
        font-size: 0.9rem;
    }
}

.cursor-pointer {
    cursor: pointer !important;
}