/* ==========================================================================
   YowUp landing page (template-yowup-landing.php)
   Everything is scoped to .yu / the template body class.
   ========================================================================== */

/* Theme wrapper overrides: full-width content, no page title bar
   -------------------------------------------------------------------------- */
.page-template-template-yowup-landing .content { background: #fff; max-width: none; padding: 0; }
.page-template-template-yowup-landing .content .top { display: none; }
.page-template-template-yowup-landing .content > .container { width: auto !important; max-width: none; margin: 0; padding: 0; }
.page-template-template-yowup-landing #content { width: auto; margin: 0; padding: 0; float: none; }

/* Tokens & base
   -------------------------------------------------------------------------- */
.yu {
    --yu-ink: #1e293b;
    --yu-cream: #fffcf6;
    --yu-dark: #392574;
    --yu-brand: #8966ba;
    --yu-brand-strong: #7b58ae;
    --yu-brand-hover: #5a3f91;
    --yu-lilac: #c7b2de;
    --yu-brand-subtle: #e8dfef;
    --yu-yellow: #fbb502;
    --yu-yellow-100: #fff4e4;
    --yu-yellow-200: #ffe8c0;
    --yu-yellow-300: #ffdb8c;
    --yu-border: rgba(143, 98, 0, 0.2);
    --yu-display: 'Luckiest Guy', 'Arial Black', sans-serif;
    --yu-body: 'Rubik', Arial, Helvetica, sans-serif;
    --yu-gutter: 24px;

    position: relative;
    overflow: hidden;
    background: #fff;
    color: var(--yu-ink);
    font-family: var(--yu-body);
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.yu *,
.yu *::before,
.yu *::after { box-sizing: border-box; }

/* Resets: :where() keeps them at single-class specificity, so they beat the
   theme's element rules but lose to the component rules further down */
.yu :where(h1, h2, h3, p, ul, li) { margin: 0; padding: 0; border: 0; background: none; }
.yu :where(h1, h2, h3) { font-family: var(--yu-display); font-weight: 400; letter-spacing: 0; text-transform: none; color: inherit; }
.yu :where(ul) { list-style: none; }
.yu :where(li)::before { content: none; }
.yu :where(img) { display: block; max-width: 100%; height: auto; border: 0; }
.yu :where(button) { margin: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.yu :where(a) { text-decoration: none; }
.yu [hidden] { display: none !important; }
.yu :focus-visible { outline: 3px solid var(--yu-brand-strong); outline-offset: 3px; }

.yu .screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.yu-container {
    width: 100%;
    max-width: calc(1248px + 2 * var(--yu-gutter));
    margin: 0 auto;
    padding: 0 var(--yu-gutter);
}

.yu-h2 { font-family: var(--yu-display); font-size: 48px; line-height: 56px; color: var(--yu-ink); }

.yu-title-line { display: block; }

/* Paw prints placed over a [b]racketed letter in a title */
.yu-paw-letter { position: relative; }
.yu-paw-letter__paws {
    position: absolute;
    left: 50%;
    top: 0.04em;
    width: 0.67em !important;
    max-width: none !important;
    transform: translateX(-50%);
    pointer-events: none;
}

/* Button */
.yu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 100px;
    background: var(--yu-brand-strong);
    color: var(--yu-cream) !important;
    font-family: var(--yu-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .2s ease;
}
.yu-btn:hover,
.yu-btn:focus-visible { background: var(--yu-brand-hover); }
.yu-btn img { width: 24px; height: 24px; flex: none; }

/* Badge (eyebrow pill) */
.yu-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--yu-brand-strong);
    color: var(--yu-cream);
    font-family: var(--yu-body);
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Reveal animations: fade in + float up, once per page load.
   .yu-anim is added by the template only when "reduce motion" is off. */
@media (prefers-reduced-motion: no-preference) {
    .yu-anim [data-yu-reveal] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s ease-out, transform .6s cubic-bezier(.22, .61, .36, 1);
        transition-delay: var(--yu-delay, 0ms);
    }
    .yu-anim [data-yu-reveal].is-revealed,
    .yu-anim.yu-anim-done [data-yu-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.yu-hero {
    position: relative;
    overflow: hidden;
    background: var(--yu-dark);
    color: var(--yu-cream);
    padding: 80px 0 40px;
}

.yu-hero__wave-back {
    position: absolute;
    left: 0;
    bottom: 24px;
    width: 100% !important;
    max-width: none !important;
    height: 276px !important;
    transform: rotate(180deg);
    z-index: 0;
}

.yu-hero__media {
    position: absolute;
    top: 62px;
    left: calc(50% - 223px);
    width: 878px;
    z-index: 1;
}
.yu-hero__media img { width: 100%; }

.yu-hero__wave-front {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: max(1448px, 101%) !important;
    max-width: none !important;
    height: 225px !important;
    transform: translateX(calc(-50% + 3px)) scaleY(-1);
    z-index: 2;
}

.yu-hero__paw { position: absolute; z-index: 2; max-width: none !important; }
.yu-hero__paw--lg { top: 115px; left: calc(50% + 593px); width: 99px !important; transform: rotate(-14.37deg); }
.yu-hero__paw--sm { top: 336px; left: calc(50% + 635px); width: 57px !important; transform: rotate(44.84deg); }

.yu-hero__inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 180px;
}

.yu-hero__content { width: 664px; max-width: 100%; }
.yu-hero__logo img { width: 136px; }

.yu-hero__title {
    margin-top: 52px !important;
    font-size: 90px;
    line-height: 94px;
    color: var(--yu-cream) !important;
}

.yu-hero__subtitle {
    margin-top: 12px !important;
    font-size: 20px;
    line-height: 28px;
    color: var(--yu-cream);
}

.yu-hero .yu-btn { margin-top: 40px; }

.yu-hero__badges { display: flex; align-items: center; gap: 40px; }
.yu-hero__badge { display: flex; align-items: center; gap: 16px; flex: none; }
.yu-hero__badge-icon { width: 80px; height: 80px; flex: none; }
.yu-hero__badge-text {
    width: 179px;
    font-family: var(--yu-display);
    font-size: 24px;
    line-height: 32px;
    color: var(--yu-dark);
}
.yu-hero__badge:last-child .yu-hero__badge-text { width: 165px; }

/* ==========================================================================
   Where to Buy
   ========================================================================== */
.yu-wtb { padding: 100px 0 0; }
.yu-wtb__title { margin-bottom: 40px !important; }

.yu-wtb__body { display: flex; align-items: flex-start; gap: 150px; }

.yu-wtb__tabs { display: flex; flex-direction: column; gap: 16px; width: 450px; flex: none; }

.yu-wtb__tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 116px;
    padding: 8px 16px 8px 40px;
    border-radius: 20px;
    background: var(--yu-yellow-100);
    color: var(--yu-ink);
    text-align: left;
    transition: background-color .2s ease;
}
.yu-wtb__tab:hover { background: var(--yu-yellow-200); }
.yu-wtb__tab:active { background: var(--yu-yellow-300); }
.yu-wtb__tab[aria-selected="true"] { background: var(--yu-yellow); }

.yu-wtb__tab-label {
    white-space: nowrap;
    font-family: var(--yu-body);
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.yu-wtb__tab-image { width: auto !important; height: 100px !important; max-width: 154px; flex: none; object-fit: contain; }

.yu-wtb__panel { flex: 1 1 auto; min-width: 0; }

.yu-retailers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 308px));
    column-gap: 33px;
}
.yu-retailers__item { position: relative; }
.yu-retailers__item:nth-child(odd):not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 16px;
    right: -17px;
    width: 1px;
    background: var(--yu-border);
}
.yu-retailers__item:nth-child(n+3):nth-child(odd)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(200% + 33px);
    height: 1px;
    background: var(--yu-border);
}

.yu-retailers__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 124px;
    padding: 20px 28px;
    border-radius: 16px;
    transition: background-color .2s ease;
}
.yu-retailers__link:hover { background: var(--yu-yellow-100); }
.yu-retailers__link:active { background: var(--yu-yellow-200); }
.yu-retailers__logo { max-width: 100% !important; max-height: 64px; width: auto; height: auto; object-fit: contain; }

/* ==========================================================================
   Flavors
   ========================================================================== */
.yu-flavors { padding: 100px 0; scroll-margin-top: 24px; }

.yu-flavors__header { display: flex; flex-direction: column; align-items: center; }
.yu-flavors__title { text-align: center; }

.yu-flavors__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 44px;
    margin-top: 24px !important;
    padding: 0 32px !important;
}
.yu-flavors__feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
.yu-flavors__feature-icon { width: 60px; height: 60px; flex: none; }

.yu-flavors__tabs {
    display: flex;
    width: 100%;
    margin-top: 56px;
    padding: 8px;
    border-radius: 100px;
    background: var(--yu-yellow-100);
    scrollbar-width: none;
}
.yu-flavors__tabs::-webkit-scrollbar { display: none; }

.yu-flavors__tab {
    flex: 1 1 0;
    height: 72px;
    padding: 0 24px;
    border-radius: 100px;
    color: var(--yu-ink);
    font-family: var(--yu-body);
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}
.yu-flavors__tab:hover { background: color-mix(in srgb, var(--yu-flavor) 20%, var(--yu-yellow-100)); }
.yu-flavors__tab:active { background: color-mix(in srgb, var(--yu-flavor) 45%, var(--yu-yellow-100)); }
.yu-flavors__tab[aria-selected="true"] { background: var(--yu-flavor); color: var(--yu-cream); }
.yu-flavors__tab[aria-selected="true"][data-text="dark"] { color: var(--yu-ink); }

.yu-flavors__body { margin-top: 60px; }

/* One panel per flavor: its own image gallery + details */
.yu-flavors__panel {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
}

.yu-flavors__media { width: 450px; flex: none; }

.yu-gallery__images { position: relative; aspect-ratio: 1 / 1; }
.yu-gallery__image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
}
.yu-gallery__image.is-active { opacity: 1; visibility: visible; }
.yu-gallery__image img { width: 100%; height: 100% !important; object-fit: cover; }

.yu-slider-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }

.yu-slider-controls__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 40px;
    border-radius: 100px;
    background: var(--yu-brand-subtle);
    transition: background-color .2s ease, opacity .2s ease;
}
.yu-slider-controls__arrow:hover:not(:disabled) { background: #d8c9e6; }
.yu-slider-controls__arrow:disabled { opacity: .5; cursor: default; }
.yu-slider-controls__arrow img { width: 24px; height: 24px; }

.yu-slider-controls__dots { display: flex; gap: 8px; padding: 4px 8px; border-radius: 11px; background: #fff; }
.yu-slider-controls__dot { position: relative; width: 30px; height: 14px; padding: 0; }
.yu-slider-controls__dot::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    height: 6px;
    border-radius: 3px;
    background: var(--yu-brand-subtle);
    transition: background-color .2s ease;
}
.yu-slider-controls__dot:hover::before { background: var(--yu-lilac); }
.yu-slider-controls__dot[aria-current="true"]::before { background: var(--yu-brand); }

.yu-flavors__details { display: flex; flex-direction: column; gap: 32px; width: 650px; flex: none; }

.yu-detail + .yu-detail { padding-top: 32px; border-top: 1px solid var(--yu-border); }
.yu-detail__title { margin-bottom: 8px !important; font-size: 20px; line-height: 28px; color: var(--yu-ink); }
.yu-detail__text { font-size: 16px; line-height: 24px; color: var(--yu-ink); }

.yu-readmore__text:not(.is-expanded) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}
.yu-readmore__toggle {
    margin-top: 8px;
    padding: 0;
    color: var(--yu-brand-strong);
    font-size: 14px;
    line-height: 22px;
}
.yu-readmore__toggle:hover { text-decoration: underline; }

/* ==========================================================================
   Benefits (photo strip with stickers)
   ========================================================================== */
.yu-benefits {
    --u: clamp(0.5px, calc(100vw / 1440), 1px);
    padding-top: 120px;
}
.yu-benefits__title { text-align: center; margin-bottom: 40px !important; }

.yu-benefits__viewport { position: relative; overflow: hidden; height: calc(var(--u) * 667); }

.yu-benefits__strip {
    position: absolute;
    top: 0;
    left: 50%;
    display: flex;
    gap: calc(var(--u) * 16);
    width: calc(var(--u) * (500 * var(--yu-cards) + 16 * (var(--yu-cards) - 1)));
    height: 100%;
    transform: translateX(-50%);
}

.yu-benefits__card {
    flex: none;
    width: calc(var(--u) * 500);
    height: 100%;
    overflow: hidden;
    border-radius: calc(var(--u) * 20);
    background: #fff;
}
.yu-benefits__card img { width: 100%; height: 100% !important; object-fit: cover; }

.yu-sticker {
    position: absolute;
    z-index: 2;
    left: var(--yu-x);
    top: var(--yu-y);
    transform: translate(-50%, -50%) rotate(var(--yu-rotate, 0deg));
    pointer-events: none;
}
.yu-sticker--pill {
    padding: calc(var(--u) * 16) calc(var(--u) * 16) calc(var(--u) * 12);
    border-radius: calc(var(--u) * 16);
    font-family: var(--yu-display);
    font-size: calc(var(--u) * 24);
    line-height: calc(var(--u) * 32);
    white-space: nowrap;
}
.yu-sticker--purple { background: var(--yu-brand); color: var(--yu-cream); }
.yu-sticker--lilac { background: var(--yu-brand-subtle); color: var(--yu-ink); }
.yu-sticker--dark { background: var(--yu-dark); color: var(--yu-cream); }
.yu-sticker--cream { background: var(--yu-cream); color: var(--yu-ink); }
.yu-sticker--badge { width: calc(var(--u) * var(--yu-size, 100)); }
.yu-sticker--badge img { width: 100%; }

/* ==========================================================================
   How to Serve
   ========================================================================== */
.yu-serve { padding: 100px 0; }

.yu-serve__row { display: flex; min-height: 800px; }

.yu-serve__media { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; }
.yu-serve__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }

.yu-serve__panel {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 72px 24px 72px;
    background: var(--yu-dark);
    color: var(--yu-cream);
}

.yu-serve__paw-top { position: absolute; top: 12px; right: 24px; width: 47px !important; transform: rotate(28.7deg); }

.yu-serve__header { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.yu-serve__title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    font-size: 64px;
    line-height: 72px;
    color: var(--yu-cream) !important;
    text-align: center;
}
.yu-serve__title img { width: 24px; height: 48px; flex: none; }

.yu-serve__notes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; text-align: center; }
.yu-serve__notes li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 16px; line-height: 24px; }
.yu-serve__notes li + li::before { content: ''; width: 1px; height: 16px; background: currentColor; }

.yu-serve__steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 230px);
    justify-content: center;
    row-gap: 16px;
}
.yu-serve__step { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.yu-serve__step-image { width: 180px; height: 180px; }
.yu-serve__step-text {
    max-width: 200px;
    font-family: var(--yu-display);
    font-size: 24px;
    line-height: 32px;
    color: var(--yu-cream);
}

.yu-serve__wave { position: absolute; left: 0; bottom: -32px; width: 100% !important; max-width: none !important; height: 125px !important; }
.yu-serve__paw-bottom { position: absolute; right: 24px; bottom: 22px; width: 100px !important; transform: rotate(-16deg); }

/* ==========================================================================
   Made in Spain
   ========================================================================== */
.yu-spain { padding: 0 0 100px; }

.yu-spain__inner { display: flex; align-items: center; gap: 48px; }

.yu-spain__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.yu-spain__title { position: relative; }
.yu-spain__illustration img { width: 195px; }

.yu-spain__photos { flex: 1 1 0; min-width: 0; display: flex; gap: 24px; height: 400px; }
.yu-spain__photo {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    border-radius: 32px;
    background: #e0e0e0;
}
.yu-spain__photo img { width: 100%; height: 100% !important; object-fit: cover; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Small desktop / large tablet */
@media (max-width: 1439px) {
    /* Anchored to the bottom (72px of 1440 in the design) so the photo's bottom edge stays behind the front wave */
    .yu-hero__media { left: auto; right: 4.5vw; top: auto; bottom: 5vw; width: 61vw; }
    .yu-hero__title { font-size: clamp(64px, 6.25vw, 90px); line-height: 1.045; }
    .yu-hero__content { width: 46vw; }
    .yu-hero__inner { gap: clamp(140px, 12.5vw, 180px); }
    .yu-hero__badges { gap: 24px; }
    .yu-hero__badge-text,
    .yu-hero__badge:last-child .yu-hero__badge-text { width: 150px; font-size: 22px; line-height: 28px; }
    .yu-hero__paw--lg { left: auto; right: 1.5vw; }
    .yu-hero__paw--sm { left: auto; right: 0.5vw; }

    .yu-wtb__body { gap: 6vw; }
    .yu-wtb__tabs { width: 400px; }
}

@media (max-width: 1180px) {
    .yu-hero__badge-text,
    .yu-hero__badge:last-child .yu-hero__badge-text { width: 130px; font-size: 20px; line-height: 26px; }

    .yu-flavors__panel { gap: 40px; }
    .yu-flavors__media { width: 380px; }
    .yu-flavors__details { width: auto; flex: 1 1 auto; min-width: 0; }
    .yu-flavors__tab { font-size: 17px; padding: 0 12px; letter-spacing: 1px; }

    .yu-spain__title { font-size: 40px; line-height: 48px; }

    .yu-serve__notes { flex-direction: column; gap: 4px; }
    .yu-serve__notes li + li::before { display: none; }
    .yu-serve__steps { grid-template-columns: repeat(2, 200px); }
    .yu-serve__step-image { width: 150px; height: 150px; }
    .yu-serve__title { font-size: 52px; line-height: 60px; }
}

/* Tablet: stacked hero */
@media (max-width: 1023px) {
    .yu { --yu-gutter: 32px; }

    .yu-hero { display: flex; flex-direction: column; padding: 56px 0 0; }
    .yu-hero__inner { display: contents; }
    .yu-hero__content { order: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 0 var(--yu-gutter); position: relative; z-index: 3; }
    .yu-hero__title { font-size: 72px; line-height: 76px; }
    /* Negative bottom margin tucks the photo's bottom edge under the lilac badge area, below the lowest point of the wave */
    .yu-hero__media { order: 2; position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 100%; max-width: 760px; margin: 8px auto max(-6vw, -46px); }
    .yu-hero__wave-back,
    .yu-hero__wave-front { display: none; }
    .yu-hero__paw--lg { top: 40px; right: 24px; width: 72px !important; }
    .yu-hero__paw--sm { top: 150px; right: 12px; width: 44px !important; }

    .yu-hero__badges {
        order: 3;
        position: relative;
        z-index: 3;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        justify-content: center;
        gap: 24px 48px;
        margin-top: -1px;
        padding: 16px var(--yu-gutter) 48px;
        background: var(--yu-lilac);
    }
    .yu-hero__badges::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(100% - 1px);
        height: 15vw;
        background: url('../images/wave-hero-front.svg') center bottom / 100% 100% no-repeat;
        transform: scaleY(-1);
        pointer-events: none;
    }
    .yu-hero__badge-text,
    .yu-hero__badge:last-child .yu-hero__badge-text { width: 170px; }

    .yu-wtb { padding-top: 80px; }
    .yu-wtb__body { gap: 32px; }
    .yu-wtb__tabs { width: 300px; }
    .yu-wtb__tab { height: 100px; padding-left: 24px; }
    .yu-wtb__tab-label { font-size: 17px; letter-spacing: 1px; white-space: normal; }
    .yu-wtb__tab-image { height: 80px !important; max-width: 120px; }
    .yu-retailers { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 17px; }
    .yu-retailers__item:nth-child(odd):not(:last-child)::after { right: -9px; }
    .yu-retailers__item:nth-child(n+3):nth-child(odd)::before { width: calc(200% + 17px); }
    .yu-retailers__link { height: 108px; padding: 16px; }

    .yu-flavors { padding: 80px 0; }
    .yu-flavors__panel { flex-direction: column; align-items: center; }
    .yu-flavors__media { width: 100%; max-width: 420px; }
    .yu-flavors__details { width: 100%; }

    .yu-benefits { padding-top: 80px; }

    .yu-serve { padding: 80px 0; }
    .yu-serve__row { flex-direction: column; min-height: 0; }
    .yu-serve__media { flex: none; aspect-ratio: 4 / 3; }
    .yu-serve__panel { flex: none; padding: 64px var(--yu-gutter) 120px; }

    .yu-spain { padding-bottom: 80px; }
    .yu-spain__inner { flex-direction: column; align-items: stretch; gap: 40px; }
    .yu-spain__photos { flex: none; height: 420px; }
}

/* Mobile */
@media (max-width: 767px) {
    .yu { --yu-gutter: 20px; }

    .yu-h2 { font-size: 32px; line-height: 38px; }

    .yu-hero { padding-top: 40px; }
    .yu-hero__logo img { width: 110px; }
    .yu-hero__title { margin-top: 32px !important; font-size: 44px; line-height: 48px; }
    .yu-hero__subtitle { margin-top: 12px !important; font-size: 18px; line-height: 26px; }
    .yu-hero .yu-btn { margin-top: 28px; padding: 12px 24px; font-size: 14px; }
    .yu-hero__paw--lg { top: 24px; right: 16px; width: 56px !important; }
    .yu-hero__paw--sm { display: none; }
    .yu-hero__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; padding-bottom: 40px; }
    .yu-hero__badge { gap: 10px; flex: 1 1 auto; }
    .yu-hero__badge-icon { width: 56px; height: 56px; }
    .yu-hero__badge-text,
    .yu-hero__badge:last-child .yu-hero__badge-text { width: auto; font-size: 16px; line-height: 20px; }

    .yu-wtb { padding-top: 64px; }
    .yu-wtb__title { margin-bottom: 24px !important; }
    .yu-wtb__body { flex-direction: column; align-items: stretch; gap: 24px; }
    .yu-wtb__tabs { flex-direction: row; gap: 12px; width: 100%; }
    .yu-wtb__tab { flex: 1 1 0; flex-direction: column-reverse; justify-content: center; gap: 8px; height: auto; min-height: 132px; padding: 12px; text-align: center; }
    .yu-wtb__tab-label { font-size: 14px; line-height: 18px; letter-spacing: 1px; }
    .yu-wtb__tab-image { height: 64px !important; max-width: 100px; }
    .yu-retailers__link { height: 96px; padding: 12px; }
    .yu-retailers__logo { max-height: 48px; }

    .yu-flavors { padding: 64px 0; }
    .yu-flavors__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0 !important; }
    .yu-flavors__feature { gap: 10px; font-size: 14px; line-height: 20px; }
    .yu-flavors__feature-icon { width: 48px; height: 48px; }
    /* 2 x 2 grid so all four flavors are visible without scrolling */
    .yu-flavors__tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 32px;
        padding: 6px;
        border-radius: 30px;
    }
    .yu-flavors__tab { min-width: 0; height: auto; min-height: 48px; padding: 6px 10px; font-size: 14px; line-height: 18px; letter-spacing: 0.5px; white-space: normal; }
    .yu-flavors__body { margin-top: 32px; }
    .yu-flavors__panel { gap: 32px; }
    .yu-flavors__media { max-width: 340px; }
    .yu-flavors__details { gap: 24px; }
    .yu-detail + .yu-detail { padding-top: 24px; }

    .yu-benefits { padding-top: 64px; }
    .yu-benefits__title { margin-bottom: 24px !important; padding: 0 var(--yu-gutter); }
    /* Only the middle of the photo row fits on phones: use the sticker's mobile position when set */
    .yu-sticker { left: var(--yu-mx, var(--yu-x)); top: var(--yu-my, var(--yu-y)); }

    .yu-serve { padding: 64px 0; }
    .yu-serve__panel { gap: 20px; padding: 56px var(--yu-gutter) 104px; }
    .yu-serve__paw-top { width: 36px !important; top: 10px; right: 16px; }
    .yu-serve__title { gap: 8px; font-size: 40px; line-height: 46px; }
    .yu-serve__title img { width: 18px; height: 36px; }
    .yu-serve__notes { flex-direction: column; gap: 4px; }
    .yu-serve__notes li + li::before { display: none; }
    .yu-serve__notes li { font-size: 14px; line-height: 20px; }
    .yu-serve__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; column-gap: 12px; }
    .yu-serve__step { gap: 10px; }
    .yu-serve__step-image { width: 120px; height: 120px; }
    .yu-serve__step-text { font-size: 18px; line-height: 24px; }
    .yu-serve__wave { height: 90px !important; bottom: -24px; }
    .yu-serve__paw-bottom { width: 72px !important; right: 16px; bottom: 16px; }

    .yu-spain { padding-bottom: 64px; }
    .yu-spain__text { gap: 20px; }
    .yu-spain__photos { gap: 12px; height: 260px; }
    .yu-spain__photo { border-radius: 24px; }
    .yu-spain__illustration img { width: 150px; }
}

@media (max-width: 400px) {
    .yu-hero__title { font-size: 38px; line-height: 42px; }
    .yu-hero__badges { gap: 16px 8px; }
    .yu-wtb__tab { min-height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
    .yu *, .yu *::before, .yu *::after { transition: none !important; }
}
