@import url('https://fonts.googleapis.com/css2?family=Krub:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Noto+Sans+Thai:wght@600&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://unicons.iconscout.com/release/v4.0.0/css/line.css');

* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Noto Sans Thai', sans-serif;
}

.index-container {
  margin: 0 auto;
}

/* body {
  background-image: url("../images/banner-01.jpg");
  background-attachment: scroll;
  background-size: cover;
  font-family: 'Poppins', sans-serif;
} */
body {
  margin: 0;
  overflow-x: hidden;
  color: #363636;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/banner-01.webp") no-repeat center center;
  background-size: cover;
  z-index: -1;
  transition: opacity 0.5s ease-in-out;
}

body.cart-open {
  overflow: hidden;
}

.contactbut {
  font-size: 18px;
  text-align: right;
}

.contactbut .contact img {
  width: 120px;
  margin: 15px;
}

.contactbut img[src*="contact"] {
  animation: floatUpDown 3s ease-in-out infinite;
}

.contactbut img[src*="contact"].shaking {
  animation: shake 0.8s ease-in-out;
}

.contactbut img[src*="logo-2"] {
  animation: none !important;
}

.ihero {
  width: 200px;
  height: auto;
}

.hero-container {
  width: 80%;
  margin: 0 auto;
}


.rassadawelcome {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.dropdown-container {
  position: relative;
  width: 100%;
}

.rassadawelcome h1 {
  font-family: "DynaPuff", system-ui !important;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 120px;
  font-weight: 500;
  color: #F4A460;
}

.icon-head {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: end;
  /* background-color: #25537b50; */
  /* border-radius: 20px 20px; */
  overflow: visible;
}

.icon-head li {
  /* margin: 0 0.5rem; */
  position: relative;
  overflow: visible;

}

.icon-head li a {
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  letter-spacing: 0.3px;
  display: block;
  color: #262262;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.icon-head li a:hover {

  color: #fff;
  transform: translateY(-2px);
}

.icon-head li:not(.cart-container) img {
  animation: floatUpDown 3s ease-in-out infinite;
}

.icon-head li:not(.cart-container) img.shaking {
  animation: shake 0.5s ease-in-out;
}

/* ul li a {
  display: block;
  text-align: center;
  text-decoration: none;

} */

.cart-popup {
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wave-text span {
  margin: 0;
  display: inline-block;
  font-size: 90px;
  text-shadow: rgb(136, 136, 136) 2px 2px;
  animation: 2s ease-in-out 0s infinite normal none running wave;
  font-family: DynaPuff, system-ui !important;
  user-select: none;
}


.wave-text span:nth-child(1) {
  animation-delay: 0s;
}

.wave-text span:nth-child(2) {
  animation-delay: 0.2s;
}

.wave-text span:nth-child(3) {
  animation-delay: 0.4s;
}

.wave-text span:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes wave {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-3px) rotate(-5deg);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(3px) rotate(5deg);
  }
}

@keyframes shakeAndFloat {

  /* First 2 seconds: shake */
  0%,
  5% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }

  6%,
  10%,
  14%,
  18%,
  22% {
    transform: translateX(-3px) translateY(0) rotate(-5deg);
  }

  8%,
  12%,
  16%,
  20%,
  24% {
    transform: translateX(3px) translateY(0) rotate(5deg);
  }

  /* Pause */
  25%,
  40% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }

  /* Next 2 seconds: float up and down */
  50% {
    transform: translateX(0) translateY(-15px) rotate(0deg);
  }

  /* Pause */
  65%,
  100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
}

.rassadawelcome h2 {
  font-family: DynaPuff, system-ui !important;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 56px;
  font-weight: 400;
  color: rgb(255, 255, 255);
  text-shadow: rgb(136, 136, 136) 2px 2px;
  user-select: none;
}

.rassadawelcome h3 {
  font-size: 54px;
  font-weight: 600;
  color: #fff;
  line-height: 20px;
  padding-top: 25px;
  padding-bottom: 20px;
  text-shadow: rgba(0, 0, 0, 0.389) 2px 2px;
}

.rassadawelcome p {
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.389) 2px 2px;
}

.popup .option:hover {
  background: #f2f2f2;
}

.wheresearch-wrapper {
  display: flex;
  justify-content: center;
}

.wheresearch-wrapper,
.wheresearch {
  position: relative;
  z-index: 10;
}

.wheresearch-wrapper .wheresearch {
  background: #ffffffba;
  backdrop-filter: blur(10px);
  box-shadow: 0px 10px 30px -3px rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 16px;
  width: 70%;
  z-index: 2;
}

.wheresearch h2 {
  /* color: rgb(0, 0, 0);
  text-shadow: 0 0 2px #5b5b5b; */
  font-size: 16px;
  font-weight: 500;
  color: #292462;
}

.search-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr 1fr 80px;
}

.select-box {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  color: #6f6f6f;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-box:hover {
  border-color: #999;
}

.popup {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid #ddd;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 0;
  transform: translateY(-5px);
}

.popup.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.option {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #222;
  white-space: nowrap;
}

.option:hover {
  background: #f1f1f1;
}

.popup::-webkit-scrollbar {
  width: 4px;
}

.popup::-webkit-scrollbar-track {
  background: transparent;
}

.popup::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);

  border-radius: 10px;

  border: 1px solid transparent;
}

.field {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 150px;
  padding: 0px;
}

.field input,
.date-input {
  font-size: 14px;
  color: #999;
  padding: 12px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  width: auto;
}

.button-b {
  width: 100%;
  height: 100%;


}

.col-button {
  height: 100%;

}

.wheresearch button.btn {
  height: 100%;
  width: 100%;

}

.contactlogo {
  align-content: center;
}

.footer {
  width: 80%;
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 14px;
  flex-direction: column;
  row-gap: 15px;
  position: relative;
  z-index: 1;
  /* ไม่ต้องใช้ -1 */
}


.about-con {
  position: relative;
  width: 100%;
  display: flex;
  gap: 25px;
  justify-content: center;
}



/* จัด Contact logo ไปฝั่งขวา */
.contactlogo {
  display: flex;
  gap: 10px;
}

.about-con h2 {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
  color: #1b9ee4;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 3px 6px rgba(50, 50, 50, 0.545);
  position: relative;
  display: inline-block;
}

.about-con h2::after {
  content: "";
  display: block;
  width: 70%;
  height: 3px;
  background: linear-gradient(to right, #fff, #00b4d8);
  margin: 8px auto 0;
  border-radius: 2px;
}

.contactlogo a {
  padding: 10px;
}

a {
  color: #22b3c1;
  text-decoration: none !important;
}

.contactlogo img {
  max-width: 25px;
}

/* Modal background */
/* .modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
} */

.modal-content {
  background: #fff;
  /* padding: 20px; */
  /* max-height: 650px; */
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
  border-radius: 25px !important;
  overflow: hidden;

}


/* scrollbar style */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius: 8px;

}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

/* .modal-body {
  text-indent: 30px;
} */

.body-con {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 6px;
}

.photo-about {
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: space-evenly;
  gap: 10px;
}

#aboutModal.modal {
  overflow: unset;
}

tbody h5 {
  font-size: 16px;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin: 1rem 0;
}

thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

td {
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
}

tbody tr {
  transition: background-color 0.2s;
}

tbody tr:hover {
  background-color: #f7fafc;
}

.photo-about img {
  margin: 20px 0 0 0;
  max-width: 230px;
  max-height: 230px;
  width: 100%;
  height: auto;
  border-radius: 5%;
}

.photo-gallery {
  width: 100%;
  display: flex;
  padding-top: 15px;
  justify-content: center;
}

.photo-gallery span {
  text-indent: 5px;
  font-weight: 500;
}

.location-list {
  margin-top: 1rem;
  list-style-type: disc;

  list-style-position: outside;

  margin: 0;

}

.location-list li {
  margin-bottom: 8px;

  text-indent: 0;

}

.ticket-type {
  background: #fff;
  color: #3c5672;
  padding: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
}

.cart-container {
  position: relative;
  /* ให้ popup อิงตำแหน่งจาก container นี้ */
  display: inline-block;
}

.cart-container a img.cart-icon {
  width: 20px;
  height: 20px;
}

.cart-container .badge-cart-itemcount,
.hamburger .badge-cart-itemcount {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: #ff6a00;
  color: #363636;
  border-radius: 50%;
  z-index: 100;
  user-select: none;
  display: inline-block;
  height: 10px;
  width: 10px;
  line-height: 1;
}

.cart-container .badge-cart-itemcount.none,
.hamburger .badge-cart-itemcount.none {
  visibility: hidden;
}

/* popup cart */
.cart-popup {
  position: absolute;
  top: 100%;
  right: 5px;
  width: max-content;
  max-width: calc(100vw - 20px);
  max-height: 400px;
  display: flex;
  flex-direction: column;
  background: #ffffffef;
  border: 1px solid #eef0f5;
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0px 0px 14px 8px rgba(0, 0, 0, 0.1);
  margin-top: 8px;
  overflow: hidden;
  font-family: "Poppins";
  font-weight: 400;
  opacity: 1;
  z-index: 100;
  transition: opacity 0.3s ease;
}

/* Hide class */

.cart-popup.hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.cart-popup h4 {
  color: #676767 !important;
  letter-spacing: -1.5px;
}

.cart-popup h3 {
  color: #676767 !important;
  letter-spacing: -1.5px;
}

#cartItems {
  overflow-y: auto;
  max-height: 320px;
  min-width: 320px;
  max-width: 440px;
  width: 100%;
}

/* Total price ค้างด้านล่าง */
.total-price {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #cfcfcf;
  font-weight: 500;
  /* margin-bottom: 12px; */
  /* display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end; 
  gap: 10px;*/
}

.total-price .total {
  color: #ff560a;
  font-weight: 600;
  font-size: 20px;
}

.hidden {
  display: none;
}

.cart-item {
  border-bottom: 1px solid #cfcfcf;
  padding: 6px;
  margin: 0 5px;
  text-align: center;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item .ticket-route {
  color: #e9430e;
}

.cart-item .departure-date,
.cart-item .departure-time,
.cart-item .ticket-price {
  color: #e9430e;
  font-weight: 500;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ปุ่มลบ */
.remove-btn {
  background: none;
  border: none;
  color: #262262;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.remove-btn:hover {
  color: #f88282;
}

/* รายละเอียด */
.route {
  font-size: 15px;
  font-weight: bold;
  margin: 8px 0 3px;
}

.datetime,
.passengers {
  margin: 2px 0;
  font-size: 13px;
}

.price {
  margin: 8px 0 0 0;
  text-align: right;
  font-size: 15px;
  font-weight: 600;

}

.btn.btn-close-popup {
  padding: 4px 10px;
  background-color: #f3f3f7d0;
  outline: none;
  border: none;
}

.btn.btn-close-popup i {
  font-size: 16px;
  color: #363636;
}

.btn.btn-close-popup:hover {
  background-color: #e6e6eed0;
}

.btn-confirm:hover {
  background-color: #0056b3;
}

.btn-confirm {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #007BFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Close button */
.close {
  color: #333;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;


}

.close:hover {
  color: #0077b6;
}

.info-container {
  position: relative;
  display: inline-block;
}

.info-btn {
  cursor: pointer;
  font-weight: 600;
  color: #0077ff;
  padding: 6px 12px;
}


.info-popup {
  position: absolute;
  top: 120%;
  left: 0;
  background: rgb(255, 255, 255);
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  padding: 10px;

  gap: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  flex-direction: column;

  text-align: left;

  /* ทำให้เริ่มซ่อนอยู่ */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.info-popup a {
  text-decoration: none;
  color: #1c1b1b;
  font-size: 14px;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.info-popup a:hover {
  background: linear-gradient(135deg, #4facfeda, #00f1fee9);
}

/* เวลา hover ที่ info-container → popup โผล่ */
@media (hover: hover) and (pointer: fine) {
  .info-container:hover .info-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Mobile - click to show */
@media (hover: none) {
  .info-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.travel-plan-item .item-header {
  font-size: 16px;
  font-weight: 500;
  color: #1e2c9f !important;
  letter-spacing: -1px;
}

.travel-plan-date {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 5px;
}

.passenger-box {
  text-align: start;
}

.passenger-box .passenger-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

/* --- Responsive --- */
@media (max-width: 1208px) {
  .rassadawelcome h1 {
    font-size: 70px;
  }

  .contactlogo {
    gap: 0;
  }

  .contactlogo a {
    padding: 5px;
  }

  .rassadawelcome h2 {
    font-size: 36px;
  }

  .rassadawelcome h3 {
    font-size: 32px;
  }

  .search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wheresearch-wrapper .wheresearch {
    width: 80%;
  }

  .contactlogo {

    justify-content: center;
  }
}

@media(max-width: 991px) {
  .photo-about {
    grid-template-columns: auto auto;
  }

}

@media(max-width: 768px) {

  table {
    border: 0 !important;
  }

  /* Hide table headers */
  thead {
    display: none !important;
  }

  /* Make each row a card */
  tbody tr {
    display: block !important;
    margin-bottom: 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  }

  tbody tr:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  }

  /* Make cells behave like rows within the card */
  td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  td:last-child {
    border-bottom: 0 !important;
  }

  /* Show the data-label as a label before content */
  td:before {
    content: attr(data-label) !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0 !important;
  }

  td:after {
    content: '' !important;
    flex-grow: 1 !important;
  }
}

@media (max-width: 959px) {
  .contactbut {
    display: flex;

    justify-content: center;
  }

  .contactlogo a {
    padding: 0px;
  }

  .contactlogo {
    gap: 10px;
  }

  .contactbut .contact img {
    width: 100px;
    margin: 15px 0;
  }

  .icon-head {
    font-size: 16px;
  }

  .icon-head li a {
    padding: 5px 10px;
  }

  .icon-head .rassadawelcome h1 {
    font-size: 48px;
  }

  .rassadawelcome h2 {
    font-size: 24px;
  }

  .rassadawelcome h3 {
    font-size: 24px;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .wheresearch-wrapper .wheresearch {
    width: 95%;
    padding: 15px;
  }

  .button-b {
    margin-top: 10px;
  }


  .contactlogo {
    margin-top: 1rem;
    position: relative;
  }
}

@media (max-width: 616px) {
  .wave-text span {
    font-size: 48px;
  }

  .rassadawelcome h1 {
    font-size: 48px;
  }

  .icon-head {
    font-size: 12px;
  }


  .icon-head li a {
    padding: 5px;
  }

  .about-con h2 {
    font-size: 14px;
  }

  .about-con svg {
    width: 25px;
    height: 25px;
  }

  .about-con {
    gap: 2px;
  }

  .photo-about {
    grid-template-columns: auto auto;
  }
}

/* 1. Modal body scrollable */
/* .modal-bodymap {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 1rem 1.5rem;
} */

/* 2. Row images + map สูงเท่ากัน */
.row.align-items-stretch>[class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* 3. รูปภาพและ map responsive */
.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.img-fluid {
  width: 100%;
  height: auto;
  /* auto ปรับขนาดตามหน้าจอ */
  max-height: 350px;
  /* ลดสูงสุด */
}

/* 4. ปุ่ม Open in Google Maps ดันลงล่าง col */
.col-12.col-md-3.d-flex.flex-column.justify-content-end {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* ปุ่มเต็มความกว้าง col */
.col-12.col-md-3 a.btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* 5. Images responsive grid (หลายรูปภาพ) */
.image-layers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-radius: 25px;
}


.image-layers .img-wrapper {
  flex: 1 1 calc(33.333% - 0.5rem);
}

.image-layers img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#imageModal .modal-content {
  background: rgba(0, 0, 0, 0.95);
  /* ทำให้มืดทั้ง background */
}

#imageModal img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

/* 6. Responsive มือถือ */
@media (max-width: 992px) {
  .row.align-items-stretch>[class*="col-"] {
    height: auto;
  }

  .col-12.col-md-3.d-flex.flex-column.justify-content-end {
    margin-top: 1rem;
    justify-content: flex-start;
    /* ปุ่มอยู่ใต้ content */
  }

  .img-fluid {
    max-height: 250px;
  }

  .image-layers img {
    height: 150px;
  }
}


@media (max-width: 660px) {
  /* .cart-popup {
    position: fixed !important;
    top: 35% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90% !important;
    max-width: 400px !important;
    margin: 0 !important;
    z-index: 9999;
  } */
}

@media (max-width: 553px) {

  .icon-head li a {
    padding: 8px 8px;
    font-size: 12px;
  }

}

@media (max-width: 480px) {
  .wave-text span {
    font-size: 42px;
  }

  .rassadawelcome h1 {
    font-size: 42px;
  }

  .rassadawelcome h2 {
    font-size: 22px;
  }

  .rassadawelcome h3 {
    font-size: 22px;
  }

  .contactbut .contact img {
    width: 90px;
    margin: 12px 0;
  }

  .hero-container {
    width: 95%;
  }

  #cartItems {
    min-width: 300px;
  }

  button#goBtn.btn {
    height: 50px;
    font-size: 16px;
  }
}

@media (max-width: 400px) {

  .wave-text span {
    font-size: 38px;
  }

  .rassadawelcome h1 {
    font-size: 38px;
  }

  .rassadawelcome h2 {
    font-size: 20px;
  }

  .rassadawelcome h3 {
    font-size: 20px;
  }

  .rassadawelcome p {
    font-size: 14px;
  }

  .icon-head li a {
    padding: 8px 6px;
    font-size: 11px;
  }

  .wheresearch-wrapper .wheresearch {
    width: 98%;
    padding: 12px;
  }

  .wheresearch h2 {
    font-size: 14px;
  }

  #cartItems {
    min-width: 280px;
  }

  button#goBtn.btn {
    height: 50px;
    font-size: 15px;
  }

  .btn.btn-date-picker {
    padding: 10px 12px;
  }
}

@media (max-width: 360px) {
  .wave-text span {
    font-size: 32px;
  }

  .rassadawelcome h1 {
    font-size: 32px;
  }

  .rassadawelcome h2 {
    font-size: 18px;
  }

  .rassadawelcome h3 {
    font-size: 18px;
  }

  .rassadawelcome p {
    font-size: 13px;
  }

  .hero .ihero {
    height: 70px;
    width: auto;
  }

  .contactbut .contact img {
    width: 80px;
    margin: 10px 0;
  }

  .wheresearch h2 {
    font-size: 13px;
  }

  .select-box,
  .field input,
  .date-input {
    font-size: 13px;
    padding: 10px 12px;
  }

  .search-grid {
    gap: 12px;
  }

  #cartItems {
    min-width: 260px;
  }

  .cart-popup {
    padding: 12px;
  }

  .btn.btn-checkout {
    font-size: 14px;
    padding-left: 16px;
    padding-right: 16px;
  }

  button#goBtn.btn {
    height: 48px;
    font-size: 15px;
  }

  .btn.btn-date-picker {
    padding: 9px 11px;
    font-size: 13px;
  }
}

/* For webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #eeecec;
}

::-webkit-scrollbar-thumb {
  background: #adaeb1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7f8083;
}


.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #333;
}

.hamburger-menu svg {
  stroke: currentColor;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cart-item.empty {
  border-bottom: none;
  margin: 40px auto 80px;
}

.empty-cart-text {
  font-size: 16px;
  font-weight: 500;
  color: #5f5f5f;
}

@media (max-width: 768px) {
  .contactbut {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 3.5rem;
    border-bottom: 1px solid #d8d8d8fa;
    position: sticky;
    z-index: 100;
    top: 0;
    background-color: #ffffffc1;
  }

  .hamburger-menu {
    display: block;
    margin-right: 0.75rem;
  }

  .hero {
    margin-top: 2rem;
  }

  .hero .ihero {
    height: 86px;
    width: auto;
  }

  .rassadawelcome {
    margin-bottom: 1rem;
  }

  .rassadawelcome h3,
  .rassadawelcome p {
    font-size: 16px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
    padding: 0 !important;
  }

  .search-grid {
    margin-bottom: 0.75rem;
  }

  .wave-text span {
    font-size: 58px;
  }

  .icon-head {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    background: #ffffff;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    margin-top: 0;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .icon-head.active {
    display: grid;
    animation: slideDown 0.3s ease-out;
  }

  .icon-head li {
    width: 100%;
    background-color: #f2f5f7;
  }

  .icon-head li a {
    display: block;
    width: 100%;
    font-size: 15px;
    font-weight: 400;
  }

  .icon-head li a:hover,
  .icon-head li a:active,
  .icon-head li a:focus {
    color: #0056b3;
  }

  /* Info Container */
  .info-container {
    position: relative;
  }

  .info-popup.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  .info-popup {
    position: absolute;
    top: 40px;
    left: -20px;
    background: #ffffff;
    border: 1px solid #eef0f5;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 102;
    gap: 0;
  }

  .info-popup a {
    padding: 8px 8px 8px 20px !important;
    display: block;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
  }

  .cart-container {
    position: relative;
  }

  .cart-popup {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    min-width: 100%;
    border-radius: 0;
    margin-top: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    flex-direction: column;
  }

  .cart-popup h4 {
    color: #676767 !important;
    letter-spacing: -1.5px;
  }

  .cart-popup h3 {
    color: #676767 !important;
    letter-spacing: -1.5px;
  }

  #cartItems {
    max-height: calc(100vh - 100px);
    min-width: 100%;
    max-width: 100%;
    overflow: auto;
  }

  .cart-item.empty {
    border-bottom: none;
  }

  .badge {
    top: 5px;
    right: 10px;
  }

  .cart-container .dadge-cart-itemcount {
    right: 39px;
  }

  .total-price {
    font-size: 18px;
    font-weight: 500;
  }

  .template {
    text-align: start;
  }

  ::-webkit-scrollbar {
    width: 4px;
  }

  ::-webkit-scrollbar-track {
    background: #eeecec;
  }

  ::-webkit-scrollbar-thumb {
    background: #adaeb1;
    border-radius: 5px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #7f8083;
  }

}

@media (max-width: 768px),
(max-height: 768px) {

  body.cart-open {
    overflow: hidden;
  }

  .cart-popup {
    max-height: 100vh;
    min-height: 100vh;
    height: 100vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    bottom: 0;
  }
}

/* Flatpickr custom styling */
.flatpickr-calendar {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

.flatpickr-day.selected {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
}

.flatpickr-day:hover {
  background: #e7e7e7;
}

/* Desktop - 2 months horizontal */
@media (min-width: 768px) {
  .flatpickr-calendar {
    width: auto;
  }

  .flatpickr-calendar .flatpickr-months {
    flex-direction: row;
    display: flex;
  }
}

/* Mobile - 2 months vertical (stacked) */
@media (max-width: 767px) {
  .flatpickr-calendar {
    width: auto;
  }

  .flatpickr-calendar .flatpickr-months {
    flex-direction: column;
    display: flex;
  }

  .flatpickr-calendar .flatpickr-month {
    flex: 0 0 100%;
    width: 100%;
  }
}

.reservation :focus:not(:focus-visible) {
  border: solid 1px #fff
}

.type1,
.type-dd,
.guest,
.origin-ft,
.collap-arrow,
.lightpick__select,
.lightpick__toolbar button {
  color: #6f6f6f !important
}

.origin-ft i {
  float: right;
  margin-top: 5px;
}

.pr5 {
  padding-right: 25px;
  display: inline-block;
  padding-left: 10px;
  margin-bottom: 10px;
}

/**/

.cart-popup .btn.btn-checkout {
  height: 46px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 16px;
  border-radius: 12px;
}


.btn.btn-checkout {
  background-color: #ff560a;
  color: #ffffff;
  border: none;
  outline: none;
}

.btn.btn-checkout:hover,
.btn.btn-checkout:focus,
.btn.btn-checkout:active {
  background-color: #d64501 !important;
  color: #ffffff !important;
  border-color: #dd4600 !important;
  outline: none !important;
}

.btn.btn-sm.btn-remove {
  border: none;
  outline: none;
}

.btn.btn-sm.btn-remove i {
  font-size: 18px;
  color: #ff560a;
}

.btn.btn.btn-sm.btn-remove:hover {
  color: #ff560a !important;
  text-decoration: underline;
  outline: none !important;
  border: none !important;
}

.btn.btn.btn-sm.btn-remove:hover i {
  color: #f11010;
}


.btn.btn-remove-all {
  border: none;
  outline: none;
  color: #ff560a;
}

.btn.btn-remove-all:hover {
  color: #f11010 !important;
  text-decoration: underline;
  outline: none !important;
  border: none !important;
}

.btn.btn-remove-all i {
  font-size: 20px;
  color: #ff3d3d;
}

.btn.btn-date-picker {
  background-color: #ffffff !important;
  border-color: #ccc;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 8px;
  padding: 10px 14px;
}

.btn.btn-date-picker:hover {
  background-color: #ffffff !important;
  border-color: #999 !important;
  box-shadow: none !important;
}

.btn.btn-date-picker:focus,
.btn.btn-date-picker:active {
  outline: none;
  background-color: #ffffff !important;
  border-color: #f1f5f9 !important;
  box-shadow: none !important;
}

.inner-toggle {
  display: flex;
  align-items: center;
}

.date-dd-mm {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444444;
}

.dropdown-toggle::after {
  display: none !important;
}

/* //////// date picker ///////// */

.picker-wrapper {
  display: inline-block;
  position: relative;
}

@media (max-width: 768px) {
  .picker-wrapper {
    position: static;
  }
}

.picker-btn {
  padding: 12px 24px;
  background: #FF5A5F;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(255, 90, 95, 0.2);
}

.picker-btn:hover {
  background: #ff6c6f;
  box-shadow: 0 4px 12px rgba(255, 90, 95, 0.3);
}

.picker-btn:active {
  transform: scale(0.98);
}

.datepicker-modal {
  position: absolute;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  width: auto;
  min-width: 320px;
}

.datepicker-modal.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
  animation: slideUp 0.3s ease;
}

.datepicker-modal.top {
  animation: slideDown 0.3s ease;
}

.datepicker-modal button#prevBtn,
.datepicker-modal button#nextBtn {
  border-radius: 8px;
  background-color: #f2f8ff;
}

@keyframes slideUp {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px 10px;
  color: #666;
  transition: all 0.2s;
}

.calendar-header button i {
  color: #0056b3;
}

.calendar-header button:hover {
  color: #FF5A5F;
  transform: scale(1.2);
}

.calendars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 0;
  padding-bottom: 12px;
}

.calendar {
  min-width: 260px;
}

.calendar-title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  margin-bottom: 12px;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 8px;
}

.weekday {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  padding: 8px 0;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.day {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  color: #333;
  background: #ffffff;
}

.day:not(.other-month):not(.disabled):hover {
  background: #ffe1e2;
  border-color: #ffcccc;
}

.day.other-month {
  color: #ccc;
  cursor: default;
}

.day.selected {
  background: #FF5A5F;
  color: white;
  font-weight: 600;
  border-color: #FF5A5F;
}

.day.disabled {
  color: #ccc;
  cursor: not-allowed;
  background: #fafafa;
  opacity: 0.5;
}

.day.today {
  background: #FFE5E5;
  color: #FF5A5F;
  font-weight: 600;
  border-color: #FF5A5F;
  border: 2px solid #FF5A5F;
}

.selected-info {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.selected-info p {
  font-size: 14px;
  color: #666;
  margin: 8px 0;
}

.selected-info strong {
  color: #FF5A5F;
  font-size: 18px;
}

@media (max-width: 768px) {
  .calendars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .datepicker-modal {
    min-width: 90vw;
    max-width: 90vw;
  }

  .calendar:nth-child(2) {
    display: none;
  }

  .datepicker-modal.show {
    position: fixed !important;
    animation: none !important;
  }
}


/* Ferry Picker Modal Styles */
.ferry-picker-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  pointer-events: none;
  background: rgba(218, 218, 218, 0);
  backdrop-filter: blur(0);
  animation: fadeIn 0.2s ease;
  width: 100%;
  height: 100%;
}

@media (min-width: 769px) {
  .ferry-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    background: rgba(218, 218, 218, 0);
    backdrop-filter: blur(0);
  }
}

.ferry-picker-overlay.show {
  display: block;
  pointer-events: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.ferry-picker-modal {
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  position: fixed;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  display: flex;
  flex-direction: column;
  animation: slideDown 0.3s ease;
  z-index: 1001;
  overflow: hidden;
}

@media (min-width: 769px) {
  .ferry-picker-modal {
    position: fixed;
    bottom: auto;
    top: 0;
    left: 0;
    right: auto;
    width: 600px;
    height: auto;
    max-height: 440px;
    transform: none;
    margin-top: 0;
    border-radius: 16px;
    overflow: hidden;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .modal {
    animation: slideDown 0.3s ease;
  }
}

.ferry-picker-modal-header {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ferry-picker-modal-header {
    padding: max(16px, env(safe-area-inset-top)) 20px 16px 20px;
  }
}

.ferry-picker-modal-header h2 {
  color: #363636;
  font-size: 18px;
  font-weight: 600;
}

.ferry-picker-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #d1d5db;
  transition: all 0.2s ease;
  padding: 6px 10px;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.ferry-picker-modal-close:hover {
  background: #f3f4f6;
  color: #6b7280;
}

.ferry-picker-modal-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

@media (max-width: 768px) {
  .ferry-picker-modal-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
}

.ferry-picker-modal-section {
  display: flex;
  flex-direction: column;
  padding: 0px 8px;
  margin-bottom: 10px;
  gap: 0;
}

@media (max-width: 768px) {
  .ferry-picker-modal-section {
    padding: 16px 20px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

.ferry-picker-modal-section-title {
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  /* text-transform: uppercase; */
  margin-bottom: 12px;
  letter-spacing: 0.25px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: sticky;
  top: 0;
  background: #f9fafb;
  z-index: 10;
  padding: 12px 0 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .ferry-picker-modal-section-title {
    position: static;
    background: transparent;
    z-index: auto;
    padding: 8px 0;
    border-bottom: none;
    margin-bottom: 12px;
  }
}

.ferry-picker-modal-section-title::before {
  content: '';
  width: 3px;
  height: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.ferry-picker-modal-section-info {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 12px;
  font-weight: 500;
}

.ferry-picker-modal-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ferry-picker-modal-item {
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  background: #f9fafb;
  border: 1px solid transparent;
  user-select: none;
}

.ferry-picker-modal-item:hover:not(.disabled) {
  background: #f3f4f6;
  color: #667eea;
  transform: translateX(4px);
}

.ferry-picker-modal-item.selected {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border: 1px solid #667eea;
  color: #667eea;
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.05);
}

.ferry-picker-modal-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f3f4f6;
  color: #d1d5db;
}

.ferry-picker-modal-item.disabled:hover {
  transform: none;
  background: #f3f4f6;
}

/* Scrollbar styling */
.ferry-picker-modal-list::-webkit-scrollbar {
  width: 6px;
}

.ferry-picker-modal-list::-webkit-scrollbar-track {
  background: transparent;
}

.ferry-picker-modal-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.ferry-picker-modal-list::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .wheresearch-wrapper .wheresearch {
    border-radius: 10px;
  }

  .header h1 {
    font-size: 26px;
  }

  .card {
    padding: 24px;
  }

  /* .modal {
    border-radius: 16px 16px 0 0;
  } */

  button#goBtn.btn {
    height: 52px;
    border-radius: 10px !important;
    font-size: 16px;
    font-weight: 600;
  }

  .select-box {
    font-size: 15px;
    padding: 12px 14px;
    min-height: 44px;
  }

  .btn.btn-date-picker {
    min-height: 44px;
    font-size: 15px;
  }

  .field input,
  .date-input {
    min-height: 44px;
    font-size: 15px;
  }

  /* .modal-content {
    padding: 16px 20px;
  } */

  .modal-header {
    padding: 16px 20px;
  }

  .hero-container {
    width: 90%;
  }

  .travel-plan-item .ticket-route {
    flex-direction: column !important;
    align-items: start;
  }

  .travel-plan-item .ticket-route i {
    font-size: 1.25rem;
    transform: rotate(90deg);
    margin-left: 30px;
  }
}

.font-size-10 {
  font-size: 10px !important;
}

.font-size-11 {
  font-size: 11px !important;
}

.font-size-12 {
  font-size: 12px !important;
}

.font-size-13 {
  font-size: 13px !important;
}

.font-size-14 {
  font-size: 14px !important;
}

.font-size-15 {
  font-size: 15px !important;
}

.font-size-16 {
  font-size: 16px !important;
}

.font-size-17 {
  font-size: 17px !important;
}

.font-size-18 {
  font-size: 18px !important;
}

.font-size-19 {
  font-size: 19px !important;
}

.font-size-20 {
  font-size: 20px !important;
}


.font-w-400 {
  font-weight: 400;
}

.font-w-500 {
  font-weight: 500;
}

.font-w-600 {
  font-weight: 600;
}

/* modal about */
#aboutRassadaPierModal .modal-body,
#mapModal .modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 28px);
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #764ba2;
}

#aboutRassadaPierModal .info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
}

#aboutRassadaPierModal .info-table th,
.info-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
}

#aboutRassadaPierModal .info-table th {
  background: #2a5298;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.5px;
}

#aboutRassadaPierModal .info-table tr:last-child td {
  border-bottom: none;
}

#aboutRassadaPierModal .info-table tr:hover {
  background: #e9ecef;
}

#aboutRassadaPierModal h2 {
  color: #1e3c72;
  font-size: 1.8em;
  margin: 30px 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #667eea;
  border-image: linear-gradient(to right, #667eea, #5369c9) 1;
  letter-spacing: -0.5px;
}

#aboutRassadaPierModal h3 {
  color: #2a5298;
  font-size: 1.4em;
  margin: 25px 0 10px 0;
  letter-spacing: -0.5px;
}

#aboutRassadaPierModal h4 {
  font-size: 1.25em;
  letter-spacing: -0.5px;
}

#aboutRassadaPierModal p {
  margin-bottom: 15px;
  line-height: 1.5;
  color: #333;
}

#aboutRassadaPierModal ul {
  margin: 15px 0 15px 30px;
}

#aboutRassadaPierModal li {
  margin-bottom: 10px;
  line-height: 1.8;
}

#aboutRassadaPierModal .highlight-box {
  background: linear-gradient(135deg, #3F51B5 0%, #4390ff 100%);
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

#aboutRassadaPierModal .highlight-box p {
  color: #ffffff;
  font-weight: 400 !important;
}

#aboutRassadaPierModal .highlight-box h3 {
  color: #ffffff;
  margin-top: 0;
}

.timeline {
  position: relative;
  padding-left: 30px;
  margin: 20px 0;
}

#aboutRassadaPierModal .timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: -8px;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #8499f7 0%, #2648e4 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
  padding-left: 25px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -17px;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #667eea;
}

.timeline-item h4 {
  color: #2a5298;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .modal-header h1 {
    font-size: 2em;
  }

  .info-table {
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .info-table th,
  .info-table td {
    padding: 10px;
    font-size: 16px;
  }

  #aboutRassadaPierModal h2 {
    font-size: 1.5em;
  }

  #aboutRassadaPierModal .main-content h1 {
    font-size: 2em;
  }
}

a.wiki-link {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

a.wiki-link:hover {
  text-decoration: underline !important;
}

.highlight-box a.wiki-link {
  color: #ff560a !important;
}

/* Popup */
#wiki-preview {
  position: fixed;
  max-width: 360px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
  z-index: 9999;
  display: none;
}

#wiki-preview-header {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}

#wiki-preview-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  display: none;
}

#wiki-preview-title {
  font-weight: 600;
  margin-bottom: 2px;
}

#wiki-preview-url {
  font-size: 11px;
  color: #4285f4;
  margin-bottom: 6px;
}

#wiki-preview-summary {
  color: #555;
  line-height: 1.4;
}

#goBtn .spinner-border-sm {
  width: 1.5rem;
  height: 1.5rem;
  border-width: 4px;
}

.header-bar #left-logo {
  visibility: hidden;
  display: none;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-bar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.75rem;
}

.header-bar .icon-home {
  font-weight: 600;
}

@media (max-width: 768px) {
  .contactbut {
    text-align: center;
  }

  .header-bar #left-logo {
    display: block;
    visibility: visible;
  }

  .logo img {
    height: 36px;
    width: 36px;
  }

  .cart-container .badge-cart-itemcount {
    right: 46px;
  }

  .modal#aboutRassadaPierModal .modal-content,
  .modal#mapModal .modal-content {
    border-radius: 0 !important;
  }
}