.details {
  display: flex;
  gap: 24px;
  border-radius: 12px;
  background: #fff;
  flex-wrap: wrap;
  align-items: flex-start;
}

.details .image-section {
  flex-shrink: 0;
  width: 260px;
  height: 170px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.details .image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.details .image-section img:hover {
  transform: scale(1.03);
}

.details .info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.details .info h2 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  text-transform: capitalize;
  margin-bottom: 8px;
}

.details .info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.details .info ul li {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
}

.details .info ul li i {
  color: #007bff;
  font-size: 16px;
  min-width: 22px;
  text-align: center;
}

.details .info ul li img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.details .info ul li:nth-child(2) {
  line-height: 25px;
}

.details .info ul li:nth-child(2) span {
  background-color: #058a07;
  color: #fff;
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.details .info ul li:nth-child(2) span i {
  color: #fff;
  font-size: 13px;
}

.details .info ul li:nth-child(2) h2 {
  font-size: 16px;
  color: #555;
  font-weight: 400;
  margin-left: 15px;
  margin-bottom: 0;
}

.details .info ul li .badges {
  display: flex;
  gap: 10px;
  margin-left: 10px;
}

.details .info ul li .badges .badge {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  padding: 0;
  gap: 0;
  color: #fff;
}

.details .info ul li .badges .claimed {
  background: none;
  color: #0071bc;
}

.details .info ul li .badges .claimed i {
  color: #0071bc;
  font-size: 13px;
}

.details .info ul li .badges .verified {
  background: none;
  color: #058a07;
}

.details .info ul li .badges .verified i {
  color: #058a07;
  font-size: 13px;
}

.details .info ul li .badges .premium {
  background: none;
  color: orange;
}

.details .info ul li .badges .premium i {
  color: orange;
  font-size: 13px;
}

.details .info ul li a {
  margin-top: 5px;
  text-decoration: none;
}

.details .info ul li a:first-child {
  background: #0678b1;
  color: #fff;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 16px;
}

.details .info ul li a:first-child i {
  color: #fff;
}

.details .info ul li a:nth-child(2) {
  background: #058a07;
  color: #fff;
  padding: 8px 10px;
  border-radius: 5px;
  margin-left: 10px;
  font-size: 16px;
}

.details .info ul li a:nth-child(2) i {
  color: #fff;
}

.details .info ul li .contactButton {
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.details .info ul li .contactButton .modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.details .info ul li .contactButton .modalContent {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 30px;
  max-width: 480px;
  width: 90%;
  position: relative;
  color: #fff;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  animation: popIn 0.4s ease-in-out;
}

.details .info ul li .contactButton .modalContent h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
}

.details .info ul li .contactButton .closeButton {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 28px;
  background: transparent;
  border: none;
  color: #ffffffcc;
  cursor: pointer;
  transition: color 0.2s;
}

.details .info ul li .contactButton .closeButton:hover {
  color: #ff4d4d;
}

.details .info ul li .contactButton .options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.details .info ul li .contactButton .share,
.details .info ul li .contactButton .whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

.details .info ul li .contactButton .share i,
.details .info ul li .contactButton .whatsapp i {
  font-size: 18px;
  color: #fff;
}

.details .info ul li .contactButton .share {
  background: linear-gradient(135deg, #0071bc, #005fa3);
}

.details .info ul li .contactButton .whatsapp {
  background: linear-gradient(135deg, #25d366, #1eb858);
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.tab {
  border-top: solid 1px #ddd;
  margin-top: 25px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.tab ul {
  display: flex;
  gap: 25px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0px 10px;
  min-width: max-content;
}

.tab ul li {
  padding: 15px 0px;
  transition: 0.5s;
  position: relative;
  font-size: 18px;
  color: #000;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.tab ul li::after {
  position: absolute;
  content: "";
  height: 4px;
  background: #0678b1;
  bottom: 0;
  width: 0%;
  left: 0;
  transition: 0.5s;
}

.tab ul li.active::after {
  width: 100%;
}

.description {
  padding: 20px 20px;
  border: solid 1px #ddd;
  border-radius: 5px;
  line-height: 25px;
}

.description h3 {
  font-size: 18px;
  color: #000;
  font-weight: 500;
  margin-bottom: 10px;
}

.description p {
  font-size: 16px;
  color: #333;
  margin-top: 20px;
  line-height: 24px;
}

.product-detail {
  border: solid 1px #ddd;
  margin-top: 25px;
  border-radius: 5px;
  width: 100%;
}

.product-detail .amenity {
  display: block;
  padding: 0px 20px;
  border-bottom: solid 1px #ddd;
}

.product-detail .amenity h2 {
  font-size: 20px;
  color: #000;
  font-weight: 500;
}

.product-detail .amenity ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 40px;
}

.product-detail .amenity ul li {
  display: block;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  padding: 20px 0px;
}

.product-detail .amenity ul li span {
  display: block;
  margin-top: 8px;
}

.product-detail .amenity ul li img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: auto;
}

.product-detail .detail-block {
  display: block;
  padding: 20px 20px;
  border-bottom: solid 1px #ddd;
}

.product-detail .detail-block:last-child {
  border: none;
}

.product-detail .detail-block h2 {
  font-size: 20px;
  color: #000;
  font-weight: 500;
}

.product-detail .detail-block ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.product-detail .detail-block ul li {
  display: block;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
}

.product-detail .detail-block ul li span {
  display: block;
}

.product-detail .detail-block ul li img {
  width: 40px;
  height: 40px;
  margin: auto;
  object-fit: cover;
}

/* Information */
.Information {
  border: solid 1px #ddd;
  margin-top: 25px;
  border-radius: 5px;
  padding: 20px 20px;
}

.Information h2 {
  font-size: 22px;
  color: #000;
  font-weight: 500;
}

.Information ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.Information ul li {
  display: block;
  line-height: 26px;
  font-size: 16px;
  margin-top: 20px;
}

.Information ul li span {
  display: block;
  font-size: 18px;
  color: #444;
  font-weight: 500;
}

/* Media Queries */
@media only screen and (max-width: 768px) and (min-width: 360px) {
  .details .image-section {
    width: 100%;
  }

  .details .info h2 {
    font-size: 20px;
  }

  .details .info ul {
    flex-wrap: wrap;
  }

  .details .info ul li {
    margin-bottom: 10px;
  }

  .details .info ul li:nth-child(3),
  .details .info ul li:nth-child(4) {
    flex-wrap: wrap;
  }

  .details .info ul li a {
    width: 48%;
    text-align: center;
  }

  .details .info ul li .contactButton {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    margin-top: 10px;
  }

  .details .info ul li .contactButton button {
    width: 48%;
    margin-left: 0;
  }

  .tab ul {
    gap: 25px;
    padding: 0px 10px;
  }
}

.photoSection {
  border: solid 1px #ddd;
  margin-top: 25px;
  border-radius: 5px;
  padding: 20px 20px;
  position: relative;
}

.photoSection .scrollLeft {
  position: absolute;
  top: 50%;
  left: 20px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  padding: 10px 15px;
  border: none;
}

.photoSection .scrollRight {
  position: absolute;
  top: 50%;
  right: 20px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  padding: 10px 15px;
  border: none;
}

.photoSection h2 {
  font-size: 22px;
  color: #000;
  font-weight: 500;
}

.photoSection .scrollGallery {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 20px;
  scrollbar-width: none;
}

.photoSection .scrollGallery li {
  flex: 0 0 auto;
  width: 24%;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 200px;
}

.photoSection .scrollGallery li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photoSection .uploadBtn {
  margin-top: 1rem;
  background-color: #0071bc;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.photoSection .uploadBtn:hover {
  background-color: #005a94;
}

@media only screen and (max-width: 768px) and (min-width: 360px) {
  .photoSection .scrollGallery li {
    height: 100px;
  }
}

.reviewSection {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 5px;
  color: #333;
  border: solid 1px #ddd;
}

.reviewSection .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviewSection .top h2 {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 1rem;
  color: #0071bc;
}

.reviewSummary {
  padding: 10px 0px;
}

.reviewSummary .avgRating {
  font-size: 18px;
  color: #0071bc;
  display: flex;
  align-items: center;
  gap: 6px;
}

.reviewSummary .avgRating i {
  color: orange;
}

.reviewSummary .outOf {
  font-size: 16px;
  color: #777;
}

.reviewSummary .totalReviews {
  font-size: 16px;
  color: #333;
  margin-top: 8px;
}

.reviewSummary .reviewCaption {
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}

.reviewSummary .ratingBreakdown {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  gap: 10px;
}

.reviewSummary .ratingBreakdown .starRow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #0071bc;
  margin-bottom: 4px;
}

.reviewSummary .ratingBreakdown .starRow span:first-child {
  width: 40px;
}

.reviewSummary .ratingBreakdown .starRow .progressBar {
  flex: 1;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.reviewSummary .ratingBreakdown .starRow .progressBar .filledBar {
  height: 100%;
  background-color: orange;
}

.reviewSummary .ratingBreakdown .starRow span:last-child {
  width: 20px;
  text-align: right;
}

.writeReviewLink {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1rem;
  color: #0071bc;
  text-decoration: none;
  border: 1px solid #0071bc;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.writeReviewLink:hover,
.writeReviewLink:focus {
  background-color: #0071bc;
  color: white;
  outline: none;
}

.tabs {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 1.5rem;
}

.tabs button {
  flex: 1;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: #555;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.tabs button:hover,
.tabs button:focus {
  color: #0071bc;
  outline: none;
}

.tabs button.active {
  border-bottom-color: #0071bc;
  color: #0071bc;
  font-weight: 700;
}

.reviewList {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reviewCard {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
}

.reviewHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.reviewHeader h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: #0071bc;
}

.reviewHeader .reviewDate {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

.reviewRatings {
  margin-bottom: 0.8rem;
}

.reviewCard p {
  margin-top: 10px;
}

.reviewRatings .stardata {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.6rem;
}

.reviewRatings .stardata p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

.reviewRatings .stardata p strong {
  font-weight: 600;
  margin-right: 0.3rem;
}

.reviewTags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.reviewTags .tag {
  color: #0071bc;
  padding: 6px 12px;
  border-radius: 5px;
  border: solid 1px #ddd;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.reviewRatings .tag i {
  font-size: 0.85rem;
}

.reviewRatings .reviewText {
  font-size: 1rem;
  line-height: 1.4;
  color: #444;
}

.starRating i {
  font-size: 1rem;
  vertical-align: middle;
}

.reviewActions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.reviewActions button {
  cursor: pointer;
  border: 1px solid #0071bc;
  background: white;
  color: #0071bc;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.reviewActions button:hover:not(:disabled),
.reviewActions button:focus:not(:disabled) {
  background-color: #0071bc;
  color: white;
  outline: none;
}

.reviewActions button:disabled {
  cursor: default;
  color: #999;
  border-color: #ccc;
  background: #f7f7f7;
}

.reviewActions .flagButton {
  border-color: #e74c3c;
  color: #e74c3c;
}

.reviewActions .flagButton:hover,
.reviewActions .flagButton:focus {
  background-color: #e74c3c;
  color: white;
}

.reviewActions .flaggedNotice {
  color: #e74c3c;
  font-weight: 700;
  font-size: 0.9rem;
}

.flagModalOverlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

.flagModalContent {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.2);
  text-align: center;
}

.flagModalContent h2 {
  font-size: 1.5rem;
  color: #e74c3c;
  margin-bottom: 1rem;
}

.flagModalContent p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
}

.flagModalContent .modalButtons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.flagModalContent .modalButtons button {
  flex: 1;
  padding: 0.5rem 0;
  font-weight: 700;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  color: #000;
}

.flagModalContent .modalButtons .confirmButton {
  background-color: #e74c3c;
  color: white;
}

.flagModalContent .modalButtons .confirmButton:hover,
.flagModalContent .modalButtons .confirmButton:focus {
  background-color: #c0392b;
  outline: none;
}

.flagModalContent .modalButtons .cancelButton {
  background-color: #ddd;
  color: #333;
}

.flagModalContent .modalButtons .cancelButton:hover,
.flagModalContent .modalButtons .cancelButton:focus {
  background-color: #bbb;
  outline: none;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 6px;
}

.pagination button {
  padding: 6px 12px;
  background: white;
  border: 1px solid #ccc;
  cursor: pointer;
  color: #000;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination .active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.social-share {
  list-style: none;
  padding: 20px 20px;
  margin: 0;
  display: flex;
  gap: 15px;
}

.social-share li {
  display: inline-block;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #333;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 18px;
}

.social-share a {
  background-color: #0077b5;
  color: #fff;
  transform: scale(1.1);
}

.social-share a[title="Facebook"]:hover {
  background-color: #3b5998;
}
.social-share a[title="Twitter"]:hover {
  background-color: #1da1f2;
}
.social-share a[title="Linkedin"]:hover {
  background-color: #0077b5;
}
.social-share a[title="Telegram"]:hover {
  background-color: #0088cc;
}
.social-share a[title="Skype"]:hover {
  background-color: #00aff0;
}

@media only screen and (max-width: 768px) and (min-width: 360px) {
  .reviewSection {
    padding: 20px 10px;
  }

  .reviewSection .top h2 {
    font-size: 20px;
  }

  .reviewSection .top a {
    padding: 8px 10px;
  }

  .reviewSection .reviewCard .reviewTags {
    margin-top: 10px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .reviewSection .reviewCard .reviewTags::-webkit-scrollbar {
    height: 6px;
  }

  .reviewSection .reviewCard .reviewTags::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }

  .reviewSection .reviewCard .tag {
    color: #0071bc;
    padding: 6px 12px;
    border-radius: 5px;
    border: solid 1px #ddd;
    font-size: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .reviewSection .reviewCard .tag i {
    font-size: 0.85rem;
  }
}
