/* ==========================================================================
   JohnBean Quotation & Enquiry Styling
   ========================================================================== */

:root {
    --jb-red: #f10d18;
    --jb-red-dark: #c90b14;
    --jb-black: #0d1115;
    --jb-charcoal: #12181e;
    --jb-header-dark: #10161b;
    --jb-card-dark: #171d22;
    --jb-border-dark: #303840;
    --jb-border-light: #dfe3e7;
    --jb-text: #111820;
    --jb-text-secondary: #5d6670;
    --jb-dark-text: #ffffff;
    --jb-dark-secondary: #c1c7cd;
    --jb-light-grey: #f5f6f7;
    --jb-soft-red: #fff0f1;
}

/* Base Container Width Constraint */
.jb-container {
    max-width: 1220px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.jb-btn-primary,
button.jb-btn-primary,
a.jb-btn-primary,
input[type="button"].jb-btn-primary,
input[type="submit"].jb-btn-primary {
    background-color: var(--jb-red) !important;
    color: #ffffff !important;
    border: 2px solid var(--jb-red) !important;
    height: 48px;
    min-height: 48px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    box-shadow: none;
    line-height: normal;
}

.jb-btn-primary:hover,
.jb-btn-primary:focus {
    background-color: var(--jb-red-dark) !important;
    border-color: var(--jb-red-dark) !important;
    color: #ffffff !important;
}

.jb-btn-secondary,
button.jb-btn-secondary,
a.jb-btn-secondary,
input[type="button"].jb-btn-secondary,
input[type="submit"].jb-btn-secondary {
    background-color: #151b20 !important;
    color: #ffffff !important;
    border: 2px solid var(--jb-red) !important;
    height: 48px;
    min-height: 48px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    box-shadow: none;
    line-height: normal;
}

.jb-btn-secondary:hover,
.jb-btn-secondary:focus {
    background-color: #202830 !important;
    border-color: var(--jb-red-dark) !important;
    color: #ffffff !important;
}

.jb-btn-outline {
    background-color: transparent !important;
    color: var(--jb-text) !important;
    border: 1px solid #cbd2d8 !important;
    height: 48px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.jb-btn-outline:hover {
    background-color: #f1f4f7 !important;
    border-color: #a0abb6 !important;
    color: var(--jb-text) !important;
}

.jb-btn-dark {
    background-color: #151b20 !important;
    color: #ffffff !important;
    border: 1px solid #303840 !important;
    height: 48px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.jb-btn-dark:hover {
    background-color: #242c34 !important;
    color: #ffffff !important;
    border-color: #454f59 !important;
}

.jb-btn-large {
    height: 52px !important;
    min-height: 52px !important;
    font-size: 17px !important;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.jb-quotation-badge {
    background-color: var(--jb-soft-red);
    color: var(--jb-red);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.2px;
    line-height: normal;
}

.jb-popular-badge {
    background-color: #fff4e6;
    color: #d96b00;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.2px;
    line-height: normal;
}

/* ==========================================================================
   Category Page (Screen 1)
   ========================================================================== */

/* 1. Page Background: Entire page background below header is pure white edge-to-edge */
.html-category-page,
.html-category-page body {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.html-category-page .master-wrapper-page {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.html-category-page section {
    background-color: #ffffff !important;
    background: #ffffff !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.html-category-page .master-wrapper-content.container,
.html-category-page .master-wrapper-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.html-category-page .master-column-wrapper,
.html-category-page .center-1 {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.html-category-page .jb-category-wrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* 2. Dark Hero Section: 100% Full-Width Edge-to-Edge Banner */
.jb-category-hero {
    background-color: #151b1f !important;
    background: #151b1f !important;
    color: #ffffff !important;
    padding: 24px 0 36px 0 !important;
    width: 100% !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* 3. Inner Content Width (85%): Exact alignment for Hero and Catalog Content */
@media (min-width: 1001px) {
    .html-category-page .jb-category-hero .container,
    .html-category-page .jb-category-hero .jb-container,
    .html-category-page .jb-category-hero__inner,
    .html-category-page .jb-catalog-content .container,
    .html-category-page .jb-catalog-content .jb-container {
        max-width: 85% !important;
        width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 1000px) {
    .html-category-page .jb-category-hero .container,
    .html-category-page .jb-category-hero .jb-container,
    .html-category-page .jb-category-hero__inner,
    .html-category-page .jb-catalog-content .container,
    .html-category-page .jb-catalog-content .jb-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}

.jb-category-hero .jb-breadcrumb {
    margin-bottom: 24px !important;
    font-size: 13px !important;
    color: #c3c8cd !important;
    line-height: 1.4 !important;
}

.jb-category-hero .jb-breadcrumb a {
    color: var(--jb-red, #ff0912) !important;
    text-decoration: none !important;
}

.jb-category-hero .jb-breadcrumb a:hover {
    text-decoration: underline !important;
}

.jb-category-hero .jb-breadcrumb .delimiter {
    margin: 0 8px !important;
    color: #67727e !important;
}

.jb-category-hero .jb-breadcrumb .current-item {
    color: #d0d5da !important;
    font-weight: normal !important;
}

.jb-category-hero h1,
.jb-category-hero .jb-category-title {
    font-size: 38px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    margin: 0 0 10px 0 !important;
}

@media (max-width: 991px) {
    .jb-category-hero h1,
    .jb-category-hero .jb-category-title {
        font-size: 34px !important;
    }
}

@media (max-width: 576px) {
    .jb-category-hero h1,
    .jb-category-hero .jb-category-title {
        font-size: 30px !important;
    }
}

.jb-category-hero__description,
.jb-category-hero .jb-category-description {
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #d0d5da !important;
    max-width: 950px !important;
    margin-bottom: 0 !important;
    text-align: left !important;
}

@media (max-width: 576px) {
    .jb-category-hero__description,
    .jb-category-hero .jb-category-description {
        font-size: 15px !important;
    }
}

.jb-category-hero__description p,
.jb-category-hero .jb-category-description p {
    margin: 0 0 10px 0;
    line-height: 1.5;
    color: #d0d5da;
}

.jb-category-hero__description p:last-child,
.jb-category-hero .jb-category-description p:last-child {
    margin-bottom: 0;
}

.jb-category-hero__description a,
.jb-category-hero .jb-category-description a {
    color: var(--jb-red, #ff0912) !important;
    text-decoration: underline !important;
    font-weight: 600;
}

.jb-category-hero__description a:hover,
.jb-category-hero .jb-category-description a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.jb-category-hero__description strong,
.jb-category-hero__description b,
.jb-category-hero .jb-category-description strong,
.jb-category-hero .jb-category-description b {
    color: #ffffff !important;
    font-weight: 700;
}

.jb-quotation-notice-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--jb-border-dark);
    border-left: 6px solid var(--jb-red);
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    line-height: 1.4;
}

.jb-quotation-notice-card .notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--jb-red);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 14px;
    flex-shrink: 0;
}

.jb-quotation-notice-card .notice-primary {
    font-weight: 700;
    color: var(--jb-red);
}

.jb-quotation-notice-card .notice-secondary {
    color: #c8cdd2;
}

.jb-quotation-notice-card .notice-divider {
    margin: 0 10px;
    color: #5d6670;
}

/* White Product Listing Section */
.jb-catalog-content {
    background-color: #ffffff !important;
    background: #ffffff !important;
    width: 100% !important;
    padding: 0 0 50px 0 !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   Parent Category - White Subcategories Section & Cards
   ========================================================================== */

.jb-subcategories {
    background-color: #ffffff;
    padding: 32px 0 24px 0;
    width: 100%;
    box-sizing: border-box;
}

.jb-subcategories__header {
    margin-bottom: 24px;
}

.jb-subcategories__heading {
    font-size: 28px;
    font-weight: 700;
    color: #171b20;
    line-height: 1.2;
    margin: 0 0 6px 0;
}

@media (max-width: 768px) {
    .jb-subcategories__heading {
        font-size: 24px;
    }
}

.jb-subcategories__subtitle {
    font-size: 16px;
    color: #67727e;
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .jb-subcategories__subtitle {
        font-size: 15px;
    }
}

/* 3-Column Responsive Grid with Equal Height Cards */
.jb-subcategories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .jb-subcategories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .jb-subcategories__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Subcategory Card */
.jb-subcategory-card-wrap {
    display: flex;
    height: 100%;
}

.jb-subcategory-card {
    background: #ffffff;
    border: 1px solid #dee4ea;
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    box-sizing: border-box;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 991px) {
    .jb-subcategory-card {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .jb-subcategory-card {
        padding: 18px;
    }
}

.jb-subcategory-card:hover {
    border-color: #c2ccd6;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none !important;
    color: inherit;
}

/* Card Image Area */
.jb-subcategory-card__image-wrap {
    height: 240px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    background: transparent;
}

@media (max-width: 991px) {
    .jb-subcategory-card__image-wrap {
        height: 210px;
    }
}

@media (max-width: 600px) {
    .jb-subcategory-card__image-wrap {
        height: 200px;
    }
}

.jb-subcategory-card__image {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease;
}

/* Do not enlarge the product image significantly on hover */
.jb-subcategory-card:hover .jb-subcategory-card__image {
    transform: scale(1.015);
}

/* Card Body */
.jb-subcategory-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.jb-subcategory-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #171b20;
    line-height: 1.25;
    margin: 0 0 10px 0;
    transition: color 0.2s ease;
}

.jb-subcategory-card:hover .jb-subcategory-card__title {
    color: var(--jb-red, #ff0912);
}

.jb-subcategory-card__description {
    font-size: 15px;
    line-height: 1.45;
    color: #67727e;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* View Category Button */
.jb-subcategory-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    min-height: 46px;
    padding: 0 24px;
    background-color: var(--jb-red, #ff0912);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    width: fit-content;
    align-self: flex-start;
    margin-top: auto;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.jb-subcategory-card__button i {
    font-size: 14px;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.jb-subcategory-card:hover .jb-subcategory-card__button {
    background-color: #d80008;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 9, 18, 0.25);
}

.jb-subcategory-card:hover .jb-subcategory-card__button i {
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .jb-subcategory-card__button {
        width: 100%;
        align-self: stretch;
    }
}

/* Pale-Blue Information Notice */
.jb-subcategories__notice {
    background-color: #ebf3f8;
    border: 1px solid #d2e4f0;
    border-radius: 6px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 24px;
}

.jb-subcategories__notice i {
    font-size: 18px;
    color: #1f567a;
    flex-shrink: 0;
}

.jb-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 20px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--jb-border-light);
}

.jb-product-count {
    font-size: 17px;
    font-weight: 600;
    color: var(--jb-text);
}

.jb-catalog-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.jb-sort-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--jb-text-secondary);
}

.jb-sort-box select {
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--jb-border-light);
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    color: var(--jb-text);
    min-width: 140px;
}

.jb-view-modes {
    display: flex;
    gap: 6px;
}

.jb-view-mode-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--jb-border-light);
    border-radius: 4px;
    color: #58616b !important;
    text-decoration: none;
    transition: all 0.2s;
    background: #ffffff;
}

.jb-view-mode-btn i {
    color: #58616b !important;
    font-size: 15px;
}

.jb-view-mode-btn:hover {
    border-color: var(--jb-red) !important;
}

.jb-view-mode-btn:hover i {
    color: var(--jb-red) !important;
}

.jb-view-mode-btn.active,
.jb-view-mode-btn.active:hover,
.jb-view-mode-btn.active:focus {
    background: var(--jb-red) !important;
    border-color: var(--jb-red) !important;
    color: #ffffff !important;
}

.jb-view-mode-btn.active i,
.jb-view-mode-btn.active:hover i,
.jb-view-mode-btn.active:focus i {
    color: #ffffff !important;
}

/* Product Card Component */
.jb-product-card {
    background: #ffffff;
    border: 1px solid var(--jb-border-light);
    border-radius: 5px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    margin-bottom: 24px;
}

.jb-product-card:hover {
    border-color: #cbd2d8;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.jb-product-card .card-top-badge {
    margin-bottom: 12px;
    display: flex;
    justify-content: flex-start;
}

.jb-product-card .card-picture-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}

.jb-product-card .card-picture-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.jb-product-card:hover .card-picture-container img {
    transform: scale(1.02);
}

.jb-product-card .card-title,
.jb-product-card h2.product-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--jb-text) !important;
    line-height: 1.25 !important;
    margin: 0 0 10px 0 !important;
    min-height: 44px;
}

.jb-product-card .card-title a,
.jb-product-card h2.product-title a {
    color: var(--jb-text) !important;
    text-decoration: none !important;
}

.jb-product-card .card-title a:hover,
.jb-product-card h2.product-title a:hover {
    color: var(--jb-red) !important;
    text-decoration: none !important;
}

.jb-product-card .card-description {
    font-size: 14px;
    line-height: 1.45;
    color: #58616b;
    margin-bottom: 18px;
    flex-grow: 1;
}

.jb-product-card .card-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-top: auto !important;
    width: 100% !important;
}

.jb-product-card .card-actions .jb-btn-primary,
.jb-product-card .card-actions .jb-btn-secondary {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 0 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    border-radius: 4px !important;
}

.jb-product-card .card-actions .jb-btn-primary i,
.jb-product-card .card-actions .jb-btn-secondary i {
    font-size: 13px !important;
    flex-shrink: 0 !important;
}

@media (max-width: 1200px) and (min-width: 768px) {
    .jb-product-card .card-actions {
        gap: 6px !important;
    }
    .jb-product-card .card-actions .jb-btn-primary,
    .jb-product-card .card-actions .jb-btn-secondary {
        font-size: 12px !important;
        padding: 0 4px !important;
        gap: 4px !important;
    }
    .jb-product-card .card-actions .jb-btn-primary i,
    .jb-product-card .card-actions .jb-btn-secondary i {
        font-size: 11px !important;
    }
}

@media (max-width: 400px) {
    .jb-product-card .card-actions {
        gap: 4px !important;
    }
    .jb-product-card .card-actions .jb-btn-primary,
    .jb-product-card .card-actions .jb-btn-secondary {
        font-size: 11px !important;
        padding: 0 4px !important;
        gap: 3px !important;
    }
    .jb-product-card .card-actions .jb-btn-primary i,
    .jb-product-card .card-actions .jb-btn-secondary i {
        font-size: 10px !important;
    }
}

/* Suppress all nopCommerce prices in product boxes */
.jb-product-card .prices,
.jb-product-card .product-price,
.jb-product-card .add-info .prices {
    display: none !important;
}

/* ==========================================================================
   Product Detail Page (Screen 2)
   ========================================================================== */
.html-product-details-page .side-2 {
    display: none !important;
}

.html-product-details-page section {
    background-color: transparent !important;
    background: transparent !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.html-product-details-page section > div,
.html-product-details-page .master-wrapper-content.container,
.html-product-details-page .master-wrapper-content,
.html-product-details-page .master-column-wrapper,
.html-product-details-page .center-1,
.html-product-details-page .center-2,
.html-product-details-page .page,
.html-product-details-page .page-body,
.html-product-details-page .jb-product-details-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent !important;
    background: transparent !important;
}

/* White Hero Section: 100% Full-Width Edge-to-Edge */
.jb-product-details-hero {
    background-color: #ffffff !important;
    background: #ffffff !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 0 50px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* White Hero Inner Content: Centered at 85% */
@media (min-width: 1001px) {
    .jb-product-details-hero > .container,
    .jb-product-details-hero > .jb-container,
    .jb-product-details-hero .jb-container {
        max-width: 85% !important;
        width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 1000px) {
    .jb-product-details-hero > .container,
    .jb-product-details-hero > .jb-container,
    .jb-product-details-hero .jb-container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}

.jb-pdp-breadcrumb {
    font-size: 13px;
    margin-bottom: 24px;
    color: #5d6670;
}

.jb-pdp-breadcrumb a {
    color: var(--jb-red, #f10d18);
    text-decoration: none;
}

.jb-pdp-breadcrumb a:hover {
    text-decoration: underline;
}

.jb-pdp-breadcrumb .delimiter {
    margin: 0 7px;
    color: #8c97a2;
}

.jb-pdp-grid {
    display: grid;
    grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
    gap: 45px;
    align-items: start;
}

@media (max-width: 991px) {
    .jb-pdp-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Product Details Gallery Styling */
.jb-pdp-gallery-col .gallery,
.jb-product-details-hero .gallery {
    margin: 0 !important;
    background: #ffffff;
    border: 1px solid var(--jb-border-light, #e2e8f0);
    border-radius: 6px;
    padding: 24px;
    box-sizing: border-box;
}

.jb-pdp-gallery-col .gallery .picture,
.jb-product-details-hero .gallery .picture {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 16px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jb-pdp-gallery-col .gallery .picture:before,
.jb-product-details-hero .gallery .picture:before {
    content: "";
    display: block;
    padding-top: 75% !important;
}

.jb-pdp-gallery-col .gallery .picture a,
.jb-product-details-hero .gallery .picture a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jb-pdp-gallery-col .gallery .picture img,
.jb-product-details-hero .gallery .picture img {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 95% !important;
    max-height: 95% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.jb-pdp-gallery-col .gallery .picture-thumbs,
.jb-product-details-hero .gallery .picture-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-top: 8px;
    justify-content: flex-start;
}

.jb-pdp-gallery-col .gallery .picture-thumbs .thumb-item,
.jb-product-details-hero .gallery .picture-thumbs .thumb-item {
    width: 72px;
    height: 72px;
    border: 2px solid var(--jb-border-light, #e2e8f0);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    padding: 4px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.jb-pdp-gallery-col .gallery .picture-thumbs .thumb-item:hover,
.jb-pdp-gallery-col .gallery .picture-thumbs .thumb-item.active {
    border-color: var(--jb-red, #f10d18);
}

.jb-pdp-gallery-col .gallery .picture-thumbs .thumb-item img,
.jb-product-details-hero .gallery .picture-thumbs .thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: static;
    transform: none;
}

.jb-pdp-info {
    display: flex;
    flex-direction: column;
}

.jb-pdp-info .badge-container {
    margin-bottom: 12px;
}

.jb-pdp-title {
    font-size: 38px;
    font-weight: 700;
    color: #111111;
    line-height: 1.12;
    margin: 0 0 16px 0;
}

@media (max-width: 767px) {
    .jb-pdp-title {
        font-size: 28px;
    }
}

.jb-pdp-intro {
    font-size: 19px;
    line-height: 1.5;
    color: #29323c;
    margin-bottom: 28px;
}

.jb-pdp-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .jb-pdp-actions {
        grid-template-columns: 1fr;
    }
}

.jb-pdp-reassurances {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.jb-pdp-reassurances li {
    font-size: 14px;
    color: #5d6670;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jb-pdp-reassurances li .check-icon {
    color: var(--jb-red);
    font-weight: bold;
}

.jb-pdp-sku {
    font-size: 13px;
    color: #5d6670;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 8px;
}

/* Dark PDP Details Section: 100% Full-Width Edge-to-Edge Dark Background */
.jb-pdp-dark-details {
    background-color: var(--jb-header-dark, #11161b) !important;
    background: var(--jb-header-dark, #11161b) !important;
    color: #ffffff !important;
    padding: 50px 0 60px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Key Features Inner Content: Centered at 85% */
@media (min-width: 1001px) {
    .jb-pdp-dark-details > .container,
    .jb-pdp-dark-details > .jb-container,
    .jb-pdp-dark-details .jb-container {
        max-width: 85% !important;
        width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 1000px) {
    .jb-pdp-dark-details > .container,
    .jb-pdp-dark-details > .jb-container,
    .jb-pdp-dark-details .jb-container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}

.jb-pdp-dark-details h2.section-heading {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 28px 0;
}

.jb-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .jb-features-grid {
        grid-template-columns: 1fr;
    }
}

.jb-feature-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--jb-border-dark);
    border-left: 6px solid var(--jb-red);
    border-radius: 6px;
    padding: 16px 20px;
}

.jb-feature-card .feature-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.jb-feature-card .feature-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #c8cdd2;
}

.jb-pdp-dark-details .extra-description {
    font-size: 15px;
    line-height: 1.6;
    color: #a8b0b8;
    margin-bottom: 24px;
}

.jb-product-tags-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    font-size: 14px;
    color: #c8cdd2;
}

.jb-product-tags-row .tag-label {
    font-weight: 600;
    color: #ffffff;
}

.jb-product-tags-row .tag-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #303840;
    border-radius: 20px;
    padding: 4px 14px;
    color: #c8cdd2;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.jb-product-tags-row .tag-pill:hover {
    border-color: var(--jb-red);
    color: #ffffff;
}

/* ==========================================================================
   Enquiry / Quotation Basket (Screen 3)
   ========================================================================== */
.jb-cart-page {
    background: #ffffff !important;
    width: 100% !important;
    padding: 30px 0 50px 0 !important;
    margin: 0 !important;
}

.jb-cart-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.jb-cart-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--jb-text);
    margin: 0;
    position: relative;
    display: inline-block;
}

.jb-cart-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--jb-red);
    margin-top: 6px;
}

.jb-cart-header .cart-count {
    font-size: 15px;
    color: var(--jb-text-secondary);
}

.jb-cart-notice {
    background: var(--jb-soft-red);
    border-left: 5px solid var(--jb-red);
    border-radius: 4px;
    padding: 18px 22px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.jb-cart-notice .notice-icon-circle {
    width: 32px;
    height: 32px;
    background: var(--jb-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.jb-cart-notice .notice-text-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--jb-text);
    margin-bottom: 2px;
}

.jb-cart-notice .notice-text-sub {
    font-size: 14px;
    color: var(--jb-text-secondary);
}

.jb-cart-layout {
    display: grid;
    grid-template-columns: 68% 32%;
    gap: 35px;
    align-items: start;
}

@media (max-width: 991px) {
    .jb-cart-layout {
        grid-template-columns: 1fr;
    }
}

.jb-cart-table-wrapper {
    background: #fff;
    border: 1px solid var(--jb-border-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.jb-basket-table {
    width: 100%;
    border-collapse: collapse;
}

.jb-basket-table thead th {
    background: #151b20;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    border: none;
}

.jb-basket-table tbody tr {
    border-bottom: 1px solid var(--jb-border-light);
}

.jb-basket-table tbody tr:last-child {
    border-bottom: none;
}

.jb-basket-table tbody td {
    padding: 20px 16px;
    vertical-align: middle;
}

.jb-cart-product-cell {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 360px;
}

.jb-cart-thumb {
    width: 90px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jb-cart-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.jb-cart-info .item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--jb-text);
    line-height: 1.3;
    margin-bottom: 4px;
}

.jb-cart-info .item-name a {
    color: var(--jb-text);
    text-decoration: none;
}

.jb-cart-info .item-name a:hover {
    color: var(--jb-red);
}

.jb-cart-info .item-desc {
    font-size: 13px;
    color: #606870;
    line-height: 1.4;
}

.jb-cart-sku-cell {
    font-size: 14px;
    font-weight: 600;
    color: var(--jb-text-secondary);
}

/* Quantity Control */
.jb-qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd2d8;
    border-radius: 4px;
    height: 38px;
    background: #fff;
    overflow: hidden;
}

.jb-qty-btn {
    width: 32px;
    height: 38px;
    background: #f5f6f7;
    border: none;
    color: var(--jb-text);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}

.jb-qty-btn:hover {
    background: #e6e9ec;
}

.jb-qty-input {
    width: 44px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--jb-text);
}

.jb-basket-table .action-btn {
    background: none;
    border: none;
    color: #8c97a2;
    font-size: 17px;
    cursor: pointer;
    transition: color 0.15s;
    padding: 6px;
}

.jb-basket-table .action-btn:hover {
    color: var(--jb-red);
}

.jb-cart-bottom-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
}

/* Right Summary Card */
.jb-enquiry-summary-card {
    background: #ffffff;
    border: 1px solid var(--jb-border-light);
    border-radius: 6px;
    padding: 24px;
}

.jb-enquiry-summary-card h3.summary-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--jb-text);
    margin: 0 0 18px 0;
}

.jb-enquiry-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.jb-enquiry-bullets li {
    font-size: 14px;
    line-height: 1.45;
    color: #4a545e;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.jb-enquiry-bullets li .bullet-check {
    color: #fff;
    background: var(--jb-red);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.jb-enquiry-summary-card .summary-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.jb-enquiry-summary-card .summary-actions .jb-btn-primary,
.jb-enquiry-summary-card .summary-actions .jb-btn-secondary {
    width: 100%;
}

.jb-summary-info-card {
    border-top: 1px solid var(--jb-border-light);
    padding-top: 18px;
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.jb-summary-info-card .info-icon {
    font-size: 20px;
    color: var(--jb-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.jb-summary-info-card .info-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--jb-text);
    margin-bottom: 3px;
}

.jb-summary-info-card .info-desc {
    font-size: 13px;
    color: var(--jb-text-secondary);
    line-height: 1.4;
}

.jb-summary-info-card .info-link {
    color: var(--jb-red);
    font-weight: 600;
    text-decoration: none;
}

/* Bottom Recommendations Dark Section: Full Width, Flush to Footer */
.jb-recommendations-section {
    background-color: var(--jb-header-dark, #10161b) !important;
    color: #ffffff !important;
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 50px 0 60px 0 !important;
}

.jb-recommendations-section h2.rec-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 36px 0 !important;
}

.jb-rec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .jb-rec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .jb-rec-grid {
        grid-template-columns: 1fr;
    }
}

.jb-rec-card {
    background: #171d22;
    border: 1px solid var(--jb-border-dark);
    border-radius: 5px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.jb-rec-image {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.jb-rec-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.jb-rec-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.jb-rec-desc {
    font-size: 13px;
    color: #8c97a2;
    line-height: 1.4;
    margin-bottom: 14px;
    flex-grow: 1;
}

.jb-rec-btn {
    border: 1px solid var(--jb-red);
    background: transparent;
    color: #ffffff;
    border-radius: 4px;
    height: 36px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.2s;
}

.jb-rec-btn:hover {
    background: var(--jb-red);
    color: #ffffff;
}

/* ==========================================================================
   Quotation Request Form (Screen 4)
   ========================================================================== */
.jb-quote-request-page {
    background: #ffffff;
    padding: 25px 0 0 0 !important;
    margin-bottom: 0 !important;
}

.jb-quote-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--jb-text);
    margin: 0 0 6px 0;
}

.jb-quote-subtitle {
    font-size: 16px;
    color: var(--jb-text-secondary);
    margin: 0 0 30px 0;
}

.jb-quote-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 35px;
    align-items: start;
    margin-bottom: 45px;
}

@media (max-width: 991px) {
    .jb-quote-grid {
        grid-template-columns: 1fr;
    }
}

.jb-form-card {
    background: #ffffff;
    border: 1px solid var(--jb-border-light);
    border-radius: 6px;
    padding: 28px;
}

.jb-form-card .card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 22px;
}

.jb-form-card h2.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--jb-text);
    margin: 0;
}

.jb-form-card .required-hint {
    font-size: 13px;
    color: var(--jb-text-secondary);
}

.jb-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

@media (max-width: 576px) {
    .jb-form-grid {
        grid-template-columns: 1fr;
    }
}

.jb-form-group {
    display: flex;
    flex-direction: column;
}

.jb-form-group.full-width {
    grid-column: 1 / -1;
}

.jb-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--jb-text);
    margin-bottom: 6px;
}

.jb-form-group label .req {
    color: var(--jb-red);
}

.jb-form-input {
    height: 46px;
    border: 1px solid #cbd2d8;
    border-radius: 4px;
    padding: 0 14px;
    font-size: 15px;
    color: var(--jb-text);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    width: 100%;
}

.jb-form-input:focus {
    border-color: var(--jb-red);
    box-shadow: 0 0 0 2px rgba(241, 13, 24, 0.08);
}

.jb-form-textarea {
    border: 1px solid #cbd2d8;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--jb-text);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    width: 100%;
    min-height: 100px;
    resize: vertical;
}

.jb-form-textarea:focus {
    border-color: var(--jb-red);
    box-shadow: 0 0 0 2px rgba(241, 13, 24, 0.08);
}

.jb-char-counter {
    font-size: 12px;
    color: #8c97a2;
    text-align: right;
    margin-top: 4px;
}

/* Radio Group */
.jb-radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 46px;
}

.jb-radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--jb-text);
    cursor: pointer;
}

.jb-radio-item input[type="radio"] {
    accent-color: var(--jb-red);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Checkbox */
.jb-checkbox-row {
    margin-top: 10px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.jb-checkbox-row input[type="checkbox"] {
    accent-color: var(--jb-red);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.jb-checkbox-row .checkbox-label-main {
    font-size: 14px;
    font-weight: 600;
    color: var(--jb-text);
}

.jb-checkbox-row .checkbox-label-sub {
    font-size: 13px;
    color: var(--jb-text-secondary);
}

/* Form Action Buttons */
.jb-form-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

@media (max-width: 576px) {
    .jb-form-actions {
        flex-direction: column;
    }
    .jb-form-actions .jb-btn-primary,
    .jb-form-actions .jb-btn-outline {
        width: 100%;
    }
}

/* Right Quote Summary Card */
.jb-quote-summary-card {
    background: #ffffff;
    border: 1px solid var(--jb-border-light);
    border-radius: 6px;
    padding: 24px;
}

.jb-quote-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--jb-border-light);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.jb-quote-summary-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--jb-text);
    margin: 0;
}

.jb-quote-summary-header .item-count {
    font-size: 13px;
    color: var(--jb-text-secondary);
}

.jb-quote-summary-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.jb-quote-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f2f5;
}

.jb-quote-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jb-quote-item-row .item-thumb {
    width: 60px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jb-quote-item-row .item-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.jb-quote-item-row .item-info {
    flex-grow: 1;
}

.jb-quote-item-row .item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--jb-text);
    line-height: 1.25;
    margin-bottom: 2px;
}

.jb-quote-item-row .item-sku {
    font-size: 12px;
    color: #8c97a2;
}

.jb-quote-item-row .item-qty {
    font-size: 14px;
    font-weight: 600;
    color: var(--jb-text);
    flex-shrink: 0;
}

.jb-pricing-notice-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.jb-pricing-notice-box .notice-icon {
    font-size: 18px;
    color: #4a5568;
    margin-top: 2px;
}

.jb-pricing-notice-box .notice-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--jb-text);
    margin-bottom: 2px;
}

.jb-pricing-notice-box .notice-text {
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

/* Trust Bar */
.jb-trust-bar {
    background-color: var(--jb-header-dark, #10161b) !important;
    color: #ffffff !important;
    padding: 28px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 40px !important;
    margin-bottom: 0 !important;
}

.jb-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .jb-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .jb-trust-grid {
        grid-template-columns: 1fr;
    }
}

.jb-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.jb-trust-item .trust-icon {
    font-size: 26px;
    color: var(--jb-red);
    flex-shrink: 0;
}

.jb-trust-item .trust-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.jb-trust-item .trust-sub {
    font-size: 12px;
    color: #9aa4ae;
    line-height: 1.35;
}

/* ==========================================================================
   Quotation Confirmation Page (Screen 5)
   ========================================================================== */
.jb-confirmation-page {
    background: #ffffff;
    padding: 0 0 60px 0;
}

.jb-success-hero {
    background-color: var(--jb-header-dark);
    color: #ffffff;
    padding: 45px 0 45px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 40px;
    overflow: hidden;
}

.jb-success-hero-inner {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    gap: 30px;
}

@media (max-width: 767px) {
    .jb-success-hero-inner {
        grid-template-columns: 1fr;
    }
}

.jb-hero-title-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
}

.jb-green-check-circle {
    width: 56px;
    height: 56px;
    background: #28a745;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    flex-shrink: 0;
}

.jb-hero-title-group h1 {
    font-size: 42px;
    font-weight: 900;
    margin: 0;
    line-height: 1.05;
    letter-spacing: 0.5px;
}

.jb-hero-title-group .title-quotation {
    color: #ffffff;
    display: block;
}

.jb-hero-title-group .title-request-sent {
    color: var(--jb-red);
    display: block;
}

.jb-success-hero .hero-subtext {
    font-size: 16px;
    line-height: 1.5;
    color: #c8cdd2;
    max-width: 620px;
}

.jb-hero-equipment-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.jb-hero-equipment-visual img {
    max-height: 220px;
    max-width: 100%;
    object-fit: contain;
}

/* Confirmation Content Layout */
.jb-confirm-layout {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 35px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .jb-confirm-layout {
        grid-template-columns: 1fr;
    }
}

.jb-confirm-card {
    background: #ffffff;
    border: 1px solid var(--jb-border-light);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 24px;
}

.jb-confirm-card h3.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--jb-text);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jb-confirm-card h3.card-title .title-icon {
    color: var(--jb-red);
}

.jb-requested-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jb-requested-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #fafbfc;
    border: 1px solid #f0f2f5;
    border-radius: 4px;
}

.jb-requested-item .item-thumb {
    width: 60px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jb-requested-item .item-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.jb-requested-item .item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--jb-text);
    margin-bottom: 2px;
}

.jb-requested-item .item-sub {
    font-size: 12px;
    color: var(--jb-text-secondary);
}

.jb-requested-item .item-qty {
    font-size: 14px;
    font-weight: 700;
    color: var(--jb-text);
    margin-left: auto;
}

/* What Happens Next Sequence */
.jb-what-next-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.jb-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.jb-step-circle {
    width: 32px;
    height: 32px;
    background: var(--jb-red);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.jb-step-text {
    font-size: 13px;
    line-height: 1.35;
    color: var(--jb-text);
}

.jb-step-arrow {
    color: #c1c7cd;
    font-size: 18px;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .jb-what-next-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .jb-step-arrow {
        display: none;
    }
}

/* Details Table */
.jb-details-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}

.jb-details-table tr {
    border-bottom: 1px solid #f0f2f5;
}

.jb-details-table tr:last-child {
    border-bottom: none;
}

.jb-details-table th {
    width: 32%;
    padding: 10px 0;
    color: var(--jb-text-secondary);
    font-weight: 500;
    text-align: left;
}

.jb-details-table td {
    padding: 10px 0;
    color: var(--jb-text);
    font-weight: 600;
    text-align: left;
}

/* Need Help Box */
.jb-help-box {
    background: #ffffff;
    border: 1px solid var(--jb-border-light);
    border-radius: 6px;
    padding: 24px;
}

.jb-help-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

@media (max-width: 576px) {
    .jb-help-buttons {
        grid-template-columns: 1fr;
    }
}

.jb-help-btn-phone {
    background: var(--jb-red);
    color: #fff !important;
    border-radius: 4px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.jb-help-btn-phone:hover {
    background: var(--jb-red-dark);
}

.jb-help-btn-email {
    background: #151b20;
    color: #fff !important;
    border-radius: 4px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.jb-help-btn-email:hover {
    background: #242c34;
}

.jb-help-hours {
    font-size: 12px;
    color: var(--jb-text-secondary);
    text-align: center;
}

/* Bottom Confirmation Action Buttons */
.jb-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

@media (max-width: 576px) {
    .jb-confirm-actions {
        flex-direction: column;
    }
    .jb-confirm-actions .jb-btn-primary,
    .jb-confirm-actions .jb-btn-dark {
        width: 100%;
    }
}

/* ==========================================================================
   Quotation & Cart Full-Width White Layout Overrides
   ========================================================================== */
.html-shopping-cart-page,
.html-shopping-cart-page body,
.html-shopping-cart-page .master-wrapper-page,
.html-shopping-cart-page section,
.html-quotation-request-page,
.html-quotation-request-page body,
.html-quotation-request-page .master-wrapper-page,
.html-quotation-request-page section,
.html-quotation-confirmation-page,
.html-quotation-confirmation-page body,
.html-quotation-confirmation-page .master-wrapper-page,
.html-quotation-confirmation-page section {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.html-shopping-cart-page .master-wrapper-content.container,
.html-shopping-cart-page .master-wrapper-content,
.html-quotation-request-page .master-wrapper-content.container,
.html-quotation-request-page .master-wrapper-content,
.html-quotation-confirmation-page .master-wrapper-content.container,
.html-quotation-confirmation-page .master-wrapper-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

.html-shopping-cart-page .master-column-wrapper,
.html-shopping-cart-page .center-1,
.html-shopping-cart-page .page,
.html-shopping-cart-page .page-body,
.html-quotation-request-page .master-column-wrapper,
.html-quotation-request-page .center-1,
.html-quotation-request-page .page,
.html-quotation-request-page .page-body,
.html-quotation-confirmation-page .master-column-wrapper,
.html-quotation-confirmation-page .center-1,
.html-quotation-confirmation-page .page,
.html-quotation-confirmation-page .page-body {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
}

/* Eliminate all gap between recommendations / trust bar and footer */
.html-shopping-cart-page section,
.html-shopping-cart-page section > div,
.html-shopping-cart-page .master-wrapper-content,
.html-shopping-cart-page .master-column-wrapper,
.html-shopping-cart-page .center-1,
.html-shopping-cart-page .page,
.html-shopping-cart-page .page-body,
.html-quotation-request-page section,
.html-quotation-request-page section > div,
.html-quotation-request-page .master-wrapper-content,
.html-quotation-request-page .master-column-wrapper,
.html-quotation-request-page .center-1,
.html-quotation-request-page .page,
.html-quotation-request-page .page-body,
.html-quotation-request-page .jb-quote-request-page {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.html-shopping-cart-page .jb-recommendations-section {
    margin-bottom: 0 !important;
    padding-bottom: 60px !important;
}

.html-quotation-request-page .jb-trust-bar {
    margin-bottom: 0 !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.html-shopping-cart-page footer.footer,
.html-quotation-request-page footer.footer {
    margin-top: 0 !important;
    border-top: none !important;
}

/* Clean hero breakout on confirmation page */
.html-quotation-confirmation-page .jb-success-hero {
    width: 100% !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Boxed Container Alignment (matching Header, Category, PDP, Cart, Quotation, and Footer at 85%) */
@media (min-width: 1001px) {
    .html-category-page .jb-category-hero > .container,
    .html-category-page .jb-category-hero > .jb-container,
    .html-category-page .jb-category-hero .container,
    .html-category-page .jb-category-hero .jb-container,
    .html-category-page .jb-category-hero__inner,
    .html-category-page .jb-catalog-content > .container,
    .html-category-page .jb-catalog-content > .jb-container,
    .html-category-page .jb-catalog-content .container,
    .html-category-page .jb-catalog-content .jb-container,
    .html-product-details-page .jb-product-details-hero > .container,
    .html-product-details-page .jb-product-details-hero > .jb-container,
    .html-product-details-page .jb-product-details-hero .container,
    .html-product-details-page .jb-product-details-hero .jb-container,
    .html-product-details-page .jb-pdp-dark-details > .container,
    .html-product-details-page .jb-pdp-dark-details > .jb-container,
    .html-product-details-page .jb-pdp-dark-details .container,
    .html-product-details-page .jb-pdp-dark-details .jb-container,
    .html-shopping-cart-page .jb-cart-page > .container,
    .html-shopping-cart-page .jb-cart-page > .jb-container,
    .html-shopping-cart-page .jb-recommendations-section > .container,
    .html-shopping-cart-page .jb-recommendations-section > .jb-container,
    .html-quotation-request-page .jb-quote-request-page > .container,
    .html-quotation-request-page .jb-quote-request-page > .jb-container,
    .html-quotation-request-page .jb-trust-bar > .container,
    .html-quotation-request-page .jb-trust-bar > .jb-container,
    .html-quotation-request-page .jb-trust-bar .container,
    .html-quotation-request-page .jb-trust-bar .jb-container,
    .jb-trust-bar > .container,
    .jb-trust-bar > .jb-container,
    .jb-trust-bar .container,
    .jb-trust-bar .jb-container,
    .html-quotation-confirmation-page .jb-confirmation-page > .container,
    .html-quotation-confirmation-page .jb-confirmation-page > .jb-container,
    .html-quotation-confirmation-page .jb-success-hero > .container,
    .html-quotation-confirmation-page .jb-success-hero > .jb-container,
    .html-quotation-confirmation-page .jb-confirmation-body > .container,
    .html-quotation-confirmation-page .jb-confirmation-body > .jb-container {
        max-width: 85% !important;
        width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 1000px) {
    .html-category-page .jb-category-hero > .container,
    .html-category-page .jb-category-hero > .jb-container,
    .html-category-page .jb-category-hero .container,
    .html-category-page .jb-category-hero .jb-container,
    .html-category-page .jb-category-hero__inner,
    .html-category-page .jb-catalog-content > .container,
    .html-category-page .jb-catalog-content > .jb-container,
    .html-category-page .jb-catalog-content .container,
    .html-category-page .jb-catalog-content .jb-container,
    .html-product-details-page .jb-product-details-hero > .container,
    .html-product-details-page .jb-product-details-hero > .jb-container,
    .html-product-details-page .jb-product-details-hero .container,
    .html-product-details-page .jb-product-details-hero .jb-container,
    .html-product-details-page .jb-pdp-dark-details > .container,
    .html-product-details-page .jb-pdp-dark-details > .jb-container,
    .html-product-details-page .jb-pdp-dark-details .container,
    .html-product-details-page .jb-pdp-dark-details .jb-container,
    .html-shopping-cart-page .jb-cart-page > .container,
    .html-shopping-cart-page .jb-cart-page > .jb-container,
    .html-shopping-cart-page .jb-recommendations-section > .container,
    .html-shopping-cart-page .jb-recommendations-section > .jb-container,
    .html-quotation-request-page .jb-quote-request-page > .container,
    .html-quotation-request-page .jb-quote-request-page > .jb-container,
    .html-quotation-request-page .jb-trust-bar > .container,
    .html-quotation-request-page .jb-trust-bar > .jb-container,
    .html-quotation-request-page .jb-trust-bar .container,
    .html-quotation-request-page .jb-trust-bar .jb-container,
    .jb-trust-bar > .container,
    .jb-trust-bar > .jb-container,
    .jb-trust-bar .container,
    .jb-trust-bar .jb-container,
    .html-quotation-confirmation-page .jb-confirmation-page > .container,
    .html-quotation-confirmation-page .jb-confirmation-page > .jb-container,
    .html-quotation-confirmation-page .jb-success-hero > .container,
    .html-quotation-confirmation-page .jb-success-hero > .jb-container,
    .html-quotation-confirmation-page .jb-confirmation-body > .container,
    .html-quotation-confirmation-page .jb-confirmation-body > .jb-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   Phosphor Icons Base & Navigation Menu Cart Icon
   Prominent, large cart icon displayed in top navigation when cart has items
   ========================================================================== */
.jb-btn-primary i[class*="ph-"],
.jb-btn-secondary i[class*="ph-"],
.jb-btn-outline i[class*="ph-"],
.jb-cart-page i[class*="ph-"],
.jb-quote-request-page i[class*="ph-"],
.jb-confirmation-page i[class*="ph-"],
.jb-product-card i[class*="ph-"] {
    line-height: 1 !important;
    vertical-align: middle !important;
}

.jb-green-check-circle i {
    font-size: 32px !important;
    color: #ffffff !important;
}

.jb-confirm-card h3.card-title .title-icon {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 8px !important;
    font-size: 20px !important;
    color: var(--jb-red, #f10d18) !important;
    vertical-align: middle !important;
}

.jb-step-arrow i {
    font-size: 20px !important;
}

.jb-help-btn-phone i,
.jb-help-btn-email i {
    font-size: 24px !important;
}

.jb-confirm-actions .jb-btn-primary i,
.jb-confirm-actions .jb-btn-dark i {
    font-size: 26px !important;
    margin-right: 10px !important;
}

/* Nav Menu Cart Item */
.jb-menu-cart-item {
    display: none !important;
}

.jb-menu-cart-item.has-items {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 14px !important;
    vertical-align: middle !important;
}

.jb-menu-cart-item .jb-menu-cart-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 8px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    position: relative !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.jb-menu-cart-item .jb-menu-cart-link:hover {
    transform: scale(1.1) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.jb-menu-cart-wrapper {
    position: relative !important;
    top: -6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.jb-menu-cart-wrapper i,
.jb-menu-cart-wrapper .ph-bold,
.jb-menu-cart-wrapper .ph-shopping-cart {
    font-size: 38px !important; /* Quite big */
    line-height: 1 !important;
    color: #ffffff !important;
    display: inline-block !important;
    vertical-align: middle !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
}

.jb-menu-cart-badge {
    position: absolute !important;
    top: -8px !important;
    right: -12px !important;
    background-color: #0d1115 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 5px !important;
    font-size: 13px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    pointer-events: none !important;
}

@media (max-width: 991px) {
    .jb-menu-cart-item.has-items {
        display: block !important;
        margin: 12px auto !important;
        text-align: center !important;
    }

    .jb-menu-cart-wrapper {
        top: 0 !important;
    }

    .jb-menu-cart-wrapper i {
        font-size: 34px !important;
    }
}

/* Footer: black Facebook icon with Phosphor / FontAwesome icon */
.follow-us .social .facebook a {
    background: #000000 !important;
    background-image: none !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    filter: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.follow-us .social .facebook a:hover {
    opacity: 0.85;
    color: #ffffff !important;
    text-decoration: none !important;
}

.follow-us .social .facebook a i {
    font-size: 20px !important;
    color: #ffffff !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
}
