.linga-products-grid {
    display: grid;
    gap: 1rem;
}

.linga-product-info {
    background: white;
    border-radius: 20px 20px 20px 20px;
    box-shadow: 0 0 15px 0 #d1d1d1;
    padding: 16px 24px;
    display: grid;
    gap: 1rem;
}

.linga-product-info h3 {
    margin-bottom: 0;
    font-size: 1rem !important;
}

.linga-checkout-grid {
    display: grid;
    gap: 2rem;
}

.linga-cart-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
}

.linga-cart-sticky {
    box-shadow: 0 0 15px 0 #d1d1d1;
    border-radius: 20px;
    padding: 25px;
    background-color: #ffffff;
}

.linga-sidebar-widget {
    box-shadow: 0 0 15px 0 #d1d1d1;
    border-radius: 20px;
    padding: 25px;
    background-color: #ffffff;
}

body div .avia-button.button-primary {
    border-radius: 15px 15px 15px 15px;
    transition: all 0.4s ease-in-out;
    font-size: 20px;
    margin-top: 2rem;
    padding: 15px 15px 15px 15px;
    background-color: var(--enfold-alternate-color-primary);
    width: 100%;
    font-weight: bold;
}

.linga-cart-totals {
    margin-top: 1rem;
    padding-top: 1.5rem;
    color: var(--enfold-alternate-color-primary);
}

.linga-total-line {
    font-size: 28px;
    font-weight: 600;
}

.linga-total-line-acompte {
    font-size: 13px;
    margin-top: 1rem;
}

.linga-total-line-acompte span:last-child {
    font-size: 18px;
    font-weight: 600;
    display: block;
}


.linga-modal {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem;
}

.linga-modal-content {
    width: 600px;
    max-width: 100%;
    box-shadow: 0 0 15px 0 #0000004d;
    border-radius: 20px 20px 20px 20px;
    padding: 25px 25px 25px 25px;
    background-color: #ffffff;
    overflow: auto;
    max-height: 100%;
    z-index: 100;
    position: relative;
}

.linga-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 1rem;
}

#linga-popup-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.25rem;
    margin-bottom: 0.75rem;
}

.linga-modal-close {
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    font-size: 2rem;
    line-height: 1.125rem;
    cursor: pointer;
    padding: 1rem;
}

.linga-modal-content form {
    margin-bottom: 0 !important;
}

#linga-popup-price-info {
    margin: 0;
    padding: 0;
    align-self: center;
    font-weight: 600;
    font-size: 1rem;
    color: black;
}


.linga-form-grid .avia-button {
    margin: 0 !important;
}

.linga-product-card {
    width: 100%;
}

.linga-category-filters {
    background: white;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .linga-category-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
        scrollbar-width: none;
        /* Firefox */
    }

    .linga-category-filters::-webkit-scrollbar {
        display: none;
        /* Safari and Chrome */
    }

    .linga-category-filters button {
        flex-shrink: 0;
    }
}

.linga-category-filters button {
    background: transparent;
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem 1rem;
    font-family: inherit;
    text-transform: uppercase;
}

.linga-category-filters button:first-child {
    color: grey;
}

.linga-category-filters button:not(:first-child) {
    font-weight: bold;
}

.linga-category-filters button :is(img) {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}


.linga-category-filters button :is(svg) {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.linga-category-filters button:last-child {
    border-right: 0;
}

.linga-category-filters button.active span {
    position: relative;
    ;
}

.linga-category-filters button.active span:before {
    content: '';
    position: absolute;
    background-color: var(--enfold-alternate-color-primary);
    height: 3px;
    width: 32px;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.linga-icon-option {
    width: 36px;
    height: 36px;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.linga-product-top-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    min-height: 40px;
}

.linga-product-options-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}



@media (min-width: 728px) {
    .linga-icon-option {
        width: 72px;
        height: 72px;
    }

    .linga-checkout-grid {
        grid-template-columns: 2fr 1fr;
    }

    .linga-product-info {
        grid-template-columns: 2fr 1fr;
    }
}

.linga-btn-add {
    text-transform: uppercase;
    border-radius: 0.5rem !important;
    padding: 0.5rem 1rem !important;
}

.linga-product-info>div:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.linga-price-web strong {
    font-size: 1.5rem;
    font-weight: 900;
}

.linga-card-duration-wrap select {
    margin: auto;
    padding-right: 2.25rem !important;
    border: 0 !important;
    background-color: #ececec !important;
    border-radius: 0.5rem !important;
}

.linga-cart-dates-block {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid #eee !important;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.linga-cart-dates-block img {
    width: 56px;
}

.linga-cart-dates-block strong {
    color: #666666 !important;
}

.linga-cart-item-dataset {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(4, 1fr);
    line-height: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.linga-cart-item-name {
    display: grid;
    gap: 1rem;
    grid-template-columns: 24px 1fr;
    align-items: center;
    line-height: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.linga-cart-item-name span {
    font-size: 1rem;
}

.linga-cart-item>strong {
    font-size: 1.25rem;
    color: black !important;
}

.linga-cart-sticky h3 {
    font-size: 1.5rem !important;
}

.linga-step-content h2 {
    border-left: 3px solid #c71010;
    padding-left: 18px !important;
    margin-bottom: 2rem !important;
}

.linga-promo-box {
    margin-top: 1rem;
}

.linga-promo-box>div {
    display: flex;
    align-items: center;
}

.linga-promo-box>div>input[type="text"] {
    margin-bottom: 0 !important;
}

.linga-recap-box {
    margin-bottom: 20px;
    box-shadow: 0 0 15px 0 #d1d1d1;
    border-radius: 20px 20px 20px 20px;
    padding: 25px 25px 25px 25px;
    background-color: #ffffff;
}


.linga-checkout-form input[type="text"],
.linga-checkout-form input[type="number"],
.linga-checkout-form input[type="email"],
.linga-checkout-form input[type="phone"],
.linga-form-grid input[type="text"],
.linga-form-grid input[type="number"],
.linga-checkout-form select,
.linga-col-half input[type="text"] {
    border-radius: 8px !important;
    padding: 0.75rem !important;
}

/* Mobile Sticky Bar */
@media (max-width: 768px) {
    .linga-mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        padding: 15px;
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 769px) {
    .linga-mobile-sticky-bar {
        display: none !important;
    }
}

#linga-recap-cart {
    font-size: 16px;
}

@media (max-width: 768px) {
    .steps-card {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }

    .steps-list {
        margin: 0 !important;
        padding: 0 !important;
        gap: 5px !important;
    }

    .steps-list .step-title {
        font-size: 13px !important;
    }

    .steps-list .step-index {
        width: 24px !important;
        height: 24px !important;
        line-height: 24px !important;
        font-size: 12px !important;
    }

    .steps-list .step-link {
        padding: 5px !important;
    }
}