/*
Theme Name: ApexLabs eCommerce
Theme URI: http://yourdomain.com
Author: ApexLabs
Description: A custom Amazon/Flipkart-style WooCommerce theme for B2B laboratory equipment. Fully responsive for desktop and mobile.
Version: 1.4
Text Domain: apexlabs
*/

/* ==========================================
   1. RESET & GLOBAL STYLES
   ========================================== */
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background-color: #eaeded; color: #0f1111; }
.site-content { max-width: 1400px; margin: 0 auto; padding: 20px; }
a { text-decoration: none; transition: color 0.2s ease; }

/* ==========================================
   2. FINAL POLISHED HEADER STYLES
   ========================================== */
.site-header {
    background-color: #131921;
    color: white;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Brand Logo */
.site-branding a {
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: -0.5px;
    text-decoration: none;
}

/* Amazon-Style Full-Width Search Bar */
.header-search {
    flex-grow: 1;
    max-width: 750px;
    margin: 0 30px;
}
.header-search form.search-form,
.header-search form.woocommerce-product-search {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
}
.header-search .search-field,
.header-search input[type="search"] {
    flex-grow: 1 !important;
    width: 100% !important;
    height: 42px !important;
    padding: 0 15px !important;
    border: none !important;
    border-radius: 4px 0 0 4px !important;
    font-size: 15px !important;
    outline: none !important;
    background-color: #ffffff !important;
    color: #0f1111 !important;
    box-shadow: none !important;
}
.header-search .search-submit,
.header-search button[type="submit"] {
    background-color: #febd69 !important;
    border: none !important;
    height: 42px !important;
    padding: 0 25px !important;
    border-radius: 0 4px 4px 0 !important;
    cursor: pointer !important;
    font-weight: bold !important;
    color: #111111 !important;
    font-size: 15px !important;
    transition: background-color 0.2s ease !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.header-search .search-submit:hover,
.header-search button[type="submit"]:hover {
    background-color: #f3a847 !important;
}

/* Extreme Right Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
.header-action-item {
    color: #ffffff;
    text-decoration: none;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.header-action-item:hover {
    border-color: #ffffff;
}
.action-small {
    font-size: 11px;
    color: #cccccc;
    line-height: 1.2;
}
.action-large {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

/* Professional Cart Box with SVG and Badge */
.cart-item-box {
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
}
.cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.cart-icon-wrap svg {
    stroke: #ffffff;
    width: 28px;
    height: 28px;
}
.cart-count-badge {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f08804;
    color: #111111;
    font-size: 12px;
    font-weight: bold;
    padding: 0 4px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 16px;
}
.cart-text {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 6px;
}

/* Secondary Navigation Bar */
.header-nav {
    background-color: #232f3e;
    padding: 0 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.header-nav-container {
    max-width: 1400px;
    margin: 0 auto;
}
.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}
.header-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 2px;
    display: block;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.header-nav ul li a:hover {
    color: #febd69;
    border-bottom-color: #febd69;
}

/* ==========================================
   3. MODERN HOMEPAGE (HERO & TRUST)
   ========================================== */
.homepage-wrapper { max-width: 1200px; margin: 0 auto; }
.apex-hero-modern { background: linear-gradient(90deg, #131921 0%, rgba(19,25,33,0.8) 100%), url('https://images.unsplash.com/photo-1574169208507-84376144848b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; border-radius: 8px; padding: 80px 40px; color: white; margin-bottom: 30px; display: flex; align-items: center; }
.apex-hero-content { max-width: 600px; }
.apex-hero-content .badge { background-color: #ff9900; color: #111; padding: 5px 12px; font-size: 12px; font-weight: bold; text-transform: uppercase; border-radius: 100px; display: inline-block; margin-bottom: 15px; }
.apex-hero-content h1 { font-size: 42px; margin: 0 0 15px 0; line-height: 1.2; }
.apex-hero-content p { font-size: 18px; color: #eaeded; margin-bottom: 30px; line-height: 1.5; }
.btn-primary { display: inline-block; background-color: #ffd814; color: #0f1111; padding: 10px 20px; border-radius: 100px; font-weight: bold; margin-top: 15px; text-decoration: none; }

.apex-trust-badges { display: flex; justify-content: space-between; background: #ffffff; padding: 20px 30px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 15px; }
.trust-icon { font-size: 32px; }
.trust-text { display: flex; flex-direction: column; }
.trust-text strong { color: #0f1111; font-size: 15px; }
.trust-text span { color: #565959; font-size: 13px; }

.apex-home-section { margin-bottom: 50px; }
.section-title { font-size: 22px; color: #0f1111; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #ddd; display: flex; justify-content: space-between; align-items: center; }
.section-title .view-all a { font-size: 14px; color: #007185; }
.apex-category-circles { display: flex; justify-content: space-between; gap: 20px; overflow-x: auto; padding-bottom: 10px; }
.cat-circle { display: flex; flex-direction: column; align-items: center; color: #0f1111; font-weight: bold; min-width: 120px; text-decoration: none; }
.cat-circle img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 3px solid #eaeded; transition: transform 0.2s, border-color 0.2s; }
.cat-circle:hover img { transform: scale(1.05); border-color: #007185; }

/* ==========================================
   4. SHOP LAYOUT & FORCED SIDEBAR ALIGNMENT
   ========================================== */
.shop-layout-wrapper { 
    display: flex !important; 
    gap: 30px !important; 
    align-items: flex-start !important; 
    padding-top: 10px !important; 
    width: 100% !important;
}

.shop-sidebar { 
    width: 260px !important; 
    flex: 0 0 260px !important; 
    display: block !important; 
    visibility: visible !important; 
}

.shop-main-content { 
    flex: 1 !important; 
    width: 100% !important; 
    min-width: 0 !important; 
}

.shop-sidebar .widget { margin-bottom: 30px; }
.shop-sidebar .widget-title { font-size: 14px; font-weight: bold; margin-bottom: 15px; color: #0f1111; }
.shop-sidebar ul { list-style: none; padding: 0; margin: 0; }
.shop-sidebar ul li { margin-bottom: 10px; font-size: 14px; }
.shop-sidebar ul li a { color: #0f1111; }
.shop-sidebar ul li a:hover { color: #c45500; }

/* ==========================================
   5. WOOCOMMERCE PRODUCT GRID & UNIFORM ALIGNMENT (GLOBAL)
   ========================================== */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
}

/* Force 5 columns specifically on the homepage */
.home ul.products,
.apex-home-section ul.products {
    grid-template-columns: repeat(5, 1fr) !important;
}

.woocommerce ul.products::before, 
.woocommerce ul.products::after { 
    display: none !important; 
}

/* Make every product card stretch evenly with flexbox */
.woocommerce ul.products li.product {
    background-color: #ffffff !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    box-sizing: border-box !important;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product > a:first-child {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* Fixed title height to keep everything aligned */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    height: 65px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    margin: 0 0 10px 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #007185 !important;
    font-weight: normal !important;
}

/* Price alignment baseline */
.woocommerce ul.products li.product .price { 
    color: #0f1111 !important; 
    font-size: 18px !important; 
    font-weight: bold !important; 
    margin-top: auto !important;
    margin-bottom: 15px !important; 
    min-height: 28px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.woocommerce ul.products li.product .price del { 
    color: #565959 !important; 
    font-size: 13px !important; 
    font-weight: normal !important; 
}

.woocommerce ul.products li.product .price ins { 
    text-decoration: none !important; 
}

/* Perfectly styled Amazon Yellow Buttons locked in a straight row */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button { 
    background-color: #ffd814 !important; 
    color: #0f1111 !important; 
    border: 1px solid #fcd200 !important; 
    border-radius: 100px !important; 
    padding: 10px !important; 
    text-align: center !important; 
    font-size: 14px !important; 
    font-weight: bold !important;
    margin: 0 !important; 
    width: 100% !important;
    text-decoration: none !important; 
    box-sizing: border-box !important;
    display: block !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background-color: #f7ca00 !important;
}

/* ==========================================
   6. SINGLE PRODUCT PAGE
   ========================================== */
.woocommerce div.product { background-color: #ffffff; border: 1px solid #e7e7e7; border-radius: 8px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.woocommerce div.product div.images { flex: 1 1 40%; width: 100%; max-width: 500px; }
.woocommerce div.product div.images img { width: 100%; height: 450px; object-fit: contain; border: 1px solid #eaeded; border-radius: 4px; padding: 15px; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 15px; padding: 0; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 70px; list-style: none; }
.woocommerce div.product div.images .flex-control-thumbs img { height: 70px; width: 70px; padding: 5px; opacity: 0.6; border: 1px solid #ddd; border-radius: 4px; }
.woocommerce div.product div.images .flex-control-thumbs img.flex-active { opacity: 1; border: 2px solid #007185; }

.woocommerce div.product div.summary { flex: 1 1 50%; width: 100%; }
.woocommerce div.product .product_title { font-size: 28px; color: #0f1111; margin-bottom: 10px; font-weight: normal; }
.woocommerce div.product p.price { font-size: 32px; color: #B12704; font-weight: 500; margin: 20px 0; display: flex; align-items: center; gap: 10px; }
.woocommerce div.product p.price del { font-size: 16px; color: #565959; }

.woocommerce div.product form.cart { margin: 30px 0; padding: 25px; border: 1px solid #eaeded; border-radius: 8px; background-color: #f7fafa; display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.woocommerce div.product form.cart .quantity input.qty { width: 70px; height: 45px; border: 1px solid #888c8c; border-radius: 8px; font-size: 16px; text-align: center; }
.woocommerce div.product form.cart .button { background-color: #ffd814 !important; color: #0f1111 !important; border: 1px solid #fcd200 !important; border-radius: 100px; padding: 0 40px; height: 45px; font-size: 16px; flex-grow: 1; max-width: 300px; }

/* Bulk Quantity Discount Box */
.apex-bulk-discount-box { background-color: #f0f8ff; border: 1px solid #cce0ff; border-radius: 8px; padding: 15px 20px; margin-bottom: 25px; width: 100%; }
.apex-bulk-discount-box h4 { margin: 0 0 12px 0; color: #007185; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.apex-bulk-table { width: 100%; border-collapse: collapse; background-color: #ffffff; border: 1px solid #eaeded; border-radius: 4px; overflow: hidden; }
.apex-bulk-table th, .apex-bulk-table td { padding: 8px 12px; text-align: left; font-size: 14px; border-bottom: 1px solid #eaeded; }
.apex-bulk-table th { background-color: #f7fafa; color: #565959; font-weight: bold; }
.apex-bulk-table td:nth-child(2) { color: #B12704; font-weight: bold; }

/* ==========================================
   7. CART & CHECKOUT PAGES
   ========================================== */
.woocommerce-cart .woocommerce { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.woocommerce-cart .woocommerce-cart-form { flex: 1 1 65%; }
.woocommerce-cart .cart-collaterals { flex: 1 1 30%; width: 100%; }
.woocommerce table.shop_table { border: none; background: #ffffff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.1); width: 100%; }
.woocommerce table.shop_table th { background-color: #f7f7f7; padding: 15px 20px; color: #565959; font-size: 13px; border-bottom: 1px solid #eaeded; }
.woocommerce table.shop_table td { padding: 20px; border-bottom: 1px solid #eaeded; }
.woocommerce table.cart .product-thumbnail img { width: 80px; border-radius: 4px; }
.woocommerce table.cart .product-name a { color: #007185; font-weight: bold; }
.woocommerce table.cart a.remove { color: #cc0000 !important; font-size: 24px; }
.woocommerce-cart .cart-collaterals .cart_totals { background: #ffffff; padding: 25px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.1); border: 1px solid #eaeded; width: 100%; }
.woocommerce .cart-collaterals .checkout-button { background-color: #ffd814 !important; color: #0f1111 !important; border-radius: 100px; padding: 15px; text-align: center; font-weight: bold; width: 100%; margin-top: 20px; }

@media (min-width: 992px) {
    .woocommerce-checkout .col2-set { width: 55%; float: left; padding-right: 40px; }
    .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { width: 45%; float: right; }
}
.woocommerce-checkout::after { content: ""; display: table; clear: both; }
.woocommerce-checkout #order_review { background-color: #f7fafa; border: 1px solid #eaeded; border-radius: 8px; padding: 30px; }
.woocommerce-checkout #order_review_heading { margin-top: 0; font-size: 22px; border-bottom: 2px solid #eaeded; padding-bottom: 10px; }
.woocommerce-checkout .form-row label { font-weight: bold; color: #0f1111; font-size: 14px; margin-bottom: 8px; display: block; }
.woocommerce-checkout .form-row input.input-text, .woocommerce-checkout .form-row select, .woocommerce-checkout .form-row textarea { width: 100%; padding: 12px 15px; border: 1px solid #888c8c; border-radius: 4px; font-size: 14px; }
.woocommerce-checkout #payment { background: #ffffff; border-radius: 4px; border: 1px solid #eaeded; padding: 20px; margin-top: 20px; }
.woocommerce-checkout #place_order { background-color: #ffd814 !important; color: #0f1111 !important; border: 1px solid #fcd200 !important; border-radius: 100px; padding: 15px 20px; font-size: 18px; font-weight: bold; width: 100%; }

/* ==========================================
   8. FOOTER
   ========================================== */
.site-footer {
    background-color: #232f3e !important;
    color: #ffffff !important;
    margin-top: 60px;
    border-top: 1px solid #3a4553;
    font-size: 14px;
}
.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.footer-col {
    display: flex;
    flex-direction: column;
}
.footer-col h3, 
.footer-col h4, 
.footer-col widget-title {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-col ul, 
.footer-col ol,
.footer-col .menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.footer-col ul li, 
.footer-col ol li,
.footer-col .menu li {
    margin-bottom: 10px !important;
    list-style-type: none !important;
}
.footer-col a {
    color: #dddddd !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: #febd69 !important;
    text-decoration: underline !important;
}
.footer-col p, 
.footer-col li {
    color: #cccccc !important;
    line-height: 1.6 !important;
    font-size: 14px !important;
}
.footer-bottom {
    background-color: #131921 !important;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #aaaaaa !important;
    border-top: 1px solid #3a4553;
}

/* ==========================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1200px) {
    .home ul.products,
    .apex-home-section ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .woocommerce-checkout .col2-set, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { float: none; width: 100%; padding-right: 0; }
    .woocommerce-checkout #order_review_heading { margin-top: 40px; }
}

@media (max-width: 768px) {
    .header-main { flex-wrap: wrap; gap: 10px; padding: 10px; }
    .site-branding { order: 1; }
    .header-actions { order: 2; margin-left: auto; gap: 8px; }
    .header-search { order: 3; width: 100%; margin: 5px 0 0 0; max-width: 100%; }
    
    .header-nav { padding: 0 10px; overflow-x: auto; white-space: nowrap; }
    .header-nav ul { gap: 15px; }

    .shop-layout-wrapper, .woocommerce-cart .woocommerce, .footer-main { flex-direction: column !important; }
    .shop-sidebar { width: 100% !important; flex: 0 0 100% !important; border-right: none; border-bottom: 1px solid #ddd; padding-bottom: 20px; }
    
    .woocommerce div.product { padding: 20px; flex-direction: column; }
    .woocommerce div.product div.images, .woocommerce div.product div.summary { flex: 1 1 100%; max-width: 100%; }
    .woocommerce div.product div.images img { height: 350px; }
    
    .apex-hero-modern { padding: 40px 20px; }
    .apex-hero-content h1 { font-size: 28px; }

    .home ul.products,
    .apex-home-section ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}
/* ==========================================
   RESTORE COMPACT 4-COLUMN PRODUCT GRID & SIDEBAR
   ========================================== */

/* Force the 2-column shop layout side-by-side */
.shop-layout-wrapper {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.shop-sidebar {
    width: 260px !important;
    flex: 0 0 260px !important;
    display: block !important;
}

.shop-main-content {
    flex: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* Restore compact 4-column product grid size */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
}

/* Compact product card sizing */
.woocommerce ul.products li.product {
    background-color: #ffffff !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 8px !important;
    padding: 12px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* Compact image height */
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 160px !important;
    object-fit: contain !important;
    margin-bottom: 10px !important;
}

/* Mobile breakdown */
@media (max-width: 991px) {
    .shop-layout-wrapper {
        flex-direction: column !important;
    }
    .shop-sidebar {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
/* ==========================================
   NATIVE SINGLE PRODUCT AMAZON BOX STYLING
   ========================================== */
.woocommerce div.product {
    background-color: #ffffff !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 8px !important;
    padding: 30px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    align-items: flex-start !important;
    margin-top: 20px !important;
}

.woocommerce div.product div.images {
    flex: 1 1 40% !important;
    max-width: 500px !important;
}

.woocommerce div.product div.summary {
    flex: 1 1 50% !important;
}

.woocommerce div.product .product_title {
    font-size: 26px !important;
    color: #0f1111 !important;
    font-weight: normal !important;
    margin-bottom: 10px !important;
}

.woocommerce div.product p.price {
    font-size: 28px !important;
    color: #B12704 !important;
    font-weight: bold !important;
    margin: 15px 0 !important;
}

.woocommerce div.product form.cart {
    background-color: #f7fafa !important;
    border: 1px solid #eaeded !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin: 25px 0 !important;
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
}

.woocommerce div.product form.cart .button {
    background-color: #ffd814 !important;
    color: #0f1111 !important;
    border: 1px solid #fcd200 !important;
    border-radius: 100px !important;
    font-weight: bold !important;
    padding: 0 30px !important;
    height: 42px !important;
}

/* ==========================================
   PROFESSIONAL SINGLE PRODUCT CONTAINER FIX
   ========================================== */
.single-product .site-content {
    max-width: 1200px !important;
    margin: 30px auto !important;
    padding: 0 20px !important;
}

.woocommerce div.product {
    max-width: 1200px !important;
    margin: 0 auto !important;
    background-color: #ffffff !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 8px !important;
    padding: 30px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

.woocommerce div.product div.images {
    flex: 1 1 42% !important;
    max-width: 480px !important;
}

.woocommerce div.product div.summary {
    flex: 1 1 50% !important;
}

.woocommerce div.product .product_title {
    font-size: 26px !important;
    color: #0f1111 !important;
    font-weight: normal !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
}

.woocommerce div.product p.price {
    font-size: 28px !important;
    color: #B12704 !important;
    font-weight: bold !important;
    margin: 15px 0 !important;
}

.woocommerce div.product form.cart {
    background-color: #f7fafa !important;
    border: 1px solid #eaeded !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin: 25px 0 !important;
    display: flex !important;
    gap: 15px !important;
    align-items: center !important;
}

.woocommerce div.product form.cart .button {
    background-color: #ffd814 !important;
    color: #0f1111 !important;
    border: 1px solid #fcd200 !important;
    border-radius: 100px !important;
    font-weight: bold !important;
    padding: 0 30px !important;
    height: 42px !important;
}
/* Force 5 columns for your specific home sections */
.apex-home-section ul.products.columns-5 {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px; /* Adjust spacing between products as needed */
}

/* Ensure individual product items take full width of their grid cell */
.apex-home-section ul.products.columns-5 li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}