/* Activities & Outdoor Experiences — EaseMyTrip Activities Experience */
:root {
  --act-primary: #0f766e;
  --act-primary-hover: #115e59;
  --act-accent: #0284c7;
  --act-accent-hover: #0369a1;
  --act-cta: #ea580c;
  --act-cta-hover: #c2410c;
  --act-bg: #f8fafc;
  --act-card-bg: #ffffff;
  --act-ink: #0f172a;
  --act-muted: #64748b;
  --act-border: #e2e8f0;
  --act-surface-soft: #f1f5f9;
  --act-success: #16a34a;
  --act-success-bg: #f0fdf4;
  --act-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --act-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.09);
  --act-shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.14);
  --act-radius: 12px;
}

body[data-page="activities"] {
  background-color: var(--act-bg);
  color: var(--act-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.activities-main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 60px;
}

/* Hero & Search Banner */
.act-hero-banner {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 45%, #047857 100%);
  color: #ffffff;
  padding: 38px 32px 50px;
  border-radius: 0 0 20px 20px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.25);
}

.act-hero-intro {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.act-hero-intro .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a7f3d0;
  margin: 0 0 8px;
  background: rgba(167, 243, 208, 0.18);
  padding: 4px 14px;
  border-radius: 20px;
}

.act-hero-intro h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #ffffff;
}

.act-hero-intro p {
  font-size: 1.05rem;
  color: #ecfdf5;
  margin: 0;
}

/* Search Box */
.act-search-box {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--act-ink);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.act-search-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.act-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.act-field-group label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--act-muted);
}

.act-input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.act-input-icon-wrap .material-symbols-outlined {
  position: absolute;
  left: 12px;
  color: var(--act-primary);
  font-size: 20px;
  pointer-events: none;
}

.act-input-icon-wrap input,
.act-input-icon-wrap select {
  width: 100%;
  padding: 12px 12px 12px 38px;
  border: 1.5px solid var(--act-border);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--act-ink);
  background: #ffffff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.act-input-icon-wrap input:focus,
.act-input-icon-wrap select:focus {
  outline: none;
  border-color: var(--act-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.act-btn-search {
  height: 46px;
  background: var(--act-cta);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  padding: 0 24px;
  white-space: nowrap;
}

.act-btn-search:hover {
  background: var(--act-cta-hover);
  transform: translateY(-1px);
}

/* Key Benefits Banner */
.act-benefits-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.act-benefit-card {
  background: #ffffff;
  border: 1px solid var(--act-border);
  border-radius: var(--act-radius);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--act-shadow-sm);
}

.act-benefit-icon {
  background: #ccfbf1;
  color: var(--act-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.act-benefit-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--act-ink);
}

.act-benefit-text p {
  font-size: 0.82rem;
  color: var(--act-muted);
  margin: 0;
  line-height: 1.35;
}

/* Travel 7-Item Navigation Bar (Exact from User Screenshot) */
.travel-product-navigation {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 32px;
  border: 1px solid var(--act-border);
  background: var(--act-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--act-shadow-sm);
}

.travel-product-nav-item {
  display: grid;
  min-height: 84px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 12px 8px;
  background: #ffffff;
  color: var(--act-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.travel-product-nav-item .material-symbols-outlined {
  color: #0f766e;
  font-size: 24px;
}

.travel-product-nav-item:hover {
  background: #f0fdfa;
  color: var(--act-primary);
}

.travel-product-nav-item.active {
  background: #ccfbf1;
  color: var(--act-primary);
  font-weight: 800;
  border-bottom: 3px solid var(--act-primary);
}

/* Category Filter Pills */
.act-categories-bar {
  margin-bottom: 24px;
}

.act-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0;
}

.act-cat-pill {
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid var(--act-border);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--act-ink);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.act-cat-pill:hover {
  border-color: var(--act-primary);
  color: var(--act-primary);
  background: #f0fdfa;
}

.act-cat-pill.is-active {
  background: var(--act-primary);
  color: #ffffff;
  border-color: var(--act-primary);
  box-shadow: 0 4px 10px rgba(15, 118, 110, 0.25);
}

/* Main Content Layout */
.act-content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* Sidebar Filters */
.act-filter-sidebar {
  background: #ffffff;
  border: 1px solid var(--act-border);
  border-radius: var(--act-radius);
  padding: 22px;
  box-shadow: var(--act-shadow-sm);
  position: sticky;
  top: 20px;
}

.act-filter-sidebar h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.act-filter-group {
  border-top: 1px solid var(--act-border);
  padding: 16px 0;
}

.act-filter-group:first-of-type {
  border-top: none;
  padding-top: 0;
}

.act-filter-group h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--act-ink);
}

.act-filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.act-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  cursor: pointer;
  color: #334155;
}

.act-check-label input[type="checkbox"],
.act-check-label input[type="radio"] {
  accent-color: var(--act-primary);
  width: 16px;
  height: 16px;
}

/* Results Content */
.act-results-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.act-results-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--act-radius);
  border: 1px solid var(--act-border);
  box-shadow: var(--act-shadow-sm);
}

.act-results-header h2 {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 800;
}

.act-sort-select {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.act-sort-select select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--act-border);
  font-weight: 600;
  color: var(--act-ink);
}

/* Activities Grid */
.act-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

.act-card {
  background: #ffffff;
  border: 1px solid var(--act-border);
  border-radius: var(--act-radius);
  overflow: hidden;
  box-shadow: var(--act-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.act-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--act-shadow-md);
  border-color: #99f6e4;
}

.act-card-media {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #f1f5f9;
}

.act-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.act-card:hover .act-card-image {
  transform: scale(1.04);
}

.act-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.act-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.act-location-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--act-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.act-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.35;
  color: var(--act-ink);
}

.act-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--act-muted);
}

.act-rating-val {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b45309;
  font-weight: 700;
}

.act-duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--act-surface-soft);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.act-inclusions-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: #334155;
  margin-top: 4px;
}

.act-inclusion-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.act-card-footer {
  border-top: 1px solid var(--act-border);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}

.act-price-box {
  display: flex;
  flex-direction: column;
}

.act-price-label {
  font-size: 0.72rem;
  color: var(--act-muted);
  font-weight: 600;
}

.act-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--act-ink);
}

.act-btn-book {
  background: var(--act-cta);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.act-btn-book:hover {
  background: var(--act-cta-hover);
}

/* Booking Modal Dialog */
.act-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  overflow-y: auto;
}

.act-modal.is-open {
  display: flex;
}

.act-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--act-shadow-lg);
  display: flex;
  flex-direction: column;
}

.act-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--act-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.act-modal-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0;
}

.act-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--act-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}

.act-modal-close:hover {
  background: var(--act-surface-soft);
  color: var(--act-ink);
}

.act-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.act-summary-card {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.act-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.act-slot-btn {
  padding: 10px;
  border: 1.5px solid var(--act-border);
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.act-slot-btn:hover {
  border-color: var(--act-primary);
  background: #f0fdfa;
}

.act-slot-btn.is-selected {
  border-color: var(--act-primary);
  background: #0f766e;
  color: #ffffff;
}

.act-participant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--act-border);
}

.act-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.act-step-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--act-border);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.act-step-btn:hover {
  background: var(--act-surface-soft);
}

.act-traveler-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.act-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--act-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.act-voucher-card {
  background: #f0fdf4;
  border: 2px dashed #16a34a;
  border-radius: 12px;
  padding: 24px;
  margin: 18px 0;
  text-align: left;
}

/* Responsive */
@media (max-width: 992px) {
  .act-search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .act-content-layout {
    grid-template-columns: 1fr;
  }
  .act-filter-sidebar {
    position: static;
  }
  .travel-product-navigation {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .act-search-grid {
    grid-template-columns: 1fr;
  }
  .travel-product-navigation {
    grid-template-columns: repeat(2, 1fr);
  }
  .act-traveler-grid {
    grid-template-columns: 1fr;
  }
}
