.tabs {
    grid-template-columns:repeat(auto-fill, minmax(min(25em, 25% - 2vw), 1fr));
}

.delivery-address summary[data-translation]::after{
    min-height: 1.4rem;
    width: min-content;
}
[data-for-expand]:checked ~ [id^=lining] {
    border-width: 1px;
    max-height: 33rem;
}

[data-for-expand]:checked ~ [id^=binding] {
    border-width: 1px;
    max-height: 33rem;
}

[data-for-expand]:checked ~ [id^=width] {
    border-width: 1px;
    max-height: 33rem;
}


/*#97bf0d*/



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%; /* Reduced width */
    max-width: 600px; /* Maximum width to keep it proportional */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.modal-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.modal-footer .btn {
    background-color: #97bf0d;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 10px; /* Added margin to separate buttons */
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 5px;
}

.modal-footer .btn-confirm {
    background-color: #97bf0d;
}

.modal-footer .btn-confirm:hover {
    background-color: #97bf0d;
}

.modal-footer .btn-cancel {
    background-color: #f44336;
}

.modal-footer .btn-cancel:hover {
    background-color: #e53935;
}


/* Media queries for responsive design */
@media (max-width: 768px) {
    .modal-content {
        width: 80%; /* Adjust width for mobile devices */
        padding: 10px;
    }

    .modal-footer .btn {
        padding: 8px 15px;
        font-size: 14px;
        margin: 4px 5px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
        margin: 5px 0;
    }
}

.loader_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none; /* Initially hidden */
}

.loader_spinner {
    border: 8px solid  #97bf0d;
    border-top: 8px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
