﻿/* ==========================================================================
   PROMOTIONS CAROUSEL SHOWCASE (Estem Redesign - 2 Cards per View)
   ========================================================================== */

.promotions-showcase {
  padding: clamp(70px, 8vw, 110px) 0;
  background-color: var(--color-primary); /* #172535 */
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(169, 210, 211, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(169, 210, 211, 0.05) 0%, transparent 45%);
  position: relative;
  overflow: hidden;
}

.promotions-bg-shape {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  opacity: 0.04;
  pointer-events: none;
}

/* Header with navigation arrows */
.promotions-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(32px, 4vw, 48px);
  gap: 24px;
}

.promotions-header {
  text-align: left;
  max-width: 680px;
}

.promotions-header .section-badge {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}

.promotions-header .section-title {
  color: #FFFFFF !important;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
  text-align: left;
}

.promotions-header .section-subtitle {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(15px, 1.2vw, 17px);
  margin: 0;
  line-height: 1.6;
  text-align: left;
}

/* Signature Carousel Arrows - High Contrast White Circle + Dark Arrow */
.promotions-arrows {
  display: flex;
  gap: 12px;
  align-items: center;
}

.promotions-arrows .morphing-arrow-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(169, 210, 211, 0.3);
  background: #FFFFFF !important;
  color: #172535 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.promotions-arrows .morphing-arrow-bg {
  display: none !important;
}

.promotions-arrows .morphing-arrow-btn svg,
.promotions-arrows .morphing-arrow-btn .morphing-arrow-svg {
  stroke: #172535 !important;
  width: 22px;
  height: 22px;
  transition: stroke 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.promotions-arrows .morphing-arrow-btn:hover {
  background: var(--color-accent) !important; /* #A9D2D3 */
  border-color: var(--color-accent) !important;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(169, 210, 211, 0.4);
}

.promotions-arrows .morphing-arrow-btn:hover svg {
  stroke: #172535 !important;
}

/* Slider Track & Container (2 Cards per view) */
.promotions-slider-wrapper {
  position: relative;
  width: 100%;
}

.promotions-slider-track {
  display: flex;
  gap: clamp(20px, 2.5vw, 32px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 28px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.promotions-slider-track::-webkit-scrollbar {
  display: none;
}

/* Promo Card - Exactly 2 Cards on Desktop */
.promo-slide-card {
  flex: 0 0 calc((100% - clamp(20px, 2.5vw, 32px)) / 2);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(20px, 2vw, 26px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.promo-slide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 210, 211, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

/* Top Banner Visual (Matching user screenshot) */
.promo-banner-visual {
  height: 205px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: #EAF3F4;
  display: flex;
}

/* Left angled overlay */
.promo-banner-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  padding: 22px 20px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  pointer-events: none;
}

.promo-banner-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #101B27 0%, #172535 100%);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.promo-banner-title {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 700;
  color: #FFFFFF !important;
  line-height: 1.28;
  margin: 0;
  text-align: left;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* Pill badge inside the banner - sits proudly on top of photo & background */
.promo-date-pill {
  background: #FFFFFF;
  color: #172535 !important;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  padding: 6px 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 10;
  pointer-events: auto;
  white-space: nowrap;
}

.promo-date-pill svg {
  stroke: #172535;
  width: 13px;
  height: 13px;
}

/* Right side with 3D model */
.promo-banner-right {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;
  position: relative;
  overflow: visible;
  z-index: 5;
  pointer-events: none;
}

.promo-banner-watermark {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 100px;
  opacity: 0.18;
  pointer-events: none;
}

.promo-banner-img {
  height: 150px;
  max-width: 145px;
  object-fit: contain;
  position: relative;
  z-index: 6;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s ease;
}

.promo-slide-card:hover .promo-banner-img {
  transform: scale(1.06);
}

/* Bottom Card Details */
.promo-card-details {
  padding: 18px 6px 4px 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.promo-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.5;
  margin: 0 0 16px 0;
  text-align: left;
  min-height: 42px;
}

.promo-card-footer {
  margin-top: auto;
}

.promo-card-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent) !important;
  margin-bottom: 16px;
  text-align: left;
}

/* Dots navigation */
.promotions-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.promotions-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.promotions-dot.active {
  width: 26px;
  border-radius: 4px;
  background: var(--color-accent);
}

/* Guarantee Trust Note across all cards */
.promotions-guarantee-note {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(169, 210, 211, 0.25);
  border-radius: 16px;
  padding: 14px 24px;
  margin: 28px auto 0 auto;
  max-width: 820px;
  box-sizing: border-box;
}

.guarantee-note-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(169, 210, 211, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-note-icon svg {
  width: 20px;
  height: 20px;
}

.guarantee-note-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.guarantee-note-text strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 820px) {
  .promotions-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .promotions-arrows {
    align-self: flex-start;
  }

  .promo-slide-card {
    flex: 0 0 88%;
    max-width: 390px;
  }
  
  .promo-banner-left {
    width: 65%;
  }

  .promo-banner-right {
    z-index: 5;
    pointer-events: none;
  }

  .promo-banner-img {
    position: relative;
    z-index: 6;
  }

  .promotions-guarantee-note {
    align-items: flex-start;
    padding: 14px 18px;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .promo-slide-card {
    flex: 0 0 94%;
    max-width: 340px;
  }
  
  .promo-banner-visual {
    height: 185px;
  }

  .promo-banner-left {
    width: 64%;
    padding: 16px 14px;
  }

  .promo-banner-left::before {
    clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
  }

  .promo-banner-title {
    font-size: 15px;
    max-width: 165px;
  }

  .promo-banner-right {
    z-index: 5;
    pointer-events: none;
    padding-right: 10px;
  }

  .promo-banner-img {
    height: 126px;
    max-width: 130px;
    position: relative;
    z-index: 6;
    filter: drop-shadow(-4px 8px 16px rgba(0, 0, 0, 0.28));
  }

  .promo-date-pill {
    font-size: 11px;
    padding: 5px 12px;
    position: relative;
    z-index: 10;
  }
}



