/* Grid container for checkboxes */
.custom-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 items per row */
    gap: 20px; /* Space between checkboxes */
    width: 100%;
    margin: 0 auto;
}
/* Responsive: 1 item per row on mobile */
@media (max-width: 768px) {
    .custom-checkbox-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 item per row */
    }
    #additionals-box {
        width: 100%;
        text-align: center;
    }
}

/* Each checkbox item */
.custom-checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Each checkbox item */
.custom-checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom checkbox style */
.custom-checkbox {
    display: flex;
    flex-direction: row; /* Arrange icon and content in a row */
    align-items: flex-start; /* Align items at the top */
    gap: 15px; /* Space between icon and content */
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, border-color 0.3s ease;
    width: 250px;
    min-height: 120px; /* Adjust as needed */
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .custom-checkbox {
        width: 250px; /* Keep the same width */
        height: 120px; /* Keep the same height */
        margin: 0 auto; /* Center the box */
    }
}

/* Icon wrapper */
.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px; /* Fixed width for the icon */
    height: 80px; /* Adjust if necessary */
    margin-top: 10px;
}

.additional-icon {
    width: 50px;
    height: 50px;
}

/* Text and price container */
.additional-details {
    display: flex;
    flex-direction: column; /* Stack title, description, and price vertically */
    justify-content: flex-start;
    text-align: left;
    height: 100%; /* Ensures it takes available space */
}

/* Title styling */
.additional-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Description styling */
.additional-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

/* Price styling */
.additional-price {
    font-size: 12px;
    color: #333;
    font-weight: bold;
    margin-top: auto; /* Price aligned at the bottom */
}

/* Hover effect for custom-checkbox */
.custom-checkbox:hover {
    background-color: #f0f0f0;
    transform: scale(1.02);
}

/* Checkbox input should be invisible */
.custom-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Checked checkbox effect */
.custom-checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
    background-color: rgba(0, 173, 181, 0.1);
    border-color: rgba(0, 173, 181);
    transform: scale(1.05);
}

@media (min-width: 1280px) {
    #additionals-box { 
        width: 35%;
        line-break: auto;
        
    }

}

.m-product-additionals-item-title {
    font-size: 18px;
}

.m-pricerunner-badge {
    display: block !important;
    max-width: 120px !important;
    visibility: visible !important;
}
#pricerunner {
    position: absolute;
    width: 120px;
   right: 0;
    bottom: 91px;
}