/* =============================================================================
   OGRA Station List / Gallery Views (Grid, List, Slider)
   ============================================================================= */
.ogfp-stations-wrap {
  position: relative;
  width: 100%;
  margin: 30px 0 !important;
  box-sizing: border-box;
  clear: both;
}

.ogfp-stations-wrap.ogfp-view-slider {
  overflow: visible;
  padding: 0 50px;
  /* Space for outside arrows */
}

.ogfp-stations-inner {
  box-sizing: border-box;
  width: 100%;
}

/* ── GRID VIEW ───────────────────────────────────────────────────────────── */
.ogfp-view-grid .ogfp-stations-inner {
  display: grid;
  gap: 24px;
}

.ogfp-grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.ogfp-grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.ogfp-grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {

  .ogfp-grid-cols-3,
  .ogfp-grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .ogfp-grid-cols-2,
  .ogfp-grid-cols-3,
  .ogfp-grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ── LIST VIEW ───────────────────────────────────────────────────────────── */
.ogfp-view-list .ogfp-stations-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.ogfp-view-list .ogfp-st-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  text-align: left !important;
}

.ogfp-view-list .ogfp-st-card__image {
  width: 150px !important;
  height: 110px !important;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

.ogfp-view-list .ogfp-st-card__content {
  flex: 1;
}

/* ── SLIDER VIEW ─────────────────────────────────────────────────────────── */
.ogfp-view-slider .swiper {
  overflow: hidden;
  padding: 10px 0 40px 0;
}

.ogfp-view-slider .swiper-wrapper {
  align-items: flex-start !important;
}

.ogfp-view-slider .swiper-slide {
  height: auto !important;
  display: flex;
  justify-content: center;
  /* keep cards centered if they are smaller than the slide */
  box-sizing: border-box;
}

.ogfp-view-slider .swiper-slide .ogfp-st-card {
  width: 100% !important;
  max-width: 400px !important;
  flex: none !important;
  margin: 0 auto;
}

/* Navigation styling */
.ogfp-swiper-nav {
  width: 44px;
  height: 44px;
  background: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #d32f2f !important;
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.ogfp-swiper-nav:after {
  font-family: swiper-icons !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-variant: normal !important;
  line-height: 1 !important;
}

.ogfp-swiper-nav:hover {
  background: #d32f2f !important;
  color: #fff !important;
  transform: scale(1.1);
}

.ogfp-swiper-nav.swiper-button-prev {
  left: 0 !important;
}

.ogfp-swiper-nav.swiper-button-next {
  right: 0 !important;
}


/* ── CARD STYLING (Used in all views) ────────────────────────────────────── */
.ogfp-st-card {
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.ogfp-st-card__content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
}

.ogfp-st-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12) !important;
  border-color: #d32f2f !important;
}

.ogfp-st-card__image {
  width: 100%;
  height: 250px !important;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 16px;
  background: #f1f5f9;
}

.ogfp-st-card__image-wrap {
  position: relative !important;
  width: 100% !important;
}

.ogfp-st-placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 40px !important;
  color: #94a3b8 !important;
  background: #f1f5f9 !important;
}

/* Status Tag (Pill) */
.ogfp-st-tag {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  z-index: 5 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  display: inline-block !important;
  line-height: 1 !important;
  letter-spacing: 0.5px !important;
}

/* Open Pill Style */
.ogfp-st-tag.open {
  background-color: #dcfce7 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
}

/* Closed Pill Style */
.ogfp-st-tag.closed {
  background-color: #fee2e2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
}

/* Icons styling */
.ogfp-st-icons {
  display: flex !important;
  gap: 4px !important;
  font-size: 16px !important;
  align-items: center !important;
}

.ogfp-st-card__title {
  font-size: 18px !important;
  font-weight: 800 !important;
  margin: 0 0 4px !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
}

.ogfp-st-card__address {
  font-size: 13px !important;
  color: #64748b !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.ogfp-st-card__prices {
  display: flex !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}

.ogfp-st-card__price-badge {
  flex: 1;
  background: #f8fafc;
  padding: 8px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #f1f5f9;
}

.ogfp-st-card__price-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.ogfp-st-card__price-val {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
}

.ogfp-st-card__footer {
  margin-top: auto;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ogfp-st-card__btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #d32f2f !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
  border: none !important;
  cursor: pointer !important;
}

.ogfp-st-card__btn:hover {
  background: #b71c1c !important;
  color: #fff !important;
}

.ogfp-view-slider .swiper-pagination {
  bottom: -25px !important;
}

.ogfp-view-slider .swiper-pagination-bullet {
  background: #cbd5e1 !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
  transition: all 0.3s ease !important;
}

.ogfp-view-slider .swiper-pagination-bullet-active {
  background: #d32f2f !important;
  width: 24px !important;
  border-radius: 4px !important;
}