/* General page styling */
body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Breadcrumb Navigation */
.breadcrumb {
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: #3b82f6;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Products Layout */
.products-layout {
  display: block;
  padding: 30px 0;
}

/* Sidebar Filters - Hidden */
.filters-sidebar {
  display: none;
}

/* Filter sections - Not used */
/*
.filter-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  width: 100%;
}

.filter-section h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: #333;
}
*/

/* Price Filter - Not used */
/*
.price-filter {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  box-sizing: border-box;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.price-inputs input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
  width: calc(50% - 12px);
  box-sizing: border-box;
}

.price-inputs span {
  color: #666;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.price-slider {
  width: 100%;
  box-sizing: border-box;
}

.price-slider input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
  box-sizing: border-box;
}
*/

/* Main Products Area */
.products-main {
  flex: 1;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #3b82f6;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-badge.sale {
  background: #ef4444;
}

.product-image-box {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.stock-status.in-stock {
  color: #10b981;
}

.stock-status.very-low-stock {
  color: #f59e0b;
}

.stock-status.out-of-stock {
  color: #ef4444;
}

.stock-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* No Products Message */
.no-products {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-products h3 {
  font-size: 1.5rem;
  color: #333;
  margin: 0 0 10px 0;
}

.no-products p {
  color: #666;
  margin: 0 0 20px 0;
}

.clear-filters-btn {
  padding: 12px 24px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.clear-filters-btn:hover {
  background: #2563eb;
}

/* Footer */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 16px 0;
  font-size: 0.9rem;
  margin-top: auto;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}
