/* Home page hero, Scandinavian redesign (components/hero-v2.php) */
.nbh2,
.nbh2-benefits {
    --nbh2-bg: #F7F5F0;
    --nbh2-ink: #1F2421;
    --nbh2-muted: #5B625E;
    --nbh2-green: #257C66;
    --nbh2-green-soft: #257C66;
    --nbh2-line: #E4E0D6;
    font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
    color: var(--nbh2-ink);
    -webkit-font-smoothing: antialiased;
}

.nbh2 p,
.nbh2-benefits p {
    margin: 0;
}

/* ---------- hero ---------- */
.nbh2 {
    background: var(--nbh2-bg);
    padding: 72px 24px 80px;
}

.nbh2__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.nbh2__offer {
    font-size: 14px;
    color: var(--nbh2-green-soft);
    margin-bottom: 20px !important;
}

.nbh2__offer strong {
    font-weight: 500;
    letter-spacing: .02em;
}

.nbh2 .nbh2__title {
    font-family: inherit;
    font-size: 54px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--nbh2-ink);
    margin: 0 0 20px;
    text-transform: none;
}

.nbh2__lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--nbh2-muted);
    max-width: 30em;
    margin-bottom: 36px !important;
}

.nbh2__form {
    max-width: 460px;
    margin: 0 0 22px;
}

.nbh2__label {
    display: block;
    font-size: 14px;
    color: var(--nbh2-ink);
    margin-bottom: 8px;
}

.nbh2__row {
    display: flex;
    gap: 8px;
}

.nbh2 .nbh2__input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #D4CFC3;
    border-radius: 6px;
    background: #fff;
    color: var(--nbh2-ink);
    font-family: inherit;
    font-size: 16px; /* 16px stops iOS from zooming in on focus */
    box-shadow: none;
}

.nbh2 .nbh2__input:focus {
    outline: none;
    border-color: var(--nbh2-green);
    box-shadow: 0 0 0 3px rgba(37, 124, 102, .12);
}

.nbh2 .nbh2__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 24px;
    border: none;
    border-radius: 6px;
    background: var(--nbh2-green);
    color: #F7F5F0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s;
}

.nbh2 .nbh2__btn:hover,
.nbh2 .nbh2__btn:focus-visible {
    background: #1F6B58;
    color: #F7F5F0;
}

.nbh2 .nbh2__btn[disabled] {
    opacity: .75;
    cursor: wait;
}

.nbh2__btn svg {
    width: 16px;
    height: 16px;
}

.nbh2__msg {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #A23B2A;
}

.nbh2__msg.is-success {
    color: #2F6B55;
    font-weight: 500;
}

.nbh2__msg:empty {
    display: none;
}

/* Logged-in customers: shortcut to My account */
.nbh2 .nbh2__account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 460px;
    margin: 0 0 22px;
    padding: 11px 16px;
    background: #FFFFFF;
    border: 1px solid var(--nbh2-green);
    border-radius: 6px;
    color: var(--nbh2-green);
    text-decoration: none;
    transition: background-color .15s, color .15s;
}

.nbh2 .nbh2__account:hover,
.nbh2 .nbh2__account:focus-visible {
    background: var(--nbh2-green);
    color: #F7F5F0;
}

.nbh2__account-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.nbh2__account-text strong {
    font-size: 16px;
    font-weight: 500;
}

.nbh2__account-text small {
    font-size: 13.5px;
    opacity: .85;
}

.nbh2__account svg {
    flex: none;
    width: 16px;
    height: 16px;
}

.nbh2__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--nbh2-muted);
}

.nbh2__stars {
    color: #B8935A;
    letter-spacing: 1px;
    font-size: 13px;
}

.nbh2__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

/* ---------- benefits ---------- */
.nbh2-benefits {
    background: #fff;
    border-top: 1px solid var(--nbh2-line);
    border-bottom: 1px solid var(--nbh2-line);
    padding: 48px 24px;
}

.nbh2-benefits__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1180px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
}

.nbh2-benefits__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
}

.nbh2-benefits__icon {
    width: 26px;
    height: 26px;
    color: var(--nbh2-green);
    flex-shrink: 0;
}

.nbh2-benefits__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 4px !important;
}

.nbh2-benefits__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--nbh2-muted);
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
    .nbh2 {
        padding: 56px 24px 64px;
    }

    .nbh2__inner {
        gap: 40px;
    }

    .nbh2 .nbh2__title {
        font-size: 44px;
    }

    .nbh2-benefits__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 36px;
    }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
    .nbh2 {
        padding: 36px 16px 40px;
    }

    .nbh2__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .nbh2__offer {
        font-size: 13px;
        margin-bottom: 14px !important;
    }

    .nbh2 .nbh2__title {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 14px;
    }

    .nbh2__lede {
        font-size: 16px;
        margin-bottom: 24px !important;
    }

    .nbh2__form {
        max-width: none;
        margin-bottom: 16px;
    }

    .nbh2 .nbh2__btn {
        padding: 0 18px;
    }

    .nbh2__media img {
        aspect-ratio: 4 / 3;
    }

    .nbh2-benefits {
        padding: 32px 16px;
    }

    .nbh2-benefits__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .nbh2-benefits__item {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
    }

    .nbh2-benefits__icon {
        width: 22px;
        height: 22px;
        margin-top: 1px;
    }
}
