/* Status only: preserve the existing header's dimensions and icon styling. */
.elementor .zaze-header :is(.zaze-header__cart, .zaze-header__wishlist) .elementor-button-icon { position: relative; }
.elementor .zaze-header :is(.zaze-header__cart, .zaze-header__wishlist) .elementor-button-icon-qty { display: none !important; }
.elementor .zaze-header :is(.zaze-header__cart, .zaze-header__wishlist).zaze-has-items .elementor-button-icon::after {
    content: ''; position: absolute; top: 2px; right: 0;
    width: 5px; height: 5px; min-width: 0; padding: 0;
    border: 0; border-radius: 50%; background: #c73834; pointer-events: none;
}

/* Match the configured DM Sans Medium and enlarge desktop navigation by 10%. */
.elementor .zaze-header .zaze-header__nav :is(.item-link, .elementor-item) {
    font-family: 'DM Sans', sans-serif !important; font-weight: 500 !important;
}
@media (min-width: 1025px) {
    .elementor .zaze-header.e-con { --zaze-header-icon-size: 17.6px; }
    .elementor .zaze-header .zaze-header__nav .etheme-elementor-nav-menu > .menu-item > .item-link,
    .elementor .zaze-header .zaze-header__nav .etheme-elementor-nav-menu > .menu-item > .item-link > .elementor-item {
        font-size: 14.3px !important; font-family: 'DM Sans', sans-serif !important; font-weight: 500 !important;
    }
}
.zaze-header__wishlist .elementor-button-icon { display: inline-block; transform-origin: center; }

.elementor .zaze-header.e-con { background-color: #f6f2ec !important; }
.zaze-header__cart .elementor-button-icon { display: inline-block; transform-origin: center; }

/* Solid at the top; reveal the frosted surface naturally after scrolling. */
.elementor .zaze-header.e-con { transition: background-color 300ms ease, backdrop-filter 300ms ease; }
.elementor .zaze-header.e-con.zaze-header--scrolled {
    background-color: rgba(246, 242, 236, .72) !important;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
@media (prefers-reduced-motion: reduce) { .elementor .zaze-header.e-con { transition: none; } }

/* Phone header: retain the cart alone in the right-hand action group. */
@media(max-width:700px) {
 .elementor .zaze-header :is(.zaze-header__search,.zaze-header__notifications-widget,.zaze-header__account,.zaze-header__wishlist) { display:none!important; }
 .elementor .zaze-header .zaze-header__actions { flex-direction:row!important; justify-content:flex-end; align-items:center; gap:0!important; }
 .elementor .zaze-header .zaze-header__cart .elementor-button { background:transparent!important; background-image:none!important; box-shadow:none!important; border:0!important; border-radius:0!important; color:#1D1D1F!important; }
}

/* Share the archive gutters inside the existing laptop desktop layout. */
@media (1024px < width <= 1500px) and ((width > 1366px) or (aspect-ratio > 3/2)) and ((width > 1440px) or (not (any-pointer:coarse))) {
    body { --zaze-laptop-gutter: 4vw; }
    body .elementor .zaze-header.e-con {
        padding-inline: 0;
    }
    body .elementor .zaze-header.e-con > .e-con-inner {
        width: 92%;
        max-width: none;
        margin-inline: auto;
        padding-inline: 0;
        box-sizing: border-box;
    }
    .zaze-header .zaze-header__logo { align-items: flex-start; }
    .zaze-header .zaze-header__cart .elementor-button { justify-content: flex-end; padding-inline-end: 0; }

    body .elementor .zaze-product.e-con.zaze-product {
        --padding-left: var(--zaze-laptop-gutter);
        --padding-right: var(--zaze-laptop-gutter);
        padding-inline: var(--zaze-laptop-gutter);
    }
    body .zp-host { --zp-gutter: var(--zaze-laptop-gutter); }
    body .zp-header { padding-inline: var(--zaze-laptop-gutter); }

    /* Desktop account and cart zoom is viewport width / 1920. */
    @media (min-width:1051px) {
        body #zaze-account, body #zaze-cart, body #zaze-auth {
            width: calc(1920px * .92);
            max-width: none;
            padding-inline: 0;
        }
    }
}
