/**handles:jupiter-child-style**/
/*
Theme Name:     Jupiter Child Theme
Theme URI: 		http://demos.artbees.net/jupiter5
Description:    Child theme for the Jupiter theme 
Author:         Your name here
Theme URI: 		http://themeforest.net/user/artbees
Template:       jupiter
Text Domain: mk_framework
Domain Path: /languages/
*/



div.chosen-container-single, select.pickup_location {
    width: 230px !important;
}

/* ==========================================================================
   Final compact single-product summary refinement
   Last-in-file overrides so the Jeep/Wrangler product summary uses a compact
   spec-panel layout instead of oversized cards or cramped bubbles.
   ========================================================================== */

body.single-product .caps-fitment-summary,
.single-product .caps-fitment-summary {
    margin: 0 0 8px !important;
    padding: 5px 8px !important;
    gap: 5px !important;
    border-radius: 6px !important;
    background: #edf4fb !important;
    border: 1px solid #d7e3f0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

body.single-product .summary .price,
body.single-product .summary p.price,
.single-product .summary .price,
.single-product .summary p.price {
    margin: 0 0 10px !important;
    padding: 10px 12px !important;
    gap: 2px !important;
    background: #ffffff !important;
    border: 1px solid #d7e1eb !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

body.single-product .summary .price .caps-price-labels,
body.single-product .summary p.price .caps-price-labels,
.single-product .summary .price .caps-price-labels,
.single-product .summary p.price .caps-price-labels {
    font-size: 10px !important;
    line-height: 1 !important;
}

body.single-product .summary .price .caps-price-labels:last-of-type,
body.single-product .summary p.price .caps-price-labels:last-of-type,
.single-product .summary .price .caps-price-labels:last-of-type,
.single-product .summary p.price .caps-price-labels:last-of-type {
    margin-top: 1px !important;
}

body.single-product .summary .price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
body.single-product .summary p.price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
.single-product .summary .price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
.single-product .summary p.price .caps-price-labels:first-of-type + .woocommerce-Price-amount {
    font-size: 13px !important;
}

body.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
body.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount {
    font-size: 28px !important;
    line-height: 1.05 !important;
}

body.single-product .caps-meta-wrapper--enhanced,
.single-product .caps-meta-wrapper--enhanced,
body.single-product .summary .caps-meta-wrapper--enhanced {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    gap: 1px !important;
    margin: 10px 0 0 !important;
    padding: 1px !important;
    background: #d5dee8 !important;
    border: 1px solid #d5dee8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line {
    display: grid !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    gap: 3px !important;
    min-height: 62px !important;
    padding: 9px 11px !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+1),
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+2),
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+1),
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+2) {
    background: #ffffff !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+3),
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+4),
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+3),
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+4) {
    background: #f3f8fd !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full {
    grid-column: 1 / -1 !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    min-height: 0 !important;
    background: #eef4fa !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--sku,
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-skus,
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-sku,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--sku,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-skus,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-sku {
    box-shadow: inset 3px 0 0 #1e73be !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line strong,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line strong {
    margin: 0 !important;
    color: #6f7f90 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta {
    color: #16324f !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--product-categories .caps-meta,
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--categories .caps-meta,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--product-categories .caps-meta,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--categories .caps-meta {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a {
    color: #1e73be !important;
    text-decoration: none !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a:hover,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a:hover {
    text-decoration: underline !important;
}

body.single-product .caps-sold-online-note,
.single-product .caps-sold-online-note {
    margin: 8px 0 0 !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    background: #eef4fa !important;
    border: 1px solid #d7e3f0 !important;
    box-shadow: none !important;
}

body.single-product div.product > form.cart,
body.single-product.woocommerce div.product > form.cart,
.single-product div.product > form.cart,
.single-product form.cart {
    margin-top: 10px !important;
    gap: 10px !important;
}

body.single-product div.product > form.cart .qib-container,
body.single-product form.cart .qib-container,
.single-product form.cart .qib-container {
    border-radius: 8px !important;
    box-shadow: none !important;
}

body.single-product div.product > form.cart .single_add_to_cart_button,
body.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button,
body.single-product .cart button.button,
.single-product .cart button.button {
    min-height: 42px !important;
    padding: 11px 16px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    body.single-product .summary .price,
    body.single-product .summary p.price,
    .single-product .summary .price,
    .single-product .summary p.price {
        padding: 9px 10px !important;
    }

    body.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    body.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    .single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    .single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount {
        font-size: 24px !important;
    }

    body.single-product .caps-meta-wrapper--enhanced,
    .single-product .caps-meta-wrapper--enhanced,
    body.single-product .summary .caps-meta-wrapper--enhanced {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line {
        min-height: 0 !important;
        padding: 8px 9px !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
    }
}

/* ==========================================================================
   Final desktop summary/sidebar rebalance
   Turns the middle column into a real buy box, removes the boxed-cell spec
   look, and prevents the parts finder sidebar from collapsing into vertical
   labels on narrower desktop widths.
   ========================================================================== */
@media (min-width: 1101px) {
    body.single-product .theme-page-wrapper {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 338px) !important;
        gap: clamp(22px, 2vw, 34px) !important;
        align-items: start !important;
    }

    body.single-product .theme-page-wrapper > .theme-content {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        float: none !important;
        margin: 0 !important;
        padding-right: 0 !important;
    }

    body.single-product .theme-page-wrapper > #mk-sidebar,
    body.single-product .theme-page-wrapper > aside#mk-sidebar,
    body.single-product .theme-page-wrapper > aside.mk-builtin {
        width: clamp(320px, 23vw, 338px) !important;
        min-width: 320px !important;
        max-width: 338px !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    body.single-product #mk-sidebar .sidebar-wrapper,
    body.single-product aside#mk-sidebar .sidebar-wrapper {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    body.single-product #mk-sidebar .widget_caps,
    body.single-product #mk-sidebar .caps_product_filter,
    body.single-product #mk-sidebar .caps-sku-search,
    body.single-product #mk-sidebar .caps_widget_select_field {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body.single-product #mk-sidebar .caps_toggle,
    body.single-product #mk-sidebar .widgettitle {
        white-space: normal !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }

    body.single-product .caps-sidebar-bridge {
        display: none !important;
    }

    body.single-product #caps_part_filter,
    body.single-product #caps_supply_filter,
    body.single-product .caps_product_filter,
    body.single-product .caps_supply_filter,
    body.single-product .caps_product_filter.caps_part_filter_sticky,
    body.single-product .caps_product_filter.caps_part_filter_absolute,
    body.single-product #caps_part_filter.caps_part_filter_sticky,
    body.single-product #caps_part_filter.caps_part_filter_absolute {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
    }

    body.single-product #mk-sidebar label,
    body.single-product #mk-sidebar .caps_widget_select_field label,
    body.single-product #mk-sidebar .caps-sku-search label {
        display: block !important;
        white-space: normal !important;
        word-break: normal !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
        line-height: 1.3 !important;
    }

    body.single-product #mk-sidebar select,
    body.single-product #mk-sidebar input[type="search"],
    body.single-product #mk-sidebar input[type="text"],
    body.single-product #mk-sidebar input[type="submit"],
    body.single-product #mk-sidebar .clear_input_div {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.single-product div.product,
    body.single-product .woocommerce div.product {
        display: grid !important;
        grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.22fr) !important;
        gap: clamp(24px, 2vw, 36px) !important;
        align-items: start !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    body.single-product div.product > .woocommerce-product-gallery,
    body.single-product div.product > .images {
        grid-column: 1 !important;
        width: min(100%, 520px) !important;
        max-width: 520px !important;
        float: none !important;
        margin: 0 !important;
        align-self: start !important;
        justify-self: start !important;
        position: static !important;
        top: auto !important;
    }

    body.single-product div.product > .woocommerce-product-gallery img,
    body.single-product div.product > .images img {
        max-width: 100% !important;
        max-height: 520px !important;
        object-fit: contain !important;
    }

    body.single-product div.product > .summary,
    body.single-product div.product > .entry-summary {
        grid-column: 2 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        float: none !important;
        margin: 0 !important;
    }

    body.single-product div.product > .woocommerce-tabs,
    body.single-product div.product > .caps-data-tabs-panel,
    body.single-product div.product > .caps-related-products,
    body.single-product div.product > .related,
    body.single-product div.product > .upsells {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        clear: none !important;
    }

    body.single-product .summary,
    body.single-product .entry-summary,
    body.single-product .summary.entry-summary {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 14px 16px 16px !important;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
        border: 1px solid #d7e0eb !important;
        border-radius: 18px !important;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
    }

    body.single-product .summary > * {
        max-width: 100% !important;
    }

    body.single-product .product_title {
        margin: 0 0 12px !important;
        font-size: clamp(28px, 2.1vw, 36px) !important;
        line-height: 1.1 !important;
    }

    body.single-product .caps-compact-sku {
        margin: 0 0 10px !important;
        gap: 8px !important;
    }

    body.single-product .caps-fitment-summary,
    .single-product .caps-fitment-summary {
        margin: 0 !important;
        padding: 7px 10px !important;
        border-radius: 10px !important;
        background: #f4f8ff !important;
        border: 1px solid #d8e7fb !important;
        font-size: 12px !important;
    }

    body.single-product .summary .price,
    body.single-product .summary p.price,
    .single-product .summary .price,
    .single-product .summary p.price {
        margin: 12px 0 0 !important;
        padding: 12px 0 0 !important;
        gap: 3px !important;
        background: transparent !important;
        border: 0 !important;
        border-top: 1px solid #e4ebf3 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-align: left !important;
    }

    body.single-product .summary .price .caps-price-labels,
    body.single-product .summary p.price .caps-price-labels,
    .single-product .summary .price .caps-price-labels,
    .single-product .summary p.price .caps-price-labels {
        margin: 0 !important;
        color: #6d7d8e !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
    }

    body.single-product .summary .price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
    body.single-product .summary p.price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
    .single-product .summary .price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
    .single-product .summary p.price .caps-price-labels:first-of-type + .woocommerce-Price-amount {
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        color: #8b99a7 !important;
        text-decoration: line-through !important;
    }

    body.single-product .summary .price .caps-price-labels:last-of-type,
    body.single-product .summary p.price .caps-price-labels:last-of-type,
    .single-product .summary .price .caps-price-labels:last-of-type,
    .single-product .summary p.price .caps-price-labels:last-of-type {
        margin-top: 2px !important;
    }

    body.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    body.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    .single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    .single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount {
        font-size: clamp(32px, 3vw, 40px) !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        color: #d92236 !important;
    }

    body.single-product .summary .stock,
    body.single-product .summary .caps-stock-status,
    body.single-product .summary .caps-shipping-info,
    body.single-product .summary .shipping-info,
    body.single-product .summary [class*="shipping"],
    body.single-product .summary [class*="stock"] {
        margin: 10px 0 0 !important;
        padding: 8px 10px !important;
        background: #f6faf5 !important;
        border: 1px solid #d8e9d4 !important;
        border-radius: 10px !important;
        color: #2e6c34 !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    body.single-product .caps-meta-wrapper--enhanced,
    .single-product .caps-meta-wrapper--enhanced,
    body.single-product .caps-meta-wrapper,
    .single-product .caps-meta-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 20px !important;
        row-gap: 0 !important;
        margin: 14px 0 0 !important;
        padding: 14px 0 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-top: 1px solid #e4ebf3 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line,
    body.single-product .caps-meta-wrapper > .caps-meta-line,
    .single-product .caps-meta-wrapper > .caps-meta-line {
        display: grid !important;
        grid-template-columns: 90px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 8px !important;
        min-height: 0 !important;
        padding: 7px 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-bottom: 1px solid #edf2f7 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+1),
    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+2),
    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+3),
    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+4),
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+1),
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+2),
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+3),
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+4) {
        background: transparent !important;
        box-shadow: none !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full,
    body.single-product .caps-meta-wrapper > .caps-meta-line--full,
    .single-product .caps-meta-wrapper > .caps-meta-line--full,
    body.single-product .caps-meta-wrapper > .caps-meta-line:last-child,
    .single-product .caps-meta-wrapper > .caps-meta-line:last-child {
        grid-column: 1 / -1 !important;
        grid-template-columns: 118px minmax(0, 1fr) !important;
        background: transparent !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line strong,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line strong,
    body.single-product .caps-meta-wrapper > .caps-meta-line strong,
    .single-product .caps-meta-wrapper > .caps-meta-line strong {
        display: block !important;
        margin: 0 !important;
        color: #6c7b8d !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta,
    body.single-product .caps-meta-wrapper > .caps-meta-line .caps-meta,
    .single-product .caps-meta-wrapper > .caps-meta-line .caps-meta {
        display: block !important;
        margin: 0 !important;
        color: #17324f !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--sku .caps-meta,
    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-skus .caps-meta,
    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-sku .caps-meta,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line--sku .caps-meta,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-skus .caps-meta,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-sku .caps-meta,
    body.single-product .caps-meta-wrapper > .caps-meta-line--sku .caps-meta,
    body.single-product .caps-meta-wrapper > .caps-meta-line--alternate-skus .caps-meta,
    body.single-product .caps-meta-wrapper > .caps-meta-line--alternate-sku .caps-meta,
    .single-product .caps-meta-wrapper > .caps-meta-line--sku .caps-meta,
    .single-product .caps-meta-wrapper > .caps-meta-line--alternate-skus .caps-meta,
    .single-product .caps-meta-wrapper > .caps-meta-line--alternate-sku .caps-meta {
        color: #0f2e4c !important;
        font-weight: 800 !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a,
    body.single-product .caps-meta-wrapper > .caps-meta-line .caps-meta a,
    .single-product .caps-meta-wrapper > .caps-meta-line .caps-meta a {
        color: #1e73be !important;
        text-decoration: none !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a:hover,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a:hover,
    body.single-product .caps-meta-wrapper > .caps-meta-line .caps-meta a:hover,
    .single-product .caps-meta-wrapper > .caps-meta-line .caps-meta a:hover {
        text-decoration: underline !important;
    }

    body.single-product .caps-sold-online-note,
    .single-product .caps-sold-online-note {
        margin: 12px 0 0 !important;
        padding: 8px 10px !important;
        background: #f5f9ff !important;
        border: 1px solid #d9e6f6 !important;
        border-radius: 10px !important;
        box-shadow: none !important;
    }

    body.single-product .caps-sold-online-note strong,
    .single-product .caps-sold-online-note strong {
        display: block !important;
        margin: 0 0 2px !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    body.single-product div.product > form.cart,
    body.single-product.woocommerce div.product > form.cart,
    .single-product div.product > form.cart,
    .single-product form.cart {
        display: grid !important;
        grid-template-columns: 108px minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin-top: 14px !important;
        padding-top: 14px !important;
        border-top: 1px solid #e4ebf3 !important;
    }

    body.single-product div.product > form.cart .qib-container,
    body.single-product form.cart .qib-container,
    .single-product form.cart .qib-container {
        width: 108px !important;
        min-width: 108px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }

    body.single-product div.product > form.cart .single_add_to_cart_button,
    body.single-product form.cart .single_add_to_cart_button,
    .single-product form.cart .single_add_to_cart_button,
    body.single-product .cart button.button,
    .single-product .cart button.button {
        width: 100% !important;
        min-height: 48px !important;
        padding: 0 18px !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        align-self: stretch !important;
    }
}

@media (min-width: 901px) and (max-width: 1260px) {
    body.single-product .theme-page-wrapper {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.single-product .theme-page-wrapper > #mk-sidebar,
    body.single-product .theme-page-wrapper > aside#mk-sidebar,
    body.single-product .theme-page-wrapper > aside.mk-builtin {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin-top: 24px !important;
    }

    body.single-product div.product,
    body.single-product .woocommerce div.product {
        grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr) !important;
    }

    body.single-product div.product > .woocommerce-product-gallery,
    body.single-product div.product > .images {
        position: static !important;
    }
}
span.product_title_list_price {
    font-size: smaller;
}

#menu-secondary li a{
    color: white;
}

#menu-secondary li a:hover{
    color: red;
}

ul.products h3 {
    font-size: 16px;
}

.widget h1 {
    font-size: 1em;
    letter-spacing: 0px;
    border-bottom: none;
    padding: 0px 0px 0em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.sku {
    font-size: 1.2em;
    color: black;
    font-weight: bold;
}



li.caps_col {
    height: 500px;
    min-height: 500px;
    overflow:auto;
}

span.caps-partinfo {
    font-size: smaller;
}

ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: left;
    padding: 0;
    position: relative;
    width: 22.05%;
    margin-left: 0;
}

h4.mk-coupon-title {
    display: none;
}

/* CAPS Product Metadata Styling */
.caps-product-meta {
    margin: 8px 0;
    font-size: 12px;
    line-height: 1.3;
}

.caps-product-meta .subtitle {
    display: block;
    margin-bottom: 3px;
}

.caps-additional-meta {
    margin: 6px 0;
    font-size: 11px;
    color: #666;
}

.caps-additional-meta > div {
    margin-bottom: 2px;
}

.caps-sku, .caps-oem {
    font-weight: 600;
    color: #333;
}

.caps-part-info, .caps-supply-info {
    font-style: italic;
    color: #777;
    font-size: 10px;
}

/* Ensure metadata doesn't break layout */
.mk-shop-item-detail .caps-product-meta,
.mk-shop-item-detail .caps-additional-meta {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fallback metadata styling - Match original parts page styling */
.caps-fallback-meta {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.caps-fallback-meta > div {
    margin-bottom: 0;
    line-height: 1.3;
}

/* Style to match original subtitle styling from parts page */
.caps-vehicle-info {
    display: block;
    font-size: inherit;
    color: inherit;
    font-weight: normal;
    margin-bottom: 3px;
}

.caps-details, .caps-part-details {
    display: block;
    color: black;
    font-style: normal;
    font-size: inherit;
    margin-bottom: 3px;
}

/* Override any conflicting styles to match parts page exactly */
.woocommerce ul.products li.product .caps-vehicle-info,
.woocommerce ul.products li.product .caps-details,
.woocommerce ul.products li.product .caps-part-details {
    font-size: inherit;
    color: inherit;
    line-height: 1.3;
}

/* Ensure it displays like the original subtitle spans */
.caps-fallback-meta .caps-vehicle-info {
    color: inherit;
}

.caps-fallback-meta .caps-details,
.caps-fallback-meta .caps-part-details {
    color: black;
}

/* Override WooCommerce product title styling to match parts page h3 exactly */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
h2.woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: normal !important;
    font-family: inherit !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    color: inherit !important;
    text-decoration: none !important;
    display: block !important;
    border: none !important;
    background: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Ensure the links inside product titles match h3 styling */
.woocommerce ul.products li.product .woocommerce-loop-product__title a,
h2.woocommerce-loop-product__title a {
    color: inherit !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: normal !important;
    font-family: inherit !important;
    line-height: 1.3 !important;
    display: block !important;
    border: none !important;
    background: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Hover states to match h3 behavior */
.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover,
h2.woocommerce-loop-product__title a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* Additional specificity for stubborn themes */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce-page ul.products li.product h2.woocommerce-loop-product__title,
body .woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: normal !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .caps-product-meta {
        font-size: 11px;
    }
    
    .caps-additional-meta {
        font-size: 10px;
    }
    
    .caps-part-info, .caps-supply-info {
        font-size: 9px;
    }
    
    .caps-fallback-meta {
        font-size: 10px;
    }
    
    .caps-vehicle-info {
        font-size: 11px;
    }
}

.caps-faq-section,
.caps-brand-trust {
    margin: 40px 0;
}

.caps-faq-shell,
.caps-brand-trust__inner {
    background: #f7f9fc;
    border: 1px solid #d7dfeb;
    border-radius: 12px;
    padding: 24px;
}

.caps-faq-title,
.caps-brand-trust__title {
    margin: 0 0 12px;
    color: #16324f;
}

.caps-faq-intro,
.caps-brand-trust__intro {
    margin: 0 0 18px;
    color: #405266;
}

.caps-faq-list {
    display: grid;
    gap: 12px;
}

.caps-faq-item {
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    overflow: hidden;
}

.caps-faq-question {
    cursor: pointer;
    font-weight: 600;
    padding: 16px 18px;
    color: #10273d;
    list-style: none;
}

.caps-faq-question::-webkit-details-marker {
    display: none;
}

.caps-faq-answer {
    padding: 0 18px 18px;
    color: #37485b;
}

.caps-brand-trust__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.caps-brand-trust__item {
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    padding: 16px 18px;
}

.caps-brand-trust__item strong {
    display: block;
    margin-bottom: 8px;
    color: #16324f;
}

.caps-brand-trust__item p {
    margin: 0;
    color: #405266;
}

@media (max-width: 768px) {
    .caps-faq-shell,
    .caps-brand-trust__inner {
        padding: 18px;
    }

    .caps-brand-trust__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CAPS shop/category modern cards
   Applies the staging-style custom loop card presentation to classic
   shop/category/tag pages that use the child theme content-product override.
   ========================================================================== */

body.post-type-archive-product #mk-archive-products ul.products,
body.tax-product_cat #mk-archive-products ul.products,
body.tax-product_tag #mk-archive-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 20px !important;
}

body.post-type-archive-product #mk-archive-products ul.products > li.product,
body.tax-product_cat #mk-archive-products ul.products > li.product,
body.tax-product_tag #mk-archive-products ul.products > li.product {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
}

.caps-modern-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.caps-modern-card:hover {
    transform: translateY(-3px) !important;
    border-color: #c7d4e4 !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12) !important;
}

.caps-image-container {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #f9fbfd 0%, #eef4f9 100%) !important;
    aspect-ratio: 4 / 3 !important;
}

.caps-product-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.caps-main-image,
.caps-hover-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: opacity 0.2s ease, transform 0.25s ease !important;
}

.caps-hover-image {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
}

.caps-modern-card:hover .caps-main-image {
    transform: scale(1.04) !important;
}

.caps-modern-card:hover .caps-hover-image {
    opacity: 1 !important;
}

.caps-badge {
    position: absolute !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18) !important;
}

.caps-sale-badge {
    top: 12px !important;
    left: 12px !important;
    background: #dc2626 !important;
    color: #ffffff !important;
}

.caps-out-of-stock {
    top: 12px !important;
    left: 12px !important;
    background: #1f2937 !important;
    color: #ffffff !important;
}

.caps-savings-badge {
    top: 12px !important;
    right: 12px !important;
    background: #0f766e !important;
    color: #ffffff !important;
}

.caps-quick-actions {
    position: absolute !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 2 !important;
    opacity: 0 !important;
    transform: translateY(6px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.caps-modern-card:hover .caps-quick-actions {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.caps-quick-view-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    background: rgba(22, 50, 79, 0.92) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22) !important;
}

.caps-product-details {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 14px !important;
}

.caps-sku-header {
    margin-bottom: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #637487 !important;
}

.caps-sku-value {
    color: #16324f !important;
}

.caps-product-title,
.caps-modern-card .product-title {
    margin: 0 0 10px !important;
    min-height: 58px !important;
    overflow: hidden !important;
}

.caps-product-title a,
.caps-modern-card .product-title a {
    color: #16324f !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
}

.caps-meta-grid {
    display: grid !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.caps-meta-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 6px !important;
    color: #495869 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.caps-meta-icon {
    flex-shrink: 0 !important;
    color: #1e73be !important;
}

.caps-meta-text {
    color: #495869 !important;
}

.caps-price-section {
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px dashed rgba(15, 23, 42, 0.14) !important;
    text-align: center !important;
}

.caps-price-section .price {
    display: block !important;
    margin: 0 !important;
    text-align: center !important;
}

.caps-price-section .price .caps-price-labels {
    display: inline !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
}

.caps-price-section .price br {
    display: none !important;
}

.caps-price-section .price del,
.caps-price-section .price .caps-price-labels:first-of-type + .woocommerce-Price-amount {
    font-size: 13px !important;
    color: #a0aec0 !important;
    text-decoration: line-through !important;
}

.caps-price-section .price ins,
.caps-price-section .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
.caps-price-section .price > .woocommerce-Price-amount:last-child {
    color: #cc0000 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.caps-card-footer {
    margin-top: 12px !important;
    padding-top: 10px !important;
}

.caps-card-footer .qib-container,
.caps-card-footer .quantity {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 0 10px !important;
}

.caps-card-footer .qib-button,
.caps-card-footer .minus,
.caps-card-footer .plus {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border: 1px solid #d3deea !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.caps-card-footer .quantity input.qty,
.caps-card-footer .qib-container input.qty {
    width: 52px !important;
    height: 36px !important;
    border: 1px solid #d3deea !important;
    text-align: center !important;
}

.caps-card-footer .add_to_cart_button,
.caps-card-footer .button {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #1e73be 0%, #165a96 100%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.caps-card-footer .button-text {
    min-width: 0 !important;
    width: 100% !important;
    white-space: normal !important;
}

@media (max-width: 768px) {
    body.post-type-archive-product #mk-archive-products ul.products,
    body.tax-product_cat #mk-archive-products ul.products,
    body.tax-product_tag #mk-archive-products ul.products {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
        gap: 14px !important;
    }

    .caps-quick-actions {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .caps-product-details {
        padding: 12px !important;
    }

    .caps-product-title,
    .caps-modern-card .product-title {
        min-height: 52px !important;
    }

    .caps-product-title a,
    .caps-modern-card .product-title a {
        font-size: 15px !important;
    }

    .caps-price-section .price ins,
    .caps-price-section .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    .caps-price-section .price > .woocommerce-Price-amount:last-child {
        font-size: 18px !important;
    }
}

/* ==========================================================================
   CAPS single-product info alignment
   Restores the staging-style summary badges, fitment line, and cleaner
   pricing block for single product pages.
   ========================================================================== */

.caps-compact-sku {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 14px !important;
}

.caps-sku-badge,
.caps-oem-badge,
.caps-altsku-badge,
.caps-make-badge,
.caps-model-badge,
.caps-year-badge,
.caps-category-badge {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 30px !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    line-height: 1 !important;
}

.caps-sku-badge {
    background: #1a1a1a !important;
    color: #fccf00 !important;
}

.caps-oem-badge {
    background: #e9ecef !important;
    color: #495057 !important;
}

.caps-altsku-badge {
    background: #dee2e6 !important;
    color: #495057 !important;
}

.caps-make-badge {
    background: #1e3a5f !important;
    color: #ffffff !important;
}

.caps-model-badge {
    background: #2c5282 !important;
    color: #ffffff !important;
}

.caps-year-badge {
    background: #b45309 !important;
    color: #ffffff !important;
}

.caps-category-badge {
    background: #0d9488 !important;
    color: #ffffff !important;
}

.caps-fitment-summary {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 0 10px !important;
    padding: 6px 10px !important;
    background: #eef5ff !important;
    border: 1px solid #d7e6fb !important;
    border-radius: 8px !important;
    color: #1e73be !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.caps-fitment-summary svg {
    flex-shrink: 0 !important;
    color: inherit !important;
}

body.single-product .summary .price,
body.single-product .summary p.price,
.single-product .summary .price,
.single-product .summary p.price {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 0 0 12px !important;
    padding: 12px 16px !important;
    background: #f8fafc !important;
    border: 1px solid #dde6ef !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    text-align: center !important;
}

body.single-product .summary .price .caps-price-labels,
body.single-product .summary p.price .caps-price-labels,
.single-product .summary .price .caps-price-labels,
.single-product .summary p.price .caps-price-labels {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

body.single-product .summary .price .caps-price-labels:first-of-type,
body.single-product .summary p.price .caps-price-labels:first-of-type,
.single-product .summary .price .caps-price-labels:first-of-type,
.single-product .summary p.price .caps-price-labels:first-of-type {
    color: #7b8794 !important;
}

body.single-product .summary .price .caps-price-labels:last-of-type,
body.single-product .summary p.price .caps-price-labels:last-of-type,
.single-product .summary .price .caps-price-labels:last-of-type,
.single-product .summary p.price .caps-price-labels:last-of-type {
    margin-top: 2px !important;
    color: #16324f !important;
}

body.single-product .summary .price .woocommerce-Price-amount,
body.single-product .summary p.price .woocommerce-Price-amount,
.single-product .summary .price .woocommerce-Price-amount,
.single-product .summary p.price .woocommerce-Price-amount {
    display: block !important;
    line-height: 1.1 !important;
}

body.single-product .summary .price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
body.single-product .summary p.price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
.single-product .summary .price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
.single-product .summary p.price .caps-price-labels:first-of-type + .woocommerce-Price-amount {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #9aa5b1 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px !important;
}

body.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
body.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #16324f !important;
    letter-spacing: -0.03em !important;
}

body.single-product .summary .price br,
body.single-product .summary p.price br,
.single-product .summary .price br,
.single-product .summary p.price br {
    display: none !important;
}

body.single-product .summary .product_meta,
.single-product .summary .product_meta,
body.single-product .summary .posted_in,
body.single-product .summary .tagged_as,
.single-product .summary .posted_in,
.single-product .summary .tagged_as {
    display: none !important;
}

@media (max-width: 768px) {
    .caps-compact-sku {
        gap: 6px !important;
        margin-bottom: 12px !important;
    }

    .caps-sku-badge,
    .caps-oem-badge,
    .caps-altsku-badge,
    .caps-make-badge,
    .caps-model-badge,
    .caps-year-badge,
    .caps-category-badge {
        min-height: 28px !important;
        padding: 3px 8px !important;
        font-size: 11px !important;
    }

    .caps-fitment-summary {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }

    body.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    body.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    .single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    .single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount {
        font-size: 25px !important;
    }
}

/* ==========================================================================
   CAPS related products carousel
   Isolated single-product theme styling for the custom CAPS related/similar
   products section. Keeps the look/theme of staging without bringing over
   header or catalog layout changes.
   ========================================================================== */

body.single-product .caps-related-products,
.woocommerce .caps-related-products,
.caps-related-products {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 0 !important;
    padding: 18px 0 8px !important;
    background: #f8f9fb !important;
    border-top: 1px solid #e4e8ee !important;
    border-bottom: 1px solid #e4e8ee !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

body.single-product .caps-related-products .caps-related-title,
.caps-related-products .caps-related-title {
    margin: 0 0 14px !important;
    padding: 0 20px !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #16293f !important;
    text-align: center !important;
    border: 0 !important;
}

.caps-carousel-wrapper {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.caps-carousel-track {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.caps-carousel-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 2px solid #ffffff !important;
    border-radius: 999px !important;
    background: #18314e !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24) !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease !important;
}

.caps-carousel-arrow:hover {
    background: #1f436d !important;
    transform: translateY(-50%) scale(1.06) !important;
}

.caps-carousel-arrow[data-at-boundary="true"] {
    opacity: 0.55 !important;
}

.caps-carousel-arrow svg {
    width: 20px !important;
    height: 20px !important;
}

.caps-arrow-prev {
    left: 0 !important;
}

.caps-arrow-next {
    right: 0 !important;
}

body.single-product .caps-related-products ul.products,
.caps-carousel-wrapper ul.products,
.caps-carousel-track ul.products,
.caps-related-products ul.products,
.caps-related-products ul.products[class*="columns-"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 6px 4px 18px !important;
    list-style: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    -webkit-overflow-scrolling: touch !important;
    float: none !important;
    clear: both !important;
    grid-template-columns: none !important;
}

.caps-carousel-wrapper ul.products::-webkit-scrollbar,
.caps-carousel-track ul.products::-webkit-scrollbar,
.caps-related-products ul.products::-webkit-scrollbar {
    display: none !important;
}

body.single-product .caps-related-products ul.products::before,
body.single-product .caps-related-products ul.products::after,
.caps-related-products ul.products::before,
.caps-related-products ul.products::after {
    content: none !important;
    display: none !important;
}

body.single-product .caps-related-products ul.products li.product,
body.single-product .caps-related-products ul.products li.caps-related-product,
.caps-carousel-wrapper ul.products li.product,
.caps-carousel-track ul.products li.product,
.caps-related-products ul.products li.product,
.caps-related-products ul.products li.caps-related-product,
.caps-related-products ul.products[class*="columns-"] li.product {
    flex: 0 0 200px !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    margin: 0 !important;
    padding: 12px !important;
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #dde5ee !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
    overflow: hidden !important;
    position: relative !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.caps-related-products .caps-related-card,
.caps-related-products li.product > [itemprop="item"],
.caps-related-products li.caps-related-product > [itemprop="item"] {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 100% !important;
}

body.single-product .caps-related-products ul.products li.product:hover,
.caps-related-products ul.products li.product:hover {
    transform: translateY(-2px) !important;
    border-color: #c8d6e5 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
}

body.single-product .caps-related-products .caps-related-link,
.caps-related-products .caps-related-link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    text-decoration: none !important;
    color: inherit !important;
}

.caps-related-products .caps-related-copy {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

.caps-related-products .caps-related-card-footer {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 8px !important;
}

body.single-product .caps-related-products .caps-related-image,
.caps-related-products .caps-related-image {
    position: relative !important;
    width: 100% !important;
    height: 138px !important;
    margin-bottom: 10px !important;
    border-radius: 10px !important;
    background: #f4f7fb !important;
    overflow: hidden !important;
}

body.single-product .caps-related-products .caps-related-image img,
.caps-related-products .caps-related-image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.2s ease !important;
}

body.single-product .caps-related-products ul.products li.product:hover .caps-related-image img,
.caps-related-products ul.products li.product:hover .caps-related-image img {
    transform: scale(1.03) !important;
}

.caps-related-products .caps-card-vehicle-badges {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    z-index: 2 !important;
}

.caps-related-products .caps-card-make,
.caps-related-products .caps-card-model {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 18px !important;
    padding: 2px 6px !important;
    border-radius: 999px !important;
    background: rgba(22, 41, 63, 0.88) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.caps-related-products .caps-card-year {
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 20px !important;
    padding: 3px 7px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #425469 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12) !important;
}

body.single-product .caps-related-products .woocommerce-loop-product__title,
.caps-related-products .woocommerce-loop-product__title {
    margin: 0 0 8px !important;
    color: #1a2d45 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    min-height: 54px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

body.single-product .caps-related-products .caps-related-subtitle,
.caps-related-products .caps-related-subtitle {
    display: none !important;
}

body.single-product .caps-related-products .price,
.caps-related-products .price {
    margin: 0 !important;
    min-height: 20px !important;
    color: #1e73be !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.caps-related-products .caps-price-labels,
.caps-related-products .price .caps-price-labels,
.caps-related-products .price br,
.caps-related-products .price del,
.caps-related-products .price .woocommerce-Price-amount + .caps-price-labels,
.caps-related-products .price .woocommerce-Price-amount:not(:last-of-type) {
    display: none !important;
}

body.single-product .caps-related-products .add_to_cart_button,
body.single-product .caps-related-products .button.product_type_simple,
body.single-product .caps-related-products .button.product_type_part,
body.single-product .caps-related-products .button.product_type_supply,
.caps-related-products .add_to_cart_button,
.caps-related-products .button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    margin-top: 0 !important;
    padding: 10px 12px !important;
    border-radius: 9px !important;
    background: #1e73be !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
    box-sizing: border-box !important;
}

.caps-related-products .button-text {
    min-width: 0 !important;
    width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
}

.caps-related-products .add_to_cart_button svg {
    display: none !important;
}

.caps-related-products a.button.added,
.caps-related-products button.button.added {
    display: none !important;
}

.caps-related-products a.added_to_cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    margin-top: 0 !important;
    padding: 10px 12px !important;
    border-radius: 9px !important;
    background: #16324f !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    body.single-product .caps-related-products,
    .caps-related-products {
        margin-top: 18px !important;
        padding-top: 16px !important;
    }

    body.single-product .caps-related-products .caps-related-title,
    .caps-related-products .caps-related-title {
        font-size: 18px !important;
        padding: 0 16px !important;
    }

    .caps-carousel-wrapper {
        padding: 0 26px !important;
    }

    .caps-carousel-arrow {
        width: 34px !important;
        height: 34px !important;
    }

    body.single-product .caps-related-products ul.products li.product,
    .caps-related-products ul.products li.product,
    .caps-related-products ul.products li.caps-related-product {
        flex: 0 0 160px !important;
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
    }

    body.single-product .caps-related-products .caps-related-image,
    .caps-related-products .caps-related-image {
        height: 118px !important;
    }
}

@media (max-width: 480px) {
    .caps-carousel-wrapper {
        padding: 0 22px !important;
    }

    body.single-product .caps-related-products ul.products,
    .caps-related-products ul.products {
        gap: 12px !important;
    }

    body.single-product .caps-related-products ul.products li.product,
    .caps-related-products ul.products li.product,
    .caps-related-products ul.products li.caps-related-product {
        flex: 0 0 140px !important;
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        padding: 10px !important;
    }

    body.single-product .caps-related-products .woocommerce-loop-product__title,
    .caps-related-products .woocommerce-loop-product__title {
        font-size: 12px !important;
    }
}

/* ==========================================================================
   CAPS single-product legacy meta and cart controls
   Keeps the old CAPS metadata visible, but gives it a cleaner staged card
   treatment. The sold-online message is split into its own note block.
   ========================================================================== */

body.single-product .caps-meta-wrapper,
.single-product .caps-meta-wrapper,
body.single-product .summary .caps-meta-wrapper,
body.single-product .product .caps-meta-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    grid-auto-rows: minmax(68px, auto) !important;
    align-items: start !important;
    gap: 1px !important;
    margin: 16px 0 0 !important;
    padding: 1px !important;
    background: #cfd9e4 !important;
    border: 1px solid #c8d3df !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
    visibility: visible !important;
    height: auto !important;
    overflow: hidden !important;
}

body.single-product .caps-meta-line,
.single-product .caps-meta-line {
    min-width: 0 !important;
    display: grid !important;
    grid-template-rows: auto 1fr !important;
    align-content: start !important;
    align-self: stretch !important;
    gap: 4px !important;
    min-height: 68px !important;
    padding: 10px 12px !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    width: auto !important;
    flex: none !important;
    margin: 0 !important;
    box-shadow: none !important;
}

body.single-product .caps-meta-wrapper .caps-meta-line:nth-child(even),
.single-product .caps-meta-wrapper .caps-meta-line:nth-child(even) {
    background: #f1f6fb !important;
}

body.single-product .caps-meta-wrapper .caps-meta-line--full,
.single-product .caps-meta-wrapper .caps-meta-line--full,
body.single-product .caps-meta-wrapper .caps-meta-line:last-child,
.single-product .caps-meta-wrapper .caps-meta-line:last-child {
    grid-column: 1 / -1 !important;
    min-height: 0 !important;
    grid-template-columns: 160px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    background: #ebf2f9 !important;
}

body.single-product .caps-meta-line strong,
.single-product .caps-meta-line strong {
    display: block !important;
    margin: 0 !important;
    color: #6f7f90 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

body.single-product .caps-meta-line .caps-meta,
.single-product .caps-meta-line .caps-meta {
    display: block !important;
    color: #16324f !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
}

body.single-product .caps-meta-line--sku .caps-meta,
body.single-product .caps-meta-line--alternate-skus .caps-meta,
body.single-product .caps-meta-line--alternate-sku .caps-meta,
body.single-product .caps-meta-line--oem .caps-meta,
.single-product .caps-meta-line--sku .caps-meta,
.single-product .caps-meta-line--alternate-skus .caps-meta,
.single-product .caps-meta-line--alternate-sku .caps-meta,
.single-product .caps-meta-line--oem .caps-meta {
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
}

body.single-product .caps-meta-line--product-categories .caps-meta,
body.single-product .caps-meta-line--categories .caps-meta,
.single-product .caps-meta-line--product-categories .caps-meta,
.single-product .caps-meta-line--categories .caps-meta {
    font-size: 12px !important;
    line-height: 1.5 !important;
}

body.single-product .caps-meta-line--sku,
body.single-product .caps-meta-line--alternate-skus,
body.single-product .caps-meta-line--alternate-sku,
.single-product .caps-meta-line--sku,
.single-product .caps-meta-line--alternate-skus,
.single-product .caps-meta-line--alternate-sku {
    box-shadow: inset 3px 0 0 #1e73be !important;
}

body.single-product .caps-meta-line--details,
body.single-product .caps-meta-line--detail,
body.single-product .caps-meta-line--size,
body.single-product .caps-meta-line--includes,
body.single-product .caps-meta-line--excludes,
.single-product .caps-meta-line--details,
.single-product .caps-meta-line--detail,
.single-product .caps-meta-line--size,
.single-product .caps-meta-line--includes,
.single-product .caps-meta-line--excludes {
    background: #f5f9fe !important;
}

body.single-product .caps-meta-line .caps-meta a,
.single-product .caps-meta-line .caps-meta a {
    color: #1e73be !important;
    text-decoration: none !important;
}

body.single-product .caps-meta-line .caps-meta a:hover,
.single-product .caps-meta-line .caps-meta a:hover {
    text-decoration: underline !important;
}

body.single-product .caps-sold-online-note,
.single-product .caps-sold-online-note {
    margin: 8px 0 0 !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #eef5ff 0%, #e7f0fb 100%) !important;
    border: 1px solid #ceddee !important;
    color: #16324f !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    text-align: left !important;
}

body.single-product .caps-sold-online-note strong,
.single-product .caps-sold-online-note strong {
    color: #1e73be !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

body.single-product .caps-sold-online-note span,
.single-product .caps-sold-online-note span {
    color: #526273 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
}

body.single-product div.product > form.cart,
body.single-product.woocommerce div.product > form.cart,
.single-product div.product > form.cart,
.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
}

body.single-product div.product > form.cart .qib-container,
body.single-product form.cart .qib-container,
.single-product form.cart .qib-container {
    display: inline-flex !important;
    align-items: center !important;
    background: #f8fafc !important;
    border: 1px solid #d7e1eb !important;
    border-radius: 10px !important;
    padding: 4px !important;
    margin: 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

body.single-product div.product > form.cart .qib-container .qib-button,
body.single-product div.product > form.cart .qib-container .minus,
body.single-product div.product > form.cart .qib-container .plus,
body.single-product form.cart .qib-button,
body.single-product form.cart .minus,
body.single-product form.cart .plus,
.single-product form.cart .qib-button,
.single-product form.cart .minus,
.single-product form.cart .plus {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #cdd9e5 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #16324f !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

body.single-product div.product > form.cart .qib-container .qib-button:hover,
body.single-product div.product > form.cart .qib-container .minus:hover,
body.single-product div.product > form.cart .qib-container .plus:hover,
body.single-product form.cart .qib-button:hover,
body.single-product form.cart .minus:hover,
body.single-product form.cart .plus:hover,
.single-product form.cart .qib-button:hover,
.single-product form.cart .minus:hover,
.single-product form.cart .plus:hover {
    background: #1e73be !important;
    color: #ffffff !important;
    border-color: #1e73be !important;
}

body.single-product div.product > form.cart .qib-container .quantity,
body.single-product div.product > form.cart .quantity,
body.single-product form.cart .quantity,
.single-product form.cart .quantity {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 6px !important;
    background: transparent !important;
    border: none !important;
}

body.single-product div.product > form.cart .qib-container .quantity input.qty,
body.single-product div.product > form.cart .quantity .qty,
body.single-product form.cart .quantity input.qty,
.single-product form.cart .quantity input.qty {
    width: 50px !important;
    height: 38px !important;
    padding: 4px 6px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #16324f !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
    box-shadow: none !important;
}

body.single-product div.product > form.cart .quantity input.qty::-webkit-outer-spin-button,
body.single-product div.product > form.cart .quantity input.qty::-webkit-inner-spin-button,
body.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
body.single-product form.cart .quantity input.qty::-webkit-inner-spin-button,
.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

body.single-product div.product > form.cart .single_add_to_cart_button,
body.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button,
body.single-product .cart button.button,
.single-product .cart button.button {
    flex: 1 1 auto !important;
    min-height: 46px !important;
    padding: 12px 18px !important;
    border: none !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #1e73be 0%, #165a96 100%) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    line-height: 1.1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 18px rgba(30, 115, 190, 0.24) !important;
}

body.single-product div.product > form.cart .single_add_to_cart_button:hover,
body.single-product form.cart .single_add_to_cart_button:hover,
.single-product form.cart .single_add_to_cart_button:hover,
body.single-product .cart button.button:hover,
.single-product .cart button.button:hover {
    background: linear-gradient(135deg, #165a96 0%, #0f4d80 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 10px 20px rgba(30, 115, 190, 0.28) !important;
}

body.single-product div.product > form.cart .single_add_to_cart_button .mk-button-icon,
body.single-product form.cart .single_add_to_cart_button .mk-button-icon,
.single-product form.cart .single_add_to_cart_button .mk-button-icon {
    margin-right: 0 !important;
}

@media (max-width: 768px) {
    body.single-product .caps-meta-wrapper,
    .single-product .caps-meta-wrapper {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1px !important;
        padding: 1px !important;
    }

    body.single-product .caps-meta-line,
    .single-product .caps-meta-line {
        min-height: 0 !important;
        grid-template-rows: auto auto !important;
        padding: 9px 10px !important;
    }

    body.single-product .caps-meta-wrapper .caps-meta-line--full,
    .single-product .caps-meta-wrapper .caps-meta-line--full,
    body.single-product .caps-meta-wrapper .caps-meta-line:last-child,
    .single-product .caps-meta-wrapper .caps-meta-line:last-child {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
    }

    body.single-product .caps-meta-line strong,
    .single-product .caps-meta-line strong {
        font-size: 10px !important;
    }

    body.single-product .caps-meta-line .caps-meta,
    .single-product .caps-meta-line .caps-meta {
        font-size: 12px !important;
    }

    body.single-product div.product > form.cart,
    body.single-product.woocommerce div.product > form.cart,
    .single-product div.product > form.cart,
    .single-product form.cart {
        gap: 10px !important;
        margin-top: 14px !important;
    }

    body.single-product div.product > form.cart .qib-container,
    body.single-product form.cart .qib-container,
    .single-product form.cart .qib-container {
        padding: 3px !important;
    }

    body.single-product div.product > form.cart .qib-container .qib-button,
    body.single-product div.product > form.cart .qib-container .minus,
    body.single-product div.product > form.cart .qib-container .plus,
    body.single-product form.cart .qib-button,
    body.single-product form.cart .minus,
    body.single-product form.cart .plus,
    .single-product form.cart .qib-button,
    .single-product form.cart .minus,
    .single-product form.cart .plus {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 16px !important;
    }

    body.single-product div.product > form.cart .qib-container .quantity input.qty,
    body.single-product div.product > form.cart .quantity .qty,
    body.single-product form.cart .quantity input.qty,
    .single-product form.cart .quantity input.qty {
        width: 42px !important;
        height: 34px !important;
        font-size: 14px !important;
    }

    body.single-product div.product > form.cart .single_add_to_cart_button,
    body.single-product form.cart .single_add_to_cart_button,
    .single-product form.cart .single_add_to_cart_button,
    body.single-product .cart button.button,
    .single-product .cart button.button {
        min-height: 42px !important;
        padding: 11px 14px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   Final compact single-product summary refinement
   Last-in-file overrides so the Jeep/Wrangler product summary uses a compact
   spec-panel layout instead of oversized cards or cramped bubbles.
   ========================================================================== */

body.single-product .caps-fitment-summary,
.single-product .caps-fitment-summary {
    margin: 0 0 8px !important;
    padding: 5px 8px !important;
    gap: 5px !important;
    border-radius: 6px !important;
    background: #edf4fb !important;
    border: 1px solid #d7e3f0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

body.single-product .summary .price,
body.single-product .summary p.price,
.single-product .summary .price,
.single-product .summary p.price {
    margin: 0 0 10px !important;
    padding: 10px 12px !important;
    gap: 2px !important;
    background: #ffffff !important;
    border: 1px solid #d7e1eb !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

body.single-product .summary .price .caps-price-labels,
body.single-product .summary p.price .caps-price-labels,
.single-product .summary .price .caps-price-labels,
.single-product .summary p.price .caps-price-labels {
    font-size: 10px !important;
    line-height: 1 !important;
}

body.single-product .summary .price .caps-price-labels:last-of-type,
body.single-product .summary p.price .caps-price-labels:last-of-type,
.single-product .summary .price .caps-price-labels:last-of-type,
.single-product .summary p.price .caps-price-labels:last-of-type {
    margin-top: 1px !important;
}

body.single-product .summary .price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
body.single-product .summary p.price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
.single-product .summary .price .caps-price-labels:first-of-type + .woocommerce-Price-amount,
.single-product .summary p.price .caps-price-labels:first-of-type + .woocommerce-Price-amount {
    font-size: 13px !important;
}

body.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
body.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount {
    font-size: 28px !important;
    line-height: 1.05 !important;
}

body.single-product .caps-meta-wrapper--enhanced,
.single-product .caps-meta-wrapper--enhanced,
body.single-product .summary .caps-meta-wrapper--enhanced {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    gap: 1px !important;
    margin: 10px 0 0 !important;
    padding: 1px !important;
    background: #d5dee8 !important;
    border: 1px solid #d5dee8 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line {
    display: grid !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    gap: 3px !important;
    min-height: 62px !important;
    padding: 9px 11px !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+1),
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+2),
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+1),
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+2) {
    background: #ffffff !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+3),
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+4),
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+3),
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line:nth-child(4n+4) {
    background: #f3f8fd !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full {
    grid-column: 1 / -1 !important;
    grid-template-columns: 150px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    min-height: 0 !important;
    background: #eef4fa !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--sku,
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-skus,
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-sku,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--sku,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-skus,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--alternate-sku {
    box-shadow: inset 3px 0 0 #1e73be !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line strong,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line strong {
    margin: 0 !important;
    color: #6f7f90 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta {
    color: #16324f !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--product-categories .caps-meta,
body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--categories .caps-meta,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--product-categories .caps-meta,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--categories .caps-meta {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a {
    color: #1e73be !important;
    text-decoration: none !important;
}

body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a:hover,
.single-product .caps-meta-wrapper--enhanced > .caps-meta-line .caps-meta a:hover {
    text-decoration: underline !important;
}

body.single-product .caps-sold-online-note,
.single-product .caps-sold-online-note {
    margin: 8px 0 0 !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    background: #eef4fa !important;
    border: 1px solid #d7e3f0 !important;
    box-shadow: none !important;
}

body.single-product div.product > form.cart,
body.single-product.woocommerce div.product > form.cart,
.single-product div.product > form.cart,
.single-product form.cart {
    margin-top: 10px !important;
    gap: 10px !important;
}

body.single-product div.product > form.cart .qib-container,
body.single-product form.cart .qib-container,
.single-product form.cart .qib-container {
    border-radius: 8px !important;
    box-shadow: none !important;
}

body.single-product div.product > form.cart .single_add_to_cart_button,
body.single-product form.cart .single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button,
body.single-product .cart button.button,
.single-product .cart button.button {
    min-height: 42px !important;
    padding: 11px 16px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    body.single-product .summary .price,
    body.single-product .summary p.price,
    .single-product .summary .price,
    .single-product .summary p.price {
        padding: 9px 10px !important;
    }

    body.single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    body.single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    .single-product .summary .price .caps-price-labels:last-of-type + .woocommerce-Price-amount,
    .single-product .summary p.price .caps-price-labels:last-of-type + .woocommerce-Price-amount {
        font-size: 24px !important;
    }

    body.single-product .caps-meta-wrapper--enhanced,
    .single-product .caps-meta-wrapper--enhanced,
    body.single-product .summary .caps-meta-wrapper--enhanced {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line {
        min-height: 0 !important;
        padding: 8px 9px !important;
    }

    body.single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full,
    .single-product .caps-meta-wrapper--enhanced > .caps-meta-line--full {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
    }
}