/* GLOBAL */
.pro-shop-container {
  background: #f9fafb;
  color: #1f2937;
  padding-bottom: 60px;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

/* HERO */
.shop-hero {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  text-align: center;
  padding: 70px 20px;
  border-radius: 18px;
  margin: 30px auto;
  max-width: 1200px;
  color: #fff;
}
.shop-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.shop-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* MAIN WRAPPER */
.shop-main-wrapper {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 0;
  flex-wrap: nowrap;
}

/* SIDEBAR (DESKTOP) */
.shop-sidebar {
  flex: 0 0 250px;
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.shop-sidebar h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #1e3a8a;
}
.filter-section h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #2563eb;
}
.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.filter-list li { margin-bottom: 10px; }
.filter-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #1e40af;
  transition: all 0.25s;
}
.filter-list a:hover {
  background: #e0f2fe;
  color: #1d4ed8;
}
.filter-list a.active {
  background: #e0f2fe;
  color: #1d4ed8;
  font-weight: 700;
}

/* MOBILE DROPDOWN */
.mobile-filters {
  display: none;
  width: 100%;
  margin: 0 0 25px 0;
}
.mobile-filters label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}
.mobile-filters select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  color: #1e3a8a;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

/* PRODUCTS GRID */
.shop-products-wrapper { 
  display: flex;
  justify-content: center;
  align-items: center;
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.products::before,
.products::after { display: none !important; }

/* PRODUCT CARD */
.pro-product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pro-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.product-image-wrapper img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

/* CARD CONTENT */
.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 16px;
  text-align: center;
  color: #111827;
}
.product-title a { text-decoration: none; color: inherit; }
.product-title a:hover { color: #2563eb; }
.product-rating { margin: auto }
.product-price {
  text-align: center;
  font-weight: 700;
  color: #1d4ed8;
  margin: 10px 0 14px 0;
}

/* CARD ACTIONS */
.card-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 0 18px 0;
}
.card-actions .button {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #3b82f6;
  color: #fff;
  text-decoration: none;
  transition: background 0.25s;
}
.card-actions .button:hover { background: #1e40af; }
.card-actions .wishlist-btn {
  background: #f3f4f6;
  color: #111827;
}
.card-actions .wishlist-btn:hover {
  background: #e5e7eb;
}

/* PAGINATION */
.shop-pagination {
  text-align: center;
  margin-top: 35px;
}
.shop-pagination a {
  padding: 10px 15px;
  margin: 0 4px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #374151;
  font-weight: 600;
  text-decoration: none;
}
.shop-pagination a:hover,
.shop-pagination .current {
  background: #2563eb;
  color: #fff;
}
.woocommerce .products ul, .woocommerce ul.products {
    margin: 0 0 1em;
    padding: 1rem;
    list-style: none outside;
    clear: both;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    float: left;
    margin: 0 3.8% 2.992em 0;
    padding: 0;
    position: relative;
    width: auto;
    margin-left: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .shop-main-wrapper { flex-direction: column; }
  .shop-sidebar { width: 100%; }
}
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-filters { display: block; }
  .products { grid-template-columns: repeat(2,1fr); }
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: auto;
        float: left;
        clear: both;
        margin: 0 0 2.992em;
    }

}
@media (max-width: 480px) {
  .products { grid-template-columns: 1fr; }
}


.added_to_cart.wc-forward {
  display: none !important;
}
