﻿.app-products-hero {
  --app-page-hero-padding-top: 0;
  --app-page-hero-padding-bottom: var(--app-space-7);
}

@media (max-width: 767.98px) {
  body.app-bg {
    --app-mobile-ambient-bg: none;
    background-image: none !important;
  }
}

.app-products-top-hero {
  position: relative;
  height: 20vh;
  min-height: 170px;
  max-height: 220px;
  margin-bottom: var(--app-space-5);
  overflow: hidden;
  background-image: url('/img/pro/travel/t1.jpg');
  background-position: center;
  background-size: cover;
}

.app-products-hero .app-hero__overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
}

.app-products-top-hero__eyebrow,
.app-products-top-hero__title {
  margin: 0;
  color: var(--app-color-on-primary);
}

.app-products-top-hero__eyebrow {
  font-size: var(--app-font-size-200);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.app-products-top-hero__title {
  margin-top: var(--app-space-1);
  margin-bottom: var(--app-space-4);
  font-size: clamp(var(--app-font-size-500), 2.2vw, var(--app-font-size-700));
  font-weight: 800;
}

.app-products-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--app-space-5);
  align-items: stretch;
}

.app-products-hero__media {
  min-height: 22rem;
}

.app-products-hero__media #carouselPreviewImageIndicators,
.app-products-hero__media .carousel-inner,
.app-products-hero__media .carousel-item {
  height: 100%;
}

.app-products-hero__media .app-image-cover {
  height: 100%;
}

.app-products-hero__card {
  display: grid;
  gap: var(--app-space-3);
}

.app-products-hero__meta,
.app-products-hero__rating,
.app-products-hero__desc {
  margin: 0;
  color: var(--app-color-text-muted);
  font-size: var(--app-font-size-200);
}

.app-products-hero__rating i {
  color: var(--app-color-warning);
}

.app-products-hero__notice {
  padding: var(--app-space-3);
  background-color: var(--app-color-surface-alt);
  border: 1px solid var(--app-color-border);
  border-radius: var(--app-radius-md);
}

.app-products-hero__notice-title {
  margin: 0 0 var(--app-space-2);
  font-weight: 800;
}

.app-products-hero__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--app-space-3);
}

.app-products-hero__price-origin {
  margin: 0;
  color: var(--app-color-text-subtle);
  text-decoration: line-through;
  font-size: var(--app-font-size-200);
}

.app-products-hero__price {
  margin: 0;
  color: var(--app-color-primary);
  font-size: var(--app-font-size-600);
  font-weight: 800;
}

.app-products-hero__price--sale {
  color: var(--app-color-danger);
}

.app-products-plan__image {
  aspect-ratio: 16 / 9;
  max-height: 18rem;
  overflow: hidden;
  border-radius: var(--app-radius-lg);
}

.app-products-plan__overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--app-space-3);
  align-items: stretch;
}

.app-plan-tabs__panel .app-plan-detail__info {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-products-plan__image .app-image-cover {
  height: 100%;
}

.app-products-plan-section .app-plan-tabs__tab-title,
.app-products-plan-section .app-plan-detail__title,
.app-products-plan-section .app-plan-people .app-card__title,
.app-products-plan-section .app-plan-people__item-title {
  font-size: var(--app-font-size-300);
  line-height: var(--app-line-height-tight);
}

.app-products-plan-section .app-plan-tabs__tab-summary,
.app-products-plan-section .app-list__text,
.app-products-plan-section .app-plan-people__item-desc {
  font-size: var(--app-font-size-200);
  line-height: var(--app-line-height-normal);
}

.app-products-plan-section .app-plan-tabs__tab-price,
.app-products-plan-section .app-products-plan__price,
.app-products-plan-section .app-plan-people__item-price {
  font-size: var(--app-font-size-300);
  line-height: var(--app-line-height-tight);
}

.app-plan-tabs__cta {
  display: none;
}

.app-products-plan-section .app-plan-people__item-desc {
  display: block;
  margin-top: calc(var(--app-space-1) / 2);
  color: var(--app-color-text-muted);
  font-weight: 400;
}

.app-products-plan-tabs .app-plan-tabs__nav {
  position: sticky;
  top: 6.5rem;
  z-index: 5;
}

.app-plan-tabs__tab,
.btn-plus,
.btn-minus,
.add_to_cart {
  cursor: pointer;
}

.app-products-plan-panel .expandable-content {
  display: block;
}

.app-products-plan-panel .collapsed-desc {
  display: none;
}

.plan-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--app-space-3);
}

.app-products-plan__toggle {
  color: var(--app-color-text-muted);
}

.plan-card.active .app-products-plan__toggle {
  transform: rotate(180deg);
}

.app-products-plan__price,
.app-products-plan__unit-price {
  margin: 0;
  color: var(--app-color-primary);
  font-weight: 700;
}

.app-products-plan__qty-control {
  display: inline-flex;
  align-items: center;
  gap: var(--app-space-2);
}

.app-products-plan__qty-control .app-btn {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0;
}

.quantity {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .app-products-hero__select-btn {
    display: none;
  }

  .app-products-hero__price-row {
    justify-content: flex-end;
  }

  .app-products-hero__price-row > div {
    text-align: right;
  }


  .app-products-top-hero {
    height: 13.3vh;
    min-height: 112px;
    max-height: 148px;
  }

  .app-products-hero__layout {
    grid-template-columns: 1fr;
  }

  .app-products-hero__media {
    min-height: 14.5rem;
  }

  .app-products-plan__image {
    max-height: 12rem;
  }

  .app-products-plan-tabs .app-plan-tabs__nav {
    position: static;
  }

  .app-products-plan-tabs .app-plan-tabs__tab,
  .app-products-plan-tabs .app-plan-tabs__tab.active {
    color: var(--app-color-text);
    background-color: var(--app-color-surface-alt);
    border: 1px solid var(--app-color-border);
  }

  .app-products-plan-tabs .app-plan-tabs__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    margin-top: var(--app-space-1);
    padding: 0 var(--app-space-2);
    color: var(--app-color-primary);
    font-size: var(--app-font-size-200);
    font-weight: 700;
    background-color: var(--app-color-surface);
    border: 1px solid var(--app-color-border);
    border-radius: var(--app-radius-md);
    margin-top: auto;
    align-self: center;
  }

  .app-products-plan__overview,
  .app-plan-tabs__panel .app-plan-detail__info {
    grid-template-columns: 1fr;
  }

  .app-products-plan-tabs .app-plan-tabs__panels {
    display: none;
  }

  .app-products-plan-modal__content .app-plan-detail__title,
  .app-products-plan-modal__content .app-plan-people .app-card__title,
  .app-products-plan-modal__content .app-plan-people__item-title,
  .app-products-plan-modal__content .app-plan-people__item-price,
  .app-products-plan-modal__content .app-products-plan__unit-price {
    font-size: var(--app-font-size-300);
    line-height: var(--app-line-height-tight);
  }

  .app-products-plan-modal__content .app-list__text,
  .app-products-plan-modal__content .app-plan-people__item-desc {
    font-size: var(--app-font-size-200);
    line-height: var(--app-line-height-normal);
  }

  .app-products-plan-modal__content .app-plan-people__actions {
    display: none;
  }

  .app-products-plan-modal__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--app-space-3);
  }

  .app-products-plan-modal__total {
    display: grid;
    justify-items: start;
    text-align: left;
    line-height: var(--app-line-height-tight);
  }

  .app-products-plan-modal__total-label {
    color: var(--app-color-text-muted);
    font-size: var(--app-font-size-200);
    font-weight: 700;
  }

  .app-products-plan-modal__total-value {
    color: var(--app-color-primary);
    font-size: var(--app-font-size-400);
    font-weight: 800;
  }
}
