/* ============================================
   TOP DEALS OF THE DAY SECTION
   ============================================ */

.top-deals-section {
  background: #fff;
  position: relative;
}

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

.deals-title-wrapper {
  flex-wrap: wrap;
}

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

/* Countdown Timer Styles */
.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff3e0;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 60px;
}

.time-value {
  font-size: 20px;
  font-weight: 700;
  color: #ff6b35;
  line-height: 1;
}

.time-label {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  text-transform: capitalize;
}

.time-separator {
  font-size: 20px;
  font-weight: 700;
  color: #ff6b35;
}

.view-all-link {
  color: #ff6b35;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  color: #e55a2b;
  text-decoration: underline;
}

/* Deal Product Card Styles */
.deal-product-card {
  padding: 0 8px;
  margin-bottom: 20px;
}

.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.product-link:hover {
  transform: translateY(-5px);
}

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

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

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

.category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff6b35;
  color: #fff;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

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

.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-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i.fa-star {
  font-size: 14px;
}

.stars i.filled {
  color: #ffc107;
}

.stars i.empty {
  color: #ddd;
}

.review-count {
  font-size: 13px;
  color: #999;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.current-price {
  font-size: 20px;
  font-weight: 700;
  color: #ff6b35;
}

.original-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

/* ============================================
   SHOP BY CATEGORY SECTION
   ============================================ */

.shop-by-category-section {
  background: #f8f9fa;
  position: relative;
}

.category-header {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 20px;
}

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

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

.category-item-wrapper {
  padding: 15px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.category-item:hover {
  transform: translateY(-5px);
}

.category-icon-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.category-item:hover .category-icon-wrapper {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.category-icon {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.category-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.category-count {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* ============================================
   CUSTOM SLIDER ARROWS
   ============================================ */

.custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.custom-arrow:hover {
  background: #ff6b35;
  border-color: #ff6b35;
  color: #fff;
}

.custom-arrow i {
  font-size: 16px;
  color: #666;
  transition: color 0.3s ease;
}

.custom-arrow:hover i {
  color: #fff;
}

.custom-prev {
  left: -20px;
}

.custom-next {
  right: -20px;
}

.deals-slider-wrapper .slick-disabled,
.category-slider-wrapper .slick-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   SLIDER DOTS CUSTOMIZATION
   ============================================ */

.deals-slider-wrapper .slick-dots,
.category-slider-wrapper .slick-dots {
  bottom: -40px;
}

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

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

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
  .deals-title,
  .category-title {
    font-size: 24px;
  }

  .category-icon-wrapper {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 992px) {
  .deals-header,
  .category-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
  }

  .deals-title-wrapper {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px !important;
  }

  .countdown-timer {
    flex-wrap: wrap;
  }

  .time-box {
    min-width: 50px;
    padding: 6px 10px;
  }

  .time-value {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .deals-title,
  .category-title {
    font-size: 20px;
  }

  .category-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .category-name {
    font-size: 14px;
  }

  .product-name {
    font-size: 14px;
  }

  .current-price {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .custom-prev {
    left: -10px;
  }

  .custom-next {
    right: -10px;
  }

  .custom-arrow {
    width: 35px;
    height: 35px;
  }

  .time-box {
    min-width: 45px;
    padding: 5px 8px;
  }

  .time-value {
    font-size: 16px;
  }

  .time-label {
    font-size: 10px;
  }
}
