.shop-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  min-height: 100vh;
  padding: 6rem 0 2rem 0;
  margin-top: 0;
}

/* Modern Breadcrumb Styles */
.breadcrumb-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.breadcrumb-item a:hover {
  color: #111827;
  background: rgba(17, 24, 39, 0.05);
  transform: translateY(-1px);
}

.breadcrumb-item.active {
  color: #111827;
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #9ca3af;
  font-weight: 600;
  margin: 0 0.5rem;
}

.breadcrumb-icon {
  font-size: 0.875rem;
}

.shop-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.shop-header {
  text-align: center;
  margin-bottom: 3rem;
}

.shop-title {
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #111827 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shop-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Shop Layout */
.shop-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Modern White-Themed Filter Sidebar */
.filters-sidebar {
  background: #ffffff;
  border-radius: 4px;
  padding: 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 6rem;
  height: fit-content;
  border: 2px solid #000000;
}

/* Filter Header */
.filters-header {
  background: #000000;
  margin-bottom: 0;
  padding: 1.5rem;
  border-bottom: none;
}

.filters-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-icon {
  background: #333333;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #555555;
}

.filter-icon i {
  color: #ffffff;
  font-size: 1rem;
}

.filters-subtitle {
  color: #cccccc;
  font-size: 0.875rem;
  margin: 0;
}

/* Filter Form */
.filters-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
}

/* Filter Groups */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.filter-label-icon {
  background: #f9fafb;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
}

.filter-label-icon i {
  color: #6b7280;
  font-size: 0.75rem;
}

/* Search Input */
.search-container {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  color: #111827;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Select Inputs */
.filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  color: #111827;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-select option {
  background: #ffffff;
  color: #111827;
  padding: 0.5rem;
}

/* Price Range Inputs */
.price-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

.price-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.input-label {
  color: #374151;
  font-size: 0.75rem;
  font-weight: 600;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  font-size: 0.875rem;
  z-index: 1;
}

.price-input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 1.75rem;
  background: #ffffff;
  border: none;
  border-radius: 2px;
  color: #111827;
  font-size: 0.875rem;
  transition: box-shadow 0.2s ease;
}

.price-input::placeholder {
  color: #9ca3af;
}

.price-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.price-separator {
  text-align: center;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0;
}

/* Validation Messages */
.validation-message {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  padding: 0.25rem 0;
  min-height: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.validation-message.show {
  opacity: 1;
  transform: translateY(0);
}

.validation-message.error {
  color: #dc2626;
}

.validation-message.success {
  color: #059669;
}

.validation-message.warning {
  color: #d97706;
}

.validation-message.info {
  color: #2563eb;
}

.validation-message i {
  font-size: 0.75rem;
}

/* Price range specific message */
.price-range-message {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

/* Input validation states */
.price-input.valid {
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
  background: #f0fdf4;
}

.price-input.invalid {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background: #fef2f2;
}

.price-input.warning {
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
  background: #fffbeb;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.btn-filter {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f9fafb;
  color: #374151;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Loading State */
.btn-filter.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-filter.loading i {
  animation: spin 1s linear infinite;
}

/* Responsive Filter Sidebar */
@media (max-width: 1024px) {
  .filters-sidebar {
    padding: 1.25rem;
  }
  
  .filters-title {
    font-size: 1.125rem;
  }
  
  .filter-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .filters-sidebar {
    position: static;
    top: auto;
    margin-bottom: 2rem;
    padding: 1rem;
  }
  
  .price-inputs-container {
    padding: 0.75rem;
  }
  
  .filter-buttons {
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .btn-filter {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .filters-sidebar {
    padding: 0.75rem;
  }
  
  .filters-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
  
  .filters-title {
    font-size: 1rem;
  }
  
  .filter-icon {
    width: 24px;
    height: 24px;
  }
  
  .filter-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-filter {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
}

/* Products Section */
.products-section {
  min-height: 600px;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.results-info {
  color: #6b7280;
  font-weight: 500;
  font-size: 1rem;
}

.results-count {
  font-weight: 700;
  color: #111827;
}

/* Products Grid - 3 Columns */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

.product-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover .product-image {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-card:hover .product-image-container {
  background: #f1f5f9;
}

/* Hover Action Icons Overlay for Shop Page */
.product-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.4),
    transparent
  );
  padding: 25px 20px 20px;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
  pointer-events: none;
}

.product-card:hover .product-hover-overlay {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.product-action-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.product-view-details-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  border: 2px solid #ffffff;
  border-radius: 25px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(15px);
  opacity: 0;
  white-space: nowrap;
}

.product-card:hover .product-view-details-btn {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.1s;
}

.product-view-details-btn:hover {
  transform: scale(1.05);
  background: #000000;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.product-action-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

.product-action-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(15px);
  opacity: 0;
}

.product-card:hover .product-action-btn {
  transform: translateY(0);
  opacity: 1;
}

.product-card:hover .product-action-btn:nth-child(1) {
  transition-delay: 0.2s;
}

.product-card:hover .product-action-btn:nth-child(2) {
  transition-delay: 0.3s;
}

.product-action-btn:hover {
  transform: scale(1.15);
  background: #000000;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.product-action-btn.cart-btn:hover {
  background: #000000;
  border-color: #000000;
}

.product-action-btn.wishlist-btn:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #ffffff;
}

.product-action-btn.wishlist-btn.in-wishlist {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #ffffff;
}

.product-action-btn.wishlist-btn.in-wishlist i {
  color: #ffffff !important;
}

.product-action-btn.wishlist-btn.in-wishlist:hover {
  background: #c0392b !important;
  border-color: #c0392b !important;
  color: #ffffff !important;
}

/* Disabled button styles */
.product-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(0) !important;
}

.product-action-btn:disabled:hover {
  transform: scale(1) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #000000 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Loading state for buttons */
.product-action-btn.loading {
  pointer-events: none;
}

.product-action-btn.loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Prevent link click when clicking action buttons */
.product-card .product-hover-overlay {
  pointer-events: none;
}

.product-card .product-action-btn,
.product-card .product-view-details-btn {
  pointer-events: all;
}

.discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product-brand {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-align: center;
}

.product-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  transition: color 0.3s ease;
}

.product-card:hover .product-name {
  color: #e74c3c;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.3s ease;
}

.product-card:hover .current-price {
  color: #e74c3c;
}

.original-price {
  font-size: 1rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.product-card:hover .original-price {
  color: #9ca3af;
}

.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  gap: 0.125rem;
}

.star {
  color: #fbbf24;
  font-size: 0.875rem;
}

.star.empty {
  color: #e5e7eb;
}

.rating-count {
  color: #6b7280;
  font-size: 0.875rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-product {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
}

.btn-view {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: white;
}

.btn-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: white;
}

.btn-wishlist {
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
  width: 44px;
  padding: 0.75rem;
}

.btn-wishlist:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #ef4444;
}

/* Pagination Styles */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.page-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.page-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.page-btn.active {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: white;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive Design */
/* Large tablet and small desktop: 3 columns */
@media (max-width: 1200px) and (min-width: 1025px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Tablet view: 2 products per row */
@media (max-width: 1024px) and (min-width: 769px) {
  .shop-main {
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
  }

  .filters-sidebar {
    padding: 1.5rem;
    top: 5rem;
  }

  /* Tablet: 2 columns */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
}

/* Additional tablet breakpoint for better coverage */
@media (max-width: 1024px) and (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
}

/* Mobile view: 1 product per row */
@media (max-width: 768px) {
  .shop-wrapper {
    padding: 5rem 0 2rem 0;
  }

  .shop-container {
    padding: 0 1rem;
  }

  .shop-title {
    font-size: 2.25rem;
  }

  .shop-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .filters-sidebar {
    position: static;
    order: 2;
    top: auto;
  }

  .products-section {
    order: 1;
  }

  .products-header {
    text-align: center;
    padding: 1.5rem;
  }

  /* Mobile: Only 1 product per row */
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    max-width: 100%;
  }

  /* Ensure product cards take full width on mobile */
  .product-card {
    width: 100%;
    max-width: none;
  }

  /* Mobile responsive adjustments for hover actions */
  .product-action-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .product-action-icons {
    gap: 12px;
  }

  .product-view-details-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .product-hover-overlay {
    padding: 20px 15px 15px;
  }

  /* Mobile product image adjustments */
  .product-image-container {
    height: 220px;
  }

  .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 480px) {
  .shop-wrapper {
    padding: 4rem 0 2rem 0;
  }

  /* Ensure single column layout on small mobile */
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .filter-buttons {
    gap: 0.5rem;
  }

  .btn-filter {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
  }

  /* Smaller product cards on very small screens */
  .product-image-container {
    height: 180px;
  }

  .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .product-info {
    padding: 1rem;
  }

  .product-name {
    font-size: 1rem;
  }

  .current-price {
    font-size: 1.125rem;
  }
}

/* Additional mobile-specific styles for better responsiveness */
@media (max-width: 991px) {
  /* Ensure filters are mobile-friendly */
  .filters-sidebar {
    border-radius: 15px;
    margin-bottom: 1rem;
  }

  .filter-group {
    gap: 0.5rem;
  }

  .filter-select,
  .search-input,
  .price-input {
    font-size: 14px;
  }

  /* Mobile pagination adjustments */
  .pagination {
    padding: 0.75rem;
    gap: 0.25rem;
  }

  .page-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* Ensure consistent mobile layout across all screen sizes */
@media (max-width: 767px) {
  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .product-card {
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
  }
}

/* Loading Animation */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #111827;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.empty-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #9ca3af;
}

.empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.empty-text {
  color: #6b7280;
  margin-bottom: 2rem;
}
