/* =========================================================
   BUD24 Spotlight mobile mockup v25
   Matches the approved mobile concept while leaving desktop intact.
   Loaded LAST.
========================================================= */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  /* Whole spotlight: small side gutter + rounded premium card */
  html body.page-home-market .spotlight24 {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 34px calc(50% - 50vw) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  html body.page-home-market .spotlight24-card,
  html body.page-home-market .spotlight24-card:hover {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #06182a !important;
    box-shadow: 0 5px 18px rgba(5, 19, 33, .14) !important;
    transform: none !important;
  }

  /* Image area */
  html body.page-home-market .spotlight24-img {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #1b1b1b !important;
  }

  html body.page-home-market .spotlight24-img picture,
  html body.page-home-market .spotlight24-img img,
  html body.page-home-market .spotlight24-img .spotlight24-gallery,
  html body.page-home-market .spotlight24-img .spotlight24-gallery-slide {
    border-radius: 0 !important;
  }

  html body.page-home-market .spotlight24-img .spotlight24-gallery {
    z-index: 1 !important;
  }

  html body.page-home-market .spotlight24-img img,
  html body.page-home-market .spotlight24-img img.spotlight24-gallery-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    transform: none !important;
  }

  /* Rich fade that visually blends the photo into the navy content */
  html body.page-home-market .spotlight24-img::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    border-radius: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(6, 24, 42, 0) 0%,
      rgba(6, 24, 42, 0) 58%,
      rgba(6, 24, 42, .14) 70%,
      rgba(6, 24, 42, .68) 88%,
      #06182a 100%
    ) !important;
  }

  /* Keep swipe visible like the approved swipe mockup */
  html body.page-home-market .spotlight24-gallery-dots {
    position: absolute !important;
    left: 50% !important;
    bottom: 18px !important;
    z-index: 45 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: rgba(3, 15, 28, .90) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    transform: translateX(-50%) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.18) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    pointer-events: none !important;
  }

  html body.page-home-market .spotlight24-gallery-dot {
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.55) !important;
    transition: all .18s ease !important;
  }

  html body.page-home-market .spotlight24-gallery-dot.is-active {
    width: 10px !important;
    height: 10px !important;
    background: #ddb64f !important;
    box-shadow: 0 0 0 3px rgba(221, 182, 79, .14) !important;
  }

  html body.page-home-market .spotlight24-gallery-count {
    position: absolute !important;
    left: 14px !important;
    bottom: 18px !important;
    z-index: 45 !important;
    display: block !important;
    min-width: 48px !important;
    padding: 8px 12px !important;
    border-radius: 14px !important;
    background: rgba(3, 15, 28, .90) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.18) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    pointer-events: none !important;
  }

  /* Countdown: top-left refined pill with clock icon */
  html body.page-home-market .spotlight24-img > [data-spotlight-timer] {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 40 !important;
    width: auto !important;
    max-width: calc(100% - 180px) !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: rgba(3, 15, 28, .94) !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .18) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transform: none !important;
  }

  html body.page-home-market .spotlight24-img > [data-spotlight-timer]::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 6px 0 0 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7bd59' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.2'/%3E%3Cpath d='M12 7.4v5l3.3 2'/%3E%3C/svg%3E") !important;
  }

  html body.page-home-market .spotlight24-img > [data-spotlight-timer] > .live-dot,
  html body.page-home-market .spotlight24-img > [data-spotlight-timer] > span {
    display: none !important;
  }

  html body.page-home-market .spotlight24-img > [data-spotlight-timer] .timer-box {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.page-home-market .spotlight24-img > [data-spotlight-timer] .timer-box strong {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    font-variant-numeric: tabular-nums !important;
  }

  html body.page-home-market .spotlight24-img > [data-spotlight-timer] .timer-box small {
    display: none !important;
  }

  html body.page-home-market .spotlight24-img > [data-spotlight-timer] .timer-box:not(:last-child)::after {
    content: ":" !important;
    display: inline !important;
    margin: 0 4px !important;
    color: #e7bd59 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }

  /* Spotlight label: clean gold text aligned with gallery indicators and heart */
  html body.page-home-market .spotlight24-img > .spotlight24-badge {
    position: absolute !important;
    top: auto !important;
    right: 14px !important;
    bottom: 24px !important;
    left: auto !important;
    z-index: 46 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    width: auto !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
    text-align: right !important;
  }

  html body.page-home-market .spotlight24-badge::before,
  html body.page-home-market .spotlight24-badge::after {
    display: none !important;
    content: none !important;
  }

  html body.page-home-market .spotlight24-badge-text {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    color: #e7bd59 !important;
    -webkit-text-fill-color: #e7bd59 !important;
    font-size: 15px !important;
    line-height: .95 !important;
    font-weight: 950 !important;
    letter-spacing: -.01em !important;
    text-shadow: none !important;
    white-space: nowrap !important;
  }

  /* Heart: match mockup position/size */
  html body.page-home-market .spotlight24-img .da-watch-btn {
    top: 13px !important;
    right: 13px !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    border: 1px solid rgba(255,255,255,.82) !important;
    background: rgba(245,247,249,.90) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.14) !important;
  }

  html body.page-home-market .spotlight24-img .da-watch-btn .da-heart-icon {
    width: 29px !important;
    height: 27px !important;
  }

  /* Content: same visual order as mockup */
  html body.page-home-market .spotlight24-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 22px 23px 25px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      radial-gradient(circle at 96% 95%, rgba(17, 90, 164, .08), transparent 32%),
      linear-gradient(180deg, #06182a 0%, #071a2d 100%) !important;
    color: #fff !important;
    overflow: visible !important;
  }

  html body.page-home-market .spotlight24-content::before {
    display: none !important;
    content: none !important;
  }

  html body.page-home-market .spotlight24-content > h2 {
    order: 1 !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 0 14px !important;
    color: #fff !important;
    font-size: clamp(28px, 7.2vw, 34px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-wrap: nowrap !important;
    text-shadow: none !important;
  }

  html body.page-home-market .spotlight24-content > h2::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(86%, 430px) !important;
    height: 2px !important;
    background: linear-gradient(90deg,
      rgba(221, 182, 79, 1) 0%,
      rgba(221, 182, 79, .99) 76%,
      rgba(221, 182, 79, .52) 92%,
      rgba(221, 182, 79, 0) 100%) !important;
  }

  html body.page-home-market .spotlight24-description {
    order: 2 !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    color: rgba(239, 245, 251, .86) !important;
    font-size: 15px !important;
    line-height: 1.52 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  html body.page-home-market .spotlight24-price {
    order: 3 !important;
    align-self: flex-start !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
    margin: 0 0 20px !important;
    padding: 11px 17px !important;
    border: 1px solid rgba(255, 226, 148, .48) !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #f1d174 0%, #dda944 100%) !important;
    color: #07182a !important;
    box-shadow: 0 6px 16px rgba(173, 124, 30, .12) !important;
    font-size: clamp(27px, 7vw, 33px) !important;
    line-height: 1 !important;
    letter-spacing: -.025em !important;
    font-weight: 950 !important;
  }

  html body.page-home-market .spotlight24-price::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d7440' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.2 13.2 20.6a2 2 0 0 1-2.8 0L3.4 13.6a2 2 0 0 1 0-2.8L10.8 3.4A2 2 0 0 1 12.2 3H19a2 2 0 0 1 2 2v6.8a2 2 0 0 1-.4 1.4Z'/%3E%3Ccircle cx='16.3' cy='7.7' r='1.25'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  html body.page-home-market .spotlight24-button {
    order: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 17px 20px !important;
    border: 1px solid rgba(78, 177, 255, .38) !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #2ea8ff 0%, #0b7ddd 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 7px 18px rgba(11, 125, 221, .22) !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    transform: none !important;
  }
}

/* Narrow phones: avoid countdown/label collision */
@media (max-width: 380px) {
  html body.page-home-market .spotlight24-img > [data-spotlight-timer] {
    padding: 9px 10px !important;
  }
  html body.page-home-market .spotlight24-img > [data-spotlight-timer]::before {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;
    background-size: 18px 18px !important;
    margin-right: 4px !important;
  }
  html body.page-home-market .spotlight24-img > [data-spotlight-timer] .timer-box strong {
    font-size: 13px !important;
  }
  html body.page-home-market .spotlight24-img > [data-spotlight-timer] .timer-box:not(:last-child)::after {
    margin: 0 3px !important;
    font-size: 13px !important;
  }
  html body.page-home-market .spotlight24-img > .spotlight24-badge {
    right: 14px !important;
    bottom: 24px !important;
    height: 32px !important;
  }
  html body.page-home-market .spotlight24-badge-text {
    font-size: 13.5px !important;
    font-weight: 950 !important;
  }
}


/* =========================================================
   BUD24 Spotlight mobile final v29
   Force exact approved mockup on mobile:
   - edge to edge
   - no side air
   - no rounded outer corners
   - swipe indicators visible again
========================================================= */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  html body.page-home-market section.spotlight24,
  html body.page-home-market .spotlight24 {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 0 34px calc(50% - 50vw) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
  }

  html body.page-home-market .spotlight24-card,
  html body.page-home-market .spotlight24-card:hover,
  html body.page-home-market .spotlight24-img,
  html body.page-home-market .spotlight24-img::after,
  html body.page-home-market .spotlight24-img picture,
  html body.page-home-market .spotlight24-img img,
  html body.page-home-market .spotlight24-gallery,
  html body.page-home-market .spotlight24-gallery-slide,
  html body.page-home-market .spotlight24-content,
  html body.page-home-market .spotlight24-button,
  html body.page-home-market .spotlight24-button:hover {
    border-radius: 0 !important;
  }

  html body.page-home-market .spotlight24-card,
  html body.page-home-market .spotlight24-card:hover {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
}


/* =========================================================
   BUD24 Spotlight swipe overlay fix v31
   Indicators are now siblings of the gallery so they sit above the image fade.
========================================================= */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  html body.page-home-market .spotlight24-img > .spotlight24-gallery-dots,
  html body.page-home-market .spotlight24-img > .spotlight24-gallery-count {
    z-index: 60 !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  html body.page-home-market .spotlight24-img > .spotlight24-gallery-dots {
    bottom: 18px !important;
    background: rgba(3, 15, 28, .90) !important;
  }

  html body.page-home-market .spotlight24-img > .spotlight24-gallery-count {
    bottom: 18px !important;
    color: #fff !important;
    background: rgba(3, 15, 28, .90) !important;
  }

  html body.page-home-market .spotlight24-img > .spotlight24-gallery-dots .spotlight24-gallery-dot {
    opacity: 1 !important;
  }
}

/* =========================================================
   BUD24 v53 — Spotlight main image slightly taller on mobile
   Mobile only: change image ratio from 4:3 to 5:4.
========================================================= */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  html body.page-home-market .spotlight24-img {
    aspect-ratio: 5 / 4 !important;
  }
}
