/* =========================================================
   PLUSTWO FX PDP
   Loaded only on the PlusTwo FX product page (pdp/plustwo-fx.php),
   on top of eva-pdp.css and the PlusOne layout (eva-pdp--plusone).
   Colours of the plugin interface: background #18232A, cards
   #1E2A31, orange #E39A4E.
   ========================================================= */

.eva-pdp--plustwo {
    --eva-plustwo-ui-bg: #18232A;
    --eva-plustwo-ui-card: #1E2A31;
    --eva-plustwo-ui-line: rgba(255, 255, 255, 0.08);
    --eva-plustwo-orange: #E39A4E;
    --eva-plustwo-text: #F2F4F5;
    --eva-plustwo-text-soft: rgba(242, 244, 245, 0.68);
}

.eva-plustwo-accent {
    color: var(--eva-plustwo-orange);
}


/* ---------- Hero ---------- */

.eva-plustwo-hero__image {
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(24, 35, 42, 0.28);
}

.eva-plustwo-facts {
    row-gap: 8px;
}


/* ---------- Under the hero: highlights left (as on the other PDPs), audio demos right ---------- */

.eva-pdp--plustwo .eva-pdp-proof .eva-pdp-proof__highlights {
    grid-column: 1;
    grid-row: 1;
}

.eva-plustwo-proof__audio {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    align-self: center;
}

.eva-plustwo-proof__audio .eva-audio-player {
    margin: 0;
}

/* ---------- Video: plugin-coloured band, one large preview ---------- */

.eva-plustwo-video {
    padding: 72px 0 80px;
    background: var(--eva-plustwo-ui-bg);
}

.eva-plustwo-video__head {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

.eva-plustwo-video__title {
    margin: 0;
    color: var(--eva-plustwo-text);
    font-size: clamp(28px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
}

.eva-plustwo-video__text {
    margin: 14px 0 0;
    text-wrap: balance;
    color: var(--eva-plustwo-text-soft);
    font-size: 15px;
    line-height: 1.6;
}

.eva-plustwo-video__link {
    position: relative;
    display: block;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 960 / 400;
    overflow: hidden;
    border: 1px solid var(--eva-plustwo-ui-line);
    border-radius: 10px;
    background: #10181D;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.eva-plustwo-video__thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eva-plustwo-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 54px;
    border-radius: 14px;
    background: #FF0033;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.eva-plustwo-video__play span {
    width: 0;
    height: 0;
    margin-left: 5px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid #FFFFFF;
}

.eva-plustwo-video__link:hover .eva-plustwo-video__play {
    transform: translate(-50%, -50%) scale(1.06);
}


/* ---------- Feature rows: picture and text, alternating sides ---------- */

.eva-plustwo-band {
    padding: 88px 0;
    background: #FFFFFF;
}

.eva-plustwo-band--dark {
    background: var(--eva-plustwo-ui-bg);
}

.eva-plustwo-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}

.eva-plustwo-feature--reverse .eva-plustwo-feature__media {
    order: 2;
}

.eva-plustwo-feature__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 36px;
    border-radius: 12px;
    background: var(--eva-plustwo-ui-bg);
}

.eva-plustwo-feature__media img {
    display: block;
    width: 100%;
    height: auto;
}

.eva-plustwo-feature__copy {
    max-width: 470px;
}

.eva-plustwo-feature__eyebrow {
    margin: 0 0 10px;
    color: #C87622;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase !important;
}

.eva-plustwo-feature__title {
    margin: 0 0 18px;
    color: var(--eva-pdp-graphite);
    font-size: clamp(26px, 2.2vw, 32px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-transform: none;
}

.eva-plustwo-feature__copy p {
    margin: 0 0 14px;
    color: var(--eva-pdp-text-secondary);
    font-size: 15.5px;
    line-height: 1.65;
}

.eva-plustwo-feature__copy p:last-child {
    margin-bottom: 0;
}

/* On the dark bands the controls sit straight on the background, no panel. */
.eva-plustwo-band--dark .eva-plustwo-feature__media {
    min-height: 0;
    padding: 0;
    background: none;
}

.eva-plustwo-band--dark .eva-plustwo-feature__title {
    color: var(--eva-plustwo-text);
}

.eva-plustwo-band--dark .eva-plustwo-feature__copy p {
    color: var(--eva-plustwo-text-soft);
}

.eva-plustwo-band--dark .eva-plustwo-feature__eyebrow {
    color: var(--eva-plustwo-orange);
}


/* ---------- Closing ---------- */

.eva-plustwo-question {
    margin: 16px 0 0;
    color: var(--eva-pdp-text-muted);
    font-size: 13.5px;
    text-align: center;
}

.eva-plustwo-question a {
    color: var(--eva-pdp-graphite);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.eva-plustwo-cross-sell .eva-pdp-cross-sell__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Three cards side by side are too narrow for image + text in a row. */
@media (max-width: 1199px) {
    .eva-plustwo-cross-sell .eva-pdp-cross-sell__item {
        grid-template-columns: 1fr;
    }
}


/* ---------- Mobile sticky Add to Cart (phones only) ---------- */

.eva-plustwo-sticky {
    display: none;
}

@media (max-width: 760px) {

    .eva-plustwo-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--eva-pdp-border);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -8px 24px rgba(24, 35, 42, 0.12);
        transform: translateY(110%);
        transition: transform 0.25s ease;
    }

    .eva-plustwo-sticky.is-visible {
        transform: translateY(0);
    }

    .eva-plustwo-sticky__info {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.25;
    }

    .eva-plustwo-sticky__info strong {
        color: var(--eva-pdp-graphite);
        font-size: 14px;
        font-weight: 700;
    }

    .eva-plustwo-sticky__price {
        color: var(--eva-pdp-graphite);
        font-size: 14px;
    }

    .eva-plustwo-sticky__price del {
        margin-right: 4px;
        color: var(--eva-pdp-text-muted);
        font-size: 12.5px;
    }

    .eva-pdp .eva-plustwo-sticky__button {
        flex: 0 0 auto;
        width: auto;
        min-width: 140px;
        margin: 0;
    }

}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {

    .eva-plustwo-feature {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .eva-plustwo-feature--reverse .eva-plustwo-feature__media {
        order: 0;
    }

    .eva-plustwo-feature__copy {
        max-width: none;
    }

    .eva-plustwo-cross-sell .eva-pdp-cross-sell__grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {

    .eva-plustwo-proof__audio {
        grid-column: auto;
        grid-row: auto;
        order: 2;
    }

    .eva-pdp--plustwo .eva-pdp-proof .eva-pdp-proof__highlights {
        grid-column: auto;
        grid-row: auto;
        order: 1;
    }

}

@media (max-width: 560px) {

    .eva-plustwo-video {
        padding: 52px 0 56px;
    }

    .eva-plustwo-video__play {
        width: 60px;
        height: 42px;
    }

    .eva-plustwo-band {
        padding: 56px 0;
    }

    .eva-plustwo-feature__media {
        min-height: 0;
        padding: 22px;
    }

    .eva-plustwo-band--dark .eva-plustwo-feature__media {
        padding: 0;
    }

}
