/*
 * Yumzip shared layout guard (loaded by the website layouts AFTER the theme stylesheets).
 * Fixes the CAUSES of horizontal page overflow on phones; it does not clip anything.
 *
 * 1. AOS (the scroll-animation library every theme uses) parks not-yet-revealed elements 100px
 *    to the left/right (fade-left, fade-right, slide-left, zoom-in-right ...). Those parked elements
 *    widen the document by ~100px until they are scrolled into view. Themes hid this with
 *    body{overflow-x:hidden}, which mobile browsers do not honour reliably: the page ends up wider than
 *    the screen (blank strip on the right, header/footer narrower than the viewport).
 *    The sideways offset is removed at ALL widths (measured: the page is horizontally scrollable by 120px on desktop too);
 *    the elements still fade/zoom in, only the 100px sideways travel is dropped. flip is untouched.
 * 2. Decorative corner shapes that are deliberately offset past the container edge on desktop
 *    (seabbq/desifoodie/desices hero, right:-20px) are pulled back to the container edge at all widths
 *    (design change: the decorative image sits 20px further in; without it the page scrolls sideways by 20px
 *    whenever the container reaches the viewport edge, 1024-1440px).
 */
html:not(.no-js) [data-aos][data-aos$="-left"]:not([data-aos^="flip"]),
html:not(.no-js) [data-aos][data-aos$="-right"]:not([data-aos^="flip"]) {
    -webkit-transform: none;
    transform: none;
}

.hero-area .vactor .shape-1 { left: 0; }
.hero-area .vactor .shape-2 { right: 0; }

/*
 * 3. Header call / notification items (partials/header-call-icon, header-notification-bell) are dropped into
 *    EVERY theme's header, but only the PWA header and a few themes style ".item". Give them their own
 *    theme-independent layout so they sit inline with the theme's login/cart instead of stacking on separate
 *    lines, and size the inline SVG icons from the surrounding font-size.
 */
.yz-header-call-icon,
.yz-header-notification-bell {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-inline: 6px;
}
.yz-header-call-icon .btn-icon,
.yz-header-notification-bell .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    line-height: 1;
    text-decoration: none;
}
.yz-hdr-ico {
    width: 1.2em;
    height: 1.2em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}
