.bestsellers-section {
  padding: 80px 0;
  background: #FFFFFF;
  font-family: var(--font-family, 'Plus Jakarta Sans', sans-serif);
}

.section-header-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
}

.section-tagline {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #DF0513;
  margin-bottom: 8px;
}

.section-main-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #0F172A;
  margin: 0 0 8px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 14.5px;
  color: #64748B;
  margin: 0;
}

.section-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.section-view-all-btn:hover {
  color: #DF0513;
  border-color: #DF0513;
  background: #FEF2F2;
  transform: translateX(3px);
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bestseller-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.bestseller-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.bestseller-img-box {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #F8FAFC;
  overflow: hidden;
}

.bestseller-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s ease;
}

.bestseller-card:hover .bestseller-img {
  transform: scale(1.06);
}

.bestseller-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background: #000000;
  color: #FFFFFF;
}

.quick-view-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quick-view-btn svg {
  width: 16px;
  height: 16px;
  color: #000000;
  transition: color 0.2s ease;
}

.bestseller-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-btn:hover {
  background: #FEF2F2;
  border-color: #DF0513;
  color: #DF0513;
}

.quick-view-btn:hover svg {
  color: #DF0513;
}

.bestseller-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bestseller-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rating-stars svg {
  width: 14px;
  height: 14px;
  color: #000000;
  transition: color 0.2s ease;
}

.bestseller-card:hover .rating-stars svg {
  color: #DF0513;
}

.rating-val {
  font-size: 12px;
  font-weight: 700;
  color: #0F172A;
}

.reviews-count {
  font-size: 11.5px;
  color: #64748B;
}

.bestseller-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
  line-height: 1.3;
}

.bestseller-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.bestseller-title a:hover {
  color: #DF0513;
}

.bestseller-subtitle {
  font-size: 12.5px;
  color: #64748B;
  margin: 0 0 16px;
  line-height: 1.4;
  flex: 1;
}

.bestseller-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-discounted {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.3px;
}


.add-cart-action-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.add-cart-action-btn svg {
  width: 16px;
  height: 16px;
  color: #000000;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.add-cart-action-btn:hover {
  background: #FEF2F2;
  border-color: #DF0513;
  color: #DF0513;
  transform: translateY(-1px);
}

.add-cart-action-btn:hover svg {
  color: #DF0513;
}

@media (max-width: 1024px) {
  .bestsellers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .bestsellers-section {
    padding: 50px 0;
  }

  .section-main-title {
    font-size: 26px;
  }

  .bestsellers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
