
/*
 * LOGICPROHUB PRODUCT PAGE
 */


/* ---------- PAGE ---------- */

body {
    background: #ffffff;
    color: #111827;
}


/* ---------- HEADER ---------- */

.site-header,
header.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 20;
}

.site-header .container,
.site-header .header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: 68px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header .brand {
    color: #111827;
    text-decoration: none;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-header nav a {
    color: #344054;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.site-header nav a:hover {
    color: #111827;
}


/* ---------- BREADCRUMBS ---------- */

.product-breadcrumbs,
.market-breadcrumbs.product-breadcrumbs {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    padding: 18px 0 6px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    color: #667085;
    font-size: 12px;
}

.product-breadcrumbs a {
    color: #475467;
    text-decoration: none;
}

.product-breadcrumbs a:hover {
    color: #111827;
    text-decoration: underline;
}

.product-breadcrumbs span:last-child {
    max-width: 520px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    color: #667085;
}


/* ---------- MAIN PRODUCT LAYOUT ---------- */

.product-page,
.product-main,
.product-shell,
.product-layout,
.product-hero {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/*
 * Covers the common two-column product containers
 * currently used by the product template.
 */

.product-grid,
.product-layout,
.product-hero-inner,
.product-main-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(360px, 0.92fr);

    align-items: center;

    gap: clamp(
        40px,
        6vw,
        86px
    );

    padding-top: 40px;
    padding-bottom: 64px;
}


/* ---------- PRODUCT IMAGE ---------- */

.product-image,
.product-image-wrap,
.product-media,
.product-gallery,
.product-visual {
    min-width: 0;
}

.product-image-wrap,
.product-media,
.product-gallery,
.product-visual {
    min-height: 560px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f8fafc;

    border: 1px solid #eaecf0;
    border-radius: 24px;

    padding: 38px;

    overflow: hidden;
}

.product-image img,
.product-image-wrap img,
.product-media img,
.product-gallery img,
.product-visual img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 600px;
    max-height: 530px;

    object-fit: contain;
}


/* ---------- DETAILS ---------- */

.product-details,
.product-info,
.product-copy,
.product-summary {
    min-width: 0;
}

.product-details,
.product-info,
.product-summary {
    padding: 10px 0;
}

.product-kicker,
.eyebrow,
.marketplace-pick {
    margin-bottom: 14px;

    color: #4f46e5;

    font-size: 12px;
    line-height: 1;

    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ---------- PRODUCT TITLE ---------- */

.product-details h1,
.product-info h1,
.product-summary h1,
.product-copy h1,
main h1 {
    max-width: 680px;

    margin-top: 0;
    margin-bottom: 18px;

    color: #101828;

    font-size: clamp(
        38px,
        4vw,
        58px
    );

    line-height: 0.98;

    letter-spacing: -0.045em;
    font-weight: 800;
}


/* ---------- SELECTION NOTE ---------- */

.rating-row,
.product-rating,
.selection-signal {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 8px 0 20px;

    color: #667085;

    font-size: 13px;
}

.rating-row::before,
.product-rating::before,
.selection-signal::before {
    content: "✓";

    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 20px;

    border-radius: 50%;

    background: #ecfdf3;
    color: #067647;

    font-weight: 900;
}


/* ---------- PRICE ---------- */

.product-price,
.price,
.product-price-row {
    margin: 22px 0;
}

.product-price .currency,
.price .currency {
    display: block;

    margin-bottom: 3px;

    color: #344054;

    font-size: 12px;
    font-weight: 800;
}

.product-price,
.price-value {
    color: #101828;

    font-size: 38px;
    line-height: 1;

    font-weight: 850;
    letter-spacing: -0.035em;
}


/* ---------- DESCRIPTION ---------- */

.product-description,
.product-copy p {
    color: #475467;

    font-size: 16px;
    line-height: 1.7;

    margin-top: 20px;
    margin-bottom: 24px;
}


/* ---------- PRODUCT BENEFITS ---------- */

.product-points,
.product-benefits,
.product-features-list {
    margin: 26px 0;

    display: grid;
    gap: 10px;

    color: #344054;

    font-size: 14px;
}

.product-points li,
.product-benefits li,
.product-features-list li {
    line-height: 1.5;
}


/* ---------- MAIN CTA ---------- */

.buy-button {
    width: 100%;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 28px;

    padding: 16px 24px;

    border: 0;
    border-radius: 12px;

    background: #101828;
    color: #ffffff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 800;

    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease;
}

.buy-button:hover {
    background: #1d2939;

    transform:
        translateY(-1px);

    box-shadow:
        0 12px 24px
        rgba(16, 24, 40, 0.14);
}

.buy-button:active {
    transform:
        translateY(0);
}


/* ---------- SMALL AFFILIATE LABEL ---------- */

.payment-note {
    display: none !important;
}

.affiliate-label {
    margin-top: 9px;

    text-align: center;

    color: #98a2b3;

    font-size: 10px;
    line-height: 1.4;
    font-weight: 600;
}


/* ---------- INFORMATION STRIP ---------- */

.product-info-strip,
.product-trust-section,
.product-benefit-section {
    margin-top: 16px;

    background: #f8fafc;

    border-top: 1px solid #eaecf0;
    border-bottom: 1px solid #eaecf0;
}

.product-info-grid,
.product-trust-grid,
.product-benefits-grid {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 42px 0;

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.product-info-grid > *,
.product-trust-grid > *,
.product-benefits-grid > * {
    background: #ffffff;

    border: 1px solid #e4e7ec;
    border-radius: 16px;

    padding: 24px;

    min-height: 145px;
}

.product-info-grid h2,
.product-info-grid h3,
.product-trust-grid h2,
.product-trust-grid h3,
.product-benefits-grid h2,
.product-benefits-grid h3 {
    margin: 0 0 10px;

    color: #101828;

    font-size: 16px;
    font-weight: 800;
}

.product-info-grid p,
.product-trust-grid p,
.product-benefits-grid p {
    margin: 0;

    color: #667085;

    font-size: 14px;
    line-height: 1.65;
}


/* ---------- PRODUCT PAGE FOOTER ---------- */

footer {
    margin-top: 0;

    border-top: 1px solid #eaecf0;
}


/* ---------- TABLET ---------- */

@media (max-width: 900px) {

    .product-grid,
    .product-layout,
    .product-hero-inner,
    .product-main-grid {
        grid-template-columns: 1fr;

        gap: 32px;

        padding-top: 26px;
    }

    .product-image-wrap,
    .product-media,
    .product-gallery,
    .product-visual {
        min-height: 430px;
    }

    .product-details h1,
    .product-info h1,
    .product-summary h1,
    .product-copy h1,
    main h1 {
        font-size: 42px;
    }

    .product-info-grid,
    .product-trust-grid,
    .product-benefits-grid {
        grid-template-columns: 1fr;
    }
}


/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

    .site-header .container,
    .site-header .header-inner,
    .product-page,
    .product-main,
    .product-shell,
    .product-layout,
    .product-hero,
    .product-breadcrumbs,
    .market-breadcrumbs.product-breadcrumbs {
        width:
            calc(
                100% - 28px
            );
    }

    .site-header .header-inner {
        min-height: 60px;
    }

    .product-breadcrumbs {
        padding-top: 12px;
    }

    .product-breadcrumbs span:last-child {
        max-width: 190px;
    }

    .product-grid,
    .product-layout,
    .product-hero-inner,
    .product-main-grid {
        padding-top: 18px;
        padding-bottom: 40px;
    }

    .product-image-wrap,
    .product-media,
    .product-gallery,
    .product-visual {
        min-height: 330px;

        padding: 20px;

        border-radius: 18px;
    }

    .product-details h1,
    .product-info h1,
    .product-summary h1,
    .product-copy h1,
    main h1 {
        font-size: 35px;
        line-height: 1.02;
    }

    .buy-button {
        min-height: 54px;
    }

    .product-info-grid,
    .product-trust-grid,
    .product-benefits-grid {
        width:
            calc(
                100% - 28px
            );

        padding: 28px 0;
    }
}


/*
 * PRODUCT PAGE HEADER FIX
 */

.product-header,
.site-header {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;
}


.product-header-inner,
.product-header .container,
.site-header .container,
.site-header .header-inner {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    min-height: 68px;

    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


/*
 * BRAND
 */

.product-header .brand,
.product-header .site-brand,
.product-header .logo,
.site-header .brand {
    display: inline-flex;
    align-items: center;

    margin: 0;

    color: #101828 !important;

    text-decoration: none !important;

    font-size: 21px;
    line-height: 1;

    font-weight: 850;

    letter-spacing: -0.04em;
}


.product-header .brand span,
.product-header .site-brand span,
.site-header .brand span {
    margin-left: 4px;

    font-weight: 500;
}


/*
 * PRODUCT HEADER NAVIGATION
 */

.product-header nav,
.product-header .nav,
.product-header .header-nav,
.site-header nav {
    display: flex;
    align-items: center;

    gap: 25px;

    margin: 0;
}


.product-header nav a,
.product-header .nav a,
.product-header .header-nav a,
.site-header nav a {
    color: #344054 !important;

    text-decoration: none !important;

    font-size: 13px;
    line-height: 1;

    font-weight: 750;
}


.product-header nav a:hover,
.product-header .nav a:hover,
.product-header .header-nav a:hover,
.site-header nav a:hover {
    color: #101828 !important;
}


/*
 * REMOVE OLD STACKED/LOOSE HEADER BEHAVIOUR
 */

.product-header br,
.site-header br {
    display: none;
}


/*
 * BREADCRUMBS BELONG BELOW HEADER
 */

.product-breadcrumbs,
.market-breadcrumbs.product-breadcrumbs {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin:
        0
        auto;

    padding:
        15px
        0
        0;

    position: relative;

    top: auto;
    left: auto;

    clear: both;
}


/*
 * MOBILE HEADER
 */

@media (max-width: 700px) {

    .product-header-inner,
    .product-header .container,
    .site-header .container,
    .site-header .header-inner {
        width:
            calc(
                100% - 28px
            );

        min-height: 60px;
    }


    .product-header .brand,
    .product-header .site-brand,
    .site-header .brand {
        font-size: 18px;
    }


    .product-header nav,
    .product-header .nav,
    .product-header .header-nav,
    .site-header nav {
        gap: 15px;
    }


    .product-header nav a,
    .product-header .nav a,
    .product-header .header-nav a,
    .site-header nav a {
        font-size: 12px;
    }


    .product-breadcrumbs,
    .market-breadcrumbs.product-breadcrumbs {
        width:
            calc(
                100% - 28px
            );
    }
}


/*
 * ACTUAL PRODUCT HEADER MARKUP
 */

.shop-header {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;
}


.shop-header-inner {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    min-height: 68px;

    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


.shop-brand {
    display: inline-flex;
    align-items: center;

    margin: 0;
    padding: 0;

    color: #101828 !important;

    text-decoration: none !important;

    font-size: 21px;
    line-height: 1;

    font-weight: 850;
    letter-spacing: -0.04em;

    white-space: nowrap;
}


.shop-nav {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    gap: 26px;

    white-space: nowrap;
}


.shop-nav a {
    margin: 0;
    padding: 8px 0;

    color: #344054 !important;

    text-decoration: none !important;

    font-size: 13px;
    line-height: 1;

    font-weight: 750;
}


.shop-nav a:hover {
    color: #101828 !important;
}


/*
 * Breadcrumb now sits BELOW the shop header
 */

.market-breadcrumbs.product-breadcrumbs {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: 0 auto;

    padding:
        15px
        0
        0;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    position: static;
}


@media (max-width: 700px) {

    .shop-header-inner {
        width:
            calc(
                100% - 28px
            );

        min-height: 60px;
    }


    .shop-brand {
        font-size: 18px;
    }


    .shop-nav {
        gap: 14px;
    }


    .shop-nav a {
        font-size: 12px;
    }


    .market-breadcrumbs.product-breadcrumbs {
        width:
            calc(
                100% - 28px
            );

        padding-top: 12px;
    }
}
