/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-orange)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:hover .product-overlay {
  opacity: 0.9;
}

.product-overlay-text {
  color: var(--white);
  font-weight: bold;
  font-size: 1.2rem;
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

/* Products Archive Styles */
.categories-overview {
  margin-bottom: 4rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  position: relative;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.category-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.category-overlay p {
  opacity: 0.9;
  line-height: 1.4;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.placeholder-image.large {
  height: 400px;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-link {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.product-link:hover {
  transform: scale(1.05);
}

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  margin-bottom: 1rem;
}

.product-content h3 a {
  color: var(--primary-blue);
  text-decoration: none;
}

.product-content h3 a:hover {
  color: var(--dark-blue);
}

.product-excerpt {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-category {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Product Filter */
.product-filter {
  margin-bottom: 3rem;
  text-align: center;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  color: var(--white);
}

/* Load More */
.load-more-container {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.load-more-btn:hover {
  transform: translateY(-2px);
}

/* Single Product Styles */
.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.product-images {
  top: .2rem;
}

.main-image {
  margin-bottom: 1rem;
}

.product-main-image {
  width: 100%;
  border-radius: 10px;
}

.image-gallery {
  margin-top: 1rem;
}

.gallery-thumbnails {
  display: flex;
  gap: 0.5rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.thumbnail.active {
  border-color: var(--primary-blue);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.product-categories {
  margin-bottom: 2rem;
}

.product-category-link {
  background: linear-gradient(
    135deg,
    var(--primary-orange),
    var(--dark-orange)
  );
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  margin-right: 0.5rem;
}

.product-description {
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

/* Product Specifications */
.product-specifications {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.product-specifications h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.specs-grid {
  display: grid;
  gap: 1rem;
}

.spec-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--dark-blue);
}

.spec-value {
  color: var(--text-dark);
}

/* Wholesale Inquiry */
.wholesale-inquiry {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: center;
}

.wholesale-inquiry h3 {
  margin-bottom: 1rem;
}

.inquiry-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Product Share */
.product-share {
  margin-bottom: 2rem;
}

.product-share h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.share-btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-btn.facebook {
  background: #3b5998;
}
.share-btn.twitter {
  background: #1da1f2;
}
.share-btn.linkedin {
  background: #0077b5;
}
.share-btn.whatsapp {
  background: #25d366;
}

/* Product Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Category Page Styles */
.category-overview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.category-highlights {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.products-count {
  color: var(--text-dark);
  font-weight: 500;
}

/* Product Sorting */
.product-sorting {
  margin-bottom: 2rem;
  text-align: right;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.sort-options label {
  font-weight: 600;
  color: var(--dark-blue);
}

.sort-options select {
  padding: 0.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  background: var(--white);
}

/* No Products */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.no-products h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Pagination */
.pagination-container {
  margin-top: 3rem;
  text-align: center;
  background-color: #f9f9f9;
  padding-block: 1rem;
  margin-block: 3rem;
  text-align: center;
  border-radius: 0.5rem;
}

.pagination-container ul {
  display: inline-flex;
  list-style: none;
  gap: 0.5rem;
  padding: 0;
}

.pagination-container li {
  margin: 0;
}

.pagination-container a,
.pagination-container span {
  display: block;
  padding: 0.75rem 1rem;
  border: 2px solid var(--primary-blue);
  border-radius: 5px;
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-container a:hover,
.pagination-container .current {
  background: var(--primary-blue);
  color: var(--white);
}

/* Category Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Related Categories */
.category-card.small {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
  text-decoration: none;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.category-card.small:hover {
  transform: translateY(-3px);
}

.category-card.small h3 {
  margin-bottom: 0.5rem;
}

/* Call to Action Sections */
/* ===== ENHANCED PRODUCT STYLES ===== */

/* Product Cards */
.product-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
  border: 2px solid var(--primary-orange);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 136, 229, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2;
}

.product-card:hover .product-overlay {
  opacity: 1;
  visibility: visible;
}

.product-link {
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.product-link:hover {
  background: #fff;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* OLD TAGS

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.featured-badge,
.availability-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
} 

.featured-badge {
    background: var(--primary-orange);
}

.availability-badge.in-stock {
    background: #46b450;
}

.availability-badge.limited {
    background: #ffb900;
}

.availability-badge.pre-order {
    background: #00a0d2;
}

.availability-badge.out-of-stock {
    background: #dc3232;
}
*/

/* Container for the badges */
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px; /* Creates space between the badges */
}

/* Base styles for all badges */
.featured-badge,
.availability-badge {
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Specific style for the featured badge */
.featured-badge {
  background: var(--primary-orange);
}

/* Specific style for the in-stock badge */
.availability-badge.in-stock {
  background: #4caf50; /* Green color for "In stock" */
}

.product-content {
  padding: 20px;
}

.product-content h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  line-height: 1.3;
}

.product-content h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-content h3 a:hover {
  color: var(--primary-blue);
}

.product-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.product-category {
  background: #f0f0f0;
  color: #666;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.product-category:hover {
  background: var(--primary-blue);
  color: #fff;
}

.product-minimum-order {
  font-size: 12px;
  color: #888;
  margin-bottom: 15px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  flex: 1;
}

/* Product Filters */
.product-filter {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

/* Product Statistics */
.product-stats-section {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-orange)
  );
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.stat-description {
  font-size: 14px;
  opacity: 0.9;
}

/* Single Product Page */
.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.product-images {
  top: 1.5rem;
  height: fit-content;
}

.main-image {
  margin-bottom: 20px;
}

.product-main-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.thumbnail:hover {
  border-color: var(--primary-blue);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.product-status {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.status-badge.featured {
  background: var(--primary-orange);
}

.status-badge.availability {
  background: #46b450;
}

.product-categories {
  margin-bottom: 20px;
}

.product-category-link {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.product-category-link:hover {
  background: var(--primary-blue);
  color: #fff;
}

.product-specifications,
.product-care,
.wholesale-info {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.specs-grid,
.wholesale-grid {
  display: grid;
  gap: 10px;
}

.spec-item,
.wholesale-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.spec-label,
.wholesale-label {
  font-weight: 600;
  color: #666;
}

.spec-value,
.wholesale-value {
  color: var(--text-dark);
}

.wholesale-inquiry {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-orange)
  );
  color: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.inquiry-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.product-share {
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.share-btn:hover {
  opacity: 0.8;
}

.share-btn.facebook {
  background: #1877f2;
}
.share-btn.twitter {
  background: #1da1f2;
}
.share-btn.linkedin {
  background: #0077b5;
}
.share-btn.whatsapp {
  background: #25d366;
}

/* Product Tabs */
.product-tabs {
  margin-top: 40px;
}

.tab-navigation {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 15px 25px;
  border: none;
  background: none;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

.tab-panel {
  display: none;
  padding: 20px 0;
}

.tab-panel.active {
  display: block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.specs-table td:first-child {
  font-weight: 600;
  color: #666;
  width: 30%;
}

/* Category Pages */
.category-overview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.category-highlights {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}

.highlight-item {
  padding: 15px;
  background: #f9f9f9;
  border-left: 4px solid var(--primary-blue);
  border-radius: 4px;
}

.overview-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.products-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}

.summary-stats {
  display: flex;
  gap: 15px;
}

.stat-item {
  padding: 8px 12px;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
}

.product-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.filter-group label {
  font-weight: 600;
  color: #666;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.benefit-item h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* No Products State */
.no-products {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
  border-radius: 8px;
  grid-column: 1 / -1;
}

.no-products-content h3 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.no-products-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-controls {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .filter-buttons {
    justify-content: center;
  }

  .inquiry-buttons,
  .no-products-actions {
    flex-direction: column;
  }

  .tab-navigation {
    flex-wrap: wrap;
  }

  .tab-btn {
    flex: 1;
    min-width: 120px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .share-buttons {
    justify-content: center;
  }
}
/* ===== PRODUCT OVERLAY IMPROVEMENTS ===== */

/* Ensure product image container has proper positioning */
.product-image {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

/* Fix for category cards overlay */
.category-card {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px 10px 0 0;
  position: relative;
  overflow: hidden;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 136, 229, 0.85),
    rgba(255, 87, 34, 0.85)
  );
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-overlay h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.category-overlay p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

/* .category-stats {

} */

.product-count {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.availability-badge {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-badge {
  background: var(--primary-orange);
  color: #fff;
}

.availability-badge.in-stock {
  background: #4caf50;
  color: #fff;
}

.availability-badge.limited {
  background: #ff9800;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.availability-badge.pre-order {
  background: #2196f3;
  color: #fff;
}

.availability-badge.out-of-stock {
  background: #f44336;
  color: #fff;
}

/* Responsive improvements for mobile */
@media (max-width: 768px) {
  .product-overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(30, 136, 229, 0.7);
  }

  .product-link {
    padding: 10px 20px;
    font-size: 12px;
  }

  .category-image {
    height: 200px;
  }

  .category-overlay h3 {
    font-size: 1.2rem;
  }

  .category-overlay p {
    font-size: 0.8rem;
  }
}

/* Fix for placeholder images */
.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ensure proper image sizing */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

/* Grid layout improvements */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  margin-top: 30px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
