/* ============================================
   CATEGORY BANNER CARDS SECTION
   ============================================ */

.category-banner-cards {
  background: #fff;
}

.category-banner-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  padding: 30px;
  min-height: 200px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  gap: 20px;
}

.banner-text {
  flex: 1;
}

.saving-text {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.saving-text strong {
  color: #ff6b35;
  font-weight: 700;
}

.category-banner-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.shop-now-btn {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shop-now-btn:hover {
  background: #ff6b35;
  transform: translateX(5px);
}

.banner-image {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.category-banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   BEST SELLER SECTION
   ============================================ */

.bestseller-section {
  background: #fff;
}

.section-header {
  border-bottom: 2px solid #f5f5f5;
  padding-bottom: 20px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}

.filter-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-link {
  color: #666;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.filter-link.active {
  color: #1a1a1a;
  font-weight: 600;
}

.filter-link:hover {
  color: #ff6b35;
}

/* Best Seller Product Card */
.bestseller-product-card {
  padding: 0 8px;
  margin-bottom: 20px;
}

.bestseller-product-card .product-image-wrapper {
  position: relative;
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  aspect-ratio: 1 / 1;
}

.bestseller-product-card .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bestseller-product-card:hover .product-image {
  transform: scale(1.05);
}

.out-of-stock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.out-of-stock-overlay span {
  background: #e74c3c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.bestseller-product-card .product-details {
  padding: 0 5px;
}

.product-name-link {
  text-decoration: none;
  color: inherit;
}

.bestseller-product-card .product-name {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  min-height: 42px;
}

.product-name-link:hover .product-name {
  color: #ff6b35;
}

.bestseller-product-card .product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.add-to-cart-btn {
  background: #D8A88A;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.add-to-cart-btn:hover {
  background: #c49372;
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   CATEGORY PRODUCT SECTION
   ============================================ */

.category-product-section {
  background: #f8f9fa;
}

.category-product-slider-wrapper {
  position: relative;
}

/* ============================================
   VENDOR BANNER TABS SECTION
   ============================================ */

.vendor-banner-tabs-section {
  background: #fff;
}

.vendor-tabs-wrapper {
  background: #fff;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.vendor-tabs-list {
  display: flex;
  gap: 12px;
  background: transparent;
  padding: 20px 0 30px 0;
  overflow-x: auto;
  border-bottom: none;
  justify-content: center;
  flex-wrap: wrap;
}

.vendor-tabs-list::-webkit-scrollbar {
  height: 6px;
}

.vendor-tabs-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.vendor-tabs-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.vendor-tabs-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.vendor-tab {
  flex: 0 0 auto;
  min-width: auto;
  padding: 12px 30px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  border-radius: 50px;
}

.vendor-tab:hover {
  background: #f8f9fa;
  color: #1a1a1a;
  border-color: #1a1a1a;
  transform: translateY(-2px);
}

.vendor-tab.active {
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
  border-color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vendor-banner-display {
  position: relative;
  min-height: 400px;
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.vendor-banner-link {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  height: 100%;
}

.vendor-banner-image {
  width: 100%;
  height: 450px;
  object-fit: contain;
  transition: transform 0.5s ease;
  display: block;
}

.vendor-banner-link:hover .vendor-banner-image {
  transform: scale(1.03);
}

.vendor-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
  padding: 50px 40px 35px;
  color: #fff;
  transition: all 0.3s ease;
}

.vendor-banner-link:hover .vendor-banner-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
}

.vendor-name {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.vendor-subtitle {
  font-size: 18px;
  color: #f0f0f0;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   HOT NEW ARRIVALS SECTION
   ============================================ */

.hot-new-arrivals-section {
  background: #fff;
}

.hot-arrivals-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  height: 100%;
}

.hot-arrivals-card:hover {
  border-color: #ff6b35;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
  transform: translateY(-3px);
}

.hot-arrivals-image-wrapper {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
}

.hot-arrivals-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hot-arrivals-details {
  flex: 1;
  min-width: 0;
}

.hot-arrivals-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.hot-arrivals-price {
  font-size: 16px;
  font-weight: 700;
  color: #ff6b35;
  margin: 0;
}

.powered-by-text {
  font-size: 14px;
  color: #999;
  text-align: center;
  margin-top: 20px;
}

/* ============================================
   RESPONSIVE STYLES FOR NEW SECTIONS
   ============================================ */

@media (max-width: 992px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .banner-image {
    width: 120px;
    height: 120px;
  }

  .category-banner-title {
    font-size: 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .filter-links {
    gap: 12px;
  }

  .filter-link {
    font-size: 14px;
  }

  .vendor-tabs-list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .vendor-tab {
    padding: 10px 24px;
    font-size: 14px;
  }

  .vendor-banner-image {
    height: 350px;
  }

  .vendor-name {
    font-size: 28px;
  }

  .vendor-subtitle {
    font-size: 16px;
  }

  .vendor-banner-overlay {
    padding: 40px 30px 30px;
  }
}

@media (max-width: 768px) {
  .category-banner-card {
    padding: 20px;
    min-height: 160px;
  }

  .category-banner-title {
    font-size: 18px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
  }

  .filter-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .vendor-tabs-list {
    padding: 15px 0 20px 0;
    gap: 8px;
  }

  .vendor-tab {
    padding: 10px 20px;
    font-size: 13px;
    border-width: 1.5px;
  }

  .vendor-banner-display {
    min-height: 300px;
    border-radius: 12px;
  }

  .vendor-banner-image {
    height: 300px;
  }

  .vendor-name {
    font-size: 24px;
  }

  .vendor-subtitle {
    font-size: 14px;
  }

  .vendor-banner-overlay {
    padding: 35px 25px 25px;
  }
}

@media (max-width: 576px) {
  .banner-image {
    width: 100px;
    height: 100px;
  }

  .shop-now-btn {
    padding: 8px 20px;
    font-size: 13px;
  }

  .hot-arrivals-image-wrapper {
    width: 70px;
    height: 70px;
  }

  .hot-arrivals-name {
    font-size: 13px;
  }

  .hot-arrivals-price {
    font-size: 14px;
  }

  .vendor-tabs-list {
    justify-content: flex-start;
    gap: 6px;
    padding: 12px 0 15px 0;
  }

  .vendor-tab {
    padding: 8px 16px;
    font-size: 12px;
  }

  .vendor-banner-display {
    min-height: 250px;
    border-radius: 8px;
  }

  .vendor-banner-image {
    height: 250px;
  }

  .vendor-name {
    font-size: 20px;
  }

  .vendor-subtitle {
    font-size: 13px;
  }

  .vendor-banner-overlay {
    padding: 25px 20px 20px;
  }
}

/* ============================================
   VENDOR LISTING SLIDER STYLES
   ============================================ */

.vendor-listing-slider {
  background: #fff;
}

.vendor-slider-wrapper {
  position: relative;
}

.vendor-slider-wrapper .slick-slide {
  height: auto;
}

.vendor-card-wrapper .iconbox {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vendor-card-wrapper:hover .iconbox {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.vendor-slider-wrapper .slick-dots {
  bottom: -40px;
}

.vendor-slider-wrapper .slick-dots li button:before {
  font-size: 10px;
  color: #ff6b35;
  opacity: 0.3;
}

.vendor-slider-wrapper .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #ff6b35;
}
