/* Global Point Trade - Products */

.products-page,
.product-detail-page {
    background: #fff;
    color: #12324c;
}

.products-page .container,
.product-detail-page .container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.products-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 92px 0 88px;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(3, 31, 52, .97) 0%,
            rgba(3, 35, 58, .93) 34%,
            rgba(3, 35, 58, .74) 50%,
            rgba(3, 35, 58, .36) 68%,
            rgba(3, 35, 58, .10) 100%
        ),
        url('../images/products/products-hero-global-trade.png') center center / cover no-repeat;
    color: #fff;
}

.products-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 29, 49, .08), rgba(4, 29, 49, .24));
}

.products-hero .container {
    position: relative;
    z-index: 1;
}

.products-hero-grid {
    display: block;
}

.products-hero-copy {
    width: min(720px, 56%);
}

.products-eyebrow,
.section-heading > span,
.trade-support-copy > span {
    display: inline-block;
    margin-bottom: 14px;
    color: #ff5a1f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.products-hero .products-eyebrow {
    color: #fff;
}

.products-hero-copy h1 {
    max-width: 800px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(44px,5.2vw,76px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 800;
}

.products-hero-copy h1 span {
    color: #ff5a1f;
}

.products-hero-copy > p {
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 18px;
    line-height: 1.75;
}

.products-hero-actions,
.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn-product-primary,
.btn-product-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.btn-product-primary {
    background: #ff5a1f;
    color: #fff;
    border: 1px solid #ff5a1f;
}

.btn-product-secondary {
    border: 1px solid rgba(255,255,255,.38);
    color: #fff;
    background: rgba(255,255,255,.05);
}

.products-categories,
.product-catalog-section,
.product-detail-info,
.related-products {
    padding: 84px 0;
}

.products-categories,
.related-products {
    background: #f7f9fb;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 14px;
    color: #0b3250;
    font-size: clamp(34px,4vw,48px);
    font-weight: 800;
}

.section-heading p {
    margin: 0;
    color: #607386;
    font-size: 17px;
    line-height: 1.75;
}

.product-category-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}

.product-category-card {
    display: grid;
    grid-template-columns: 58px minmax(0,1fr) 24px;
    gap: 20px;
    align-items: center;
    padding: 26px;
    background: #fff;
    border: 1px solid #e3e9ee;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 14px 40px rgba(10,48,76,.06);
}

.product-category-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff1eb;
    color: #ff5a1f;
    font-size: 25px;
}

.product-category-card h3 {
    margin: 0 0 7px;
    color: #0b3250;
    font-size: 21px;
}

.product-category-card p {
    margin: 0;
    color: #6b7c8c;
    font-size: 14px;
    line-height: 1.65;
}

.category-arrow {
    color: #ff5a1f;
}

.product-group {
    scroll-margin-top: 110px;
    padding: 56px 0 18px;
    border-top: 1px solid #e8edf1;
}

.product-group:first-of-type {
    border-top: 0;
    padding-top: 10px;
}

.product-group-heading {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: end;
    margin-bottom: 26px;
}

.product-group-heading h3 {
    margin: 5px 0 0;
    color: #0b3250;
    font-size: 31px;
}

.product-group-heading p {
    margin: 0;
    color: #67798a;
    line-height: 1.7;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

.product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e8ed;
    border-radius: 8px;
    box-shadow: 0 14px 40px rgba(7,44,70,.06);
}

.product-card-image {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: #e9eef2;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-category {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 11px;
    border-radius: 4px;
    background: rgba(6,43,72,.92);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-card-body {
    padding: 23px;
}

.product-card-body h4 {
    margin: 0 0 10px;
    font-size: 22px;
}

.product-card-body h4 a {
    color: #0b3250;
    text-decoration: none;
}

.product-card-body p {
    min-height: 72px;
    margin: 0;
    color: #67798a;
    font-size: 14px;
    line-height: 1.7;
}

.product-card-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #edf0f3;
}

.product-learn-more,
.product-inquiry-link {
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.product-learn-more {
    color: #0b3250;
}

.product-inquiry-link {
    color: #ff5a1f;
}

.product-trade-support,
.product-detail-cta {
    padding: 42px 0 92px;
}

.trade-support-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 40px;
    align-items: center;
    padding: 42px 46px;
    border-radius: 10px;
    background: linear-gradient(120deg,#082d4b,#0a4267);
    color: #fff;
}

.trade-support-copy h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(30px,4vw,43px);
}

.trade-support-copy p {
    margin: 0;
    color: rgba(255,255,255,.76);
    line-height: 1.7;
}

.product-detail-hero {
    padding: 42px 0 80px;
    background: #f7f9fb;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
    color: #80909f;
    font-size: 13px;
}

.product-breadcrumb a {
    color: #607386;
    text-decoration: none;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 58px;
    align-items: center;
}

.product-detail-image {
    overflow: hidden;
    border-radius: 10px;
}

.product-detail-image img {
    display: block;
    width: 100%;
    min-height: 470px;
    object-fit: cover;
}

.product-detail-copy h1 {
    margin: 0 0 17px;
    color: #0b3250;
    font-size: clamp(43px,5vw,64px);
    line-height: 1;
    font-weight: 800;
}

.product-detail-lead {
    color: #36556d;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
}

.product-detail-copy > p:not(.product-detail-lead) {
    color: #65798a;
    line-height: 1.8;
}

.product-detail-copy .btn-product-secondary {
    color: #0b3250;
    border-color: #b8c6d0;
}

.product-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
}

.detail-info-card {
    padding: 34px;
    border: 1px solid #e3e9ee;
    border-radius: 9px;
}

.detail-info-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #fff1eb;
    color: #ff5a1f;
    font-size: 23px;
}

.detail-info-card h2 {
    margin: 0 0 20px;
    color: #0b3250;
    font-size: 25px;
}

.detail-info-card ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-info-card li {
    display: flex;
    gap: 10px;
    color: #65798a;
    line-height: 1.55;
}

.detail-info-card li i {
    color: #ff5a1f;
}

@media (max-width: 1050px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .products-hero-copy {
        width: min(760px, 66%);
    }

    .product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .products-page .container,
    .product-detail-page .container {
        width: min(100% - 28px,1320px);
    }

    .products-hero {
        padding: 66px 0 62px;
    }

    .products-hero-copy h1 {
        font-size: 46px;
    }

    .products-hero {
        min-height: 620px;
        padding: 72px 0 68px;
        background:
            linear-gradient(90deg,
                rgba(3, 31, 52, .96) 0%,
                rgba(3, 35, 58, .90) 48%,
                rgba(3, 35, 58, .60) 100%
            ),
            url('../images/products/products-hero-global-trade.png') 62% center / cover no-repeat;
    }

    .products-hero-copy {
        width: 100%;
        max-width: 610px;
    }

    .product-category-grid,
    .product-grid,
    .product-detail-info-grid,
    .product-group-heading,
    .trade-support-card {
        grid-template-columns: 1fr;
    }

    .products-categories,
    .product-catalog-section,
    .product-detail-info,
    .related-products {
        padding: 64px 0;
    }

    .trade-support-card {
        padding: 32px 26px;
    }
}


/*
|--------------------------------------------------------------------------
| ADD THESE STYLES TO THE BOTTOM OF:
| public/assets/css/products.css
|--------------------------------------------------------------------------
*/


/* =========================================================
   PRODUCT CATEGORY DETAIL PAGE
   ========================================================= */

.product-category-page {
    background: #ffffff;
    color: #17354d;
}

.product-category-page .container {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}


/* CATEGORY HERO */

.category-detail-hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.category-detail-hero-image,
.category-detail-overlay {
    position: absolute;
    inset: 0;
}

.category-detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-detail-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3,28,48,.96) 0%,
            rgba(4,38,64,.88) 44%,
            rgba(4,38,64,.47) 72%,
            rgba(4,38,64,.20) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.05),
            rgba(0,0,0,.18)
        );
}

.category-detail-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 44px;
    padding-bottom: 52px;
}

.category-breadcrumb {
    margin-bottom: 54px;
    color: rgba(255,255,255,.62);
}

.category-breadcrumb a {
    color: rgba(255,255,255,.82);
}

.category-detail-copy {
    max-width: 760px;
}

.category-detail-copy h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(46px,5.5vw,76px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 800;
}

.category-detail-copy > p {
    max-width: 710px;
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 18px;
    line-height: 1.75;
}

.category-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}


/* CATEGORY OVERVIEW */

.category-overview-section {
    padding: 86px 0;
}

.category-overview-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 70px;
    align-items: start;
}

.category-small-label {
    display: inline-block;
    margin-bottom: 13px;
    color: #ff5a1f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.category-overview-copy h2 {
    margin: 0 0 17px;
    color: #0b3250;
    font-size: clamp(35px,4vw,49px);
    line-height: 1.06;
    letter-spacing: -.035em;
    font-weight: 800;
}

.category-overview-copy p {
    margin: 0 0 17px;
    color: #65798a;
    font-size: 16px;
    line-height: 1.8;
}

.category-overview-panels {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}

.category-info-panel {
    padding: 29px;
    border: 1px solid #e2e8ed;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(7,44,70,.05);
}

.category-info-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #fff1eb;
    color: #ff5a1f;
    font-size: 22px;
}

.category-info-panel h3 {
    margin: 0 0 18px;
    color: #0b3250;
    font-size: 21px;
    font-weight: 800;
}

.category-info-panel ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-info-panel li {
    display: flex;
    gap: 9px;
    color: #65798a;
    font-size: 14px;
    line-height: 1.55;
}

.category-info-panel li i {
    margin-top: 2px;
    color: #ff5a1f;
}


/* CATEGORY PRODUCTS */

.category-products-section {
    padding: 84px 0;
    background: #f6f8fa;
}

.category-product-grid {
    align-items: stretch;
}

.category-product-grid .product-card {
    height: 100%;
}

.category-empty-state {
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e1e7ec;
    border-radius: 9px;
}

.category-empty-state h3 {
    margin-top: 0;
    color: #0b3250;
}

.category-empty-state p {
    color: #667a8a;
}


/* BUYER REQUIREMENTS */

.category-buyer-requirements {
    padding: 74px 0 32px;
}

.category-requirements-card {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 48px;
    align-items: center;
    padding: 38px 42px;
    border-radius: 10px;
    background: #f7f9fb;
    border: 1px solid #e2e8ed;
}

.category-requirements-card > div:first-child > span {
    display: inline-block;
    margin-bottom: 11px;
    color: #ff5a1f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.category-requirements-card h2 {
    margin: 0;
    color: #0b3250;
    font-size: clamp(27px,3vw,38px);
    line-height: 1.12;
    letter-spacing: -.025em;
    font-weight: 800;
}

.category-requirement-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px 22px;
}

.category-requirement-list span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #536b7d;
    font-size: 14px;
    font-weight: 600;
}

.category-requirement-list i {
    color: #ff5a1f;
}

.category-detail-cta {
    padding-top: 44px;
}


/* CATEGORY RESPONSIVE */

@media (max-width: 1050px) {

    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .category-detail-hero {
        min-height: 590px;
    }

    .category-requirements-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {

    .product-category-page .container {
        width: min(100% - 28px,1320px);
    }

    .category-detail-hero {
        min-height: 620px;
    }

    .category-detail-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3,28,48,.94) 0%,
                rgba(4,38,64,.82) 100%
            );
    }

    .category-detail-copy h1 {
        font-size: 45px;
    }

    .category-breadcrumb {
        margin-bottom: 40px;
    }

    .category-overview-section,
    .category-products-section {
        padding: 64px 0;
    }

    .category-overview-panels {
        grid-template-columns: 1fr;
    }

    .category-requirements-card {
        padding: 30px 24px;
    }

    .category-requirement-list {
        grid-template-columns: 1fr;
    }
}
