    :root {
      --primary: #006d77;
      --accent: #83c5be;
      --bg: #f0f5f9;
      --card-bg: #ffffff;
      --text: #333;
      --subtle: #6c757d;
    }
    body {
      font-family: "Segoe UI", sans-serif;
      margin: 0;
      padding: 0;
      background-color: var(--bg);
      color: var(--text);
    }
    header {
      background-color: var(--primary);
      color: #fff;
      padding: 15px 10px;
      font-weight: bold;
      text-align: center;
    }

    .header-top {
  display: flex;
  align-items: center;
  background-color: var(--primary);
  color: #fff;
}

.header-top header {
  flex-grow: 1;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
}

 .container {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#sidebar {
  width: 280px;
  background: #fff;
  border-right: 1px solid #ccc;
  overflow-y: auto;
  padding: 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1000;
  flex-shrink: 0;
}

    #sidebar h4 {
      margin-top: 1.5rem;
      margin-bottom: 0.5rem;
      font-size: 1rem;
      color: var(--primary);
    }

    #sidebar hr {
      border: none;
      border-top: 1px solid #ccc;
      margin: 1rem 0;
    }

    #sidebar a, #sidebar .list-btn {
      display: block;
      background: none;
      border: none;
      color: var(--text);
      padding: 0.5rem 0;
      text-align: left;
      cursor: pointer;
      font-size: 1rem;
      width: 100%;
    }

    #sidebar a:hover, #sidebar .list-btn:hover {
      color: var(--primary);
    }

    #sidebar #cruise-dealBtn a {
      background: var(--primary);
      padding: 11px;
      font-weight: 600;
      font-size: large;
      text-align: center;
      color: white;
      text-decoration: none;
      width: auto;
    }

    .newSidebarList {
      font-size: 1.2rem; 
      margin-bottom: 1rem; 
      background: none;
      border: none;
    }
.searched-port-row {
    display: flex;
    align-items: baseline;
    background: #f7f7f7;
    padding: 4px 6px;
    border-radius: 25px;
    margin-bottom: 8px;
}

    .main {
  flex-grow: 1;
  overflow-y: auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0px 2px 0px 2px;
}

#hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  position: sticky;
  z-index: 99999;
  margin-right: 10px;
}

    #hamburger img {
  display: block;
  width: auto;
  height: 26px;
}

    .products-loaded {
      padding: 0 5px 0 5px;
    }

    .products-loaded a {
      font-size: 18px;
    }

    #para-menu {
      display: none;
    }

    #amz-shopBtn {
      margin-bottom: 15px;
    }

    .search-container {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem;
      gap: 0.5rem;
      background-color: #e6f0f2;
    }
    input[type="text"] {
      padding: 0.6rem 1rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      width: 300px;
      font-size: 1rem;
    }
    #search-btn{
      padding: 0.6rem 1.2rem;
      background-color: var(--primary);
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.2s ease;
    }
    #search-btn:hover {
      background-color: #004d52;
    }
    #map {
  height: 400px;
  width: 100%;
  min-height: 300px;
  flex-shrink: 0;
}

.plan-making-btn {
  display: flex;
  justify-content: center;
}

#installApp {
    background: linear-gradient(135deg, #007bff, #00c2ff);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    margin: auto;
    width: max-content;
}

#installApp:hover {
  background: linear-gradient(135deg, #005eff, #00aaff);
}

    #places {
      padding: 0 1rem;
      width: 85%;
      margin: 0 auto;
    }
    .place {
      background-color: var(--card-bg);
      border-radius: 12px;
      padding: 1rem;
      margin-bottom: 1rem;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }
    .place strong {
      font-size: 1.1rem;
      display: block;
      margin-bottom: 0.3rem;
      color: var(--primary);
    }
    .place .category {
      color: var(--subtle);
      font-size: 0.95rem;
    }
    .place .distance {
      margin-top: 0.5rem;
      font-size: 0.95rem;
      display: flex;
      gap: 1.2rem;
      color: #444;
    }
    .place-image-container {
    margin-top: 10px;
  }
    .place-img {
      width: 300px;
      height: 200px;
      object-fit: cover;
      border-radius: 8px;
      cursor: zoom-in;
      transition: transform 0.2s ease;
    }

    .place-img:hover {
      transform: scale(1.02);
    }

    .place-review {
      font-family: sans-serif;
      color: #333;
      line-height: 1.4;
      border-radius: 4px;
    }

    .view-more-btn {
      padding: 8px 16px;
      background-color: #ffffff;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 0.95rem;
      font-weight: 500;
      color: #333;
      cursor: pointer;
      transition: all 0.25s ease;
    }

    .view-more-btn:hover {
      background-color: #f7f7f7;
      border-color: #ccc;
    }

    .view-more-btn:active {
      background-color: #ececec;
      box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    }
    .cruisers-loved {
      border: 2px solid #ffa500;
      background-color: #fff8e1;
      box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
      animation: pulseGlow 1s ease-in-out infinite alternate;
    }
    .place.selected-day-plan {
      outline: 3px solid #007bff;
      background-color: #e6f0ff;
      transition: background-color 0.3s ease;
    }

    .place.day-plan-selectable {
  border: 2px dashed #007BFF;
  cursor: pointer;
  position: relative;
}
.place.day-plan-selected {
  background: #e6f0ff;
}
.place.day-plan-selected::after {
  content: "✔";
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 20px;
  color: green;
  font-weight: bold;
}

    @keyframes pulseGlow {
      from { box-shadow: 0 0 10px rgba(255, 165, 0, 0.3); }
      to   { box-shadow: 0 0 20px rgba(255, 165, 0, 0.5); }
    }

    .featured-destinations,
  .cruise-deals,
  .shore-excursions {
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  .featured-destinations h2,
  .cruise-deals h2,
  .shore-excursions h2 {
    margin-top: 0;
    color: var(--primary);
  }
  .destination-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .destination-card {
    flex: 1 1 calc(33.333% - 1rem);
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .destination-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
  }
  .cruise-deals ul,
  .shore-excursions ul {
    list-style: disc;
    padding-left: 1.25rem;
  }
  .cruise-deals li,
  .shore-excursions li {
    margin-bottom: 0.5rem;
  }
  .cruise-lines,
  .cruise-ports,
  .seasonal-specialty-cruises {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }
  .cruise-lines h2,
  .cruise-ports h2,
  .seasonal-specialty-cruises h2 {
    color: var(--primary);
    margin-top: 0;
  }
  .cruise-lines ul,
  .cruise-ports ul,
  .seasonal-specialty-cruises ul {
    list-style: disc;
    padding-left: 1.25rem;
  }
  .cruise-lines li,
  .cruise-ports li,
  .seasonal-specialty-cruises li {
    margin-bottom: 0.5rem;
  }

.plan-item {
  background: #f9f9f9;
  border-left: 4px solid #007BFF;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 6px;
  position: relative;
  font-size: 0.95em;
}

.plan-item strong {
  font-size: 1.1em;
  color: #333;
}

.plan-item a {
  color: #007BFF;
  text-decoration: none;
}

.plan-item a:hover {
  text-decoration: underline;
}

.plan-connector {
  position: relative;
  margin-left: 8px;
  padding-left: 10px;
}

.plan-connector .line {
  border-left: 2px dashed #bbb;
  height: 90px;
  margin-left: 5px;
  margin-bottom: 10px;
}

.plan-connector .distance-label {
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: 0.85em;
  color: #555;
}

.day-plan-modal-buttons button {
    margin-top: 8px;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#day-plan-title {
  font-size: 1.4em;
  color: #222;
  margin-bottom: 15px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

/* Random Ports Section */
.random-ports-section {
  margin: 5px 0;
  padding: 15px;
}

.random-ports-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  text-align: center;
}

.port-section {
  margin-bottom: 35px;
}

.port-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 5px;
}

.port-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
  cursor: pointer;
  margin: 0;
}

.port-name:hover {
  text-decoration: underline;
}

.see-more-btn {
  padding: 8px 16px;
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.25s ease;
}

.see-more-btn:hover {
   background-color: #f7f7f7;
   border-color: #ccc;
}

.places-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.places-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.places-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.places-scroll-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.places-scroll-container .place {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
}

    @media (max-width: 500px) {
      .header-top header {
        font-size: 1.1rem;
      }
      input[type="text"] {
        width: 100%;
      }
      .search-container {
        flex-direction: column;
      }
      #search-btn {
        width: 100%;
      }
    }
     @media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .search-container {
      padding: 0 1rem 1rem 1rem;
    }

  #sidebar {
    position: fixed;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99998;
  }

  #sidebar.open {
    transform: translateX(0);
  }

  #sidebar h4 {
    margin-top: 2.6rem;
  }

  #hamburger {
        display: flex;
      }

      #para-menu {
        display: block;
      margin-left: 5px;
    }

    #para-menu img {
      height: 16px;
    }

  .main {
    width: 100%;
    margin-left: 0;
  }
  #map {
    height: 300px;
  }
  .place-image-container {
    justify-content: center;
  }
  .destination-card {
      flex: 1 1 100%;
    }
    .calendar-option {
    display: block;
  }
}