/* Styles specific to the empty cart page
   This file deliberately reuses the main cart classes from cart.css
   and provides small layout tweaks for the empty cart CTA block. */

.section.cart-page.cart-empty{
    min-height: 75vh;
    background-color: #fff;
}

.cart-page__hero,
.cart-page__header {
    background: #000;
    padding: 18px 40px 20px;
    padding-left: var(--cart-main-left-offset);
}

/* Keep back link visible */
.cart-page__back {
    color: #fff;
}

/* CTA layout for empty cart */
.cart-empty__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 28px 0 0;
    padding-left: var(--cart-main-left-offset);
    align-items: center;
    justify-content: flex-start;
}

.cart-empty__link {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0 12px 0 24px;
    min-height: 48px;
    border-radius: 999px;
    background: #ffb43b;
    color: #000;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.9;
    text-decoration: none;
    width: max-content;
    max-width: max-content;
    transition: all 0.25s ease, color 0.25s ease;
    overflow: hidden;
}

.cart-empty__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
     
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.25s ease, transform 0.25s ease;
}

.cart-empty__link:hover {
    background: #000;
    color: #fff;
}

.cart-empty__link:hover .cart-empty__link-icon {
    filter: invert(1);
}
.cart-empty .woocommerce-info{
    font-size: 3em;
    font-weight: 600;
    padding: 40px 0 50px var(--cart-main-left-offset);
}
.cart-empty .wc-empty-cart-message{
    padding-top: 3rem;
}
.cart-empty .container-fluid{
    background-color: #fff !important;
}

@media (max-width: 767px) {
    #empty-cart{
        padding: 0 20px;
    }
    .cart-empty .woocommerce-info{
        font-size: 1.6em;
        padding: 40px 0 50px var(--cart-main-left-offset);
    }
    .cart-empty .cart-empty__footer {
        flex-direction: row;
        gap: 12px;
        padding: 18px 0 0;
        align-items: flex-start;
        background-color: #fff;
    }

    .section.cart-page.cart-empty {
        min-height: 75vh;
    }

    .cart-empty .cart-empty__link {
        width: max-content;
        max-width: max-content;
    }
}

@media (max-width: 480px) {
    .cart-empty .cart-empty__footer {
        flex-direction: column;
    }
    .cart-empty .cart-empty__link {
        width: 100%;
        max-width: 100%;
    }
}