/* On Sale — luxury flash sale banner */

.bsp-on-sale {
	position: relative;
	padding: 200px 20px 200px;
	background-color: var(--bsp-os-bg, #a39587);
	background-image: var(--bsp-os-bg-image, none);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: var(--bsp-os-text, #ffffff);
	overflow: hidden;
}

.bsp-on-sale__container {
	max-width: 1320px;
	margin: 0 auto;
	min-width: 0;
}

.bsp-on-sale__content {
	min-width: 0;
}

.bsp-on-sale__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 40px 56px;
	align-items: center;
}

.bsp-on-sale__grid:not(:has(.bsp-on-sale__visual)) {
	grid-template-columns: minmax(0, 1fr);
	max-width: 720px;
}

/* Left content */
.bsp-on-sale__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	color: var(--bsp-os-kicker, #ffffff);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.bsp-on-sale__kicker svg {
	flex-shrink: 0;
	opacity: 0.95;
}

.bsp-on-sale__title {
	margin: 0 0 16px;
	color: var(--bsp-os-title, #ffffff);
	font-family: var(--bsp-font-heading);
	font-size: clamp(34px, 4.2vw, 52px);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
}

.bsp-on-sale__title-highlight {
	display: inline;
	color: inherit;
}

.bsp-on-sale__subtitle {
	margin: 0 0 32px;
	max-width: 480px;
	color: var(--bsp-os-subtitle, rgba(255, 255, 255, 0.82));
	font-size: 15px;
	line-height: 1.7;
}

.bsp-on-sale__countdown-wrap {
	margin-bottom: 32px;
}

.bsp-on-sale__countdown {
	display: flex;
	align-items: center;
	gap: 0;
}

.bsp-on-sale__countdown-item {
	min-width: 68px;
	padding: 0 16px;
	text-align: center;
}

.bsp-on-sale__countdown-item:first-child {
	padding-left: 0;
}

.bsp-on-sale__countdown-item strong {
	display: block;
	color: var(--bsp-os-title, #ffffff);
	font-family: var(--bsp-font-heading);
	font-size: clamp(28px, 3.5vw, 40px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.02em;
}

.bsp-on-sale__countdown-item span {
	display: block;
	margin-top: 6px;
	color: var(--bsp-os-subtitle, rgba(255, 255, 255, 0.7));
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
}

.bsp-on-sale__countdown-sep {
	display: block;
	width: 1px;
	height: 36px;
	background: rgba(255, 255, 255, 0.35);
	flex-shrink: 0;
}

.bsp-on-sale__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.bsp-on-sale__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.14em;
	text-decoration: none;
	text-transform: uppercase;
	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-on-sale__btn--primary {
	border: 1px solid var(--bsp-os-btn-bg, #ffffff);
	background: var(--bsp-os-btn-bg, #ffffff);
	color: var(--bsp-os-btn-text, #1a1a1a);
}

.bsp-on-sale__btn--primary:hover {
	background: transparent;
	color: var(--bsp-os-title, #ffffff);
}

.bsp-on-sale__btn--outline {
	border: 1px solid rgba(255, 255, 255, 0.65);
	background: transparent;
	color: var(--bsp-os-title, #ffffff);
}

.bsp-on-sale__btn--outline:hover {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

/* Right visual */
.bsp-on-sale__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 380px;
}

.bsp-on-sale__hero-image {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	object-fit: contain;
}

.bsp-on-sale__floating-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: var(--bsp-os-badge-bg, #1a1a1a);
	color: var(--bsp-os-badge-text, #ffffff);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.bsp-on-sale__badge-ring {
	display: none;
}

.bsp-on-sale__badge-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 16px;
}

.bsp-on-sale__badge-center svg {
	display: none;
}

.bsp-on-sale__badge-center strong {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1023px) {
  .bsp-on-sale {
    padding: 56px 20px 64px;
  }

  .bsp-on-sale__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bsp-on-sale__visual {
    min-height: 280px;
    order: -1;
  }

  .bsp-on-sale__hero-image {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .bsp-on-sale {
    padding: 48px 16px 56px;
  }

  .bsp-on-sale__title {
    font-size: clamp(28px, 7.5vw, 38px);
  }

  .bsp-on-sale__subtitle {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .bsp-on-sale__countdown-wrap {
    margin-bottom: 24px;
  }

  .bsp-on-sale__countdown {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .bsp-on-sale__countdown-sep {
    display: none;
  }

  .bsp-on-sale__countdown-item {
    min-width: 56px;
    padding: 0 12px;
  }

  .bsp-on-sale__countdown-item:first-child {
    padding-left: 0;
  }

  .bsp-on-sale__countdown-item span {
    font-size: 11px;
  }

  .bsp-on-sale__actions {
    flex-direction: column;
    width: 100%;
  }

  .bsp-on-sale__btn {
    width: 100%;
    max-width: 100%;
  }

  .bsp-on-sale__visual {
    min-height: 240px;
  }

  .bsp-on-sale__floating-badge {
    width: 88px;
    height: 88px;
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 479px) {
  .bsp-on-sale__countdown-item {
    min-width: 48px;
    flex: 1 1 22%;
  }

  .bsp-on-sale__countdown-item strong {
    font-size: 24px;
  }
}
