/* =========================================
   JM PRECISION LABS - CLEAN CUSTOM CSS
   ========================================= */


/* =========================================
   HEADER / DROPDOWN MENUS
   ========================================= */

/* Keep Elementor header/dropdowns visible */
.elementor-location-header,
.elementor-location-header .elementor-widget-nav-menu,
.elementor-location-header .elementor-nav-menu--main {
    overflow: visible !important;
    position: relative;
    z-index: 9999;
}

/* Keep dropdown directly underneath parent item */
.elementor-nav-menu--main .menu-item-has-children {
    position: relative;
}

.elementor-nav-menu--main .menu-item-has-children > .sub-menu {
    top: 100% !important;
    margin-top: 0 !important;
    z-index: 99999 !important;
}

/* Invisible bridge to help dropdown remain open */
.elementor-nav-menu--main .menu-item-has-children::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}

/* Open Elementor dropdown on hover */
.elementor-nav-menu--main .menu-item-has-children:hover > .sub-menu,
.elementor-nav-menu--main .menu-item-has-children:focus-within > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Open standard navigation dropdown on hover */
.main-navigation ul li:hover > ul.sub-menu,
.main-navigation ul li:focus-within > ul.sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}


/* =========================================
   ACCOUNT PROFILE / NAVIGATION
   ========================================= */

/* Remove ONLY the small duplicate avatar + username
   inside the WooCommerce menu.
   Keeps the large Kadence avatar above the menu. */
.account-navigation-wrap
> nav.woocommerce-MyAccount-navigation
> .woocommerce-account-gravatar {
    display: none !important;
}


/* =========================================
   CLIENT PORTAL - DASHBOARD IMAGE
   ========================================= */

@media (min-width: 769px) {

    /* Dashboard ONLY:
       Move Quality Research Compounds image higher */
    .page-id-10123
    .entry-content
    > .woocommerce:has(
        .woocommerce-MyAccount-navigation-link--dashboard.is-active
    )
    + figure.wp-block-image {
        margin-top: -360px !important;
        margin-bottom: 20px !important;
        position: relative !important;
        transform: none !important;
        z-index: 1 !important;
    }
}


/* =========================================
   DIRECT PAYMENTS - TWO COLUMN LAYOUT
   ========================================= */

@media (min-width: 769px) {

    /* Separate Direct Payments content from right menu */
    .page-id-10123
    .woocommerce:has(
        .woocommerce-MyAccount-navigation-link--direct-payments.is-active
    ) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 330px !important;
        column-gap: 45px !important;
        align-items: start !important;
    }

    /* Direct Payments content stays on LEFT */
    .page-id-10123
    .woocommerce:has(
        .woocommerce-MyAccount-navigation-link--direct-payments.is-active
    )
    .woocommerce-MyAccount-content {
        grid-column: 1 !important;
        grid-row: 1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;
        clear: none !important;

        transform: none !important;
        position: relative !important;
        top: auto !important;

        box-sizing: border-box !important;
        z-index: 1 !important;
    }

    /* Account navigation stays safely on RIGHT */
    .page-id-10123
    .woocommerce:has(
        .woocommerce-MyAccount-navigation-link--direct-payments.is-active
    )
    .account-navigation-wrap {
        grid-column: 2 !important;
        grid-row: 1 !important;

        width: 100% !important;
        max-width: 330px !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        float: none !important;
        clear: none !important;

        transform: none !important;
        position: relative !important;
        top: auto !important;

        box-sizing: border-box !important;
        z-index: 5 !important;
    }

    /* On Direct Payments:
       Keep research image BELOW the payment table */
    .page-id-10123
    .entry-content
    > .woocommerce:has(
        .woocommerce-MyAccount-navigation-link--direct-payments.is-active
    )
    + figure.wp-block-image {
        margin-top: 30px !important;
        margin-bottom: 30px !important;

        clear: both !important;
        position: relative !important;
        transform: none !important;

        width: auto !important;
        max-width: 100% !important;

        z-index: 1 !important;
    }
}


/* =========================================
   DOWNLOADS - MOVE RESEARCH IMAGE UP
   ========================================= */

@media (min-width: 769px) {

    .page-id-10123
    .entry-content
    > .woocommerce:has(
        .woocommerce-MyAccount-navigation-link--downloads.is-active
    )
    + figure.wp-block-image {
        margin-top: -400px !important;
        margin-bottom: 25px !important;

        position: relative !important;
        transform: none !important;

        /* Leave room for right-side navigation */
        max-width: calc(100% - 380px) !important;

        z-index: 1 !important;
    }
}


/* =========================================
   CLIENT PORTAL - FULL CLICKABLE MENU LINKS
   ========================================= */

.account-navigation-wrap
.woocommerce-MyAccount-navigation ul li {
    width: 100% !important;
    position: relative !important;
}

.account-navigation-wrap
.woocommerce-MyAccount-navigation ul li > a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;

    position: relative !important;
    z-index: 20 !important;

    pointer-events: auto !important;
    cursor: pointer !important;

    padding: 12px 16px !important;
}


/* =========================================
   MOBILE / TABLET SAFETY
   ========================================= */

@media (max-width: 768px) {

    /* Do not use desktop image positioning on mobile */
    .entry-content > .woocommerce + figure.wp-block-image {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        transform: none !important;
        position: relative !important;
        max-width: 100% !important;
    }

    /* Return account layout to normal width on mobile */
    .woocommerce-MyAccount-content,
    .account-navigation-wrap,
    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
    }
}

/* Sign In button shown to logged-out visitors */
.jmp-signin-button {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #0b5eb7;
    border-radius: 30px;
    color: #0b5eb7 !important;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.4;
}

/* Hide Sign In when logged in */
body.logged-in .jmp-signin-button {
    display: none !important;
}

/* === JM redesign: WooCommerce (Clearframe) === */
.woocommerce ul.products li.product .product-details{padding:16px 18px 18px}
.woocommerce ul.products li.product{border-radius:14px;overflow:hidden;box-shadow:none!important;border:0!important}
.woocommerce ul.products li.product .content-bg,.woocommerce ul.products li.product.content-bg{box-shadow:none!important;border-radius:14px}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .woocommerce-loop-product__title a{font-size:17px;font-weight:600;letter-spacing:-.01em;color:#0F1E33}
.woocommerce ul.products li.product .price{font-size:19px;font-weight:600;color:#0F1E33}
.woocommerce ul.products li.product .price del{font-weight:400;font-size:13px;color:#5B6B82}
.product-archive-title-area,.site-header-focus-item .product-archive-title-area,.entry-hero.product-archive-hero-section{background:#fff!important}
.product-archive-hero-section .entry-hero-container-inner{background:#fff!important}
.woocommerce-products-header,.product-archive-hero-section{padding-top:48px}
.woocommerce .woocommerce-result-count{color:#5B6B82;font-size:14.5px}
.woocommerce .woocommerce-ordering select{border-radius:999px;border:0;background:#F4F6F9;padding:10px 40px 10px 16px;font-size:14.5px}
/* single product */
.single-product .product_title{font-size:clamp(34px,4vw,46px);font-weight:500;letter-spacing:-.025em;line-height:1.05;color:#0F1E33}
.single-product .summary .price{font-size:26px;font-weight:600;color:#0F1E33}
.single-product .summary .woocommerce-product-details__short-description{font-size:17px;color:#5B6B82}
.single-product .summary .stock{color:#157A55;font-weight:600;font-size:14px}
.single-product .quantity .qty{border-radius:999px;border:1.5px solid #E3E8EF;padding:12px 14px}
.single-product .woocommerce-product-gallery__wrapper{background:#F4F6F9;border-radius:14px;overflow:hidden}
.single-product .woocommerce-product-gallery__image img{mix-blend-mode:multiply}
.single-product .woocommerce-tabs ul.tabs li a{font-weight:600;font-size:15px}
.single-product .product_meta{font-size:14px;color:#5B6B82}
.single-product .related > h2,.single-product .upsells > h2{font-size:30px;font-weight:500;letter-spacing:-.02em}
/* cart, checkout, account */
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce .select2-container--default .select2-selection--single{border-radius:10px;border:1.5px solid #E3E8EF;padding:12px 14px;background:#fff}
.woocommerce-cart table.shop_table,.woocommerce-checkout #order_review,.woocommerce-checkout .woocommerce-checkout-review-order-table{border-radius:14px;border:1.5px solid #E3E8EF}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-checkout #payment{background:#F4F6F9;border-radius:14px;padding:24px}
.woocommerce-MyAccount-navigation ul li a{border-radius:10px}
.woocommerce-MyAccount-navigation ul li.is-active a{background:#F4F6F9;color:#0F1E33}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:10px}

.woocommerce ul.products li.product img{mix-blend-mode:multiply}
.product-archive-hero-section .entry-hero-container-inner,.product-archive-hero-section{padding-bottom:0!important}
.woocommerce-products-header + .woocommerce-notices-wrapper, .product-archive-hero-section + *{margin-top:0}

/* JM redesign: header & footer */
#masthead .site-main-header-inner-wrap{background:rgba(255,255,255,.9);backdrop-filter:blur(10px)}
#masthead .header-navigation .menu > li > a{padding-left:14px;padding-right:14px}
#masthead .header-cart-wrap .header-cart-button{background:#F4F6F9;border-radius:999px;padding:10px 16px;font-weight:500;font-size:14.5px}
#masthead .header-cart-wrap .header-cart-button .header-cart-label{margin-right:6px}
#masthead .header-button{font-size:14.5px;font-weight:600;padding:10px 18px;line-height:1}
#masthead .search-toggle-open{color:#0F1E33}
#colophon{border-top:1px solid #E3E8EF}
#colophon .footer-social-wrap a{color:#5B6B82}#colophon .footer-social-wrap a:hover{color:#0F1E33}
#colophon .site-bottom-footer-inner-wrap{font-size:13.5px;color:#5B6B82}

#masthead .site-header-main-section-left .site-header-item + .site-header-item{margin-left:28px}

/* JM redesign: footer columns */
#colophon .site-middle-footer-inner-wrap{padding-top:56px;padding-bottom:40px}
#colophon .jm-footer-title{font-size:13.5px;font-weight:700;color:#0F1E33;margin:0 0 14px;letter-spacing:0}
#colophon .jm-footer-links{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:14.5px}
#colophon .jm-footer-links a{color:#5B6B82;text-decoration:none}#colophon .jm-footer-links a:hover{color:#0F1E33}
#colophon .widget_media_image img{max-width:180px;height:auto}
#colophon .jm-footer-brand{font-size:14.5px;color:#5B6B82;max-width:38ch;margin:14px 0 0}
#colophon .footer-social-wrap{margin-top:16px}
#colophon .site-bottom-footer-inner-wrap{border-top:1px solid #E3E8EF;padding-top:22px;padding-bottom:28px}
#colophon .jm-footer-legal{font-size:13px;line-height:1.6;color:#5B6B82;max-width:90ch;margin:0 0 10px}
#colophon .jm-footer-copy{font-size:13px;color:#5B6B82;margin:0}
#colophon .footer-navigation .menu a{font-size:13.5px}

#colophon .site-footer-middle-section-1{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0}
#colophon .site-footer-middle-section-1 .footer-social-wrap{margin-top:6px}
#colophon .footer-social-inner-wrap{justify-content:flex-start}
#colophon .widget_media_image figure{margin:0}

#colophon .widget_media_image,#colophon .wp-block-image{text-align:left;justify-content:flex-start;margin:0}

/* JM redesign: product gallery height fix */
.single-product .woocommerce-product-gallery{height:auto!important}
.single-product .woocommerce-product-gallery .flex-viewport{height:auto!important}
.single-product .woocommerce-product-gallery__image img{width:100%;height:auto;max-height:640px;object-fit:contain}

/* JM redesign: rounded Elementor sections with side margins must not exceed the viewport */
.elementor .e-con.e-parent{width:auto!important}

/* JM navbar modern (Clearframe) */
#masthead .header-navigation .menu > li > a{padding-left:13px;padding-right:13px}
#masthead .header-cart-wrap .header-cart-button{font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;font-weight:600}
#masthead .site-main-header-inner-wrap{border-bottom:1px solid #E3E8EF}

/* JM compact promo bar (Clearframe) */
#jm-promo-bar{min-height:38px!important;padding:0 16px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:16px!important;flex-wrap:nowrap!important}
#jm-promo-bar .jm-countdown{display:flex!important;align-items:center!important;gap:0!important;padding:0!important;min-width:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
#jm-promo-bar .jm-time{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:2px!important;min-width:0!important;margin:0!important;padding:0 7px 0 0!important}
#jm-promo-bar .jm-time strong{font-size:13px!important;line-height:1!important;font-weight:700!important;margin:0!important}
#jm-promo-bar .jm-time span{font-size:10px!important;line-height:1!important;margin:0!important;text-transform:uppercase!important;letter-spacing:.06em!important;opacity:.7!important}
#jm-promo-bar .jm-colon{display:none!important}
#jm-promo-bar .jm-promo-text{font-size:12px!important;line-height:1!important;letter-spacing:.07em!important;text-transform:uppercase!important;max-width:none!important;margin:0!important}
#jm-promo-bar .jm-code{background:rgba(255,255,255,.16)!important;padding:3px 8px!important;border-radius:999px!important;letter-spacing:.08em!important}
#jm-promo-bar .jm-divider{opacity:.45!important;margin:0 8px!important}
@media (max-width:900px){#jm-promo-bar{gap:10px!important;padding:0 12px!important;min-height:36px!important}#jm-promo-bar .jm-promo-text{font-size:11px!important}#jm-promo-bar .jm-time{padding-right:6px!important}#jm-promo-bar .jm-time strong{font-size:12px!important}#jm-promo-bar .jm-time span{font-size:9px!important}}
@media (max-width:600px){#jm-promo-bar{flex-wrap:wrap!important;gap:3px 10px!important;padding:6px 12px!important}#jm-promo-bar .jm-divider{margin:0 5px!important}}

/* JM promo/nav fine tuning (Clearframe) */
#jm-promo-bar .jm-time{gap:4px!important;padding:0 10px 0 0!important}
#jm-promo-bar .jm-time span{opacity:.65!important}
#masthead .header-navigation .menu > li > a{letter-spacing:.06em!important}
#masthead .header-cart-wrap .header-cart-button,#masthead .header-button{letter-spacing:.06em!important}

/* JM hide sale badges + promo bar navy (Clearframe) */
.woocommerce span.onsale,.woocommerce ul.products li.product .onsale,.woocommerce-page span.onsale{display:none!important}
#jm-promo-bar{background:#0F1E33!important}
#jm-promo-bar .jm-code{background:rgba(255,255,255,.14)!important}

/* JM promo navy + no discount badges (Clearframe) */
#jm-promo-bar{background:#0F1E33!important;border-bottom:1px solid rgba(255,255,255,.08)}
#jm-promo-bar .jm-code{background:rgba(255,255,255,.14)!important}
/* hide discount badges and struck-through prices */
.woocommerce ul.products li.product .onsale,.woocommerce span.onsale,.woocommerce ul.products li.product .wc-block-grid__product-onsale{display:none!important}
.woocommerce ul.products li.product .price del,.woocommerce div.product p.price del,.woocommerce div.product span.price del{display:none!important}
.woocommerce ul.products li.product .price ins,.woocommerce div.product .price ins{text-decoration:none!important}

/* JM section backgrounds + gradient headings (Clearframe) */
.elementor #label,.elementor #bulk,.elementor #faq{background-image:linear-gradient(180deg,#F6F9FF 0%,#E9F0FF 100%)!important}
#testing h2.elementor-heading-title,#whyjm h2.elementor-heading-title,#faq h2.elementor-heading-title,#catalog h2.elementor-heading-title{background:linear-gradient(92deg,#0F1E33 0%,#0F1E33 42%,#1846B8 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
#catalog p.elementor-heading-title,#testing p.elementor-heading-title,#whyjm p.elementor-heading-title,#faq p.elementor-heading-title{background:none!important;-webkit-text-fill-color:#1846B8!important;color:#1846B8!important}

/* JM chromatogram baseline (Clearframe) */
.elementor #proof{background-image:linear-gradient(180deg,#F8FAFF 0%,#EDF3FF 100%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='190' viewBox='0 0 1400 190'%3E%3Cpath d='M0%20170%20L150%20170%20L170%20168%20L182%20170%20L300%20170%20L316%20169%20L328%20170%20L455%20170%20L462%20150%20L468%20170%20L610%20170%20L618%2038%20L626%20170%20L760%20170%20L772%20132%20L780%20170%20L900%20170%20L915%20166%20L925%20170%20L1100%20170%20L1112%20156%20L1120%20170%20L1400%20170' fill='none' stroke='%231846B8' stroke-opacity='0.16' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat,repeat-x!important;background-position:center top,left bottom!important;background-size:auto,1400px 190px!important}

/* keep card text as authored */
#whyjm .elementor-widget-heading:not(:has(h2)) .elementor-heading-title{background:none!important;-webkit-text-fill-color:currentColor!important}

/* JM testing steps as cards (Clearframe) */
#testing .e-con:has(> .jm-step-n){background:#fff!important;border-radius:16px!important;padding:20px 22px!important;box-shadow:0 18px 36px -26px rgba(15,30,51,.42),0 1px 3px -1px rgba(15,30,51,.07);transition:transform .18s ease,box-shadow .18s ease}
#testing .e-con:has(> .jm-step-n):hover{transform:translateY(-2px);box-shadow:0 24px 44px -26px rgba(15,30,51,.5),0 2px 5px -2px rgba(15,30,51,.09)}
#testing .jm-step-n .elementor-heading-title{width:34px;height:34px;border-radius:11px!important;background:linear-gradient(140deg,#1846B8 0%,#2E6BEA 100%)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;display:grid;place-items:center;font-size:13px;font-weight:700;box-shadow:0 10px 18px -10px rgba(24,70,184,.85)}
#testing .jm-step-n{width:34px;max-width:34px;padding:0!important;border:0!important;background:none!important}
#testing .jm-step-n .elementor-widget-container{padding:0!important;border:0!important;background:none!important;border-radius:0!important}

/* JM label anatomy as cards (Clearframe) */
#label .e-con:has(> .jm-anat-n){background:#fff!important;border-radius:16px!important;padding:18px 20px!important;box-shadow:0 18px 36px -26px rgba(15,30,51,.42),0 1px 3px -1px rgba(15,30,51,.07);transition:transform .18s ease,box-shadow .18s ease}
#label .e-con:has(> .jm-anat-n):hover{transform:translateY(-2px);box-shadow:0 24px 44px -26px rgba(15,30,51,.5),0 2px 5px -2px rgba(15,30,51,.09)}
#label .jm-anat-n{width:34px;max-width:34px}
#label .jm-anat-n .elementor-heading-title{width:34px;height:34px;border-radius:11px!important;background:linear-gradient(140deg,#1846B8 0%,#2E6BEA 100%)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;display:grid;place-items:center;font-size:13px;font-weight:700;box-shadow:0 10px 18px -10px rgba(24,70,184,.85)}
#label .jm-anat-n .elementor-widget-container{padding:0!important;border:0!important;background:none!important}
#label .jm-anat-photo img{border-radius:16px;box-shadow:0 26px 50px -30px rgba(15,30,51,.5);background:#fff}

/* JM label layout v2 (Clearframe) */
#label > .e-con-inner > .e-con{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:clamp(32px,4vw,64px)!important;width:100%!important}
#label > .e-con-inner > .e-con > .e-con:first-child{flex:0 0 44%!important;width:44%!important;max-width:44%!important}
#label > .e-con-inner > .e-con > .e-con:last-child{flex:1 1 auto!important;width:auto!important;max-width:none!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;align-content:start!important}
#label .jm-anat-photo{margin-top:26px}
#label .jm-anat-photo img{width:100%;max-width:none;border-radius:0!important;box-shadow:none!important;background:transparent!important;mix-blend-mode:multiply}
#label .e-con:has(> .jm-anat-n){padding:16px 18px!important;border-radius:14px!important}
@media (max-width:1040px){#label > .e-con-inner > .e-con{flex-direction:column!important}#label > .e-con-inner > .e-con > .e-con:first-child{flex:1 1 auto!important;width:100%!important;max-width:100%!important}#label > .e-con-inner > .e-con > .e-con:last-child{grid-template-columns:1fr!important;width:100%!important}}

/* JM ordering steps as cards (Clearframe) */
#bulk .e-con:has(> .jm-ord-n){position:relative;background:#fff!important;border-radius:18px!important;padding:28px 26px 26px!important;box-shadow:0 22px 44px -28px rgba(15,30,51,.45),0 2px 6px -2px rgba(15,30,51,.08);transition:transform .18s ease,box-shadow .18s ease}
#bulk .e-con:has(> .jm-ord-n):hover{transform:translateY(-3px);box-shadow:0 28px 52px -28px rgba(15,30,51,.52),0 3px 8px -3px rgba(15,30,51,.1)}



#bulk .jm-ord-n .elementor-heading-title{display:inline-block;font-family:Archivo,sans-serif!important;font-size:11.5px!important;font-weight:700!important;letter-spacing:.14em;color:#1846B8!important;-webkit-text-fill-color:#1846B8!important;background:none!important}

#bulk .jm-ord-n .elementor-widget-container{padding:0!important;border:0!important;background:none!important}
@media (max-width:1040px){#bulk .e-con:has(> .jm-ord-n){padding:24px 22px!important}}

/* JM ordering steps fix (Clearframe) */
#bulk .jm-ord-n{width:100%!important;max-width:100%!important;flex:0 0 auto!important;--width:100%!important}
#bulk .jm-ord-n .elementor-heading-title{white-space:nowrap}

#bulk .e-con:has(> .jm-ord-n){gap:6px!important}

/* JM ordering steps fix 2 (Clearframe) */
#bulk .e-con:has(> .e-con > .jm-ord-n){grid-template-rows:none!important;grid-auto-rows:auto!important;align-items:start!important;align-content:start!important}
#bulk .jm-ord-n .elementor-heading-title{text-align:left!important}
#bulk .jm-ord-n{text-align:left!important}

/* JM ordering badges v2 (Clearframe) */
#bulk .jm-ord-n .elementor-heading-title{display:grid!important;place-items:center;width:34px!important;height:34px!important;border-radius:11px!important;background:linear-gradient(140deg,#1846B8 0%,#2E6BEA 100%)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:13px!important;font-weight:700!important;letter-spacing:0!important;box-shadow:0 10px 18px -10px rgba(24,70,184,.85);white-space:normal}
#bulk .e-con:has(> .jm-ord-n){gap:12px!important;padding:26px 24px!important}

/* JM product cards v2 (Clearframe) */
.woocommerce ul.products{gap:20px!important}
.woocommerce ul.products li.product{background:#fff!important;border:1px solid #E7ECF5!important;border-radius:18px!important;overflow:hidden!important;padding:0!important;box-shadow:0 1px 2px rgba(15,30,51,.04)!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);border-color:#D7E0F2!important;box-shadow:0 26px 48px -30px rgba(15,30,51,.5),0 3px 8px -4px rgba(15,30,51,.08)!important}
.woocommerce ul.products li.product a img{background:#F4F6F9;padding:16px;aspect-ratio:1/1;object-fit:contain;mix-blend-mode:multiply;margin:0!important;border-radius:0!important;transition:transform .35s ease}
.woocommerce ul.products li.product:hover a img{transform:scale(1.04)}
.woocommerce ul.products li.product .product-details,.woocommerce ul.products li.product .woocommerce-loop-product__link + *{padding:16px 18px 18px!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16.5px!important;font-weight:600!important;letter-spacing:-.01em;color:#0F1E33!important;line-height:1.3;margin:0 0 6px!important;min-height:2.6em}
.woocommerce ul.products li.product .price{font-size:18px!important;font-weight:700!important;color:#0F1E33!important;display:block;margin-bottom:14px!important}
.woocommerce ul.products li.product .button{display:block!important;width:100%!important;text-align:center;border-radius:999px!important;padding:12px 18px!important;font-size:14px!important;font-weight:600!important;letter-spacing:.04em;text-transform:uppercase;background:transparent!important;color:#1846B8!important;border:1.5px solid #1846B8!important;transition:background .18s ease,color .18s ease}
.woocommerce ul.products li.product .button:hover{background:#1846B8!important;color:#fff!important}
.woocommerce ul.products li.product .button.loading{opacity:.7}
.woocommerce ul.products li.product .added_to_cart{display:block;text-align:center;margin-top:8px;font-size:13px;font-weight:600;color:#1846B8}
.woocommerce ul.products li.product .button.added{background:#157A55!important;border-color:#157A55!important;color:#fff!important}

/* JM product cards equal height (Clearframe) */
.woocommerce ul.products{grid-auto-rows:1fr!important;align-items:stretch!important}
.woocommerce ul.products li.product{display:flex!important;flex-direction:column!important;height:100%!important}
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,.woocommerce ul.products li.product > a:first-child{display:block}
.woocommerce ul.products li.product .product-details{display:flex!important;flex-direction:column!important;flex:1 1 auto!important}
.woocommerce ul.products li.product .price{margin-top:auto!important}
.woocommerce ul.products li.product .button{margin-top:0!important}

/* JM product details flush (Clearframe) */
.woocommerce ul.products li.product .product-details,.woocommerce ul.products li.product .content-bg{background:transparent!important;background-color:transparent!important;border-radius:0!important;margin:0!important;width:100%!important;max-width:100%!important;box-shadow:none!important;border:0!important}
.woocommerce ul.products li.product .woocommerce-loop-image-link,.woocommerce ul.products li.product .product-image{display:block;margin:0!important;border-radius:0!important;overflow:hidden}
.woocommerce ul.products li.product .product-image .product-image-inner,.woocommerce ul.products li.product figure{margin:0!important;border-radius:0!important}