/* Today's Best Deals — Deal of the Day */

.bsp-todays-deals {
  background: var(--bsp-td-section-bg, #ffffff);
  padding: 56px 20px 72px;
}

.bsp-todays-deals__container {
  max-width: 1320px;
  margin: 0 auto;
}

/* Header */
.bsp-todays-deals__header {
  margin-bottom: 28px;
  text-align: center;
}

.bsp-todays-deals__kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 12px;
  color: var(--bsp-td-accent, #f06292);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bsp-todays-deals__title {
  margin: 0 0 10px;
  color: var(--bsp-td-title, #111827);
  font-family: var(--bsp-font-heading);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.15;
}

.bsp-todays-deals__subtitle {
  margin: 0 auto;
  max-width: 640px;
  color: var(--bsp-td-text, #6b7280);
  font-size: 15px;
  line-height: 1.6;
}

/* Deal card */
.bsp-todays-deals__card {
  background: var(--bsp-td-card-bg, #fff);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.bsp-todays-deals__card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(260px, 0.9fr);
  gap: 0;
  align-items: stretch;
}

.bsp-todays-deals__media {
  min-height: 100%;
}

.bsp-todays-deals__media-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 360px;
}

.bsp-todays-deals__media-link .bsp-product-card-images {
  width: 100%;
  min-height: 360px;
}

.bsp-todays-deals__info {
  padding: 32px 28px;
  border-left: 1px solid #f3f4f6;
}

.bsp-todays-deals__category {
  margin: 0 0 8px;
  color: var(--bsp-td-accent, #f06292);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.bsp-todays-deals__product-title {
  margin: 0 0 10px;
  font-family: var(--bsp-font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.bsp-todays-deals__product-title a {
  color: var(--bsp-td-title, #111827);
  text-decoration: none;
}

.bsp-todays-deals__product-title a:hover {
  color: var(--bsp-td-accent, #f06292);
}

.bsp-todays-deals__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.bsp-todays-deals__rating .bsp-featured-products__star.is-filled {
  color: var(--bsp-td-accent, #f06292);
}

.bsp-todays-deals__review-count {
  color: var(--bsp-td-text, #6b7280);
  font-size: 13px;
}

.bsp-todays-deals__description {
  margin-bottom: 16px;
  color: var(--bsp-td-text, #6b7280);
  font-size: 14px;
  line-height: 1.65;
}

.bsp-todays-deals__description p {
  margin: 0;
}

.bsp-todays-deals__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bsp-todays-deals__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
}

.bsp-todays-deals__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fce4ec;
  color: var(--bsp-td-accent, #f06292);
}

/* Offer column */
.bsp-todays-deals__offer {
  padding: 32px 28px;
  border-left: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bsp-todays-deals__price-label {
  margin: 0 0 8px;
  color: var(--bsp-td-accent, #f06292);
  font-size: 13px;
  font-weight: 600;
}

.bsp-todays-deals__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 20px;
}

.bsp-todays-deals__price-current {
  color: var(--bsp-td-price, #f06292);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.bsp-todays-deals__price-current .woocommerce-Price-amount {
  font-size: inherit;
  color: inherit;
}

.bsp-todays-deals__price-regular {
  color: var(--bsp-td-text, #9ca3af);
  font-size: 16px;
}

.bsp-todays-deals__discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: #fce4ec;
  color: var(--bsp-td-accent, #f06292);
  font-size: 12px;
  font-weight: 700;
}

.bsp-todays-deals__countdown-wrap {
  margin-bottom: 18px;
}

.bsp-todays-deals__countdown-label {
  margin: 0 0 10px;
  color: var(--bsp-td-accent, #f06292);
  font-size: 13px;
  font-weight: 600;
}

.bsp-todays-deals__countdown {
  display: flex;
  gap: 10px;
}

.bsp-todays-deals__countdown-item {
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 8px;
  background: var(--bsp-td-countdown-bg, #fce4ec);
  text-align: center;
}

.bsp-todays-deals__countdown-item strong {
  display: block;
  color: var(--bsp-td-accent, #f06292);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.bsp-todays-deals__countdown-item span {
  display: block;
  margin-top: 4px;
  color: var(--bsp-td-text, #6b7280);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bsp-todays-deals__stock {
  margin-bottom: 18px;
}

.bsp-todays-deals__stock-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--bsp-td-text, #6b7280);
  font-size: 12px;
  font-weight: 500;
}

.bsp-todays-deals__stock-bar {
  height: 8px;
  border-radius: 999px;
  background: #f3f4f6;
  overflow: hidden;
}

.bsp-todays-deals__stock-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--bsp-td-accent, #f06292);
}

.bsp-todays-deals__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bsp-todays-deals__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bsp-todays-deals__btn--cart {
  border: 0;
  background: var(--bsp-td-accent, #f06292);
  color: #fff;
}

.bsp-todays-deals__btn--cart:hover {
  background: #e91e63;
  color: #fff;
}

.bsp-todays-deals__btn--wishlist {
  border: 1.5px solid var(--bsp-td-accent, #f06292);
  background: #fff;
  color: var(--bsp-td-accent, #f06292);
}

.bsp-todays-deals__btn--wishlist:hover,
.bsp-todays-deals__btn--wishlist.is-active {
  background: #fff5f9;
}

.bsp-todays-deals__btn--wishlist.is-active svg path {
  fill: var(--bsp-td-accent, #f06292);
}

/* Responsive */
@media (max-width: 1199px) {
  .bsp-todays-deals__card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bsp-todays-deals__offer {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid #f3f4f6;
  }

  .bsp-todays-deals__info {
    border-left: 0;
    border-top: 1px solid #f3f4f6;
  }
}

@media (max-width: 767px) {
  .bsp-todays-deals {
    padding: 40px 16px 56px;
  }

  .bsp-todays-deals__card-grid {
    grid-template-columns: 1fr;
  }

  .bsp-todays-deals__media-link {
    min-height: 280px;
  }

  .bsp-todays-deals__info,
  .bsp-todays-deals__offer {
    padding: 24px 20px;
    border-left: 0;
    border-top: 1px solid #f3f4f6;
  }

}
