:root {
    --background-color: rgb(240, 200, 194);
    --background-color-hover: rgb(235, 195, 191);
}

.pricing-table-container {
    background: var(--background-color);
    border-radius: 8px;
    border: 1px solid black;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin: 32px 0;
    overflow-x: auto;
}

.pricing-table-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    color: #1f2937;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid black;
    padding: 12px 16px;
}

.pricing-table th {
    background-color: var(--background-color);
    border-top: 1px solid black !important;
    font-weight: 600;
    color: #374151;
}

.pricing-table th.text-left {
    text-align: left;
}

.pricing-table th.text-center {
    text-align: center;
}

.pricing-table tbody tr {
    border-bottom: 1px solid black;
}

.pricing-table tbody tr:hover {
    background-color: var(--background-color-hover);
}

.category-cell {
    font-weight: 500;
    color: #1f2937;
    vertical-align: middle;
}

.category-adults {
    background-color: #f0fdf4;
}

.category-kids-10 {
    background-color: #fefce8;
}

.category-kids-6 {
    background-color: #fdf2f8;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.duration-cell {
    font-weight: 500;
    color: #374151;
}

.price-60min {
    text-align: center;
    font-weight: 700;
}

.price-45min {
    text-align: center;
    font-weight: 700;
}

.legend {
    margin-top: 16px;
    font-size: 0.875rem;
    color: #6b7280;
}

.legend-container {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color-60 {
    width: 16px;
    height: 16px;
    background-color: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 2px;
}

.legend-color-45 {
    width: 16px;
    height: 16px;
    background-color: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
    .pricing-table-container {
        padding: 16px;
        margin: 16px 0;
    }
    
    .pricing-table-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 8px 12px;
        font-size: 0.875rem;
    }
    
    .category-title {
        font-size: 1rem;
    }
}

.justify-between {
    justify-content: space-between;
}

:root{
    --accent: #f7b030; /* основний жовтий/помаранчевий */
    --dialog-radius: 12px;
    --dialog-max-w: 860px;
  }
  
  /* Оверлей */
  .custom-popup{
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10,10,12,0.58);
    z-index: 9999;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  }
  .custom-popup.open{ display:flex; }
  
  /* Діалог */
  .custom-popup__dialog{
    position: relative;
    width: min(var(--dialog-max-w), 96vw);
    background: #ffffff;
    border-radius: var(--dialog-radius);
    box-shadow: 0 24px 50px rgba(6, 12, 22, 0.55);
    overflow: visible; /* щоб аватар виходив над відступом */
  }
  
  /* тонка жовта смужка зліва */
  .custom-popup__dialog::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: var(--accent);
    z-index: 2;
  }
  
  /* Тіло (контент) */
  .custom-popup__body{
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    padding: 40px 34px 40px 42px; /* лівий паддінг дозволяє відступ від смужки */
    align-items: center;
    position: relative;
    z-index: 3;
  }
  
  /* Колонка з аватаром */
  .custom-popup__col--img{
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  /* Кругле фото з крапчастою рамкою */
  .avatar{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 10px; /* відступ між крапками і фото */
    background: #fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 4px dotted rgba(247,160,48,0.95); /* крапчаста рамка */
    /* трохи виступає за межі контенту — як на зображенні */
    margin-left: -36px;
    position: relative;
    z-index: 4;
  }
  .avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display:block;
  }
  
  /* Текстова частина */
  .custom-popup__title{
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.12;
    color: #0f1724; /* майже чорний */
    font-weight: 700;
  }
  .custom-popup__subtitle{
    font-size: 15px;
    margin-bottom: 12px;
    color: #111827;
    font-weight: 700;
  }
  
  /* Опис */
  .custom-popup__desc{
    margin: 0;
    color: #374151;
    font-size: 15.5px;
    line-height: 1.7;
  }
  
  /* Кнопка закриття — кружечок праворуч вгорі */
  .custom-popup__close{
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    color: black !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    font-size: 30px !important;
    cursor: pointer !important;
    z-index: 6 !important;
  }

  .custom-popup__close:hover{
    color: black !important;
  }
  
  /* Адаптив */
  @media (max-width: 720px){
    .custom-popup__body{
      grid-template-columns: 1fr;
      gap: 18px;
      padding: 20px;
    }
    .custom-popup__dialog::before{ display:none; } /* приховуємо вертикальну смужку на мобайлі */
    .avatar{
      margin-left: 0;
      width: 120px;
      height: 120px;
      padding: 8px;
      margin: 0 auto;
    }
    .custom-popup__title{ text-align:center; }
    .custom-popup__subtitle{ text-align:center; }
    .custom-popup__desc{ text-align:center; }
    .custom-popup__close{ right: 10px; top: 10px; }
  }
  
  /* корисна класика для екранних скринрідерів (необов'язково) */
  .visually-hidden{
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden; clip: rect(1px,1px,1px,1px);
    white-space: nowrap;
  }
  

.logo {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    height: auto;
}


.logo img {
    width: 100%;
    height: auto;
}



.review-image {
  width: 100% !important;
  height: auto !important;
}

.address-text {
  font-size: 28px;
}


@media screen and (max-width: 768px) {
  .hide-md {
    display: none !important;
  }
  .address-text {
    font-size: 20px !important;
  }
}


.my-icon-cool {
  transform: scale(2);
  margin-left: 15px;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}
.popup-close:hover {
  color: #000;
}

.popup-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  border: 2px solid #ddd;
  border-radius: 24px;
  padding: 12px 16px;
  font-size: 16px;
  outline: none;
  min-width: 0; /* Allows flex to shrink properly */
}
.form-input:focus {
  border-color: #f5a300;
}

.form-submit {
  display: inline-block !important;
  background: #f5a300 !important;
  border: none !important;
  border-radius: 24px !important;
  padding: 12px 28px;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #fff !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}
.form-submit:hover {
  background: #e59400 !important;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  margin-top: 16px;
  color: #444;
  line-height: 1.4;
}
.form-checkbox input {
  margin-top: 3px;
}

.my-popup-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-form-inner {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 6px solid #f5a300; /* жовта смужка */
  font-family: Arial, sans-serif;
}

.my-popup-form.open {
  opacity: 1;
  visibility: visible;
}

.my-popup-form .popup-form-inner {
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.my-popup-form.open .popup-form-inner {
  transform: scale(1);
}

.form-group {
  display: flex;
  gap: 10px;
}

@media screen and (max-width: 768px) {
  .form-group {
    flex-direction: column;
  }
}

.form-group .form-input {
  flex: 2;
}

.form-group .form-submit {
  flex: 1;
}

/* Popup phone input styling - make it wider and span 2 rows */
.popup-cf7-row input[type="tel"] {
  width: 100% !important;
  min-width: 280px !important;
  display: block !important;
  margin-bottom: 10px !important;
  padding: 12px 16px !important;
  border: 2px solid #f5a200 !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  background: #fff !important;
  outline: none !important;
}

.popup-cf7-row input[type="tel"]:focus {
  border-color: #e59400 !important;
  box-shadow: 0 0 5px rgba(245, 162, 0, 0.3) !important;
}

/* Make sure the popup form container is wide enough */
.popup-cf7-row {
  width: 100% !important;
  margin-bottom: 15px !important;
}

.popup-cf7-row p {
  width: 100% !important;
  margin-bottom: 0 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .popup-cf7-row input[type="tel"] {
    min-width: 250px !important;
    font-size: 14px !important;
  }
}