.woocommerce-Tabs-panel--description h2 {
    display: none !important;
}

.woocommerce ul.products li.product-category a img {
    display: none !important;
}

.related.products ul.products li.product img {
    display: none !important;
}

.woocommerce-Tabs-panel--description h2 {
    display: none !important;
}


.woocommerce ul.products li.product-category a img {
    display: none !important;
}


/* Clean up default WooCommerce container styles inside cards */
.flat-slot-card .woocommerce.add_to_cart_inline {
    border: none !important;
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
    background: transparent !important;
    text-align: center !important;
    width: 100% !important;
}

/* Hard-style card Titles */
.flat-slot-card .custom-grid-title {
    color: #0b2564 !important;
    font-size: 20px !important;
    font-weight: bold !important;
    text-align: center !important;
    margin: 15px 0 10px 0 !important;
    font-family: inherit !important;
}

/* Hard-style card Descriptions */
.flat-slot-card .custom-grid-desc {
    font-size: 14.5px !important;
    color: #2c3e50 !important;
    line-height: 1.6 !important;
    text-align: left !important;
    margin: 0 0 15px 0 !important;
}

/* Structure checkout buttons to be centered */
.flat-slot-card .woocommerce.add_to_cart_inline a.button {
    display: block !important;
    background-color: #3b9c3f !important;
    color: #ffffff !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: bold !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    line-height: 48px !important;
    height: 48px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.single-product .site-content { padding-top: 0px; }
.single-product div.product { margin-top: 0px; }
.single-product .entry-content, .single-product .site-main, .single-product .content-area, .single-product .wp-block-group { padding-top: 0px !important; margin-top: 0px !important; }
.single-product .wp-block-woocommerce-product-details, .single-product .woocommerce-tabs { margin-top: 0px !important; padding-top: 0px !important; }
.single-product .quantity { display: none !important; }
.woocommerce div.product form.cart .button { width: auto; float: left; padding: 10px 20px; margin-right: 10px; }
.woocommerce.single-product .single_add_to_cart_button { background-color: #4CAF50 !important; color: #1E3A8B !important; border: 1px solid #4CAF50 !important; border-radius: 4px !important; padding: 10px 20px !important; }
.woocommerce-Price-amount { border-top: 1px solid #e2e8f0; padding-top: 15px; display: block; }
.summary .price::before, .summary p.price::before { content: "Single User License" !important; display: block !important; font-size: 12px !important; font-weight: 600 !important; color: #1E3A8B !important; margin-bottom: 8px !important; }
.woocommerce:not(.single-product) .added_to_cart { display: none !important; }
.added_to_cart { background-color: white !important; color: #1E3A8B !important; border: 1px solid #1E3A8B !important; border-radius: 4px !important; padding: 10px 20px !important; text-decoration: none !important; font-weight: 600 !important; }
.added_to_cart:hover { background-color: #1E3A8B !important; color: white !important; }




/* ==========================================================================
   PRODUCTION BUTTON FIXED LAYER (ANTI-OVERLAY HOVER ACCELERATOR)
   ========================================================================== */

/* 1. Reset both buttons to a clean matching shape, solid green background, and white text */
.always-green-btn,
.always-green-btn a,
.wp-block-button .always-green-btn,
.wp-block-button__link.always-green-btn {
    background-color: #4caf50 !important;
    background: #4caf50 !important;
    color: #ffffff !important;
    border: 2px solid #4caf50 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: none !important;
}

/* 2. Freeze the hover states completely so nothing can change on mouse placement */
.always-green-btn:hover,
.always-green-btn a:hover,
.wp-block-button .always-green-btn:hover,
.wp-block-button__link.always-green-btn:hover,
.always-green-btn:focus,
.always-green-btn:active {
    background-color: #4caf50 !important;
    background: #4caf50 !important;
    color: #ffffff !important;
    border-color: #4caf50 !important;
    opacity: 1 !important;
}

/* 3. DESTROY HIDDEN PSEUDO-LAYERS: Wipes out the theme's stubborn inner white/blue hover box layer */
.always-green-btn::before,
.always-green-btn::after,
.always-green-btn:hover::before,
.always-green-btn:hover::after,
.always-green-btn a::before,
.always-green-btn a::after,
.wp-block-button__link.always-green-btn::before,
.wp-block-button__link.always-green-btn::after {
    display: none !important;
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0 !important;
    content: none !important;
}

/* 4. Ensure internal text components stay static and white on hover state triggers */
.always-green-btn:hover *,
.always-green-btn a:hover * {
    background-color: transparent !important;
    background: transparent !important;
    color: #ffffff !important;
}

/* ==========================================================================
   EXACT BUTTON SIZE EQUALIZER
   ========================================================================== */

/* Target both button links and force them to the exact same block width */
.always-green-btn,
.always-green-btn a,
.wp-block-button__link.always-green-btn,
.wp-block-buttons .always-green-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
    height: 50px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

/* ==========================================================================
   GLOBAL BLUE BANNER REMOVAL (EDITOR AND HOMEPAGE SAFE)
   ========================================================================== */

/* 1. Hides the blue banner across all inner pages and blog templates */
header + .wp-block-cover,
header + .wp-block-group .wp-block-cover,
.wp-block-template-part + .wp-block-cover {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. FRONTEND EXCEPTION: Keeps the homepage hero visible on the live public site */
body.home header + .wp-block-cover,
body.home header + .wp-block-group .wp-block-cover,
body.home .wp-block-cover:first-of-type {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
}

/* 3. BACKEND EDITOR EXCEPTION: Forces the homepage hero to stay visible inside the Site Editor */
.editor-styles-wrapper header + .wp-block-cover,
.editor-styles-wrapper header + .wp-block-group .wp-block-cover,
.is-frontend-editor .wp-block-cover:first-of-type,
.block-editor-block-list__layout header + .wp-block-cover {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
}

/* ==========================================================================
   PERFECT HERO CONTENT SYMMETRY TRACKING
   ========================================================================== */

/* 1. Reset all individual text block elements to a perfect uniform starting line */
header + .wp-block-group h5,
header + .wp-block-group h1,
header + .wp-block-group h2,
header + .wp-block-group p,
header + .wp-block-group .wp-block-buttons {
    padding-left: 65px !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
}

/* 2. Responsive handling to keep them perfectly aligned on mobile phone viewports */
@media screen and (max-width: 768px) {
    header + .wp-block-group h5,
    header + .wp-block-group h1,
    header + .wp-block-group h2,
    header + .wp-block-group p,
    header + .wp-block-group .wp-block-buttons {
        padding-left: 24px !important;
    }
}

/* ==========================================================================
   FORCE TEXT LAYOUT EXPANSION ON CHROMIUM BROWSERS
   ========================================================================== */

/* 1. Prevent parent flex elements from shrinking below readable size */
.industry-coverage-grid [class*="slide"],
.industry-coverage-grid li,
.industry-coverage-grid .wp-block-column {
    flex-shrink: 0 !important;
}

/* 2. Force inner typography wrappers to dictate their own minimum horizontal footprint */
.industry-coverage-grid h1,
.industry-coverage-grid h2,
.industry-coverage-grid h3,
.industry-coverage-grid p {
    display: inline-block !important;
    width: auto !important;
    min-width: 250px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}


/* Unifies the size, weight, and layout of all stock status messages */
.stock,
.custom-in-progress,
.wc-block-components-product-stock-status,
.wc-block-components-product-stock-status span {
    font-size: 16px !important;
    font-weight: bold !important;
    text-align: center !important;
    display: block !important;
    margin-top: 10px !important;
}


/* 1. SECURE THE THREE COLUMN DESKTOP GRID LAYOUT */
.wp-block-woocommerce-product-collection .wc-block-product-template,
.wp-block-woocommerce-product-collection ul.products,
.wp-block-woocommerce-product-collection .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 25px !important;
}

/* 2. FORCE EVERY CARD ITEM COLUMN TO BE AN IDENTICAL VERTICAL FLEX BOX */
.wp-block-woocommerce-product-collection .wc-block-product-template > li,
.wp-block-woocommerce-product-collection ul.products > li,
.wp-block-woocommerce-product-collection .wp-block-post-template > li {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

/* 3. LOCK EVERY DESCRIPTION BLOCK TO AN ABSOLUTE RECTANGLE WINDOW */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-summary,
.wp-block-woocommerce-product-collection .wp-block-post-excerpt,
.wp-block-woocommerce-product-collection [class*="product-summary"] {
    display: block !important;
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
    overflow: hidden !important;
    margin-bottom: 25px !important;
    box-sizing: border-box !important;
}

/* 4. FORCE CLEAN INNER INDENTATION FOR THE NEWLY RETURNED BULLETS */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-summary ul,
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-summary ol,
.wp-block-woocommerce-product-collection .wp-block-post-excerpt ul {
    padding-left: 18px !important;
    margin: 0 !important;
}

/* 5. UNIFY ALL PRICE MATRIX BLOCKS AND PUSH THEM DOWN */
.wp-block-woocommerce-product-collection .wc-block-product-template > li > .wc-block-components-product-price,
.wp-block-woocommerce-product-collection .wc-block-product-template > li > .wp-block-woocommerce-product-price,
.wp-block-woocommerce-product-collection .wc-block-product-template > li > [class*="price"],
.wp-block-woocommerce-product-collection .wc-block-product-template > li > .wp-block-group {
    margin-top: auto !important;
    padding-top: 10px !important;
}

/* 6. BASE-ALIGN THE UNIFIED PHP CUSTOM BADGES */
.wp-block-woocommerce-product-collection .custom-grid-stock-wrapper {
    display: block !important;
    visibility: visible !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    margin-top: 15px !important;
    box-sizing: border-box !important;
    clear: both !important;
}

/* Override Rule #3 to shrink the text box container and eliminate the gap */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-summary,
.wp-block-woocommerce-product-collection .wp-block-post-excerpt,
.wp-block-woocommerce-product-collection [class*="product-summary"] {
    height: 85px !important;
    min-height: 85px !important;
    max-height: 85px !important;
    margin-bottom: 10px !important;
}

/* 1. RESTORE GRID ALIGNMENT BY RESETTING THE GROUP BLOCK POSITION */
.wp-block-woocommerce-product-collection .wc-block-product-template > li > .wp-block-group {
    margin-top: auto !important;
}

/* 2. REMOVE THE FIXED HEIGHT COMPLETELY TO LET CONTENT COLLAPSE NATURALLY */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-summary,
.wp-block-woocommerce-product-collection .wp-block-post-excerpt,
.wp-block-woocommerce-product-collection [class*="product-summary"] {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 0 !important;
}

/* 3. TIGHTEN SPACING INSIDE THE BULLET LIST ITSELF */
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-summary ul,
.wp-block-woocommerce-product-collection .wp-block-post-excerpt ul {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.wp-block-woocommerce-product-collection .wc-block-product-template li {
    margin-bottom: 2px !important;
}

/* Force the WooCommerce Category Filter block to stay visible on the live site */
.wp-block-woocommerce-filter-wrapper,
.wp-block-woocommerce-filter-product-category,
.wc-block-product-categories,
.wc-block-category-filter {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Push the availability text completely up against the Add to Cart button */
.wp-block-woocommerce-product-collection .wc-block-product-template li .wp-block-woocommerce-product-add-to-cart,
.wc-block-grid__product-add-to-cart {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.wp-block-woocommerce-product-collection .wc-block-product-template li [class*="stock"],
.wp-block-woocommerce-product-collection .wc-block-product-template li .wc-block-components-product-stock-indicator {
    margin-top: -8px !important;
    padding-top: 0px !important;
    line-height: 1 !important;
}

/* Instantly hides the native tag links on the product cards from the public view */
.wp-block-woocommerce-product-collection .wc-block-product-template li a[href*="/product-tag/"] {
    display: none !important;
}

/* Tighten the vertical space above the stock availability badge */
.wp-block-woocommerce-product-collection .wc-block-product-template li .wp-block-woocommerce-product-add-to-cart {
    margin-bottom: 2px !important;
}

.wp-block-woocommerce-product-collection .wc-block-product-template li [class*="stock"] {
    margin-top: 0px !important;
}

/* ==========================================================================
   INNER DROPDOWN CONTROL & ARROW BUTTON MATRIX
   ========================================================================= */

/* 1. CHANGES INSIDE THE DROPDOWN SELECT MENUS */
.wp-block-woocommerce-product-categories select,
.wc-block-product-categories select,
select[class*="categories"] {
    background-color: #d6e4f0 !important;
    color: #1e3a8b !important;
    border: 1px solid #b2c7de !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
}

/* 2. CHANGES THE ARROW BUTTON BELOW IT COMPONENT */
.wp-block-woocommerce-product-categories button,
.wc-block-product-categories button,
[class*="categories"] + button,
[class*="categories"] ~ button {
    background-color: #1e3a8b !important;
    color: #ffffff !important;
    border: 1px solid #1e3a8b !important;
    padding: 6px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

/* 3. OPTIONAL SMOOTH HOVER EFFECT WHEN MOUSE HOVERS */
.wc-block-product-categories button:hover,
[class*="categories"] ~ button:hover {
    background-color: #002b66 !important;
    border-color: #002b66 !important;
}

/* ==========================================================================
   UNIVERSAL COMPREHENSIVE RECONSTRUCTION GRID BUSTER & ALIGNMENT SHEET
   ========================================================================= */

@media screen and (max-width: 768px) {
    /* 1. TOUCH SCREEN UNIFORM LEFT TRACK ALIGNMENT */
    header + .wp-block-group h5,
    header + .wp-block-group h1,
    header + .wp-block-group h2,
    header + .wp-block-group p,
    header + .wp-block-group .wp-block-buttons {
        padding-left: 24px !important;
    }

    /* 2. SMASH THE BACKEND GUTENBERG BLOCK VARIATOR ENGINE */
    main#primary,
    main#primary *,
    .wp-block-woocommerce-product-collection,
    .wp-block-woocommerce-product-collection *,
    .wp-block-post-template,
    .wp-block-post-template * {
        --wp--style--grid--template-columns: 1fr !important;
        --wp--style--grid--columns: 1 !important;
    }

    /* 3. FORCE DISPLAY GRID CONTAINERS TO DROP TO 1 COLUMN */
    main#primary ul,
    main#primary [style*="display: grid"],
    main#primary [style*="display:grid"],
    main#primary .wp-block-columns,
    main#primary .wp-block-group.is-layout-grid,
    .wp-block-woocommerce-product-collection ul,
    .wp-block-post-template,
    [class*="product-collection"] ul,
    [class*="product-template"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 32px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    /* 4. FORCE THE INDIVIDUAL CELL BLOCKS TO EXPAND FLUSH IN THE ROW CANVASES */
    main#primary ul > li,
    .wp-block-woocommerce-product-collection li,
    .wp-block-post-template > li,
    [class*="product-collection"] li,
    [class*="product-template"] li {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        grid-column: span 1 !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 16px !important;
        display: block !important;
        float: none !important;
    }

    /* 5. CENTER THE MAIN SECTION TITLE GRAPHICS ON PHONE CANVASES */
    main#primary p[style*="margin-left"],
    p[style*="color:#1e3a8b"],
    p[style*="color: #1e3a8b"] {
        margin-left: 0 !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }
}

/* ⭐⭐⭐ FIXED: Only line-height changed from 1.5 to 1.2, kept Poppins and #002b66 */
.wc-block-product-template li ul,
.wc-block-product-template li li,
ul.products li ul,
ul.products li li,
.wc-block-components-product-summary,
.wc-block-components-product-summary * {
    font-family: 'Poppins', sans-serif !important;
    color: #002b66 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}

/* Remove list spacing from product description on mobile */
@media (max-width: 991px) {
    .wc-block-components-product-summary ul,
    .wc-block-components-product-summary li,
    [class*="product-summary"] ul,
    [class*="product-summary"] li,
    .wc-block-product-summary ul,
    .wc-block-product-summary li,
    .product-summary ul,
    .product-summary li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .wc-block-components-product-summary p,
    .wc-block-components-product-summary span,
    [class*="product-summary"] p,
    [class*="product-summary"] span {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.5 !important;
    }
}


/* 🎯 ACCORDION FORCE ORIGINAL CASE */
.faq-section,
.faq-section *,
details,
summary,
.wp-block-details,
[class*="faq"] summary,
[class*="faq"] p,
[class*="accordion"] summary {
    text-transform: none !important;
}

/* Reset first letter transformation to respect your original writing */
.faq-section summary::first-letter,
details summary::first-letter,
[class*="faq"] summary::first-letter,
[class*="accordion"] summary::first-letter,
.faq-section p::first-letter,
[class*="faq"] p::first-letter {
    text-transform: none !important;
}

/* 1. Eliminate the arrow icon image or graphic inside the categories widget block */
.wp-block-woocommerce-product-categories button svg,
[class*="categories"] button svg,
.wc-block-product-categories-dropdown__button svg,
button[class*="button"] svg {
    display: none !important;
}

/* 2. Hide any original theme text inside the button container block */
.wp-block-woocommerce-product-categories button,
[class*="categories"] button,
.wc-block-product-categories-dropdown__button,
button[class*="categories-dropdown__button"] {
    font-size: 0 !important;
    min-width: 110px !important;
    height: auto !important;
    padding: 10px 16px !important;
    justify-content: center !important;
    display: inline-flex !important;
    align-items: center !important;
    text-align: center !important;
    text-decoration: none !important;
}

/* 3. Force-inject the text "Click Here" cleanly in its place */
.wp-block-woocommerce-product-categories button::after,
[class*="categories"] button::after,
.wc-block-product-categories-dropdown__button::after,
button[class*="categories-dropdown__button"]::after {
    content: "Click here" !important;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    visibility: visible !important;
}


/* 🎯 DESKTOP RESTING CODE: Shrinks the search box into a neat small box */
.wp-block-search,
div[class*="wp-block-search"] {
    margin-left: auto !important;
    margin-right: 15px !important;
    flex: 0 0 45px !important;
    width: 45px !important;
    position: relative !important;
    background: transparent !important;
}

/* Isolates the inner wrapper block cleanly */
.wp-block-search__inside-wrapper {
    display: inline-flex !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    justify-content: flex-end !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
}

/* Hides the wide text input field absolutely behind the magnifying glass */
.wp-block-search__input {
    position: absolute !important;
    right: 48px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 0px !important;
    min-width: 0px !important;
    max-width: 0px !important;
    padding: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
    background-color: #f1f5f9 !important;
    border: none !important;
    outline: none !important;
    transition: width 0.3s ease, opacity 0.2s ease, padding 0.3s ease !important;
    z-index: 99 !important;
}

/* 🔄 HOVER EXPANSION ACTION: Slides the text box out smoothly when hovered */
.wp-block-search:hover .wp-block-search__input,
.wp-block-search:focus-within .wp-block-search__input {
    width: 180px !important;
    max-width: 180px !important;
    padding: 6px 12px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    border: 1px solid #002b66 !important;
    border-radius: 4px !important;
}

/* Aligns your magnifying glass button to stay locked on the far right */
.wp-block-search__button {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    width: 45px !important;
    height: 45px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
    z-index: 100 !important;
}



/* Keeps the lens sitting safely on top of the sliding text box stack */
}

/* Forces your vector magnifying lens icon to render cleanly in your matching corporate blue */
.wp-block-search__button svg,
.wp-block-search__button-icon svg,
.wp-block-search button svg {
    display: inline-block !important;
    visibility: visible !important;
    fill: #002b66 !important;
    color: #002b66 !important;
    width: 22px !important;
    height: 22px !important;
}

/* Align WooCommerce custom product tabs with the title layout below */
.woocommerce-tabs,
.wc-tabs-wrapper,
ul.wc-tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    box-sizing: border-box !important;
}

/* Ensure the individual tab navigation items follow the new indentation alignment */
ul.wc-tabs li:first-child,
.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child {
    margin-left: 0 !important;
}



/* BLANKET REMOVAL OF ALL WOOCOMMERCE PRODUCT IMAGES & PLACEHOLDERS GLOBALLY */
.wc-block-grid__product-image,
.wc-block-grid__product-image img,
.woocommerce-placeholder,
.woocommerce-placeholder img,
.wp-post-image[src*="placeholder"],
.woocommerce-loop-product__link img,
.product-thumbnail img,
[class*="product-image"],
[class*="product-thumb"] {
    display: none !important;
}


/* ==========================================================================
   FIX TITLE HEIGHTS + CARD ALIGNMENT + SEE DETAILS ABOVE STOCK
   ========================================================================= */






/* Fix title heights across ALL service card groups */
.service-inner-box .woocommerce-loop-product__title,
.service-inner-box ul.products li.product h2,
.service-inner-box ul.products li.product h3 {
    height: 38px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 8px !important;
}
/* Ensure the cards themselves stretch equally across all rows */
.wp-block-columns {
    display: flex !important;
}
.service-inner-box {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.service-inner-box ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex-grow: 1 !important;
    min-height: 200px !important;
    justify-content: space-between !important;
}
/* Push the button down to the bottom of the card universally */
.service-inner-box ul.products li.product .button,
.service-inner-box ul.products li.product a.button {
    margin-top: auto !important;
    margin-bottom: 8px !important;
    display: block !important;
}
/* Content area (short description) - reduced height */
.tppdil_description,
.service-inner-box .product_short_description {
    flex: 1 !important;
    min-height: 50px !important;
    margin-bottom: 15px !important;
}
/* STOCK TEXT (below button) */
.service-inner-box .custom-grid-stock-wrapper,
[class*="custom-grid-stock-wrapper"],
.service-inner-box .stock,
.service-inner-box .in-stock {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    display: block !important;
}

















/* ==========================================================================
   1. CART PAGE LAYOUT MODIFICATIONS
   ========================================================================== */
.woocommerce-cart-form td.product-thumbnail,
.woocommerce-cart-form th.product-thumbnail,
.product-thumbnail {
    display: none !important; width: 0px !important; max-width: 0px !important; padding: 0 !important; margin: 0 !important; visibility: hidden !important;
}
.woocommerce-cart-form table.shop_table, .woocommerce-cart-form thead, .woocommerce-cart-form tbody, .woocommerce-cart-form th, .woocommerce-cart-form td {
    display: block !important; box-sizing: border-box !important;
}
.woocommerce-cart-form th, .woocommerce-cart-form td, .woocommerce-cart-form tr, .woocommerce-cart-form thead, .woocommerce-cart-form tbody, .woocommerce-cart-form td::after, .woocommerce-cart-form th::after {
    border: none !important; background-image: none !important; box-shadow: none !important;
}
.woocommerce-cart-form thead tr, .woocommerce-cart-form tr.cart_item, .woocommerce-cart-form .cart_item {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; width: 100% !important; align-items: center !important; justify-content: flex-start !important; border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important; box-sizing: border-box !important;
}
.woocommerce-cart-form .product-name, .woocommerce-cart-form th[class*="product-name"], .woocommerce-cart-form td[class*="product-name"] {
    flex: 0 0 35% !important; width: 35% !important; max-width: 35% !important; text-align: left !important;
}
.woocommerce-cart-form th.product-name { padding-left: 10px !important; }
.woocommerce-cart-form .product-price, .woocommerce-cart-form th[class*="product-price"], .woocommerce-cart-form td[class*="product-price"] {
    flex: 0 0 25% !important; width: 25% !important; max-width: 25% !important; text-align: center !important;
}
.woocommerce-cart-form .product-quantity, .woocommerce-cart-form th[class*="product-quantity"], .woocommerce-cart-form td[class*="product-quantity"] {
    flex: 0 0 20% !important; width: 20% !important; max-width: 20% !important; text-align: center !important;
}
.woocommerce-cart-form td.product-quantity div.quantity, .woocommerce-cart-form td.product-quantity input.qty {
    margin: 0 auto !important; display: inline-block !important;
}
.woocommerce-cart-form .product-subtotal, .woocommerce-cart-form th[class*="product-subtotal"], .woocommerce-cart-form td[class*="product-subtotal"] {
    flex: 0 0 20% !important; width: 20% !important; max-width: 20% !important; text-align: right !important;
}
.woocommerce-cart-form th.product-subtotal { padding-right: 10px !important; }
.woocommerce-cart-form th.product-price { text-align: center !important; }
.woocommerce-cart-form th.product-quantity { text-align: center !important; }
.woocommerce-cart-form th.product-subtotal { text-align: right !important; padding-right: 10px !important; }
.woocommerce-cart-form td { padding: 20px 10px !important; }
.woocommerce-cart-form td::before, .woocommerce-cart-form td[data-title]::before { display: none !important; content: "" !important; }
.woocommerce-cart-form td.actions, .woocommerce-cart-form tr:has(.actions) {
    display: flex !important; width: 100% !important; max-width: 100% !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; padding: 20px 0 !important; float: none !important;
}
.woocommerce-cart-form td.actions .coupon { display: flex !important; align-items: center !important; flex-direction: row !important; }
.woocommerce-cart-form button[name="update_cart"], .woocommerce-cart-form .actions .button:nth-child(2), .woocommerce-cart-form td.actions > .button {
    margin-left: auto !important; display: inline-block !important; float: right !important;
}
.woocommerce-cart-form button[name="update_cart"] { margin-left: 15px !important; }


/* ==========================================================================
   1. UNIVERSAL IMAGE & ACCENT BORDER CLEANUP (ALL SCREENS)
   ========================================================================== */
.woocommerce-cart-form td.product-thumbnail,
.woocommerce-cart-form th.product-thumbnail,
.product-thumbnail,
.wc-block-components-order-summary-item__image,
.wc-block-components-product-image,
[class*="order-summary-item__image"] {
    display: none !important;
    width: 0px !important;
    max-width: 0px !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: hidden !important;
}

.woocommerce-cart-form th, .woocommerce-cart-form td, .woocommerce-cart-form tr,
.woocommerce-cart-form thead, .woocommerce-cart-form tbody,
.woocommerce-cart-form td::after, .woocommerce-cart-form th::after {
    border: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   2. CHECKOUT BLOCK SPECIFIC SIDEBAR OVERRIDE (FORCES STACKING)
   ========================================================================== */
.wc-block-checkout .wc-block-components-order-summary-item,
.wc-block-checkout__sidebar [class*="order-summary-item"],
.wc-block-checkout__order-summary-list-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: unset !important;
    position: relative !important;
    gap: 8px !important;
    padding: 15px 0 !important;
}

.wc-block-checkout .wc-block-components-order-summary-item__content,
.wc-block-checkout__sidebar [class*="order-summary-item__content"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wc-block-checkout .wc-block-components-order-summary-item__name,
.wc-block-checkout__sidebar [class*="summary-item__name"] {
    display: block !important;
    position: relative !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: normal !important;
    margin: 0 0 4px 0 !important;
}

.wc-block-checkout .wc-block-components-order-summary-item__price,
.wc-block-checkout__sidebar [class*="summary-item__price"] {
    display: block !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    text-align: left !important;
    width: 100% !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    margin-top: 4px !important;
}

.wc-block-checkout .wc-block-components-order-summary-item__content .wc-block-components-order-summary-item__price,
.wc-block-checkout .wc-block-components-order-summary-item__metadata,
.wc-block-checkout .wc-block-components-product-meta,
.wc-block-checkout__sidebar ul,
.wc-block-checkout__sidebar dl,
.wc-block-checkout__sidebar li {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================================
   3. MOBILE RESPONSIVE CART INTERFACE (UNDER 768px ONLY)
   ========================================================================== */
@media (max-width: 768px) {
    .woocommerce-cart-form thead { display: none !important; }
    .woocommerce-cart-form tr.cart_item {
        display: block !important; width: 100% !important; padding: 20px 0 !important; border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    .woocommerce-cart-form td.product-name, .woocommerce-cart-form td.product-price, .woocommerce-cart-form td.product-quantity, .woocommerce-cart-form td.product-subtotal {
        display: block !important; width: 100% !important; text-align: center !important; padding: 8px 0 !important; box-sizing: border-box !important;
    }
    .woocommerce-cart-form td.product-quantity div.quantity { margin: 0 auto !important; display: inline-block !important; }
    .woocommerce-cart-form td.actions { display: block !important; width: 100% !important; padding: 20px 0 !important; }
    .woocommerce-cart-form td.actions .coupon { display: flex !important; flex-direction: column !important; width: 100% !important; gap: 10px !important; margin-bottom: 15px !important; }
    .woocommerce-cart-form td.actions .coupon input#coupon_code { width: 100% !important; }
    .woocommerce-cart-form td.actions button.button { width: 100% !important; margin: 0 !important; display: block !important; }
}

/* ==========================================================================
   4. DESKTOP CART COLUMN INTERFACE (769px AND WIDER SCREENS)
   ========================================================================== */
@media (min-width: 769px) {
    .woocommerce-cart-form table.shop_table, .woocommerce-cart-form thead, .woocommerce-cart-form tbody, .woocommerce-cart-form th, .woocommerce-cart-form td {
        display: block !important; box-sizing: border-box !important;
    }
    .woocommerce-cart-form thead tr, .woocommerce-cart-form tr.cart_item, .woocommerce-cart-form .cart_item {
        display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; width: 100% !important; align-items: center; justify-content: flex-start !important; border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important; box-sizing: border-box !important;
    }
    .woocommerce-cart-form .product-name, .woocommerce-cart-form th[class*="product-name"], .woocommerce-cart-form td[class*="product-name"] {
        flex: 0 0 35% !important; width: 35% !important; max-width: 35% !important; text-align: left !important;
    }
    .woocommerce-cart-form th.product-name { padding-left: 10px !important; }
    .woocommerce-cart-form .product-price, .woocommerce-cart-form th[class*="product-price"], .woocommerce-cart-form td[class*="product-price"] {
        flex: 0 0 25% !important; width: 25% !important; max-width: 25% !important; text-align: center !important;
    }
    .woocommerce-cart-form .product-quantity, .woocommerce-cart-form th[class*="product-quantity"], .woocommerce-cart-form td[class*="product-quantity"] {
        flex: 0 0 20% !important; width: 20% !important; max-width: 20% !important; text-align: center !important;
    }
    .woocommerce-cart-form td.product-quantity div.quantity, .woocommerce-cart-form td.product-quantity input.qty { margin: 0 auto !important; display: inline-block !important; }
    .woocommerce-cart-form .product-subtotal, .woocommerce-cart-form th[class*="product-subtotal"], .woocommerce-cart-form td[class*="product-subtotal"] {
        flex: 0 0 20% !important; width: 20% !important; max-width: 20% !important; text-align: right !important;
    }
    .woocommerce-cart-form th.product-name { text-align: left !important; padding-left: 10px !important; }
    .woocommerce-cart-form th.product-price { text-align: center !important; }
    .woocommerce-cart-form th.product-quantity { text-align: center !important; }
    .woocommerce-cart-form th.product-subtotal { text-align: right !important; padding-right: 10px !important; }
    .woocommerce-cart-form td { padding: 20px 10px !important; }
    .woocommerce-cart-form td::before, .woocommerce-cart-form td[data-title]::before { display: none !important; content: "" !important; }
    .woocommerce-cart-form td.actions, .woocommerce-cart-form tr:has(.actions) {
        display: flex !important; width: 100% !important; max-width: 100% !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; padding: 20px 0 !important; float: none !important;
    }
    .woocommerce-cart-form td.actions .coupon { display: flex !important; align-items: center !important; flex-direction: row !important; }
    .woocommerce-cart-form button[name="update_cart"] { margin-left: 15px !important; display: block !important; }
}


/* Center the cross-sells section */
.custom-cross-sells-section {
    text-align: center !important;
    max-width: 1200px !important;
    margin: 3rem auto !important;
}

.custom-cross-sells-section .wc-block-heading {
    text-align: center !important;
}

.custom-cross-sells-section ul.cross-sells {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    justify-content: center !important;
}

.custom-cross-sells-section ul.cross-sells li.product {
    flex: 1 1 calc(25% - 20px) !important;
    min-width: 250px !important;
    max-width: calc(25% - 20px) !important;
    margin: 0 !important;
    padding: 15px !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.custom-cross-sells-section ul.cross-sells li.product h3 {
    font-size: 17px !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
    min-height: 50px !important;
}

.custom-cross-sells-section ul.cross-sells li.product .price {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #4CAF50 !important;
    display: block !important;
    margin: 0 0 12px 0 !important;
}

.custom-cross-sells-section ul.cross-sells li.product .button {
    display: inline-block !important;
    padding: 12px 24px !important;
    background: #002b66 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    margin-top: auto !important;
}

@media screen and (max-width: 768px) {
    .custom-cross-sells-section ul.cross-sells {
        display: block !important;
        width: 100% !important;
    }

    .custom-cross-sells-section ul.cross-sells li.product {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 0 25px 0 !important;
        padding: 15px !important;
    }

    .custom-cross-sells-section ul.cross-sells li.product h3 {
        min-height: auto !important;
    }
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea,
.contact-form-wrapper select,
form.contact-form input,
form.contact-form textarea,
[class*="contact-form"] input,
[class*="contact-form"] textarea,
input:not([type="submit"]),
textarea {
    border: 1px solid #002b66 !important;
}






/* ==========================================================================
   PAGINATION - FIXED BORDER + SPACING
   ========================================================================= */

/* All pagination links and spans */
.wp-block-query-pagination a,
.wp-block-query-pagination span {
    background-color: #1e3a8b !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

/* Pagination container background */
.wp-block-query-pagination {
    background-color: #d6e4f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 15px !important;
    border-radius: 4px !important;
}

/* Previous button */
.wp-block-query-pagination-previous a {
    background-color: #1e3a8b !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    text-decoration: none !important;
}

/* Next button */
.wp-block-query-pagination-next a {
    background-color: #1e3a8b !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    margin-left: 8px !important;
}

/* Page numbers */
.wp-block-query-pagination-numbers {
    display: flex !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.wp-block-query-pagination-numbers li {
    background-color: #1e3a8b !important;
    border: none !important;
    outline: none !important;
}

.wp-block-query-pagination-numbers li a,
.wp-block-query-pagination-numbers li span {
    background-color: #1e3a8b !important;
    color: #ffffff !important;
    padding: 8px 12px !important;
    border: none !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
}

/* Hover */
.wp-block-query-pagination a:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-numbers li:hover,
.wp-block-query-pagination-numbers li a:hover {
    background-color: #002b66 !important;
    color: #ffffff !important;
}

/* Current page */
.wp-block-query-pagination-numbers .current,
.wp-block-query-pagination-numbers .current a {
    background-color: #002b66 !important;
    color: #ffffff !important;
    font-weight: bold !important;
}






/* ULTRA-AGGRESSIVE CART BUTTON - BLOCK HOVER + CENTER TEXT + MATCH SEARCH HEIGHT */

.force-static-green.wp-block-button__link,
.wp-block-button.force-static-green a.wp-block-button__link {
    background-color: #4caf50 !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
    padding-bottom: 10px !important;
    line-height: 1.1 !important;
    min-height: 40px !important;
    height: 40px !important;
}

/* BLOCK HOVER WITH ::before OVERLAY */
.force-static-green.wp-block-button__link:hover,
.wp-block-button.force-static-green a.wp-block-button__link:hover {
    background-color: #4caf50 !important;
    color: #ffffff !important;
}

.force-static-green.wp-block-button__link:hover::before,
.wp-block-button.force-static-green a.wp-block-button__link:hover::before {
    background: none !important;
    opacity: 0 !important;
}

.force-static-green.wp-block-button__link:hover::after,
.wp-block-button.force-static-green a.wp-block-button__link:hover::after {
    background: none !important;
    opacity: 0 !important;
}



/* Change WooCommerce account navigation menu background color */
.woocommerce-MyAccount-navigation ul li a {
    background-color: #1E3A8B !important;
    color: #ffffff !important; /* Forces text to remain white for readability */
}
/* Change WooCommerce login and register buttons to green */
.woocommerce-form-login .woocommerce-button,
.woocommerce-form-register .woocommerce-button {
    background-color: #4caf50 !important; /* Adjust hex code for your preferred shade of green */
    color: #ffffff !important; /* Forces text to remain white */
    border-color: #4caf50 !important; /* Matches the border to the background */
}










/* ==========================================
   FIX 1: EQUAL HEIGHT SLIDES (380px)
   ========================================== */
.testimonials-slider-block {
  height: 380px !important;
  min-height: 380px !important;
  display: flex !important;
  align-items: stretch !important;
  flex-direction: column !important;
}

.swiper-slide {
  height: 380px !important;
  min-height: 380px !important;
  display: flex !important;
  align-items: stretch !important;
}

.wp-block-group.testimonials-slider-block {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

/* ==========================================
   FIX 2: ARROW POSITION + COLOR (#1E3A8B)
   ========================================== */
.swiper-button-next,
.swiper-button-prev {
  position: fixed !important;
  top: 50% !important;
  margin-top: -22px !important;
  background-color: #1E3A8B !important;
  color: white !important;
  border-radius: 8px !important;
  padding: 12px !important;
  width: 44px !important;
  height: 44px !important;
  z-index: 9999 !important;
  cursor: pointer !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  color: white !important;
}

.swiper-button-next {
  right: 20px !important;
}

.swiper-button-prev {
  left: 20px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #15347a !important;
}

/* Hide pagination */
.swiper-pagination {
  display: none !important;
}

/* ==========================================
   MOBILE ONLY OVERRIDE (Fixes cut-off & heights)
   ========================================== */
@media (max-width: 767px) {
  /* 1. Prevent desktop height from crushing mobile text expansion */
  .testimonials-slider-block,
  .swiper-slide {
    height: auto !important;
    min-height: 420px !important; /* Forces equal height safely on mobile */
  }

  /* 2. Fix Swiper structural flexing causing the horizontal cutoff */
  .swiper-wrapper {
    display: flex !important;
    height: auto !important;
  }

  /* 3. Ensure the inner WordPress card container stretches full height */
  .swiper-slide > .wp-block-group,
  .wp-block-group.testimonials-slider-block {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 0 auto !important;
    box-sizing: border-box !important;
  }
}








/* ==========================================================================
   FLAWLESS MOBILE HEADER (HAMBURGER LEFT | CENTURED BIG LOGO | CART RIGHT)
   ========================================================================== */

@media screen and (max-width: 768px) {
    /* 1. Force the parent header wrapper container to order blocks using flexbox layout */
    header .wp-block-columns,
    header .wp-block-group:first-child {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 8px 10px !important;
        box-sizing: border-box !important;
    }

    /* 2. Break the strict width limits of the individual theme column blocks */
    header .wp-block-column {
        width: auto !important;
        max-width: none !important;
        flex: 1 1 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    /* 3. Force the Blue Hamburger Menu to sit on the absolute LEFT (Order: 1) */
    header .wp-block-navigation,
    header .wp-block-navigation__responsive-container-open,
    header .wp-block-column:nth-child(2) {
        order: 1 !important;
        display: flex !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        flex-grow: 0 !important;
        min-width: 45px !important;
    }

    /* 4. Force your brand logo to sit in the exact MIDDLE and optimize size (Order: 2) */
    header .wp-block-image,
    header .wp-block-site-logo,
    header .wp-block-column:nth-child(1) {
        order: 2 !important;
        display: flex !important;
        justify-content: center !important;
        margin: 0 auto !important;
        width: 130px !important;
        flex-grow: 1 !important;
    }

    header .wp-block-image img,
    header .wp-block-site-logo img {
        max-height: 55px !important;
        height: 55px !important;
        width: auto !important;
        min-width: 100px !important;
        display: block !important;
    }

    /* 5. Force the Action Group cleanly to the far RIGHT (Order: 3) */
    header .wp-block-column:nth-child(3) {
        order: 3 !important;
        display: flex !important;
        justify-content: flex-end !important;
        flex-grow: 0 !important;
        min-width: 80px !important;
    }

    /* Force the right-hand group block wrapper to stack elements vertically */
    header .wp-block-column:nth-child(3) .wp-block-group,
    header .wp-block-column:nth-child(3) .wp-block-group__inner-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-end !important;
        gap: 4px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header .wp-block-buttons {
        margin: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    header .wp-block-button__link {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }

    /* 6. ADVANCED RE-SIZING AND ALIGNMENT FOR THE SEARCH PLACEHOLDER BOX */
    header .wp-block-column:nth-child(3) .wp-block-search {
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        width: 80px !important;
        max-width: 80px !important;
    }

    /* Shrink the structural text entry input field wrapper */
    header .wp-block-column:nth-child(3) .wp-block-search__inside-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 80px !important;
        display: flex !important;
        justify-content: flex-end !important;
    }
}

/* Target the placeholder text box field itself */
header .wp-block-column:nth-child(3) .wp-block-search__input {
    width: 100% !important;
    max-width: 80px !important;
    font-size: 0.75rem !important;
    padding: 3px 6px !important;
    height: 26px !important;
    text-align: right !important;
    box-sizing: border-box !important;
}

/* If your search container block uses a submit button icon next to it */
header .wp-block-column:nth-child(3) .wp-block-search__button {
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
    margin: 0 !important;
}
}




/* Position Paragraph block (My Account) just above cart */
header .wp-block-paragraph a[href*="/my-account/"],
.wp-block-paragraph a[href*="/my-account/"],
header a[href*="/my-account/"] {
    position: absolute !important;
    top: -25px !important;
    right: 25px !important;     /* Moved 2 letters to the right */
    z-index: 100 !important;
    display: block !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #002b66 !important;
    text-decoration: none !important;
}

/* Make header container allow absolute positioning */
header,
.site-header,
header .wp-block-group {
    position: relative !important;
    overflow: visible !important;
}

/* Keep Search next to Cart */
header .wp-block-search {
    position: relative !important;
    margin-right: 10px !important;
}

/* Cart stays in place */
.wp-block-woocommerce-cart {
    position: relative !important;
}

/* Desktop: My Account above cart */
@media (min-width: 769px) {
    header .wp-block-paragraph a[href*="/my-account/"],
    .wp-block-paragraph a[href*="/my-account/"],
    header a[href*="/my-account/"] {
        position: absolute !important;
        top: -25px !important;
        right: 25px !important;
        z-index: 100 !important;
        display: block !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #002b66 !important;
        text-decoration: none !important;
    }
    
    header,
    .site-header,
    header .wp-block-group {
        position: relative !important;
        overflow: visible !important;
    }
}

/* Mobile: My Account to the left (before search and cart) */
@media (max-width: 768px) {
    header .wp-block-paragraph a[href*="/my-account/"],
    .wp-block-paragraph a[href*="/my-account/"],
    header a[href*="/my-account/"] {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        margin-right: 15px !important;  /* Space between My Account and Search */
        margin-left: 0 !important;
        display: inline-block !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #002b66 !important;
        text-decoration: none !important;
    }
    
    /* Ensure order: My Account → Search → Cart */
    header .wp-block-paragraph,
    header .wp-block-search,
    header .wp-block-woocommerce-cart {
        order: 1 !important;
    }
    
    header .wp-block-search {
        order: 2 !important;
        margin-right: 10px !important;
    }
    
    header .wp-block-woocommerce-cart {
        order: 3 !important;
    }
    
    /* Stack header items if needed */
    header .wp-block-group,
    header > div {
        flex-wrap: wrap !important;
        align-items: center !important;
    }
}



/* ==========================================================
   WMCML CURRENCY SWITCHER - CLEANED & DE-DUPLICATED CSS
   ========================================================== */

/* 1. Desktop Position Adjustment */
@media (min-width: 769px) {
    div.wcml-dropdown.product.wcml_currency_switcher {
        position: absolute !important;
        top: -60px !important;
        right: 25px !important;
        left: auto !important;
        z-index: 999 !important;
    }
}

/* 2. Outer Wrapper Constraints */
div.wcml-dropdown {
    width: 120px !important;
    max-width: 120px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* 3. Max Mega Menu Spacing Reset */
#mega-menu-main-menu li.mega-menu-item,
#mega-menu-main-menu li.menu-item {
    height: auto !important;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

/* 4. Active Currency Box Container */
div.wcml-dropdown li.wcml-cs-active-currency {
    background-color: #ebf3ff !important;
    border: 1px solid #1E3A8B !important;
    border-radius: 4px !important;
    height: 28px !important;
    box-sizing: border-box !important;
}

/* 5. Active Currency Link Toggle */
div.wcml-dropdown li.wcml-cs-active-currency > a.wcml-cs-item-toggle {
    background-color: #ebf3ff !important;
    color: #1E3A8B !important;
    font-size: 12px !important;
    line-height: 18px !important;
    height: 26px !important;
    display: block !important;
    padding: 4px 25px 4px 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* 6. Centered Dropdown Indicator Arrow */
div.wcml-dropdown li.wcml-cs-active-currency > a.wcml-cs-item-toggle::after {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* 7. Dropdown Sub-Menu Panel Box (Forced Matching Light Blue Background) */
div.wcml-dropdown ul.wcml-cs-submenu {
    background-color: #ebf3ff !important; /* Added solid background */
    border: 1px solid #1E3A8B !important;
    border-top: none !important;
    width: 120px !important;
    max-width: 120px !important;
    top: 28px !important;
}

/* 8. Sub-Menu Internal Currency Links (Forced Matching Light Blue Background) */
div.wcml-dropdown ul.wcml-cs-submenu li a {
    background-color: #ebf3ff !important; /* Added solid background */
    color: #1E3A8B !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    display: block !important;
    padding: 4px 8px !important; /* Clean layout alignment matching active box */
}