/**
 * Online Shop — coming soon page.
 * Scoped to .mpt-online-shop.
 * Pulse wave + type aligned with homepage About MPT.
 */

.mpt-online-shop {
    color: var(--mpt-color-body);
}

/* Collapse theme/Elementor chrome padding around this single-section page. */
body.page-online-shop .site-main > .page,
body.page-online-shop .site-main article.page,
body.page-online-shop .elementor-location-single,
body.page-online-shop .page-header,
body.page-online-shop .entry-header {
    margin: 0;
    padding: 0;
}

body.page-online-shop .entry-content,
body.page-online-shop .page-content {
    margin: 0;
    padding: 0;
}

.mpt-online-shop-band {
    --mpt-about-pulse-height: clamp(3.5rem, 9vw, 6rem);
    --mpt-about-pulse-tile: calc(var(--mpt-about-pulse-height) * 604 / 154);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 7.5rem);
    min-height: calc(100dvh - 7.5rem);
    padding-inline: max(var(--mpt-gutter-desktop), calc((100% - var(--mpt-container)) / 2));
    padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
    background: #ffffff;
    background-color: #ffffff;
}

/* Same dual pulse rows as homepage About MPT */
.mpt-online-shop-band::before,
.mpt-online-shop-band::after,
.mpt-online-shop-band.mpt-pattern::before,
.mpt-online-shop-band.mpt-pattern::after {
    content: "";
    position: absolute;
    left: -10%;
    width: 120%;
    height: var(--mpt-about-pulse-height);
    pointer-events: none;
    z-index: 0;
    background-image: url("../images/brand/mpt-about-pulse-wave.webp");
    background-repeat: repeat-x;
    background-size: var(--mpt-about-pulse-tile) var(--mpt-about-pulse-height);
    background-position: 0 50%;
    opacity: 0.1;
    animation: mpt-online-shop-pulse-flow 42s linear infinite;
    inset: auto;
    filter: none;
}

.mpt-online-shop-band::before,
.mpt-online-shop-band.mpt-pattern::before {
    top: 18%;
}

.mpt-online-shop-band::after,
.mpt-online-shop-band.mpt-pattern::after {
    bottom: 14%;
    animation-duration: 54s;
}

@keyframes mpt-online-shop-pulse-flow {
    from {
        background-position: 0 50%;
    }

    to {
        background-position: var(--mpt-about-pulse-tile) 50%;
    }
}

.mpt-online-shop__inner,
.mpt-online-shop__layout {
    position: relative;
    z-index: 1;
}

.mpt-online-shop__inner {
    width: 100%;
    max-width: var(--mpt-container);
    margin-inline: auto;
}

.mpt-online-shop__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: stretch;
}

.mpt-online-shop__copy {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.mpt-online-shop__copy .mpt-eyebrow {
    margin: 0 0 0.35rem;
}

/* Match homepage About MPT heading (h2 scale + weight) */
.mpt-online-shop__copy h1 {
    margin: 0;
    width: 100%;
    max-width: none;
    color: var(--mpt-color-heading);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

/* Match homepage About MPT body copy */
.mpt-online-shop__lede {
    margin: 0;
    width: 100%;
    max-width: none;
    color: var(--mpt-color-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
}

.mpt-online-shop__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.35rem;
}

.mpt-online-shop__visual {
    width: 100%;
    min-height: 0;
    align-self: stretch;
}

.mpt-online-shop__media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
}

.mpt-online-shop__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mpt-online-shop__media-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 12rem;
    color: var(--mpt-color-primary-dark);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(232, 246, 251, 0.8);
}

@media (max-width: 1024px) {
    .mpt-online-shop-band {
        min-height: calc(100vh - 8.5rem);
        min-height: calc(100dvh - 8.5rem);
    }

    .mpt-online-shop__layout {
        gap: 1.35rem;
    }
}

@media (max-width: 900px) {
    .mpt-online-shop-band {
        min-height: 0;
        padding-block: clamp(1.75rem, 5vw, 2.75rem);
    }

    .mpt-online-shop__layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: start;
    }

    .mpt-online-shop__visual {
        order: -1;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .mpt-online-shop__media {
        min-height: 0;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .mpt-online-shop-band {
        --mpt-about-pulse-height: 3.1rem;
    }
}

@media (max-width: 640px) {
    .mpt-online-shop-band {
        padding-inline: var(--mpt-gutter-mobile);
        padding-block: 1.75rem 2.25rem;
    }

    .mpt-online-shop__actions {
        width: 100%;
    }

    .mpt-online-shop__actions .mpt-button {
        flex: 1 1 auto;
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mpt-online-shop-band::before,
    .mpt-online-shop-band::after,
    .mpt-online-shop-band.mpt-pattern::before,
    .mpt-online-shop-band.mpt-pattern::after {
        animation: none;
    }
}
