body.tax-product_cat #content.site-content, body.post-type-archive-product #content.site-content {
    padding-top: 6rem !important;
}

.navbar-light .navbar-toggler {
display: none !important
}

.categories-block {
    display: none;
}

.woosc-area .woosc-inner .woosc-bar .woosc-bar-btn {
	background: linear-gradient(135deg, #366662 0%, #204d4a 100%) !important;
}

/* Hide Status Column from My Account Orders Table */
.woocommerce-orders-table__header-order-status,
.woocommerce-orders-table__cell-order-status {
    display: none !important;
}

html .woocommerce ul.products li.product .onsale {
	top: -10px;
}

/* Hide individual filter items with zero matches
.woocommerce-widget-layered-nav-list__item.count-0,
.woocommerce-widget-layered-nav-list__item:empty {
    display: none !important;
}
*/

/* Hide filter options that have no matches for the current selection */
.wc-block-attribute-filter-list-item:has(.wc-block-attribute-filter-list-item__count:contains("(0)")) {
    display: none !important;
}

/* Ensure the sidebar widgets have a bit of breathing room when they appear/disappear */
.widget_layered_nav {
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}
/* --- YOUR ORIGINAL STYLE (Keep this exactly as is) --- */
.product, .woocommerce-product-gallery {
    position: relative;
}
/* --- MODERNIZED BADGE STYLE --- */

.product, .woocommerce-product-gallery {
    position: relative;
}

.condition-badge {
    position: absolute;
    top: -10px; /* Adjusted from -10px to sit cleanly inside the image area */
    left: 10px;
    z-index: 20;
    padding: 4px 14px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    /* Modern Rounded Look */
    border-radius: 2px; 
    letter-spacing: 0.8px;
    /* Depth and Polish */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    pointer-events: auto; 
    cursor: help;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Subtle lift effect on hover */
.condition-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Updated Modern Colors with subtle gradients */
.new-badge, .newA-badge, .newB-badge { 
    background: linear-gradient(135deg, #366662 0%, #204d4a 100%); 
}
.renew-badge, .demo-badge { 
    background: linear-gradient(135deg, #366662 0%, #204d4a 100%); 
}

@media (max-width: 768px) {
    .condition-badge {
        font-size: 9px;
        padding: 3px 10px;
        top: -10px;
        left: 8px;
    }
}

/* --- REFINED TOOLTIP STYLE --- */

.badge-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.badge-wrapper .condition-badge {
    pointer-events: auto;
}

.badge-tooltip {
    visibility: hidden;
    position: absolute;
    top: 42px; 
    left: 12px;
    width: 220px;
    background-color: #1a1a1a; /* Darker for better contrast */
    color: #f0f0f0;
    text-align: left;
    border-radius: 8px; /* More rounded to match badge */
    padding: 12px;
    font-size: 12px;
    line-height: 1.5;
    z-index: 9999;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.4);
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
}

.badge-tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 20px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #1a1a1a transparent;
}

/* Smooth reveal animation */
.condition-badge:hover + .badge-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
/* Container - Snapped to the absolute bottom-left corner */
#manager-widget-container {
    position: fixed;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 999;
    font-family: 'Montserrat', sans-serif;
    line-height: normal; /* Prevents line-height from pushing the button up */
}

/* Floating Button - Flat design, no scale, no rounded corners */
#manager-float-btn {
    background-color: #2d4a43;
    color: #fff;
    height: 50px;
    padding: 0 20px;
    border-radius: 0 !important;
    cursor: pointer;
    box-shadow: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease;
    border: none;
    margin: 0 !important; /* Ensures no browser-added margins */
}

/* Static Hover - No zoom/scale animation */
#manager-float-btn:hover {
    background-color: #013d3a;
    transform: none !important; 
}

/* Info Pop-up Box - Squared and aligned to the left edge */
#manager-info-box {
    position: absolute;
    bottom: 50px; 
    left: 0;
    width: 280px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #2d4a43;
    display: none;
}

.manager-header {
    background: #2d4a43;
    color: #fff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#close-manager-widget {
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    opacity: 0.8;
}

.manager-body {
    padding: 20px;
}

.manager-name {
    font-weight: 700;
    margin: 0;
    color: #2d4a43;
    font-size: 15px;
}

.manager-role {
    font-size: 12px;
    color: #888;
    margin: 2px 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.manager-body hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.manager-body p {
    margin: 8px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.manager-body a {
    color: #2d4a43;
    text-decoration: none;
    font-weight: 600;
}

.manager-body a:hover {
    text-decoration: underline;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #manager-float-btn {
        padding: 0 15px;
        font-size: 12px;
        height: 45px;
    }
    #manager-info-box {
        width: 260px;
        bottom: 45px;
    }
}

/* 1. POSITIONING WITHIN THE BUTTON ROW */
.action-btns .delivery-info-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative !important;
    margin: 0 5px !important; 
    cursor: help;
    order: 3; 
}

/* 2. ICON STYLING */
.delivery-icon.fa-shipping-fast {
    font-size: 18px !important;
    color: #2F2F2F; /* Matches your red heart color */
    display: inline-block !important;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* 3. HOVER EFFECTS */
.delivery-info-wrapper:hover .delivery-icon.fa-shipping-fast {
    transform: scale(1.2);
    color: #1a0a4e; /* Changes to your brand blue */
}

/* 4. MODERN TOOLTIP STYLING */
.delivery-tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 35px; 
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 210px;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.5;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.4);
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}

/* Tooltip Arrow */
.delivery-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent;
}

/* Reveal Tooltip on Hover */
.delivery-info-wrapper:hover .delivery-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Ensure the initial wrapper doesn't cause layout shift */
.custom-delivery-hidden {
    display: none;
}


.teirautis-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f8f9fa; /* Light gray background */
    color: #1a0a4e; /* Your brand dark blue */
    border: 1px solid #1a0a4e;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.teirautis-button:hover {
    background-color: #1a0a4e;
    color: #ffffff;
}

.reverse-vat-notice {
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.4;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 3px solid #333;
}


/* 1. Tighten the Image Container */
#woosc_table .tr-image img {
    max-height: 150px !important; /* Cap the height so it doesn't push content down */
    width: auto !important;
    margin: 0 auto;
}

/* 2. Reduce Vertical Padding on all rows */
#woosc_table td, 
#woosc_table th {
    padding: 6px 10px !important; /* Huge reduction from 15-20px */
    line-height: 1.2 !important;
}

/* 3. Compress the Labels Column */
#woosc_table .td-label {
    width: 140px !important; /* Narrower label column */
    font-size: 11px !important; /* Slightly smaller labels */
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* 4. Shrink the Product Title Area */
#woosc_table thead th {
    padding: 10px 5px !important;
}

#woosc_table thead th a {
    font-size: 13px !important;
    display: block;
    max-height: 2.4em;
    overflow: hidden; /* Prevents long titles from breaking the grid */
	color: #43454b;
}

/* 5. Compact Add to Cart Button */
.woosc-area .add_to_cart_button {
    padding: 6px 12px !important; /* Smaller button footprint */
    font-size: 11px !important;
    margin: 0 !important;
}

/* 6. Product Attributes Styling (The specs inside cells) */
#woosc_table td.col {
    font-size: 12px !important; /* Smaller but readable spec text */
}

/* 7. Remove empty spaces in the Additional Info tables */
#woosc_table .shop_attributes td,
#woosc_table .shop_attributes th {
    padding: 2px 0 !important;
    border: none !important;
}

/* 8. Hide that distracting "Settings" link */
.woosc-table-settings {
    display: none !important;
}


/* 1. Force the box to be invisible and take up no space by default */
.wpcf7-response-output {
    display: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 2. Only allow it to appear when the form is 'sent' or 'invalid' */
.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
    display: block !important;
    height: auto !important;
    margin: 20px 0 !important;
    padding: 15px 20px !important;
    border-radius: 4px !important;
    overflow: visible !important;
}

/* 3. Re-apply your specific status colors */
.wpcf7-form.sent .wpcf7-response-output {
    background-color: #e6f4ea !important;
    border: 1px solid #1e8e3e !important;
    color: #137333 !important;
}

.wpcf7-form.invalid .wpcf7-response-output {
    background-color: #fef7e0 !important;
    border: 1px solid #f9ab00 !important;
    color: #b06000 !important;
}

/* Container to help with alignment */
.single-product .teirautis-wrapper {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 10px !important; /* Space between our button and Mėgstamiausi */
}

/* 1. Reset the wrapper to sit side-by-side without breaking internal text */
.single-product .teirautis-wrapper, 
.single-product .tinv-wraper.tinv-wishlist {
    display: inline-block !important; /* Changed to inline-block for more stability */
    vertical-align: top !important;
    margin-bottom: 20px !important;
}

/* 2. Fix the spacing between the buttons */
.single-product .teirautis-wrapper {
    margin-right: 15px !important;
}

/* 3. Hide the clearing divs that cause jumps */
.single-product .tinv-wishlist-clear {
    display: none !important;
}

/* 4. RESTORE the Wishlist internal alignment */
.single-product .tinvwl_add_to_wishlist_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important; /* Adjust based on your button height */
    padding: 0 15px !important;
    text-decoration: none !important;
}

/* 5. Fix the Heart Icon and Text alignment */
.single-product .tinvwl_add_to_wishlist_button::before {
    margin-right: 8px !important;
    display: inline-block !important;
}

/* 6. Match 'Teirautis kainos' height and alignment */
html .woocommerce div.product .teirautis-single-fix {
    font-size: 12px !important;
    line-height: 1 !important; /* Balanced line height */
    color: #2F2F2F !important;
    font-weight: 800 !important;
    font-family: 'Montserrat', sans-serif !important;
    border: 1px solid #2F2F2F !important;
    padding: 0 25px !important; /* Using height/line-height for centering */
    height: 40px !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

/* Specific Hover fix for Teirautis button */
html .woocommerce div.product a.teirautis-single-fix:hover {
    background-color: #2F2F2F !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease-in-out !important;
}

/* Hide the Palyginti button on single product pages */
.single-product .summary .woosc-btn {
    display: none !important;
}

/* Center the text and remove the 'ghost' icon space */
html .woocommerce div.product .teirautis-single-fix,
.archive .add_to_cart_button[href*="kontaktai"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    min-width: 150px; /* Optional: ensures a consistent button size */
}

/* Specific fix for the shop page button inheritance */
.archive .add_to_cart_button[href*="kontaktai"]::before {
    display: none !important;
    content: none !important;
    margin: 0 !important;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: right;
    width: 60%;
}

/* Hide the text and style the button as an icon */
.woosc-btn {
    font-size: 0 !important; /* Hides the "Palyginti" text */
    padding: 0 !important;
    background: none !important;
    border: none !important;
    display: inline-block !important;
    vertical-align: middle;
    margin-left: 10px;
    cursor: pointer;
}

/* Add the icon using a pseudo-element */
.woosc-btn::before {
    content: "\f0ec"; /* FontAwesome Exchange icon code */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px; /* Matches your delivery icon size */
    color: #333; /* Matches your existing icon colors */
}

/* Change color when product is added to compare */
.woosc-btn-added::before {
    color: #1a0a4e; /* Your brand blue */
    content: "\f00c"; /* Changes to a checkmark when added */
}

/* Tooltip on hover for clarity */
.woosc-btn:hover::after {
    content: "Palyginti";
    font-size: 12px;
    position: absolute;
    background: #000;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    bottom: 100%;
}

/* Container for the comparison icons */
.compare-icon {
    position: relative; /* Essential for positioning the button on top */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 8px;
}

/* Style the Font Awesome arrows */
.compare-icon .fa-exchange-alt {
    font-size: 16px;
    color: #333;
    z-index: 1; /* Sits below the button */
}

/* Make the WPC button invisible but cover the entire 24x24px area */
.compare-icon .woosc-btn {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important; /* Hides "Palyginti" text */
    background: transparent !important;
    border: none !important;
    z-index: 2; /* Sits on top to capture the click */
    cursor: pointer;
}

/* Hide the plugin's default "check" icon if it appears separately */
.compare-icon .woosc-btn::before, 
.compare-icon .woosc-btn::after {
    display: none !important;
}

/* Turn the exchange arrows blue when product is added */
.compare-icon:has(.woosc-btn-added) .fa-exchange-alt {
    color: #1a0a4e; /* Brand Blue */
}

/* Create the Tooltip Box */
.compare-icon:hover::after {
    content: "Palyginti"; /* The Lithuanian text for "Compare" */
    position: absolute;
    bottom: 125%; /* Positions it above the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 99;
    pointer-events: none; /* Prevents the tooltip from interfering with clicks */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Small Triangle under the Tooltip */
.compare-icon:hover::before {
    content: "";
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    z-index: 99;
}

/* Specifically hide order info blocks on the Thank You page */
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-table--order-details,
.woocommerce-order-received .order_details {
    display: none !important;
}




/* ============================================================
   GRID / LIST VIEW TOGGLE BUTTONS
   ============================================================ */
.itoutlet-view-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.itoutlet-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.itoutlet-view-btn:hover {
    color: #204d4a;
    border-color: #204d4a;
}

.itoutlet-view-btn--active {
    color: #204d4a;
    border-color: #204d4a;
    background: #eef4f3;
}

/* ============================================================
   LIST VIEW — product card becomes a horizontal row
   ============================================================ */
/* ============================================================
   GRID / LIST VIEW TOGGLE BUTTONS
   ============================================================ */
.itoutlet-view-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.itoutlet-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.itoutlet-view-btn:hover {
    color: #204d4a;
    border-color: #204d4a;
}

.itoutlet-view-btn--active {
    color: #204d4a;
    border-color: #204d4a;
    background: #eef4f3;
}

/* ============================================================
   LIST VIEW — compact single-line rows, no image
   ============================================================ */
/* ============================================================
   GRID / LIST VIEW TOGGLE BUTTONS
   ============================================================ */
.itoutlet-view-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.itoutlet-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.itoutlet-view-btn:hover {
    color: #204d4a;
    border-color: #204d4a;
}

.itoutlet-view-btn--active {
    color: #204d4a;
    border-color: #204d4a;
    background: #eef4f3;
}

/* ============================================================
   LIST VIEW — product card becomes a horizontal row
   ============================================================ */
/* ============================================================
   GRID / LIST VIEW TOGGLE BUTTONS
   ============================================================ */
.itoutlet-view-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.itoutlet-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.itoutlet-view-btn:hover {
    color: #204d4a;
    border-color: #204d4a;
}

.itoutlet-view-btn--active {
    color: #204d4a;
    border-color: #204d4a;
    background: #eef4f3;
}

/* ============================================================
   LIST VIEW
   ============================================================ */
ul.products.itoutlet-list-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

ul.products.itoutlet-list-view li.product,
.woocommerce ul.products.itoutlet-list-view li.product {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-height: 46px;
    padding: 0 !important;
    margin: 0 0 0 0 !important;
    border-bottom: 1px solid #e8e8e8;
    box-sizing: border-box;
    /* reset any column/grid from previous attempts */
    grid-template-columns: unset !important;
}

ul.products.itoutlet-list-view li.product:nth-child(even) {
    background: #f9fafa;
}

/* ── The <a> fills available space, single flex row ── */
ul.products.itoutlet-list-view li.product > a.woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    padding: 6px 8px 6px 12px !important;
    text-decoration: none !important;
    overflow: hidden;
    /* remove any height constraints */
    height: auto !important;
    min-height: 0 !important;
}

/* Hide image */
ul.products.itoutlet-list-view li.product > a img {
    display: none !important;
}

/* ── ORDER 1: Badge ── */
ul.products.itoutlet-list-view li.product .badge-wrapper {
    order: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto !important;
    pointer-events: none;
    align-self: center;
}

ul.products.itoutlet-list-view li.product .condition-badge {
    position: static !important;
    display: inline-block !important;
    font-size: 9px !important;
    padding: 3px 8px !important;
    white-space: nowrap;
    box-shadow: none !important;
    line-height: 1.4;
}

ul.products.itoutlet-list-view li.product .badge-tooltip {
    display: none !important;
}

/* ── ORDER 2: Title ── */
ul.products.itoutlet-list-view li.product .woocommerce-loop-product__title {
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: left !important;
    line-height: 1.3 !important;
    align-self: center;
}

/* ── ORDER 3: Action icons ── */
ul.products.itoutlet-list-view li.product .action-btns,
.woocommerce ul.products.itoutlet-list-view li.product .d-flex.action-btns {
    order: 3 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    gap: 2px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    align-self: center;
}

ul.products.itoutlet-list-view li.product .action-btns .wishlist,
ul.products.itoutlet-list-view li.product .action-btns .compare-icon,
ul.products.itoutlet-list-view li.product .action-btns .delivery-info-wrapper {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    margin: 0 !important;
}

/* ── ORDER 4: Stock (comes after icons visually) ── */
ul.products.itoutlet-list-view li.product .shop-stock-status {
    order: 4 !important;
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    padding: 2px 7px !important;
    border-radius: 8px !important;
    border: 1px solid #e0a800 !important;
    color: #7a5800 !important;
    background: #fff8e1 !important;
    align-self: center;
}

/* ── ORDER 5: Price ── */
ul.products.itoutlet-list-view li.product .price-block {
    order: 5 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    white-space: nowrap;
    align-self: center;
}

ul.products.itoutlet-list-view li.product .price-block .price {
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

ul.products.itoutlet-list-view li.product .price-block .price small {
    font-size: 10px !important;
    font-weight: 400 !important;
}

/* ── Hide excerpt ── */
ul.products.itoutlet-list-view li.product .loop-excerpt {
    display: none !important;
}

/* ── Cart button: direct li child, after the <a> ── */
ul.products.itoutlet-list-view li.product > a.add_to_cart_button,
ul.products.itoutlet-list-view li.product > a.button.product_type_simple {
    flex: 0 0 auto !important;
    align-self: center;
    white-space: nowrap !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    margin: 0 8px 0 0 !important;
    line-height: 1.4 !important;
}

/* ── Hide misc ── */
ul.products.itoutlet-list-view li.product .onsale,
ul.products.itoutlet-list-view li.product .screen-reader-text {
    display: none !important;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    ul.products.itoutlet-list-view li.product,
    .woocommerce ul.products.itoutlet-list-view li.product {
        flex-wrap: wrap !important;
        padding: 8px !important;
    }

    ul.products.itoutlet-list-view li.product > a.woocommerce-loop-product__link {
        flex: 1 1 100% !important;
        flex-wrap: wrap !important;
    }

    ul.products.itoutlet-list-view li.product .woocommerce-loop-product__title {
        white-space: normal !important;
        flex: 1 1 100% !important;
    }
}
/* ============================================================
   GRID / LIST VIEW TOGGLE BUTTONS END
   ============================================================ */