.avmh { display: none; }

@media (max-width: 767px) {
    body.home {
        --avmh-ink: #181431;
        --avmh-purple: #6824db;
        --avmh-soft: #f2ecfc;
        background: #fff;
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
    body.home .avh-header,
    .avmh-desktop,
    body.home .avf-footer-columns { display: none; }
    body.home .avd-home { padding: 0; background: #fff; }
    .avmh { display: block; color: var(--avmh-ink); }
    .avmh :is(h1,h2,p,ol) { margin: 0; }
    .avmh :is(h1,h2) { color: var(--avmh-ink); letter-spacing: -.04em; }
    .avmh h2 { font-size: clamp(20px, 5.5vw, 28px); line-height: 1.16; }
    .avmh :is(a, button, summary, input):focus-visible { outline: 2px solid var(--avmh-purple); outline-offset: 3px; }
    .avmh :is(summary, button) { cursor: pointer; }
    .avmh summary { list-style: none; }
    .avmh summary::-webkit-details-marker { display: none; }
    .avmh-header { background: #fff; border-bottom: 1px solid #eee8f8; }
    .avmh-top { position: relative; display: flex; align-items: center; gap: 2px; min-height: 58px; padding: 4px 12px 4px 16px; }
    .avmh-logo { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; min-height: 44px; }
    .avmh-logo img { display: block; width: min(100%, 205px); height: auto; object-fit: contain; }
    .avmh-mark { display: grid; flex: 0 0 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--avmh-purple); color: #fff; }
    .avmh-mark .icon { width: 17px; height: 17px; fill: currentColor; }
    .avmh-icon-link, .avmh-search summary { display: grid; width: 44px; height: 44px; place-items: center; color: var(--avmh-ink); }
    .avmh-search form {
        position: absolute; inset: 100% 12px auto; z-index: 5; display: flex;
        gap: 8px; padding: 10px; background: white; border: 1px solid #ded3f5;
        border-radius: 12px; box-shadow: 0 8px 24px #25134c20;
    }
    .avmh-search input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #ded3f5; border-radius: 8px; color: var(--avmh-ink); font-size: 16px; }
    .avmh-search button, .avmh-button { background: var(--avmh-purple); color: #fff; border: 0; border-radius: 9px; font-weight: 700; }
    .avmh-search button { min-height: 44px; padding: 0 14px; }
    .avmh-home { padding: 0 16px 28px; }
    .avmh-hero {
        display: grid; align-content: center; justify-items: start; gap: 16px;
        min-height: clamp(200px, 57vw, 300px); border-radius: 0 0 19px 19px;
        padding: 18px 49% 18px 18px; margin: 0 -16px;
        background: linear-gradient(90deg, #f0e7fb 0%, #f0e7fb 43%, #f0e7fb00 59%),
            url('assets/gifts/hero.webp') 42vw center / auto 100% no-repeat, #f0e7fb;
    }
    .avmh-hero h1 { font-size: clamp(25px, 7.6vw, 48px); font-weight: 850; line-height: 1.04; }
    .avmh-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 8px 12px; white-space: nowrap; font-size: clamp(13px, 3.6vw, 18px); }
    .avmh-section { margin-top: 25px; scroll-margin-top: 12px; }
    .avmh-section h2 { margin-bottom: 12px; }
    .avmh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .avmh-category, .avmh-steps li { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 9px 11px; border-radius: 12px; background: var(--avmh-soft); font-weight: 700; font-size: clamp(13px, 3.6vw, 17px); line-height: 1.3; }
    .avmh-category svg, .avmh-steps svg { flex: none; color: var(--avmh-purple); }
    .avmh-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
    .avmh-section-head h2 { margin: 0; }
    .avmh-section-head a, .avmh-packages a { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; color: var(--avmh-purple); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
    .avmh-section-head a { flex: none; font-size: 13px; }
    .avmh-video { display: grid; align-content: start; gap: 4px; color: var(--avmh-ink); line-height: 1.24; }
    .avmh-cover { display: block; position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 14px; background: linear-gradient(155deg,#d9bdff,#7542c8); }
    .avmh-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .avmh-play { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; inset: auto 0 11px; margin: auto; border-radius: 50%; color: #fff; background: #181431b5; }
    .avmh-play svg { width: 18px; height: 18px; }
    .avmh-video strong { font-size: 15px; overflow-wrap: anywhere; }
    .avmh-video small { color: #544868; font-size: 12px; }
    .avmh-steps { display: grid; gap: 8px; padding: 0; list-style: none; }
    .avmh-steps li { padding-inline: 14px; }
    .avmh-packages {
        display: grid; align-content: center; justify-items: start;
        min-height: 145px; margin-top: 25px; padding: 15px 45% 15px 15px; border-radius: 15px;
        background: linear-gradient(90deg, #f0e7fb 0%, #f0e7fb 46%, #f0e7fb00 68%),
            url('assets/packages-cards/plan-1.webp') right center / auto 100% no-repeat, #f0e7fb;
    }
    .avmh-packages a { font-size: 14px; }
    .avmh-disclosure { background: var(--avmh-soft); border-radius: 10px; margin-top: 8px; }
    .avmh-disclosure summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 13px; font-size: 15px; font-weight: 700; line-height: 1.35; }
    .avmh-disclosure summary::after { content: ''; flex: 0 0 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
    .avmh-disclosure[open] summary::after { transform: translateY(2px) rotate(225deg); }
    .avmh-disclosure p { padding: 0 13px 13px; color: #45395e; font-size: 14px; line-height: 1.55; }
    .avmh-disclosure p a { color: var(--avmh-purple); text-decoration: underline; }
    .avmh-footer { padding: 0 16px 14px; }
    .avmh-footer-links { display: grid; padding: 0 13px 8px; }
    .avmh-footer-links a { display: flex; align-items: center; min-height: 44px; color: #45395e; font-size: 14px; overflow-wrap: anywhere; }
    .avmh-dock { position: fixed; z-index: 40; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 3px 6px calc(3px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #e9e1f5; }
    .avmh-dock a { display: grid; place-content: center; justify-items: center; gap: 2px; min-height: 52px; color: #37314b; font-weight: 650; font-size: 12px; }
    .avmh-dock a[aria-current] { color: var(--avmh-purple); font-weight: 800; }
    body.home .avf-shell { padding: 0 0 12px; background: #fff; }
    body.home .avf-footer { padding: 0; border: 0; box-shadow: none; background: none; }
    body.home .avf-footer::before, body.home .avf-footer::after { display: none; }
    body.home .avf-payment-row { margin-top: 0; }
}
