/* Today's Best Deals — luxury Deal of the Day */

.bsp-todays-deals {
  background: var(--bsp-td-section-bg, #f9f7f4);
  padding: 64px 20px 80px;
  overflow-x: clip;
}

.bsp-todays-deals__container {
  max-width: 1320px;
  margin: 0 auto;
}

/* Header */
.bsp-todays-deals__header {
  margin-bottom: 36px;
  text-align: center;
}

.bsp-todays-deals__title {
  margin: 0 0 10px;
  color: var(--bsp-td-title, #1a1a1a);
  font-family: var(--bsp-font-heading);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.bsp-todays-deals__subtitle {
  margin: 0 auto;
  max-width: 560px;
  color: var(--bsp-td-text, #6b6b6b);
  font-size: 15px;
  line-height: 1.65;
}

/* Deal card */
.bsp-todays-deals__card {
  background: var(--bsp-td-card-bg, #ffffff);
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(26, 26, 26, 0.06);
  overflow: hidden;
}

.bsp-todays-deals__card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.bsp-todays-deals__content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bsp-todays-deals__today-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bsp-td-badge-bg, #1a1a1a);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bsp-todays-deals__product-title {
  margin: 0 0 12px;
  font-family: var(--bsp-font-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.25;
}

.bsp-todays-deals__product-title a {
  color: var(--bsp-td-title, #1a1a1a);
  text-decoration: none;
}

.bsp-todays-deals__product-title a:hover {
  opacity: 0.75;
}

.bsp-todays-deals__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.bsp-todays-deals__rating .bsp-featured-products__star.is-filled {
  color: var(--bsp-td-accent, #1a1a1a);
}

.bsp-todays-deals__review-count {
  color: var(--bsp-td-text, #6b6b6b);
  font-size: 13px;
}

.bsp-todays-deals__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 22px;
}

.bsp-todays-deals__price-current {
  color: var(--bsp-td-price, #1a1a1a);
  font-family: var(--bsp-font-heading);
  font-size: 28px;
  font-weight: 400;
  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, #9a9a9a);
  font-size: 16px;
}

.bsp-todays-deals__discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bsp-td-discount-bg, #f0ebe4);
  color: var(--bsp-td-accent, #1a1a1a);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.bsp-todays-deals__features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bsp-todays-deals__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 400;
}

.bsp-todays-deals__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bsp-td-icon-bg, #f5f0ea);
  color: var(--bsp-td-accent, #1a1a1a);
}

.bsp-todays-deals__feature-content {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bsp-todays-deals__feature-label {
  font-weight: 500;
}

.bsp-todays-deals__color-swatches {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bsp-todays-deals__color-swatch {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bsp-td-swatch, #d1d5db);
  position: relative;
  flex-shrink: 0;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.bsp-todays-deals__color-swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.bsp-todays-deals__countdown-wrap {
  margin-bottom: 28px;
}

.bsp-todays-deals__countdown-label {
  margin: 0 0 12px;
  color: var(--bsp-td-text, #6b6b6b);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bsp-todays-deals__countdown {
  display: flex;
  gap: 10px;
}

.bsp-todays-deals__countdown-item {
  flex: 1;
  min-width: 0;
  max-width: 72px;
  padding: 12px 8px;
  border-radius: 8px;
  background: var(--bsp-td-countdown-bg, #1a1a1a);
  text-align: center;
}

.bsp-todays-deals__countdown-item strong {
  display: block;
  color: #ffffff;
  font-family: var(--bsp-font-heading);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.bsp-todays-deals__countdown-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.bsp-todays-deals__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bsp-todays-deals__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.bsp-todays-deals__btn--primary {
  border: 1px solid var(--bsp-td-btn-bg, #1a1a1a);
  background: var(--bsp-td-btn-bg, #1a1a1a);
  color: #ffffff;
}

.bsp-todays-deals__btn--primary:hover {
  background: transparent;
  color: var(--bsp-td-btn-bg, #1a1a1a);
}

.bsp-todays-deals__btn--outline {
  border: 1px solid var(--bsp-td-btn-outline, #d4d0cb);
  background: transparent;
  color: var(--bsp-td-title, #1a1a1a);
}

.bsp-todays-deals__btn--outline:hover {
  border-color: var(--bsp-td-btn-bg, #1a1a1a);
}

/* Media column */
.bsp-todays-deals__media {
  position: relative;
  min-height: 100%;
  background: var(--bsp-td-media-bg, #f5f0ea);
}

.bsp-todays-deals__media-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 420px;
}

.bsp-todays-deals__media-link .bsp-product-card-images {
  width: 100%;
  min-height: 420px;
}

.bsp-todays-deals__image-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bsp-td-image-badge-bg, #1a1a1a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.bsp-todays-deals__viewing-pill {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--bsp-td-title, #1a1a1a);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.08);
}

.bsp-todays-deals__viewing-pill svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 1023px) {
  .bsp-todays-deals__card-grid {
    grid-template-columns: 1fr;
  }

  .bsp-todays-deals__media {
    order: -1;
  }

  .bsp-todays-deals__content {
    padding: 32px 28px 36px;
  }

  .bsp-todays-deals__media-link,
  .bsp-todays-deals__media-link .bsp-product-card-images {
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  .bsp-todays-deals {
    padding: 48px 16px 60px;
  }

  .bsp-todays-deals__header {
    margin-bottom: 28px;
  }

  .bsp-todays-deals__title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .bsp-todays-deals__card {
    border-radius: 14px;
  }

  .bsp-todays-deals__media-link,
  .bsp-todays-deals__media-link .bsp-product-card-images {
    min-height: 220px;
  }

  .bsp-todays-deals__content {
    padding: 24px 18px 28px;
  }

  .bsp-todays-deals__product-title {
    font-size: clamp(20px, 5.5vw, 26px);
  }

  .bsp-todays-deals__price-current {
    font-size: 24px;
  }

  .bsp-todays-deals__countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .bsp-todays-deals__countdown-item {
    max-width: none;
    padding: 10px 6px;
  }

  .bsp-todays-deals__countdown-item strong {
    font-size: 18px;
  }

  .bsp-todays-deals__actions {
    flex-direction: column;
  }

  .bsp-todays-deals__countdown-item span {
    font-size: 10px;
  }

  .bsp-todays-deals__btn {
    width: 100%;
    max-width: 100%;
  }

  .bsp-todays-deals__image-badge {
    width: 72px;
    height: 72px;
    top: 16px;
    right: 16px;
    font-size: 10px;
  }

  .bsp-todays-deals__viewing-pill {
    bottom: 16px;
    max-width: calc(100% - 32px);
    white-space: normal;
    text-align: center;
    justify-content: center;
    font-size: 11px;
    padding: 8px 14px;
  }
}

@media (max-width: 479px) {
  .bsp-todays-deals__countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsp-todays-deals__features li {
    font-size: 13px;
  }
}
