/* =========================================================
JAPAN AWAITS — BLOCK 04: FEATURED EXPERIENCES
SCOPED STYLES FOR OVERLAY/STANDARD CARDS & SLIDER CAROUSEL
========================================================= */

.ja-featured-exp-section {
  position: relative;
  width: 100%;
}

.ja-featured-exp-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   HEADER & LEGEND ROW
--------------------------------------------------------- */
.ja-featured-exp-header {
  margin-bottom: 24px;
}

.ja-featured-exp-header .ja-section-tag {
  color: #bb3421;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ja-featured-exp-header .ja-section-title {
  font-size: 38px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.6px;
  margin: 0 0 10px 0;
  line-height: 1.15;
}

.ja-featured-exp-header .ja-section-desc {
  max-width: 760px;
  margin: 0 auto;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

/* Legend Row */
.ja-featured-exp-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 34px;
  font-size: 12px;
  color: #4b5563;
  font-weight: 500;
}

.ja-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ja-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.ja-legend-dot--original {
  background-color: #bb3421;
}

.ja-legend-dot--partner {
  background-color: #4b5563;
}


/* ---------------------------------------------------------
   GRID LAYOUT MODE
--------------------------------------------------------- */
.ja-featured-exp-layout--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}


/* ---------------------------------------------------------
   SLIDER LAYOUT MODE
--------------------------------------------------------- */
.ja-featured-exp-layout--slider {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.ja-exp-slider-track-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  padding: 6px 0;
}

.ja-exp-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.ja-exp-slider-track > * {
  flex: 0 0 calc(25% - 18px);
  min-width: 260px;
  max-width: 100%;
  box-sizing: border-box;
}

/* Slider Nav Arrows */
.ja-exp-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  transition: all 0.25s ease;
  outline: none;
}

.ja-exp-slider-btn.prev-btn {
  left: -20px;
}

.ja-exp-slider-btn.next-btn {
  right: -20px;
}

.ja-exp-slider-btn:hover {
  background: #ffffff;
  color: #bb3421;
  border-color: #bb3421;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%) scale(1.08);
}

.ja-exp-slider-btn:disabled,
.ja-exp-slider-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
  pointer-events: none;
}

/* Slider Dots */
.ja-exp-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 34px;
}

.ja-exp-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.ja-exp-slider-dot.is-active {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  background: #bb3421;
}


/* ---------------------------------------------------------
   ITEM CARD STYLE 1: OVERLAY POSTER CARD (DEMO MATCH)
--------------------------------------------------------- */
.ja-exp-card--overlay {
  position: relative;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #1f2937;
}

.ja-exp-card--overlay:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.ja-exp-overlay-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s ease;
}

.ja-exp-card--overlay:hover .ja-exp-overlay-bg {
  transform: scale(1.08);
}

.ja-exp-overlay-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.88) 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.ja-exp-overlay-badge {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ja-exp-overlay-badge.ja-badge--original {
  background: #bb3421;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(187, 52, 33, 0.4);
}

.ja-exp-overlay-badge.ja-badge--partner {
  background: #374151;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ja-exp-overlay-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: auto;
}

.ja-exp-overlay-content .ja-exp-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.ja-exp-overlay-content .ja-exp-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ja-exp-overlay-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.ja-exp-overlay-footer .ja-exp-location {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ja-exp-circle-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
}

.ja-exp-circle-arrow svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.ja-exp-card--overlay:hover .ja-exp-circle-arrow {
  background: #bb3421;
  color: #ffffff;
  transform: scale(1.08);
}

.ja-exp-card--overlay:hover .ja-exp-circle-arrow svg {
  transform: translateX(2px);
}


/* ---------------------------------------------------------
   ITEM CARD STYLE 2: STANDARD BOX CARD
--------------------------------------------------------- */
.ja-exp-card--standard {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.ja-exp-card--standard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.ja-exp-std-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.ja-exp-std-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ja-exp-card--standard:hover .ja-exp-std-media img {
  transform: scale(1.06);
}

.ja-exp-std-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #bb3421;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ja-exp-std-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ja-exp-std-cat {
  font-size: 11px;
  font-weight: 700;
  color: #bb3421;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ja-exp-std-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ja-exp-card--standard:hover .ja-exp-std-title {
  color: #bb3421;
}

.ja-exp-std-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}

.ja-exp-std-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ja-exp-std-price .lbl {
  font-size: 11px;
  color: #94a3b8;
  display: block;
}

.ja-exp-std-price .amt {
  font-size: 18px;
  font-weight: 800;
  color: #bb3421;
}


/* ---------------------------------------------------------
   BOTTOM CTA BUTTON
--------------------------------------------------------- */
.ja-featured-exp-footer {
  text-align: center;
  margin-top: 10px;
}

.ja-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 1.5px solid #d1d5db;
  color: #bb3421;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.ja-view-all-btn:hover {
  border-color: #bb3421;
  background: #fff5f3;
  color: #bb3421;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(187, 52, 33, 0.12);
}


/* ---------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
--------------------------------------------------------- */
@media (max-width: 1100px) {
  .ja-featured-exp-layout--grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ja-exp-slider-track > * {
    flex: 0 0 calc(33.333% - 16px);
  }
  .ja-exp-slider-btn.prev-btn {
    left: -12px;
  }
  .ja-exp-slider-btn.next-btn {
    right: -12px;
  }
}

@media (max-width: 820px) {
  .ja-featured-exp-layout--grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ja-exp-slider-track > * {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 540px) {
  .ja-featured-exp-layout--grid {
    grid-template-columns: 1fr;
  }
  .ja-exp-slider-track > * {
    flex: 0 0 100%;
  }
  .ja-featured-exp-header .ja-section-title {
    font-size: 28px;
  }
  .ja-exp-card--overlay {
    height: 400px;
  }
}
