/* Homepage Banner Block
   Scoped under .homepage-banner
   Plain CSS — no build step required.
   Right panel background is set via inline style (editor-controlled color picker).
*/

.homepage-banner {
    overflow: hidden;
    font-family: 'Poppins';
}

.homepage-banner__inner {
    min-height: 220px;
    border-radius: 20px;
    overflow: hidden;
}

/* ── Left column ──────────────────────────────────────── */
.homepage-banner__left {
    position: relative;
    padding: 0;
    min-height: 220px;
}

.homepage-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.homepage-banner__callout {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #5a8a3c;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

/* ── Right column ─────────────────────────────────────── */
/* background set via ACF panel_background field (defaults to #2a2a2a in template) */
.homepage-banner__right {
    color: #353535;
    padding: 16px 24px;
    background-size: cover;
    background-position: center center;
}

.homepage-banner__logo img {
    max-height: 48px;
    width: auto;
}

.homepage-banner__body {
    font-size: 14px;
    line-height: 1.6;
    color: #353535;
}

/* ── Price area ───────────────────────────────────────── */
.homepage-banner__price-original {
    font-size: 18px;
    color: #fff;
}

.homepage-banner__price-promo {
    font-size: 26px;
    color: #fff;
}

.homepage-banner__price-subtext {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0px;
}

/* ── Buttons ──────────────────────────────────────────── */
.homepage-banner__buttons {
    gap: 12px;
}

@media only screen and (max-width: 743px) {
    .homepage-banner__buttons .btn {
        width: 100%;
    }
}

/* ── Responsive ───────────────────────────────────────── */
@media only screen and (max-width: 743px) {
    .homepage-banner__left {
        min-height: 180px;
    }

    .homepage-banner__right {
        padding: 24px 16px;
    }
}
