.checkout-cart-index:has(.az-empty-cart) .page-title-wrapper,
.checkout-cart-index:has(.az-empty-cart) .page-title[data-ui-id="page-title-wrapper"] {
    display: none;
}

.checkout-cart-index:has(.az-empty-cart) .page-main {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
}

.checkout-cart-index:has(.az-empty-cart) .columns,
.checkout-cart-index:has(.az-empty-cart) .column.main {
    display: block;
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.checkout-cart-index:has(.az-empty-cart) .columns,
.checkout-cart-index:has(.az-empty-cart) .column.main {
    padding: 0;
}

/* Functional fallback for browsers without :has() support. */
@supports not selector(body:has(*)) {
    .checkout-cart-index .page-main,
    .checkout-cart-index .columns,
    .checkout-cart-index .column.main {
        display: block;
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
    }
}

.az-empty-cart {
    width: min(100%, 1920px);
    margin: 0 auto;
    padding: 64px clamp(24px, 4vw, 76px) 104px;
    color: #171717;
}

.az-empty-cart__intro {
    text-align: center;
}

.az-empty-cart__intro h1 {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.az-empty-cart__intro p {
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.5;
}

.az-empty-cart__intro a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 258px;
    min-height: 52px;
    margin-top: 28px;
    padding: 14px 28px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.az-empty-cart__intro a:hover,
.az-empty-cart__intro a:focus-visible {
    border-color: #333;
    background: #333;
    color: #fff;
}

.az-empty-products {
    width: min(100%, 1540px);
    margin: 78px auto 0;
}

.az-empty-products--recent:empty {
    display: none;
}

.az-empty-slider > .flex:first-of-type,
.az-empty-slider .snap-slider > .flex:first-of-type {
    min-height: 48px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dedede;
}

.az-empty-slider {
    position: relative;
}

.az-empty-products__title {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.az-empty-slider [data-prev],
.az-empty-slider [data-next] {
    position: absolute;
    top: calc(50% + 32px);
    z-index: 3;
    width: 34px;
    height: 52px;
    min-width: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #171717;
    box-shadow: none;
    transform: translateY(-50%);
}

.az-empty-slider [data-prev] {
    left: -42px;
}

.az-empty-slider [data-next] {
    right: -42px;
}

.az-empty-slider [data-prev]:not(:disabled):hover,
.az-empty-slider [data-next]:not(:disabled):hover {
    background: transparent;
    color: #555;
}

.az-empty-slider [data-prev]:disabled,
.az-empty-slider [data-next]:disabled {
    color: #c8c8c8;
    opacity: 1;
}

.az-empty-slider__track {
    align-items: flex-start;
    /* Keep Hyva's grid width calculation and the rendered gap in sync. */
    --snap-gap: clamp(12px, 1.4vw, 24px);
    gap: var(--snap-gap);
    padding-top: 28px;
    scroll-padding-inline: 0;
    --az-empty-cols: 2;
}

/* The extra selector wins over Hyva's generated breakpoint utilities. */
.az-empty-products .az-empty-slider__track {
    --snap-cols: var(--az-empty-cols);
}

@media (min-width: 640px) {
    .az-empty-slider__track {
        --az-empty-cols: 3;
    }
}

@media (min-width: 960px) {
    .az-empty-slider__track {
        --az-empty-cols: 4;
    }
}

@media (min-width: 1280px) {
    .az-empty-slider__track {
        --az-empty-cols: 5;
    }
}

@media (min-width: 1680px) {
    .az-empty-slider__track {
        --az-empty-cols: 6;
    }
}

.az-empty-products .item.product.product-item,
.az-empty-products .product-item.card,
.az-empty-products .product-item.card:hover {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.az-empty-products .product-item-photo {
    display: block;
    position: relative;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 0 16px;
    overflow: hidden;
    background: #f5f3f2;
}

.az-empty-products .product-image-container,
.az-empty-products .product-image-wrapper {
    display: block;
    width: 100% !important;
}

.az-empty-products .product-image-wrapper {
    position: static;
    height: auto;
    padding-bottom: 0 !important;
}

.az-empty-products .product-image-photo,
.az-empty-products img.product-image-photo {
    display: block;
    position: static;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    transition: transform 240ms ease;
}

.az-empty-products .product-item-photo:hover .product-image-photo {
    transform: scale(1.02);
}

.az-empty-products .product-info {
    align-items: center;
    text-align: center;
}

.az-empty-products .product-item-name,
.az-empty-products .product-item-link,
.az-empty-products .product-info > p {
    margin: 0;
    color: #171717;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.az-empty-products .price-box {
    margin-top: 5px;
    color: #171717;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.az-empty-products .price-box .price {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.az-empty-products .product-info > .mt-auto,
.az-empty-products .product-item-actions,
.az-empty-products .product-reviews-summary,
.az-empty-products .rating-summary {
    display: none !important;
}

.az-empty-products--recent .product-item-photo {
    position: relative;
    aspect-ratio: 3 / 4;
}

.az-empty-products--recent .product-item-photo img.product-image-photo {
    object-fit: cover;
}

@media (max-width: 767px) {
    .az-empty-cart {
        padding: 38px 16px 72px;
    }

    .az-empty-cart__intro h1 {
        font-size: 23px;
    }

    .az-empty-cart__intro p {
        margin-top: 14px;
        font-size: 15px;
    }

    .az-empty-cart__intro a {
        min-width: 224px;
        min-height: 48px;
        margin-top: 24px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .az-empty-products {
        margin-top: 48px;
    }

    .az-empty-products__title {
        font-size: 19px;
    }

    .az-empty-slider__track {
        --snap-gap: 12px;
        gap: var(--snap-gap);
        padding-top: 20px;
    }

    .az-empty-slider [data-prev],
    .az-empty-slider [data-next] {
        top: calc(50% + 26px);
        width: 30px;
        height: 44px;
        min-width: 30px;
    }

    .az-empty-slider [data-prev] {
        left: -12px;
    }

    .az-empty-slider [data-next] {
        right: -12px;
    }

    .az-empty-products .product-item-name,
    .az-empty-products .product-item-link,
    .az-empty-products .product-info > p,
    .az-empty-products .price-box {
        font-size: 14px;
    }
}
