/* Keep every carousel slide the same height to avoid layout movement. */
/* Reset header cart dimensions inside the five-item mobile navigation. */
@media (max-width: 575px) {
    .mobile-bottom-nav > a {
        flex: 1 1 0;
        width: auto;
        height: 100%;
        min-width: 0;
        padding: 0;
        gap: 5px;
    }
    .mobile-bottom-nav .mobile-bag-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 21px;
    }
    .mobile-bottom-nav .mobile-bag-icon .cart-count {
        position: absolute;
        top: -6px;
        right: -8px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 15px;
        width: auto;
        height: 15px;
        padding: 0 4px;
        border: 2px solid #fff;
        border-radius: 12px;
        font-size: 7px;
        line-height: 1;
    }
}
@media (min-width: 992px) {
    .ez-hero .carousel-item {
        height: 500px;
        min-height: 500px;
    }
    .ez-hero-copy {
        padding-top: 43px;
        padding-bottom: 25px;
    }
    .ez-hero h1 {
        font-size: 52px;
    }
}
@media (min-width: 576px) and (max-width: 991px) {
    .ez-hero .carousel-item {
        height: 440px;
    }
}
@media (max-width: 575px) {
    .ez-hero .carousel-item {
        height: 565px;
    }
    .ez-hero-copy {
        min-height: 300px;
    }
    .ez-hero h1 {
        font-size: 35px;
    }
    .ez-hero-art {
        flex-shrink: 0;
    }
    .ez-hero-controls > span {
        display: none;
    }
}
