/* Deal Of The Day — Mila / Showcase featured-product */

.bsp-todays-deals--mila {
  background: var(--bsp-td-section-bg, #ffffff);
  color: var(--bsp-td-text, #423f3f);
  padding: clamp(50px, 8vw, 100px) 0;
  overflow-x: clip;
}

.bsp-todays-deals--mila .bsp-todays-deals__container {
  max-width: none;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 70px);
  padding-right: clamp(20px, 5vw, 70px);
}

@media (min-width: 1441px) {
  .bsp-todays-deals--mila .bsp-todays-deals__container {
    padding-left: 90px;
    padding-right: 90px;
  }
}

/* Section header */
.bsp-todays-deals--mila .bsp-todays-deals__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 40px);
}

.bsp-todays-deals--mila .bsp-todays-deals__title {
  margin: 0;
  padding-right: 1.5em;
  color: var(--bsp-td-title, #423f3f);
  font-family: var(--bsp-font-heading);
  font-size: clamp(1.56rem, 2.4vw, 1.8rem);
  font-weight: 400;
  line-height: 1.25;
}

.bsp-todays-deals--mila .bsp-todays-deals__subtitle {
  margin: 10px 0 0;
  max-width: 56ch;
  color: var(--bsp-td-text, #423f3f);
  opacity: 0.65;
  font-size: clamp(0.95rem, 1.2vw, 1rem);
  line-height: 1.6;
}

.bsp-todays-deals--mila .bsp-todays-deals__view-all {
  position: relative;
  flex-shrink: 0;
  color: var(--bsp-td-link, #423f3f);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.bsp-todays-deals--mila .bsp-todays-deals__view-all::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transition: width 0.3s cubic-bezier(0, 0.14, 0.19, 1), opacity 0.3s ease;
}

.bsp-todays-deals--mila .bsp-todays-deals__view-all:hover::after,
.bsp-todays-deals--mila .bsp-todays-deals__view-all:focus-visible::after {
  width: 100%;
  opacity: 1;
}

/* Product area — image left, details right */
.bsp-todays-deals--mila .bsp-todays-deals__product-area {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* Media / gallery */
.bsp-todays-deals--mila .bsp-todays-deals__media {
  position: relative;
  min-width: 0;
}

@media (min-width: 768px) {
  .bsp-todays-deals--mila .bsp-todays-deals__media {
    position: sticky;
    top: calc(var(--bsp-header-height, 72px) + 16px);
  }
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery {
  position: relative;
  background: var(--bsp-td-media-bg, #e8e4df);
  --bsp-td-gallery-per-view: 1;
  --bsp-td-gallery-gap: 0px;
}

@media (min-width: 768px) {
  .bsp-todays-deals--mila .bsp-todays-deals__gallery[data-per-view="2"] {
    --bsp-td-gallery-per-view: 2;
    --bsp-td-gallery-gap: 10px;
  }
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-viewport {
  overflow: hidden;
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-track {
  display: flex;
  gap: var(--bsp-td-gallery-gap);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-slide {
  flex: 0 0 calc(
    (100% - (var(--bsp-td-gallery-per-view) - 1) * var(--bsp-td-gallery-gap)) / var(--bsp-td-gallery-per-view)
  );
  min-width: 0;
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-media {
  position: relative;
  padding-top: 150%;
  overflow: hidden;
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--bsp-td-arrow-bg, #ffffff);
  color: var(--bsp-td-arrow-color, #423f3f);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-arrow:hover,
.bsp-todays-deals--mila .bsp-todays-deals__gallery-arrow:focus-visible {
  transform: scale(1.05);
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-arrow--prev {
  left: 16px;
}

.bsp-todays-deals--mila .bsp-todays-deals__gallery-arrow--next {
  right: 16px;
}

.bsp-todays-deals--mila .bsp-todays-deals__media[data-media-count="1"] .bsp-todays-deals__gallery-arrow {
  display: none;
}

@media (min-width: 768px) {
  .bsp-todays-deals--mila .bsp-todays-deals__media[data-media-count="2"] .bsp-todays-deals__gallery-arrow {
    display: none;
  }
}

.bsp-todays-deals--mila .bsp-todays-deals__image-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 12px;
  background: var(--bsp-td-image-badge-bg, #423f3f);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bsp-todays-deals--mila .bsp-todays-deals__viewing-pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bsp-td-title, #423f3f);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  backdrop-filter: blur(4px);
}

.bsp-todays-deals--mila .bsp-todays-deals__viewing-pill svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Details panel */
.bsp-todays-deals--mila .bsp-todays-deals__details-inner {
  max-width: 520px;
  padding: clamp(8px, 2vw, 16px) 0;
}

.bsp-todays-deals--mila .bsp-todays-deals__today-badge {
  margin: 0 0 12px;
  color: var(--bsp-td-accent, #423f3f);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bsp-todays-deals--mila .bsp-todays-deals__vendor {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.bsp-todays-deals--mila .bsp-todays-deals__vendor a {
  color: var(--bsp-td-link, #423f3f);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.bsp-todays-deals--mila .bsp-todays-deals__vendor a:hover {
  opacity: 1;
}

.bsp-todays-deals--mila .bsp-todays-deals__product-title {
  margin: 0 0 14px;
  font-family: var(--bsp-font-heading);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}

.bsp-todays-deals--mila .bsp-todays-deals__product-title a {
  color: var(--bsp-td-title, #423f3f);
  text-decoration: none;
}

.bsp-todays-deals--mila .bsp-todays-deals__product-title a:hover {
  opacity: 0.75;
}

.bsp-todays-deals--mila .bsp-todays-deals__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.bsp-todays-deals--mila .bsp-todays-deals__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.bsp-todays-deals--mila .bsp-todays-deals__price-current {
  color: var(--bsp-td-price, #423f3f);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 400;
}

.bsp-todays-deals--mila .bsp-todays-deals__price-current .woocommerce-Price-amount {
  color: inherit;
  font-weight: inherit;
}

.bsp-todays-deals--mila .bsp-todays-deals__price-regular {
  color: var(--bsp-td-text, #423f3f);
  opacity: 0.5;
  font-size: 0.95rem;
  text-decoration: line-through;
}

.bsp-todays-deals--mila .bsp-todays-deals__discount-badge {
  padding: 4px 8px;
  background: transparent;
  color: var(--bsp-td-accent, #423f3f);
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bsp-todays-deals--mila .bsp-todays-deals__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.bsp-todays-deals--mila .bsp-todays-deals__rating .bsp-featured-products__star.is-filled {
  color: var(--bsp-td-accent, #423f3f);
}

.bsp-todays-deals--mila .bsp-todays-deals__review-count {
  color: var(--bsp-td-text, #423f3f);
  opacity: 0.65;
  font-size: 0.9rem;
}

/* Variation pickers */
.bsp-todays-deals--mila .bsp-todays-deals__option {
  margin: 0 0 18px;
  padding: 0;
  border: none;
}

.bsp-todays-deals--mila .bsp-todays-deals__option-label {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  color: var(--bsp-td-title, #423f3f);
  font-size: 0.95rem;
  font-weight: 400;
}

.bsp-todays-deals--mila .bsp-todays-deals__option-value {
  font-weight: 600;
}

.bsp-todays-deals--mila .bsp-todays-deals__option-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 12px;
}

.bsp-todays-deals--mila .bsp-todays-deals__opt-btn {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--bsp-td-title, #423f3f);
  cursor: pointer;
  transition: opacity 0.35s ease;
}

.bsp-todays-deals--mila .bsp-todays-deals__opt-btn--text {
  position: relative;
  min-width: 1.5em;
  padding: 0 1.1em 0.1em 0;
  font-size: inherit;
  font-weight: 200;
  line-height: 1.2;
  opacity: 0.8;
  text-align: center;
}

.bsp-todays-deals--mila .bsp-todays-deals__opt-btn--text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.35s ease, width 0.3s ease;
}

.bsp-todays-deals--mila .bsp-todays-deals__opt-btn--text.is-active {
  opacity: 1;
}

.bsp-todays-deals--mila .bsp-todays-deals__opt-btn--text.is-active::before {
  width: calc(100% - 1.1em);
  opacity: 1;
}

.bsp-todays-deals--mila .bsp-todays-deals__opt-btn--image .bsp-todays-deals__opt-media {
  display: block;
  width: 64px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.bsp-todays-deals--mila .bsp-todays-deals__opt-btn--image img,
.bsp-todays-deals--mila .bsp-todays-deals__opt-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bsp-todays-deals--mila .bsp-todays-deals__opt-fallback {
  background: var(--bsp-td-media-bg, #e8e4df);
}

.bsp-todays-deals--mila .bsp-todays-deals__opt-btn--image.is-active .bsp-todays-deals__opt-media {
  border-color: currentColor;
}

/* Feature highlights */
.bsp-todays-deals--mila .bsp-todays-deals__features {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.bsp-todays-deals--mila .bsp-todays-deals__features li {
  margin: 0 0 6px;
  color: var(--bsp-td-text, #423f3f);
  opacity: 0.75;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Countdown */
.bsp-todays-deals--mila .bsp-todays-deals__countdown-wrap {
  margin-bottom: 22px;
}

.bsp-todays-deals--mila .bsp-todays-deals__countdown-label {
  margin: 0 0 10px;
  color: var(--bsp-td-text, #423f3f);
  opacity: 0.65;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bsp-todays-deals--mila .bsp-todays-deals__countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.bsp-todays-deals--mila .bsp-todays-deals__countdown-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 44px;
}

.bsp-todays-deals--mila .bsp-todays-deals__countdown-item strong {
  color: var(--bsp-td-title, #423f3f);
  font-family: var(--bsp-font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1;
}

.bsp-todays-deals--mila .bsp-todays-deals__countdown-item span {
  margin-top: 4px;
  color: var(--bsp-td-text, #423f3f);
  opacity: 0.55;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.bsp-todays-deals--mila .bsp-todays-deals__countdown-sep {
  width: 1px;
  height: 28px;
  background: currentColor;
  opacity: 0.15;
}

/* Purchase row */
.bsp-todays-deals--mila .bsp-todays-deals__purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 18px;
}

.bsp-todays-deals--mila .bsp-todays-deals__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(66, 63, 63, 0.2);
  border-radius: 2px;
}

.bsp-todays-deals--mila .bsp-todays-deals__qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--bsp-td-title, #423f3f);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.bsp-todays-deals--mila .bsp-todays-deals__qty-input {
  width: 44px;
  height: 48px;
  padding: 0;
  border: none;
  border-left: 1px solid rgba(66, 63, 63, 0.2);
  border-right: 1px solid rgba(66, 63, 63, 0.2);
  background: transparent;
  color: var(--bsp-td-title, #423f3f);
  font-size: 15px;
  text-align: center;
  -moz-appearance: textfield;
}

.bsp-todays-deals--mila .bsp-todays-deals__qty-input::-webkit-outer-spin-button,
.bsp-todays-deals--mila .bsp-todays-deals__qty-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.bsp-todays-deals--mila .bsp-todays-deals__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: none;
  background: var(--bsp-td-btn-bg, #423f3f);
  color: var(--bsp-td-btn-text, #ffffff);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bsp-todays-deals--mila .bsp-todays-deals__btn:hover,
.bsp-todays-deals--mila .bsp-todays-deals__btn:focus-visible {
  opacity: 0.88;
  color: var(--bsp-td-btn-text, #ffffff);
}

.bsp-todays-deals--mila .bsp-todays-deals__btn:disabled,
.bsp-todays-deals--mila .bsp-todays-deals__btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Detail links */
.bsp-todays-deals--mila .bsp-todays-deals__view-details {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.bsp-todays-deals--mila .bsp-todays-deals__view-details a,
.bsp-todays-deals--mila .bsp-todays-deals__more-details a {
  color: var(--bsp-td-link, #423f3f);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bsp-todays-deals--mila .bsp-todays-deals__more-details {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.bsp-todays-deals--mila .bsp-todays-deals__more-details a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Responsive */
@media (max-width: 991px) {
  .bsp-todays-deals--mila .bsp-todays-deals__product-area {
    grid-template-columns: 1fr;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__media {
    position: relative;
    top: auto;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__details-inner {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .bsp-todays-deals--mila .bsp-todays-deals__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__gallery-arrow {
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__gallery-arrow--prev {
    left: 10px;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__gallery-arrow--next {
    right: 10px;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__purchase {
    flex-direction: column;
    align-items: stretch;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__qty {
    justify-content: center;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__btn {
    width: 100%;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__countdown-sep:nth-of-type(4) {
    display: none;
  }

  .bsp-todays-deals--mila .bsp-todays-deals__countdown-item:nth-child(7) {
    flex-basis: 100%;
  }
}
