/* MSGarage – Áraink oldal (világos prémium) */

.page-prices {
  background: #ffffff;
  color: #202124;
}

.page-prices main {
  background: #ffffff;
}

.prices-page {
  padding-bottom: 0;
}

/* Hero */
.prices-hero {
  padding: calc(var(--header-h) + var(--safe-top) + 1.75rem) 0 1.75rem;
  background: linear-gradient(180deg, #f4f5f7 0%, #ffffff 100%);
  border-bottom: 1px solid #e5e7eb;
}

.prices-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #17191d;
  max-width: 22ch;
}

.prices-hero__lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #626873;
}

.prices-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1.15rem;
  padding: 0;
  list-style: none;
}

.prices-hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #202124;
}

.prices-hero__trust li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ed171c;
  flex-shrink: 0;
}

/* Disclaimer */
.prices-disclaimer {
  margin: 1.5rem 0 1.25rem;
  padding: 1rem 1.15rem;
  background: #f4f5f7;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #ed171c;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #626873;
}

/* Hourly highlight */
.prices-hourly {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.35rem;
  background: #17191d;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(23, 25, 29, 0.12);
}

.prices-hourly__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
}

.prices-hourly__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.prices-hourly__desc {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
}

.prices-hourly__amounts {
  text-align: right;
}

.prices-hourly__gross {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
}

.prices-hourly__net {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 640px) {
  .prices-hourly {
    grid-template-columns: 1fr;
  }

  .prices-hourly__amounts {
    text-align: left;
  }
}

/* Toolbar */
.prices-toolbar {
  margin-bottom: 1.25rem;
}

.prices-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.prices-filters__btn {
  flex: 0 0 auto;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #626873;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.prices-filters__btn:hover {
  border-color: #ed171c;
  color: #202124;
}

.prices-filters__btn.is-active {
  background: #ed171c;
  border-color: #ed171c;
  color: #fff;
}

.prices-search-wrap {
  position: relative;
  margin-top: 0.85rem;
}

.prices-search {
  width: 100%;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #202124;
}

.prices-search:focus {
  outline: none;
  border-color: #ed171c;
  box-shadow: 0 0 0 3px rgba(237, 23, 28, 0.12);
}

.prices-search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #626873;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
}

.prices-search-clear:hover {
  color: #ed171c;
  background: #f4f5f7;
}

/* Cards grid */
.prices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .prices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .prices-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.price-card-light {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 4px 18px rgba(23, 25, 29, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 100%;
}

.price-card-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(23, 25, 29, 0.08);
}

.price-card-light__title {
  margin: 0 0 0.45rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #17191d;
  line-height: 1.35;
}

.price-card-light__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #626873;
}

.price-card-light__price {
  margin-top: auto;
  padding-top: 0.85rem;
}

.price-card-light__gross {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #17191d;
}

.price-card-light__net {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: #626873;
}

.price-card-light__note {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: #777e87;
  line-height: 1.45;
}

.price-card-light__type {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ed171c;
}

.price-card-light__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.price-card-light__book {
  width: 100%;
  border-radius: 999px !important;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8125rem !important;
}

.price-card-light__details {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ed171c;
  text-align: center;
}

.prices-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  background: #f4f5f7;
  border-radius: 14px;
  border: 1px dashed #e5e7eb;
  color: #626873;
}

.prices-empty a {
  color: #ed171c;
  font-weight: 600;
}

/* FAQ */
.prices-faq {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: #f4f5f7;
  border-top: 1px solid #e5e7eb;
}

.prices-faq__title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #17191d;
}

.prices-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.prices-faq__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.prices-faq__question {
  cursor: pointer;
  font-weight: 600;
  color: #202124;
  padding: 0.85rem 1rem;
  list-style: none;
}

.prices-faq__question::-webkit-details-marker {
  display: none;
}

.prices-faq__answer {
  padding: 0 1rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #626873;
}

/* CTA */
.prices-cta {
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: #17191d;
  color: #fff;
}

.prices-cta__inner {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.prices-cta__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
}

.prices-cta__lead {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.prices-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.prices-cta__actions .btn--primary {
  border-radius: 999px;
}

.prices-cta__phone {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px;
}

.prices-cta__phone:hover {
  border-color: #ed171c !important;
  color: #fff !important;
}

.page-prices .header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
}

.page-prices .header .nav__link {
  color: #626873;
}

.page-prices .header .nav__link:hover,
.page-prices .header .nav__link--active {
  color: #202124;
}

.page-prices .header .nav__link--active {
  box-shadow: inset 0 -2px 0 #ed171c;
}

.page-prices .nav-toggle span {
  background: #17191d;
}

.page-prices .footer {
  background: #17191d;
}

/* ---- Mobil (≤768 / ≤430) ---- */

.page-prices {
  overflow-x: clip;
}

@media (max-width: 768px) {
  .page-prices .container {
    padding-left: max(1rem, var(--safe-left));
    padding-right: max(1rem, var(--safe-right));
  }

  .prices-hero {
    padding-top: calc(var(--header-h) + var(--safe-top) + 1.15rem);
    padding-bottom: 1.25rem;
  }

  .prices-hero__title {
    max-width: none;
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    line-height: 1.15;
  }

  .prices-hero__lead {
    font-size: 0.9375rem;
  }

  .prices-hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .prices-disclaimer {
    margin-top: 1.15rem;
    padding: 0.85rem 0.95rem;
    font-size: 0.8125rem;
  }

  .prices-hourly {
    padding: 1rem 1.05rem;
    margin-bottom: 1.35rem;
  }

  .prices-toolbar {
    margin-bottom: 1rem;
    margin-left: calc(-1 * max(1rem, var(--safe-left)));
    margin-right: calc(-1 * max(1rem, var(--safe-right)));
    padding-left: max(1rem, var(--safe-left));
    padding-right: max(1rem, var(--safe-right));
  }

  .prices-filters {
    gap: 0.45rem;
    padding-bottom: 0.5rem;
    scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  .prices-filters__btn {
    min-height: 44px;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
  }

  .prices-search {
    font-size: 16px;
    min-height: 48px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .prices-search-clear {
    width: 44px;
    height: 44px;
  }

  .price-card-light {
    padding: 1.05rem 1rem 1.1rem;
  }

  .price-card-light__gross {
    font-size: 1.35rem;
    word-break: break-word;
  }

  .price-card-light__book {
    min-height: 48px;
  }

  .price-card-light__details {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .prices-faq {
    padding: 2rem 0;
  }

  .prices-faq__question {
    padding: 0.95rem 1rem;
    font-size: 0.9375rem;
    line-height: 1.4;
  }

  .prices-cta {
    padding-bottom: calc(1.5rem + var(--safe-bottom));
  }

  .prices-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .prices-cta__actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .page-prices .nav {
    max-height: calc(100dvh - var(--header-h) - var(--safe-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-prices .nav__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 430px) {
  .prices-page__body {
    padding-bottom: 0.25rem;
  }

  .prices-grid {
    gap: 0.85rem;
  }
}

@media (hover: none) {
  .price-card-light:hover {
    transform: none;
    box-shadow: 0 4px 18px rgba(23, 25, 29, 0.05);
  }
}
