/* Style each product on shop/archive pages */
.woocommerce ul.products li.product {
    border: 1px solid #ccc; /* Add border */
    padding: 15px;           /* Space inside the border */
    margin: 10px;            /* Space between products */
    text-align: center;      /* Center all text inside the product */
    box-sizing: border-box;
}

/* Center product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 10px 0;
    padding: 12px 15px 12px 15px;
	border-top: 1px solid #2A3B6F;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s ease;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    border-bottom-color: #2A3B6F; 
    color: #2A3B6F;
    transform: translateY(-2px);
}


/* Remove WooCommerce buttons like "Add to Cart" and "View Product" */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button {
    display: none;
}

/* Optional: Adjust product image size and alignment */
.woocommerce ul.products li.product img {
    display: block;
    margin: 0 auto 10px auto; /* Center image and add bottom margin */
    max-width: 100%;          /* Ensure images don’t overflow */
}

/* Optional: Add hover effect for products */
.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: 0.3s;
}
/* Hover effect: scale up product and add shadow */
.woocommerce ul.products li.product {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth transition */
}

.woocommerce ul.products li.product:hover {
    transform: scale(1.01); /* increase size by 15% */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* stronger shadow */
    z-index: 2; /* keep it above other products */
}
/* ========================================
   WooCommerce Pagination - IMPROVED
   - Numbers perfectly centered in circles
   - Increased spacing between circles
   - Consistent hover effects for all items
   - No borders except the circles
   ======================================== */

/* Remove all default borders */
.woocommerce-pagination,
.woocommerce-pagination * {
    border: none !important;
}

/* Pagination container */
.woocommerce-pagination {
    text-align: center;
    margin: 40px 0;
}

/* Pagination list */
.woocommerce-pagination ul.page-numbers {
    display: inline-flex;
    gap: 30px;                          /* INCREASED from 25px to 30px */
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;            /* Remove border from ul */
    align-items: center;
}

/* Remove borders from list items */
.woocommerce-pagination ul.page-numbers li {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* All pagination items (numbers, arrows, current) */
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
    /* Perfect centering */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    
    /* Circle dimensions */
    width: 45px;
    height: 45px;
    min-width: 45px;                    /* Prevent shrinking */
    min-height: 45px;
    
    /* Circle border - ONLY BORDER */
    border: 1px solid #2A3B6F !important;
    border-radius: 50%;
    
    /* Text styling */
    color: #333;
    font-weight: 500;
    font-size: 16px;
    line-height: 1 !important;          /* Remove extra line height */
    text-decoration: none;
    text-align: center;
    
    /* Remove default padding/margin */
    padding: 0 !important;
    margin: 0 !important;
    
    /* Background */
    background: #fff;
    
    /* Smooth transitions */
    transition: all 0.3s ease;
    
    /* Prevent text selection */
    user-select: none;
    
    /* Force box-sizing */
    box-sizing: border-box !important;
}

/* Hover effect for ALL items (numbers and arrows) */
.woocommerce-pagination ul.page-numbers li a:hover,
.woocommerce-pagination ul.page-numbers li span:hover {
    background-color: #2A3B6F !important;
    color: #fff !important;
    border-color: #2A3B6F !important;
   
    box-shadow: 0 4px 12px rgba(42, 59, 111, 0.3) !important; /* Add shadow */
    z-index: 2;
}

/* Current page styling */
.woocommerce-pagination ul.page-numbers li span.current {
    background-color:  #2A3B6F !important;
    color: #fff !important;
    border-color: #2A3B6F !important;
    font-weight: 600;
     
   
}

/* Current page should not scale more on hover */
.woocommerce-pagination ul.page-numbers li span.current:hover {
    transform: scale(1) !important;       /* Keep same size */
    cursor: default;
}

/* Previous/Next arrows - same styling as numbers */
.woocommerce-pagination ul.page-numbers li a.prev,
.woocommerce-pagination ul.page-numbers li a.next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: 1px solid #2A3B6F !important;
    background: #fff;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1 !important;
}

/* Arrows hover - SAME AS NUMBERS */
.woocommerce-pagination ul.page-numbers li a.prev:hover,
.woocommerce-pagination ul.page-numbers li a.next:hover {
    background-color: #2A3B6F !important;
    color: #fff !important;
    border-color: #2A3B6F !important;
    
    z-index: 2;
}

/* Dots (...) styling - no border, no hover effect */
.woocommerce-pagination ul.page-numbers li span.dots {
    border: none !important;
    background: transparent !important;
    cursor: default !important;
    width: auto !important;
    color: #999 !important;
}

.woocommerce-pagination ul.page-numbers li span.dots:hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
    .woocommerce-pagination ul.page-numbers {
        gap: 20px;                      /* Reduce gap on tablet */
    }
    
    .woocommerce-pagination ul.page-numbers li a,
    .woocommerce-pagination ul.page-numbers li span {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .woocommerce-pagination ul.page-numbers {
        gap: 15px;                      /* Further reduce gap on mobile */
    }
    
    .woocommerce-pagination ul.page-numbers li a,
    .woocommerce-pagination ul.page-numbers li span {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 14px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus state for keyboard navigation */
.woocommerce-pagination ul.page-numbers li a:focus {
    outline: 3px solid #0073aa;
    outline-offset: 3px;
}

/* ========================================
   FORCE OVERRIDE (if needed)
   ======================================== */

/* Use if theme is still overriding */
body .woocommerce-pagination ul.page-numbers li a,
body .woocommerce-pagination ul.page-numbers li span {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
}


