/**
 * Braintree premium product landing — shared overrides on top of the
 * oprc_product_landing.css primitives (PayPal, Google Pay, etc.).
 *
 * Loaded for Braintree payment product pages (e.g. IDs 1959, 1960, 1961).
 */

@import url('https://fonts.googleapis.com/css2?family=Covered+By+Your+Grace&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ---------------------------------------------------------------------------
 * Hero — shared layout
 * ------------------------------------------------------------------------ */
.braintree-product-hero-section.oprc-product-hero-section {
    min-height: unset;
    padding: 60px 160px;
}
.braintree-paypal-product-hero-section.oprc-product-hero-section {
    background-image: url(../../images/braintree_payment/braintree-paypal-hero-bg.png);
}
.braintree-googlepay-product-hero-section.oprc-product-hero-section {
    background-image: url(../../images/braintree_payment/braintree-paypal-hero-bg.png);
}
.braintree-applepay-product-hero-section.oprc-product-hero-section {
    background-image: url(../../images/braintree_payment/braintree-paypal-hero-bg.png);
}
.braintree-product-hero-section.oprc-product-hero-section .oprc-product-hero {
    grid-template-columns: 4fr 3fr;
    gap: 74px;
}
.braintree-product-hero-section .oprc-product-hero-text h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-transform: none;
    max-width: unset;
    margin-bottom: 32px;
}
.braintree-product-hero-section .braintree-hero-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.braintree-product-hero-section .braintree-hero-badge {
    display: inline-block;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 8px;
    border-radius: 6px;
    line-height: 1.2;
    background: linear-gradient(90deg, #49C6FF 0%, #064EA1 100%);
}
.braintree-product-hero-section .braintree-hero-tagline {
    color: #189BEA;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 24px;
}
.braintree-product-hero-section .braintree-hero-title-main {
    position: relative;
    display: inline-block;
    color: #171717;
}
.braintree-product-hero-section .braintree-hero-accent {
    position: relative;
    display: inline-block;
    width: 0;
    height: 1em;
    vertical-align: baseline;
}
.braintree-product-hero-section .braintree-hero-accent img {
    display: block;
    width: 36px;
    height: 34px;
    max-width: unset;
    max-height: unset;
    position: absolute;
    right: 0;
    bottom: 100%;
    transform: translate(25px, 32px);
    pointer-events: none;
}
.braintree-product-hero-section .braintree-hero-title-script {
    display: block;
    font-family: 'Covered By Your Grace', cursive;
    font-weight: 400;
    line-height: 130%;
    color: #064EA1;
    letter-spacing: 0;
}
.braintree-product-hero-section .oprc-product-hero-text p {
    color: rgba(23, 23, 23, 1);
    font-weight: 400;
}
.braintree-product-hero-section .braintree-hero-zencart {
    position: relative;
    display: inline-block;
}
.braintree-product-hero-section .braintree-hero-zencart::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 21px;
    background: url(../../images/tm_product_page/icon-underline.svg) no-repeat left bottom;
    background-size: 100% auto;
    pointer-events: none;
}
.braintree-product-hero-section .oprc-product-hero-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

#description .tab-content-details ul {
    column-count: unset;
}

#description .tab-content-details ul li ul {
    padding-left: 16px;
}

#description .tab-content-details li.no-grid {
    display: unset;
}

#description .tab-content-details li.no-grid::before {
    display: none;
}

#description .tab-content-details li.no-grid > span {
    display: grid;
    grid-template-columns: auto 1fr;
}

#description .tab-content-details li.no-grid > span::before {
    content: '';
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: rgba(6, 143, 206, 1);
    margin-right: 14px;
    position: relative;
    top: 10px;
}

.tooltip {
    position: absolute;
    right: 10px;
}

@media (max-width: 768px) {
    .braintree-product-hero-section .oprc-product-hero-image {
        padding-inline: 23px 30px;
    }
}

/* ---------------------------------------------------------------------------
 * Hero — responsive
 * ------------------------------------------------------------------------ */
@media (min-width: 1440px) and (max-width: 1920px) {
    .braintree-product-hero-section .oprc-product-hero-text h1,
    .braintree-product-hero-section .braintree-hero-title-script {
        font-size: min(64px, calc(32px + (100vw - 1440px) * 32 / 360));
    }
    .braintree-product-hero-section .braintree-hero-title-main,
    .braintree-product-hero-section .braintree-hero-title-script {
        white-space: nowrap;
    }
    .braintree-product-hero-section .braintree-hero-accent img {
        width: 0.5625em;
        height: auto;
        transform: translate(1.15vw, 1.25vw);
    }
}
@media (max-width: 1439px) {
    .braintree-product-hero-section .oprc-product-hero-text h1,
    .braintree-product-hero-section .braintree-hero-title-script {
        font-size: 44px;
        line-height: 54px;
    }
}
@media (max-width: 1280px) {
    .braintree-product-hero-section .oprc-product-hero-text h1,
    .braintree-product-hero-section .braintree-hero-title-script {
        font-size: 32px;
        line-height: 45px;
    }
    .braintree-product-hero-section .braintree-hero-accent img {
        width: 15px;
        height: 13px;
        transform: translate(10px, 14px);
    }
}
@media (max-width: 1023px) {
    .braintree-product-hero-section.oprc-product-hero-section {
        padding: 60px 30px;
    }
}
@media (max-width: 991px) {
    .braintree-product-hero-section.oprc-product-hero-section .oprc-product-hero {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
}
@media (max-width: 768px) {
    .braintree-product-hero-section.oprc-product-hero-section .oprc-product-hero {
        gap: 40px;
    }
    .braintree-paypal-product-hero-section.oprc-product-hero-section,
    .braintree-googlepay-product-hero-section.oprc-product-hero-section,
    .braintree-applepay-product-hero-section.oprc-product-hero-section {
        background-image: url(../../images/braintree_payment/braintree-paypal-hero-bg-mobile.png);
        padding: 40px 15px;
    }
    .braintree-product-hero-section .oprc-product-hero-text h1 {
        align-items: center;
        font-size: 30px;
        line-height: 108%;
        margin-bottom: 25px;
    }
    .braintree-product-hero-section .oprc-product-hero-text p {
        margin-bottom: 40px;
    }
    .braintree-product-hero-section .braintree-hero-title-script {
        font-size: 30px;
        line-height: 108%;
    }
    .braintree-product-hero-section .braintree-hero-eyebrow {
        justify-content: center;
        margin-bottom: 16px;
    }
    .braintree-product-hero-section .braintree-hero-badge {
        font-size: 10px;
    }
    .braintree-product-hero-section .braintree-hero-tagline {
        font-size: 10px;
    }
}

/* Breadcrumb — single line */
#navBreadCrumb.breadcrumb .nmx-wrap-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}
#navBreadCrumb.breadcrumb a,
#navBreadCrumb.breadcrumb .no-link,
#navBreadCrumb.breadcrumb .separator {
    float: none;
    flex-shrink: 0;
    white-space: nowrap;
}
#navBreadCrumb.breadcrumb .separator {
    height: 20px;
}
#navBreadCrumb.breadcrumb a {
    display: inline-flex;
    align-items: center;
    max-width: none;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#navBreadCrumb.breadcrumb a ~ a:last-of-type {
    display: inline-flex;
}
#navBreadCrumb.breadcrumb .no-link {
    margin-bottom: 0;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 768px) {
    #navBreadCrumb.breadcrumb a {
        white-space: nowrap;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ---------------------------------------------------------------------------
 * How To Install — 4-step numbered grid (PayPal page)
 *
 * Keep `.wide` full-bleed centering (position + translateX). Do NOT force
 * position:static — that breaks `.wide` and shifts the section left.
 * ------------------------------------------------------------------------ */
.howto-install-section.braintree-howto-install-section {
    text-align: center;
    z-index: 1;
    background: #FFFFFF !important;
    padding-top: 80px;
    padding-bottom: 80px;
    margin: 0;
    overflow-x: clip;
}
.howto-install-section.braintree-howto-install-section::after,
.howto-install-section.braintree-howto-install-section::before {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    width: 0 !important;
    height: 0 !important;
}
.braintree-howto-install-section .nmx-wrap-container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
}
.braintree-howto-install-section .oprc-product-title {
    margin-bottom: 60px;
    text-align: center;
}
.braintree-howto-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    text-align: left;
    width: 100%;
    max-width: 100%;
}
.braintree-howto-step {
    min-width: 0;
}
.braintree-howto-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(256.76deg, #49C6FF -6.54%, #064EA2 134.17%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 20px;
}
.braintree-howto-step h3 {
    margin: 0 0 20px;
    color: #171717;
    font-size: 25px;
    font-weight: 500;
    line-height: 32px;
    text-transform: none;
}
.braintree-howto-step p {
    color: rgba(23, 23, 23, 0.85);
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    margin: 0;
}

/* ---------------------------------------------------------------------------
 * Merchant stats strip (PayPal page)
 * ------------------------------------------------------------------------ */
.braintree-stats-section.achievement-section {
    padding-top: 0;
    padding-bottom: 80px;
    overflow-x: clip;
}
.braintree-stats-section .nmx-wrap-container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
}
.braintree-stats-section .achievements {
    width: 100%;
    max-width: 100%;
}
.braintree-stats-section .achievement h3 .braintree-stat-star {
    display: inline-block;
    margin-right: 4px;
    font-size: 1em;
    line-height: 0.5;
    vertical-align: middle;
    position: relative;
    top: -10px;
}

@media (max-width: 1280px) {
    .braintree-howto-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1023px) {
    .howto-install-section.braintree-howto-install-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}
@media (max-width: 991px) {
    .braintree-howto-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .braintree-stats-section.achievement-section {
        padding-bottom: 56px;
    }
    .braintree-howto-step h3 {
        font-size: 20px;
        line-height: 24px;
    }
    .braintree-howto-step p {
        font-size: 15px;
        line-height: 22px;
    }
}

.oprc-product-section.wide .oprc-product-title,
.oprc-product-section.wide .oprc-product-desc {
    max-width: 854px;
    margin-inline: auto;
}


#contentMainWrapper {
    padding-bottom: 80px;
}

#contentMainWrapper .product {
    margin-top: 80px;
}

.services-tabs {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .services-tabs {
        margin-top: 0 !important;
        margin-bottom: 40px;
    }
    #contentMainWrapper {
        padding-bottom: 40px;
    }
    #contentMainWrapper .product {
        margin-top: 0;
        padding-bottom: 0;
    }
    .product-get-info {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .footer-main .nmx-wrap-container {
        padding-top: 40px;
    }
}