/*
Theme Name: MyBasket E-Commerce
Theme URI: https://example.com/mybasket
Author: Custom Theme
Version: 1.1.0
Description: Custom WooCommerce Multi-Product E-Commerce Theme based on MyBasket layout.
Text Domain: mybasket
*/

:root {
  --primary-blue: #004b87;
  --primary-hover: #003663;
  --accent-orange: #f37021;
  --bg-light: #f8f9fa;
  --text-color: #333333;
  --border-color: #e2e8f0;
}

/* ==========================================================================
   1. GLOBAL & BASE STYLES
   ========================================================================== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: #ffffff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
/* Top Bar */
.top-bar {
  background-color: var(--primary-blue);
  color: #fff;
  padding: 8px 5%;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left span, .top-bar-right a { margin-right: 15px; color: #fff; }

/* Main Header */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5%;
  border-bottom: 1px solid var(--border-color);
  gap: 20px;
}
.logo h1 { margin: 0; font-size: 28px; color: var(--primary-blue); font-weight: 800; }
.logo span { color: var(--accent-orange); }
.logo p { margin: 0; font-size: 10px; color: #666; }

/* Search Bar */
.search-bar { display: flex; flex-grow: 1; max-width: 600px; }
.search-bar form { display: flex; width: 100%; align-items: stretch; }
.search-bar input[type="search"] {
  width: 100%; padding: 10px 15px;
  border: 1px solid var(--border-color); border-right: none;
  border-radius: 4px 0 0 4px; outline: none; font-size: 14px;
}
.search-bar button {
  background: var(--primary-blue); color: white;
  border: 1px solid var(--primary-blue); padding: 10px 20px;
  border-radius: 0 4px 4px 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: background 0.3s;
}
.search-bar button:hover { background: var(--primary-hover); }

/* Header Icons */
.header-actions { display: flex; gap: 20px; }
.header-actions .action-item { text-align: center; font-size: 13px; position: relative; font-weight: 600; }

/* Navigation */
.main-nav-container {
  display: flex; align-items: center;
  background: #fff; border-bottom: 1px solid var(--border-color);
  padding: 0 5%; position: relative; z-index: 100;
}
.nav-inner { display: flex; align-items: center; width: 100%; }

/* All Categories Button */
.category-dropdown-wrapper { position: relative; }
.category-dropdown-btn {
  background: var(--primary-blue); color: white;
  padding: 15px 20px; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 8px; border: none; cursor: pointer;
}

/* All Categories Dropdown */
.all-categories-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 250px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border: 1px solid #eee; border-top: none;
  list-style: none; padding: 10px 0; margin: 0; z-index: 999;
  display: none;
}
.all-categories-menu.show { display: block; }
.all-categories-menu li a {
  display: block; padding: 12px 20px; color: #333;
  text-decoration: none; font-size: 14px; font-weight: 500; transition: 0.2s;
}
.all-categories-menu li a:hover { background: #f8f9fa; color: var(--primary-blue); padding-left: 25px; }

/* Main WP Menu */
.nav-links { list-style: none; display: flex; margin: 0; padding: 0; margin-left: 10px; }
.nav-links > li { position: relative; }
.nav-links > li > a { 
  display: block; padding: 15px 20px; text-decoration: none; 
  color: #333; font-weight: 500; font-size: 14px; 
}
.nav-links .sub-menu {
  position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border: 1px solid #eee; border-top: 3px solid var(--primary-blue);
  list-style: none; padding: 10px 0; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease; z-index: 999;
}
.nav-links > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .sub-menu li a { display: block; padding: 10px 20px; color: #555; font-size: 14px; white-space: nowrap; }
.nav-links .sub-menu li a:hover { background: #f8f9fa; color: var(--primary-blue); }

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-slider-wrapper {
  position: relative; width: 100%; background: #fdf6f0; overflow: hidden;
}
.hero-slider-container { max-width: 100%; margin: 0 auto; }
.hero-slide { 
  display: none; position: relative; width: 100%; min-height: 500px;
  background-size: cover; background-position: center right; background-repeat: no-repeat;
}
.hero-slide.active { display: flex; align-items: center; animation: fadeIn 0.5s ease-in-out; }
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  z-index: 1;
}
.hero-slide-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 60px 5%; display: flex; align-items: center;
}
.hero-content { max-width: 500px; color: #fff; }
.hero-content h4 { color: #fff; text-transform: uppercase; letter-spacing: 1.5px; margin: 0 0 10px 0; font-size: 14px; font-weight: 600; }
.hero-content h2 { font-size: 52px; color: #fff; margin: 0 0 15px 0; line-height: 1.1; font-weight: 800; }
.hero-content p { color: #f0f0f0; margin-bottom: 30px; font-size: 18px; }
.btn-primary {
  background: #fff; color: var(--primary-blue); padding: 15px 35px; border-radius: 4px;
  display: inline-block; font-weight: 700; font-size: 16px; transition: 0.3s;
}
.btn-primary:hover { background: var(--primary-blue); color: #fff; }

/* Slider Controls */
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9); color: #333;
  border: 1px solid #ddd; font-size: 20px; padding: 15px; cursor: pointer;
  border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,0.15); z-index: 10;
}
.slider-prev { left: 20px; } .slider-next { right: 20px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 10px; height: 10px; background: #ccc; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--primary-blue); width: 24px; border-radius: 10px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   4. HOMEPAGE SECTIONS (Categories, Promos, Deals)
   ========================================================================== */
/* Circle Categories */
.circle-categories { display: flex; justify-content: center; padding: 30px 5%; overflow-x: auto; gap: 30px; text-align: center; }
.category-circle-item img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; background: #f0f0f0; border: 2px solid transparent; transition: 0.3s; }
.category-circle-item:hover img { border-color: var(--primary-blue); }
.category-circle-item span { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; }

/* Promo Grid */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 10px 5%; max-width: 1200px; margin: 0 auto; }
.promo-card { padding: 25px; border-radius: 8px; color: #fff; }
.promo-card.pink { background-color: #f7d2db; color: #333; }
.promo-card.rose { background-color: #f6dbe6; color: #333; }
.promo-card.blue { background-color: #d1e2f3; color: #333; }
.promo-card h3 { margin: 0 0 5px 0; font-size: 20px; }
.promo-card p { margin: 0 0 15px 0; font-size: 12px; }
.btn-small { background: var(--primary-blue); color: #fff; padding: 8px 16px; border-radius: 4px; font-size: 12px; display: inline-block; }

/* ==========================================================================
   5. WOOCOMMERCE SHOP & CATEGORY PAGES (The Grid Fix)
   ========================================================================== */
/* Shop Layout Wrapper */
.woocommerce-page-wrapper { padding: 40px 0; background-color: #fff; }
.woo-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 5%; align-items: start; }

/* --- THE MASTER PRODUCT GRID --- */
.woocommerce ul.products {
  display: grid !important;
  /* auto-fill ensures if there are only 1 or 2 products, they align left */
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important; 
  gap: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  justify-content: start !important; /* Forces left alignment */
}

/* Individual Product Card */
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  padding: 0 !important; /* Remove padding so image touches edges */
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* Product Image */
.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: 280px !important; /* Uniform height */
  object-fit: cover !important; /* Fills box entirely */
  margin: 0 0 15px 0 !important;
  border-radius: 8px 8px 0 0;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  padding: 0 15px !important;
  margin-bottom: 10px !important;
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product Price */
.woocommerce ul.products li.product .price {
  color: var(--accent-orange) !important;
  font-size: 18px !important;
  font-weight: 700;
  padding: 0 15px !important;
  margin-top: auto !important; /* Pushes button to bottom */
  margin-bottom: 15px !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button {
  background-color: var(--primary-blue) !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 12px 15px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  width: calc(100% - 30px) !important;
  margin: 0 15px 20px 15px !important;
  transition: background 0.3s;
}
.woocommerce ul.products li.product .button:hover { background-color: var(--primary-hover) !important; }

/* Sidebar */
.woo-sidebar { background: #fff; }
.sidebar-box { border: 1px solid var(--border-color); border-radius: 6px; padding: 20px; margin-bottom: 25px; background: #f8f9fa; }
.sidebar-box .widget-title { font-size: 16px; font-weight: 700; color: var(--primary-blue); margin-top: 0; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--border-color); }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box ul li { margin-bottom: 10px; font-size: 14px; }
.sidebar-box ul li a:hover { color: var(--accent-orange); }

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.site-footer { background-color: #f5f5f6; padding: 60px 0 20px 0; margin-top: 50px; font-size: 14px; color: #696b79; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-title { color: #282c3f; font-size: 13px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 0.5px; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul li { margin-bottom: 12px; }
.footer-widget ul li a { color: #696b79; transition: color 0.2s; }
.footer-widget ul li a:hover { color: var(--primary-blue); }

/* Footer Right Side (App & Guarantees) */
.footer-col-right .footer-widget { margin-bottom: 30px; }
.app-buttons { display: flex; gap: 10px; margin-bottom: 10px; }
.app-buttons img { height: 40px; width: auto; }
.guarantee-box { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
.guarantee-box .guarantee-text { font-size: 15px; line-height: 1.4; margin: 0; }
.guarantee-box .guarantee-text strong { color: #282c3f; font-weight: 700; }

/* Footer Social Icons */
.social-section { margin-top: 30px; }
.social-icons { display: flex; gap: 15px; align-items: center; }
.social-icons a { 
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background-color: #ffffff; color: #696b79;
  border-radius: 50%; border: 1px solid var(--border-color); transition: all 0.3s ease;
}
.social-icons a:hover { background-color: var(--primary-blue); color: #ffffff; border-color: var(--primary-blue); transform: translateY(-3px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* Footer Bottom */
.footer-bottom { border-top: 1px solid #d4d5d9; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; }

/* ==========================================================================
   7. RESPONSIVE (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .woo-layout { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-content h2 { font-size: 36px; }
  .main-header { flex-direction: column; gap: 15px; }
  .search-bar { max-width: 100%; width: 100%; }
  .nav-inner { flex-direction: column; align-items: flex-start; }
  .nav-links { flex-direction: column; width: 100%; margin-left: 0; }
  .nav-links > li > a { padding: 10px 20px; }
  .nav-links .sub-menu { position: relative; top: 0; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 20px; }
  .nav-links > li:hover > .sub-menu { display: block; } /* Mobile fallback for hover */
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .promo-grid { grid-template-columns: 1fr; }
  .hero-slide-inner { padding: 40px 5%; }
  .hero-content h2 { font-size: 28px; }
  .slider-prev, .slider-next { display: none; } /* Hide arrows on small mobile */
}

/* ==========================================================================
   FORCE LEFT ALIGNMENT FOR WOOCOMMERCE PRODUCTS (OVERRIDE)
   ========================================================================== */

/* 1. Force the product grid to start from the left */
.woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important; /* Forces left alignment */
    gap: 25px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* 2. Set exact sizing for product cards (3 per row on desktop) */
.woocommerce ul.products li.product {
    /* Calculate exact width for 3 columns, accounting for the 25px gaps */
    width: calc(33.333% - 17px) !important; 
    float: none !important;
    margin: 0 !important; 
    padding: 0 !important;
    
    display: flex !important;
    flex-direction: column !important;
    
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* 3. Image full width */
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 250px !important; 
    object-fit: cover !important; 
    margin: 0 0 15px 0 !important;
}

/* 4. Text Padding */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0 15px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}

.woocommerce ul.products li.product .price {
    padding: 0 15px !important;
    color: #f37021 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: auto !important;
    margin-bottom: 15px !important;
}

/* 5. Button alignment */
.woocommerce ul.products li.product .button {
    background-color: #004b87 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    width: calc(100% - 30px) !important;
    margin: 0 15px 20px 15px !important;
    text-align: center !important;
}

/* 6. Responsive Fixes for Mobile/Tablet */
@media (max-width: 992px) {
    .woocommerce ul.products li.product {
        width: calc(50% - 13px) !important; /* 2 per row */
    }
}

@media (max-width: 576px) {
    .woocommerce ul.products li.product {
        width: 100% !important; /* 1 per row */
    }
}

/* 7. Kill any default WordPress clearing blocks pushing content */
.woocommerce::before, .woocommerce::after {
    display: none !important;
}

/* ==========================================================================
   FIX 1: TOP DEALS (Force 3 columns, aligned left)
   ========================================================================== */
.woocommerce ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important; 
    gap: 30px !important; /* Fixed gap */
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products li.product {
    /* Formula: (100% - (2 * 30px gap)) / 3 columns = 33.333% - 20px */
    width: calc(33.333% - 20px) !important; 
    max-width: calc(33.333% - 20px) !important;
    float: none !important;
    margin: 0 !important; 
    padding: 0 !important;
    
    display: flex !important;
    flex-direction: column !important;
    
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Image formatting */
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 250px !important; 
    object-fit: cover !important; 
    margin: 0 0 15px 0 !important;
}

/* Text & Button formatting */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0 15px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .price {
    padding: 0 15px !important;
    color: #f37021 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: auto !important;
    margin-bottom: 15px !important;
}

.woocommerce ul.products li.product .button {
    background-color: #004b87 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    width: calc(100% - 30px) !important;
    margin: 0 15px 20px 15px !important;
    text-align: center !important;
}


/* ==========================================================================
   FIX 2: EXPLORE ALL CATEGORIES (Restore Grid Layout)
   ========================================================================== */
.category-summary-section {
    padding: 40px 5%;
    background: #f8f9fa;
    margin: 30px 0;
}

.category-summary-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    max-width: 1200px;
    margin: 0 auto;
}

.category-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.cat-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cat-card-body {
    padding: 20px;
}

.cat-card-body h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.cat-card-body h3 a {
    color: #004b87;
    text-decoration: none;
}

.cat-card-body h3 .count {
    font-size: 13px;
    color: #777;
    font-weight: normal;
}

.subcat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.subcat-list li {
    margin-bottom: 6px;
    font-size: 13px;
}

.subcat-list li a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.subcat-list li a:hover {
    color: #f37021;
}

.cat-explore-btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #004b87;
    text-decoration: underline;
}

/* ==========================================================================
   FIX 3: RESPONSIVE (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 992px) {
    .woocommerce ul.products li.product {
        width: calc(50% - 15px) !important; /* 2 per row */
        max-width: calc(50% - 15px) !important;
    }
}

@media (max-width: 576px) {
    .woocommerce ul.products li.product {
        width: 100% !important; /* 1 per row */
        max-width: 100% !important;
    }
}

/* ==========================================================================
   WOOCOMMERCE MASTER GRID (Works for Front Page & Category Pages)
   ========================================================================== */

/* 1. The Product Container */
.woocommerce ul.products {
    display: grid !important;
    /* This forces 3 columns exactly, regardless of container width */
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    
    /* Aligns items to the left if there's only 1 or 2 */
    justify-content: start !important; 
}

/* 2. The Product Card */
.woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    
    display: flex !important;
    flex-direction: column !important;
    
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

/* 3. The Image */
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: 300px !important; /* Set a fixed, tall height so they all match */
    object-fit: cover !important; /* Fills the box without stretching */
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px 8px 0 0 !important;
}

/* 4. Title & Price Padding */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 15px 15px 5px 15px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    
    /* Limit to 2 lines so cards stay equal height */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.woocommerce ul.products li.product .price {
    padding: 0 15px 15px 15px !important;
    color: #f37021 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    
    /* Pushes price and button to the bottom */
    margin-top: auto !important; 
}

/* 5. Add to Cart Button */
.woocommerce ul.products li.product .button {
    background-color: #004b87 !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    width: calc(100% - 30px) !important;
    margin: 0 15px 20px 15px !important;
    text-align: center !important;
    transition: background 0.3s !important;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #003663 !important;
}

/* ==========================================================================
   RESPONSIVE (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 per row */
    }
}

@media (max-width: 576px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important; /* 1 per row */
    }
}