/* ===== Prices block v2 ===== */
.prices-section {
  padding: 48px 16px 32px;
  background: linear-gradient(180deg, #060306 0%, #1a0b2e 100%);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.prices-section > .container {
  max-width: 1200px;
  margin: 0 auto;
  min-width: 0;
  width: 100%;
}

.prices-section .prices-header {
  text-align: center;
  margin-bottom: 28px;
}

.prices-section .prices-title {
  color: #593C90;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}

.prices-section .prices-subtitle {
  color: #FFDE59;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0;
  line-height: 1.4;
}

.prices-section .halls-tabs-wrapper {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  min-width: 0;
  scrollbar-width: none;
  margin-bottom: 24px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.prices-section .halls-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.prices-section .prices-hall-tab {
  flex: 0 0 auto;
  background: rgba(89, 60, 144, 0.15);
  border: 1px solid rgba(89, 60, 144, 0.35);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.prices-section .prices-hall-tab.active,
.prices-section .prices-hall-tab:hover {
  background: #593C90;
  color: #FFFFFF;
  border-color: #593C90;
}

.prices-section .hall-info-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(89, 60, 144, 0.12);
  border-radius: 12px;
  margin-bottom: 12px;
  text-align: left;
  min-width: 0;
  max-width: 100%;
}

.prices-section .hall-capacity {
  color: #A855F7;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  min-width: 0;
}

.prices-section .hall-name {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  text-align: center;
  min-width: 0;
}

.prices-section .hall-address {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-align: right;
  line-height: 1.25;
  min-width: 0;
}

.prices-section .prices-dock {
  display: none;
}

.prices-section .prices-dock-label {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.prices-section .price-note-block {
  text-align: center;
  margin-bottom: 20px;
}

.prices-section .price-note-block p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin: 4px 0;
  line-height: 1.45;
}

.prices-section .price-note-block .small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.prices-section .price-warn-bar {
  color: #FFDE59;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.prices-section .hourly-prices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.prices-section .price-card {
  background: rgba(6, 3, 6, 0.85);
  border: 2px solid rgba(89, 60, 144, 0.4);
  border-radius: 14px;
  padding: 18px;
}

.prices-section .price-card-header h4 {
  color: #A855F7;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  text-align: center;
}

.prices-section .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(89, 60, 144, 0.2);
  gap: 12px;
}

.prices-section .price-row:last-child {
  border-bottom: none;
}

.prices-section .time-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 400;
}

.prices-section .price-value {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.prices-section .packages-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 20px;
}

.prices-section .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #593C90, transparent);
}

.prices-section .divider-text {
  color: #A855F7;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.3;
}

.prices-section .packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.prices-section .package-card {
  background: linear-gradient(135deg, rgba(89, 60, 144, 0.15) 0%, rgba(6, 3, 6, 0.92) 100%);
  border: 2px solid rgba(89, 60, 144, 0.4);
  border-radius: 14px;
  padding: 20px;
}

.prices-section .package-card.featured-package {
  border-color: #FFDE59;
  box-shadow: 0 6px 24px rgba(255, 222, 89, 0.15);
}

.prices-section .package-header {
  text-align: center;
  margin-bottom: 16px;
}

.prices-section .package-duration {
  display: inline-block;
  background: rgba(89, 60, 144, 0.35);
  color: #A855F7;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.prices-section .package-header h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.prices-section .package-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.prices-section .package-prices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prices-section .package-price-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(6, 3, 6, 0.55);
  border-radius: 10px;
}

.prices-section .package-price-row.featured {
  background: rgba(89, 60, 144, 0.2);
  border: 1px solid rgba(89, 60, 144, 0.35);
}

.prices-section .days-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.prices-section .package-price {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.prices-section .savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  padding: 0;
  white-space: nowrap;
}

.prices-section .savings-label {
  background: #4ADE80;
  color: #060306;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.prices-section .savings-amount {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.prices-section .package-main-price {
  text-align: center;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.prices-section .package-main-price .savings-badge {
  order: -1;
}

.prices-section .big-price {
  display: block;
  color: #FFDE59;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0;
}

.prices-section .big-savings {
  display: inline-block;
  background: #4ADE80;
  color: #060306;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.prices-section .package-note-bottom {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-align: center;
  margin: 12px 0 0;
}

.prices-section .combined-features {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.prices-section .combined-feature {
  background: rgba(6, 3, 6, 0.85);
  border: 1px solid rgba(89, 60, 144, 0.35);
  border-radius: 12px;
  padding: 16px;
}

.prices-section .combined-feature h4 {
  color: #A855F7;
  font-size: 16px;
  margin: 0 0 8px;
}

.prices-section .combined-feature p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.prices-section .prices-book-btn {
  display: flex;
  width: 100%;
  margin: 16px 0 0;
  padding: 12px 16px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #593C90, #5E2177);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(89, 60, 144, 0.35);
}

.prices-section .prices-cta-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
}

.prices-section .prices-hall-panel {
  display: none;
  min-width: 0;
  max-width: 100%;
}

.prices-section .prices-hall-panel.active {
  display: block;
  animation: pricesFadeIn 0.35s ease;
}

@keyframes pricesFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  .prices-section {
    padding: 60px 20px;
  }

  .prices-section .prices-title {
    font-size: 28px;
  }

  .prices-section .prices-subtitle {
    font-size: 13px;
  }

  .prices-section .halls-tabs-wrapper {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }

  .prices-section .hourly-prices-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prices-section .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prices-section .hall-info-bar {
    padding: 12px 16px;
  }

  .prices-section .hall-capacity,
  .prices-section .hall-address {
    font-size: 13px;
  }

  .prices-section .hall-name {
    font-size: 20px;
  }

  .prices-section .prices-view-toggle {
    display: none;
  }

  .prices-section .price-value,
  .prices-section .package-price {
    font-size: 18px;
  }

  .prices-section .big-price {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  html.app-mode #section-prices .section-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
  }

  html.app-mode #section-prices .prices-section {
    flex: 1;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 0 0;
  }

  html.app-mode #section-prices .prices-section > .container {
    flex: 1;
    min-width: 0;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 12px 8px;
    -webkit-overflow-scrolling: touch;
  }

  html.app-mode #section-prices .prices-book-btn,
  html.app-mode #section-prices .prices-cta-note,
  html.app-mode #section-prices .package-note-bottom,
  html.app-mode #section-prices .halls-tabs-wrapper {
    display: none !important;
  }

  html.app-mode #section-prices .prices-header {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0 0 10px;
    padding: 20px 14px;
    min-height: 88px;
    border-radius: 14px;
    background-color: #120814;
    background-image: var(--prices-hall-bg, none);
    background-size: cover;
    background-position: center;
  }

  html.app-mode #section-prices .prices-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 3, 6, 0.25) 0%, rgba(6, 3, 6, 0.78) 100%);
  }

  html.app-mode #section-prices .prices-title {
    display: block;
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1.25;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  }

  .prices-section[data-hall="velur"] {
    --prices-hall-bg: url("../images/halls/velur.jpg?v=3");
  }

  .prices-section[data-hall="neon"] {
    --prices-hall-bg: url("../images/halls/neon.jpg?v=4");
  }

  .prices-section[data-hall="loft"],
  .prices-section[data-hall="combined"] {
    --prices-hall-bg: url("../images/halls/loft.jpg?v=3");
  }

  .prices-section[data-hall="hall"] {
    --prices-hall-bg: url("../images/gallery/photo-1.jpg");
  }

  #hall-combined .hall-name {
    font-size: 13px;
  }

  #hall-combined .hall-capacity,
  #hall-combined .hall-address {
    font-size: 12px;
  }

  html.app-mode #section-prices .prices-subtitle {
    display: none !important;
  }

  .prices-section {
    padding: 12px 0 24px;
    min-height: 0;
  }

  .prices-section > .container {
    padding: 0 16px;
  }

  .prices-section .prices-title {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .prices-section .prices-subtitle {
    display: none;
  }

  .prices-section .prices-header {
    margin-bottom: 8px;
  }

  .prices-section .halls-tabs-wrapper {
    display: none;
  }

  .prices-section .prices-hall-tab {
    padding: 6px 10px;
    font-size: 12px;
  }

  .prices-section .hall-info-bar {
    padding: 8px 10px;
    margin-bottom: 8px;
    gap: 6px;
  }

  .prices-section .hall-capacity,
  .prices-section .hall-address {
    font-size: 13px;
    font-weight: 600;
  }

  .prices-section .hall-name {
    font-size: 16px;
  }

  .prices-section .price-note-block {
    margin-bottom: 8px;
  }

  .prices-section .price-note-block p {
    font-size: 12px;
    margin: 2px 0;
    line-height: 1.3;
  }

  .prices-section .price-note-block .small {
    font-size: 11px;
  }

  .prices-section .hourly-prices-grid {
    gap: 8px;
    margin-bottom: 8px;
  }

  .prices-section .price-card {
    padding: 8px 12px;
  }

  .prices-section .price-card-header h4 {
    font-size: 13px;
    margin: 0 0 4px;
  }

  .prices-section .price-row {
    padding: 5px 0;
  }

  .prices-section .time-label,
  .prices-section .price-value {
    font-size: 14px;
  }

  .prices-section[data-price-view="hourly"] .packages-divider,
  .prices-section[data-price-view="hourly"] .packages-grid,
  .prices-section[data-price-view="hourly"] .package-note-bottom {
    display: none;
  }

  .prices-section[data-price-view="packages"] .hourly-prices-grid,
  .prices-section[data-price-view="packages"] .price-note-block {
    display: none;
  }

  .prices-section[data-price-view="packages"] .packages-divider {
    display: none;
  }

  .prices-section .packages-grid {
    gap: 8px;
    margin-bottom: 8px;
  }

  .prices-section .package-card {
    padding: 10px 12px;
  }

  .prices-section .package-header {
    margin-bottom: 8px;
  }

  .prices-section .package-duration {
    margin-bottom: 4px;
    padding: 3px 10px;
    font-size: 11px;
  }

  .prices-section .package-header h4 {
    font-size: 14px;
    margin: 0 0 2px;
  }

  .prices-section .package-prices {
    gap: 6px;
  }

  .prices-section .package-price-row {
    padding: 7px 8px;
    gap: 6px;
  }

  .prices-section .savings-label {
    font-size: 10px;
    padding: 3px 6px;
  }

  .prices-section .savings-amount {
    font-size: 14px;
  }

  .prices-section .package-main-price {
    padding: 4px 0 0;
  }

  .prices-section .big-price {
    font-size: 20px;
    margin-bottom: 0;
  }

  .prices-section .package-note-bottom {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.3;
  }
}
