/* ════════════════════════════════════════
   CAROUSEL SHARED — section layout, arrows, see-more
   Used by: events, deals, venue, articles carousels
════════════════════════════════════════ */

.carousel-section {
  padding: 48px 0;
  background: #fff;
}
.carousel-section:nth-of-type(odd) {
  background: #f8f8f8;
}

@media (max-width: 550px) {
  .carousel-section {
    padding: 20px 0;
  }
}

/* ── Section heading ── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 108px;
  margin-bottom: 28px;
}
.section-head .section_link {
  text-decoration: none !important;
}
.section-head .section_link:hover .section-h2 {
  /* text-decoration: underline !important; */
  color: #e85411 !important;
}
.section-h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #000;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  padding-left: 14px;
  border-left: 4px solid #e85411;
}
.section-see-all {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #178be6;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.section-see-all:hover { color: #e85411; }

/* ── Carousel layout ── */
.carousel-wrap { position: relative; }
.carousel-overflow {
  overflow: hidden;
  padding: 12px 0 17px 108px;
}
.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Navigation arrows ── */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  background: #fff;
  border: 2px solid #e0e0e0;
  color: #111;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s, opacity 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18), 0 1px 4px rgba(0,0,0,0.10);
}
.carousel-arrow:hover {
  background: #e85411;
  border-color: #e85411;
  color: #fff;
  box-shadow: 0 6px 24px rgba(232,84,17,0.30), 0 2px 6px rgba(0,0,0,0.12);
}
.carousel-arrow.disabled { opacity: 0.18; pointer-events: none; }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

/* ── Trailing spacer ── */
.carousel-spacer {
  width: 108px;
  flex-shrink: 0;
}

/* ── See More card ── */
.see-more-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #178be6;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.see-more-card:hover {
  background: #1278c8;
  transform: translateY(-5px);
  text-decoration: none;
}
.see-more-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.see-more-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e85411;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}
.see-more-label {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

/* ── Responsive: mobile native scroll-snap ── */
@media (max-width: 768px) {
  .section-head { padding: 0 20px; margin-bottom: 20px; }
  .section-h2 { font-size: 28px; }
  .carousel-arrow { display: none; }
  .carousel-spacer { width: 20px; }

  /* Native horizontal scroll container */
  .carousel-overflow {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 8px 0 20px 20px;
    /* Hide scrollbar — all browsers */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;
    margin-left:20px;     /* IE / Edge legacy */
  }
  .carousel-overflow::-webkit-scrollbar {
    display: none;                /* Chrome / Safari / Opera */
  }

  /* Disable JS-driven transform on mobile so native scroll owns the position */
  .carousel-track {
    transform: none !important;
    transition: none !important;
  }

  /* Every card type becomes a snap target */
  .event-card,
  .deal-card,
  .venue-card,
  .article-card,
  .see-more-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}
