/* Nearby Spots Styling */
.nearby-spot-list .nearby-spot-image {
	transition: transform 0.3s ease;
}

.nearby-spot-list li:hover .nearby-spot-image img {
	transform: scale(1.05);
}

.nearby-spot-list .card {
	transition: box-shadow 0.3s ease;
}

.nearby-spot-list .card:hover {
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

	
.business-list-detail{
	margin-left:0!important;
	padding-left:0!important;
	li{
		list-style-type: none;
		margin-left:0;
		padding-left:0;
	}
}
.vss-places-data h4{
	font-weight: bold;
	padding-left: 0!important;
	margin-left: 0!important;
	padding-bottom: 5px;
	margin-bottom: 0;
	color: #00B6BA;
	font-size:16px;
	display: inline-block;

}
.vss-places-data span{
	display: inline-block;
	font-size: 12px;
	background: #313131;
	color:white;
	font-weight: 600;
	padding: 2px 6px;
	border-radius:3px;
}
.vss-places-data li span.star{
	background: transparent!important;
}
ul.vss-places-data {
	list-style-type: none;
	padding-left: 0!important;
	margin-left: 0!important;
	max-width:90%;
	
}
.vss-places-data li{
	list-style-type: none;
	padding-left: 0;
	margin-left: 0;
	
}
.vss-places-data small{
	font-size: 14px;
	line-height: 16px!important;
}
.place-detail-corner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* Optional, if you want wrapping on small screens */
}

.vss-places-data {
  flex: 1 1 auto;
  margin-right: 20px; /* Optional spacing */
}

.action-btns {
  display: flex;
  flex-direction: row;
  align-items: flex-end; 
  margin-top:5px;/* Align buttons to the right */
  margin-bottom: 2px;
}
@media (min-width: 768px) {
	.action-btns {
		margin-top:40px;
		margin-bottom: 2px;
		flex-direction: column;
	}
}
.star {
	color: #00B6BA!important;
	font-size: .75rem!important;
	margin-right: 2px!important;
}

.empty-star {
	color: white!important;
}
.place-detail-corner{
	display: flex;
	position: relative;
	border-bottom:1px solid #e4e4e4;
	margin-bottom: 20px;
}

@media (min-width: 768px) {
	.go2details{
		margin-bottom: 2px;
		margin-right: 0px;
	}
}
.call{
	position: relative;
	  overflow: hidden;
	  border-radius: 5px !important;
	  border: 1px solid #00B6BA !important;
	  background: white;
	  cursor: pointer;
	  font-size: 14px !important;
	  font-weight: 800;
	  color: #00B6BA;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  padding: 2px 10px;
	  margin-left: auto;
	  margin-top: 10px;
	  margin-bottom: 20px;
	  position: relative;
	  text-decoration: none !important;
	  white-space: nowrap;
	  gap: 6px;
	  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.3s ease;
	  z-index: 1;
}
.add-to-list,
.add-love-button {
  position: relative;
  overflow: hidden;
  border-radius: 5px !important;
  border: 1px solid transparent !important;
  background: #00B6BA;
  cursor: pointer;
  font-size: 14px !important;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px 4px 10px;
  margin-left: auto;
  margin-top: 10px;
  margin-bottom: 20px;
  position: relative;
  text-decoration: none !important;
  white-space: nowrap;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.3s ease;
  z-index: 1;
  @media (min-width: 768px) {
	  font-size: 14px !important;
  }
}

.entry-content{
	position: relative;
}
.entry-content .add-love-button:first-of-type {
	position: fixed;
	right:0%;
	bottom:0px;
	margin-bottom:0!important;
	padding: 4px 10px 8px 10px!important;
	border-radius: 0!important;
	width: 100%;
	@media (min-width: 768px) {
		position: relative;
		right:0%;
		top:-70px;
		border-radius: inherit;
		width: auto;
	}
}
.entry-content .add-love-button:last-of-type {

	@media (max-width: 768px) {
		display: none;
		
	}
}
.spot-details-page .add-to-list{
	@media (max-width: 768px) {
		padding: 12px 12px;
		border-radius: 0!important;
		font-size: 15px !important;
		position: fixed;
		bottom: 0;
		width: 100%;
		left: -5px;
		right: 0;
		margin-bottom: 0!important;
	}
}
.go2details{
	border-radius: 5px;
	border: 1px solid #00B6BA;
	font-size: 12px!important;
	font-weight: 800;
	color: #00B6BA;
	display: block;
	font-family: helvetica-neue-world, sans-serif;
	height: auto;
	text-decoration: none!important;
	text-align: center;
	background: #313131;
	padding: 5px 12px 10px 12px;
	margin-left: auto;
	line-height: 1.3125em;
	margin-bottom: 20px;
	margin-right: 13px;
	@media (min-width: 768px) {
		margin-right: 0;
		font-size: 14px!important;
	}
}

@media (min-width: 768px) {
	.main-pics {
		width: auto;
		max-width: 80vw; 
	}
}

.add-to-list::before,
.add-love-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background-color: white;
  z-index: 0;
  transition: width 0.4s ease;
}

.add-to-list:hover::before,
.add-love-button:hover::before {
  width: 100%;
}

.add-to-list:hover,
.add-love-button:hover {
  color: white !important;
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 182, 186, 0.3);
}

/* Ensure the contents stay on top */
.add-to-list *,
.add-love-button * {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.add-to-list:hover img,
.add-love-button:hover img {
  transform: scale(1.1);
}

.add-to-list:hover span,
.add-love-button:hover span {
  color: #00B6BA;
}
.add-love-button img {
  transition: transform 0.3s ease;
  z-index: 1;
}
.add-love-button:hover img {
  content: url('../images/heart.png'); /* replace with actual white icon path */
  transform: scale(1.1);
}

.vso-add-spot img{
	transition: transform 0.3s ease;
	  z-index: 1;
}
.vso-add-spot:hover img{
	content: url('../images/heart.png'); /* replace with actual white icon path */
  transform: scale(1.1);
}

.vso-trigger-login:hover img{
	content: url('../images/addlist.png'); /* replace with actual white icon path */
  transform: scale(1.1);
}


.add-love-button img{
	margin-top: 8px;
}
.concierge-head{
	font-weight: 600!important;
	color: #00B6BA!important;
	font-size: .9125em!important
}
.bg-blur {
	position: absolute;
	width: 100%;
	height: 100%;
}
.container-header-spot {
	position: relative;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
	height: calc(100vw / 2);
}
@media (min-width: 992px) {
	.container-header-spot{
		height: calc(100vw / 3.63);
	}
}
.main-pics {
	position: absolute;
	z-index: 1;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: center; /* Align images side by side */
	align-items: center; /* Align images vertically */
	gap: 10px; /* Add spacing between images */
	width: 80%;
	max-width: 35vw; /* Adjust width relative to viewport */
	height: auto;
	white-space: nowrap; 
	/* Prevent images from wrapping to the next line */
}
@media (min-width: 992px) {
	.main-pics {
		width: auto;
		max-width: 80vw; 
	}
}

.main-pics img {
	width: auto; 
	height: calc(100vw / 2);
	object-fit: cover;
	border-left: 1px solid rgba(255,255,255,.5);
	border-right: 1px solid rgba(255,255,255,.5); /* Scale image properly */
}
@media (min-width: 992px) {
	.main-pics img{
		height: calc(100vw / 3.63);
	}
}

.formatted-ai{
	font-size:15px;
	font-weight: 500;
	line-height: 160%;
	margin-top: 15px;
}

.address{
	font-size: .6125em;
	font-weight: 400;
	text-align: center;
	padding: .375em;
	margin-bottom: 0!important;
	text-align: left;
	border: 1px solid #f1f1f1;
	background: #fafafa;
	border-radius: 6px;
	color: #171717;
	font-family: system-ui;
}
.sm-spot-text{
	font-size: 13px!important;
	line-height: 19px;
}
.rating-text{
	background-color: rgba(0, 182, 186,.65);
	font-size:12px;
	font-weight:bold;
	margin-top:15px;
	padding: 10px 4px 0 4px;
	border-radius:50%;
	line-height:150%;
	text-align:center;
	display: inline-block;
	width:55px;
	height: 55px;
	color: white;
}

.walking-text{
	background-color: rgba(0, 182, 186,.95);
	font-size:10px;
	font-weight:900;
	margin-top:15px;
	padding: 5px 2px 0 2px;
	border-radius:50%;
	line-height:150%;
	text-align:center;
	display: inline-block;
	width:45px;
	height: 45px;
	color: white;
	position: absolute;
	right: 20px;
	top:20px;
}

.status-b{
	background:#171717;
	color: white!important;
	font-weight: 600;
	display: inline-block;
	white-space: nowrap!important;
	border-radius: 3px;
	padding: 4px 6px 6px 7px!important;
	text-align: center;
	font-size: 10px!important;
	text-transform: uppercase;
	line-height: 16px!important;
}
.attribution-mandate{
	position: absolute;
	color:black;
	font-size:10px; 
	top:15%; 
	left:80%; 
	z-index:10;
}
@media (min-width: 992px) {
	.attribution-mandate{
		top:35%; 
		left:20px; 
	}
}
.weblink {
	span {
		display: inline-block;
		border-radius: 100px;
		line-height: 12px;
		border: 1px solid rgba(255,255,255,.5);
		color: white;
		font-size: 0.6125em;
		font-weight: 600;
		max-width: 140px;
		background-color: #00B6BA !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		margin-top: 4px;
		padding: 2px 6px 3px 6px; // Ensure padding for better appearance
	}
	img{
		margin-right:4px;
	}
	
	a {
		color: white!important;
		text-decoration: none;
		display: inline-block;
		max-width: 100%;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

.list-unstyled{
	padding: 12px;
	background: #f7f7f7;
	border-radius: 6px;
	width: 50%;
	margin-top: 40px;
	&.hours{
		list-style-type: none!important;
		font-size: 11px;
		font-weight: 800;
		text-align: left;
		margin-top: 15px;
		
	}
	li{
		list-style-type: none!important;
		padding-left: 10px!important;
		
	}
}
.hours li{
	padding-left: 10px!important;
}
.container-header-content h1{
	font-weight:700; 
	font-size: 1em
}
@media (min-width: 992px) {
	.container-header-content h1{
		font-weight:700; 
		font-size: 1.5em
	}
}
.list-unstyled {
	list-style-type: none!important;
	margin-left: 0!important;
	
}
.list-unstyled li{
	list-style-type: none;
	margin-left: 0!important;
}
.row .col img.fixBtn{
	margin-bottom: 0!important;
	width:12px!important;
}
.nearby-spot-list {
	background: transparent;
	margin-left:0;
	padding-left: 0;
}
.nearby-spot-list  li{
	margin-left:0;
	padding-left: 0;
	position: relative;
}
.nearby-spot-list  li h6 a{
	color:#00B6BA!important;
	font-size: 16px;
}
.bg-transparent {
	background-color: transparent !important;
}
@media only screen and (max-width: 690px) {
	.vss-plugin .container {
		max-width: 660px!important;
	}
}

/* ============================================
   Tooltip System for Unlogged Users
   ============================================ */

/* Wrapper for button + tooltip */
.vss-tooltip-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Ensure wrapper is visible for unlogged users */
.vss-tooltip-wrapper:has(.vso-trigger-login) {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Only show tooltips for unlogged users (buttons with vso-trigger-login) */
.vss-tooltip-wrapper:has(.vso-trigger-login) .vss-tooltip,
.vss-tooltip-wrapper:has(.vso-trigger-login) .vss-info-icon {
  /* Enabled for unlogged users */
}

/* Hide tooltips for logged-in users */
.vss-tooltip-wrapper:has(.vso-add-spot:not(.vso-trigger-login)) .vss-tooltip,
.vss-tooltip-wrapper:has(.vso-add-spot:not(.vso-trigger-login)) .vss-info-icon,
.vss-tooltip-wrapper:has(.vso-favorite-article:not(.vso-trigger-login)) .vss-tooltip,
.vss-tooltip-wrapper:has(.vso-favorite-article:not(.vso-trigger-login)) .vss-info-icon {
  display: none !important;
}

/* Base tooltip styles */
.vss-tooltip {
  position: absolute;
  background: #313131;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Tooltip arrow */
.vss-tooltip::before {
  content: '';
  position: absolute;
  border: 6px solid transparent;
}

/* Desktop: Show tooltip below button on hover */
@media (min-width: 769px) {
  .vss-info-icon {
    display: none;
  }

  .vss-tooltip {
    bottom: auto;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
  }

  .vss-tooltip::before {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #313131;
  }

  /* Show tooltip on hover */
  .vss-tooltip-wrapper:hover .vss-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  /* Keep first Add to Favourites button on the right on desktop */
  /* Use child combinator > to only match direct children, not nested wrappers from shortcodes */
  .entry-content > .vss-tooltip-wrapper:has(.add-love-button):first-of-type {
    display: inline-flex;
    float: right;
    clear: both;
  }

  /* Second Add to Favourites button stays inline at end of content */
  /* Use child combinator > to only match direct children, not nested wrappers from shortcodes */
  .entry-content > .vss-tooltip-wrapper:has(.add-love-button):last-of-type {
    display: inline-flex;
    float: right;
    clear: both;
  }
}

/* Fix wrapped buttons to maintain proper styling */
.vss-tooltip-wrapper .add-love-button,
.vss-tooltip-wrapper .add-to-list {
  border-radius: 5px !important;
  margin-left: 0;
}

/* Ensure border-radius on desktop overrides inherit */
@media (min-width: 768px) {
  .entry-content .vss-tooltip-wrapper .add-love-button {
    border-radius: 5px !important;
  }
}

/* Mobile: Show [i] icon and click-to-reveal tooltip */
@media (max-width: 768px) {
  .vss-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .vss-info-icon svg {
    width: 20px;
    height: 20px;
  }

  /* Mobile tooltip positioning - show above icon */
  .vss-tooltip {
    bottom: calc(100% + 10px);
    top: auto;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    max-width: 200px;
    white-space: normal;
    text-align: center;
  }

  .vss-tooltip::before {
    bottom: -12px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #313131;
    border-bottom-color: transparent;
  }

  /* Show tooltip when active class is added via JS */
  .vss-tooltip.vss-tooltip-active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Special handling for fixed bottom buttons on mobile */
@media (max-width: 768px) {
  /* Fixed Add to Favourites button (first instance) - only target add-love-button */
  /* Use child combinator > to only match direct children, not nested wrappers from shortcodes */
  .entry-content > .vss-tooltip-wrapper:has(.add-love-button):first-of-type {
    position: fixed !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 0 !important;
    z-index: 999 !important;
    display: flex !important;
  }

  .entry-content > .vss-tooltip-wrapper:has(.add-love-button):first-of-type .add-love-button {
    flex: 1;
    margin: 0;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
  }

  /* Position [i] icon at right edge for fixed bottom button */
  .entry-content > .vss-tooltip-wrapper:has(.add-love-button):first-of-type .vss-info-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Tooltip for fixed button should appear above */
  .entry-content > .vss-tooltip-wrapper:has(.add-love-button):first-of-type .vss-tooltip {
    bottom: calc(100% + 10px);
    right: 12px;
    left: auto;
    transform: translateX(0) translateY(5px);
  }

  .entry-content > .vss-tooltip-wrapper:has(.add-love-button):first-of-type .vss-tooltip.vss-tooltip-active {
    transform: translateX(0) translateY(0);
  }

  .entry-content > .vss-tooltip-wrapper:has(.add-love-button):first-of-type .vss-tooltip::before {
    left: auto;
    right: 20px;
  }

  /* Hide second Add to Favourites button on mobile (matching logged-in behavior) */
  /* Use child combinator > to only match direct children, not nested wrappers from shortcodes */
  .entry-content > .vss-tooltip-wrapper:has(.add-love-button):last-of-type {
    display: none !important;
  }

  /* Fixed Save Spot button on spot details page */
  .spot-details-page .vss-tooltip-wrapper:has(.add-to-list) {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    z-index: 999;
  }

  .spot-details-page .vss-tooltip-wrapper:has(.add-to-list) .add-to-list {
    position: static !important;
    left: auto !important;
    width: 100%;
    margin: 0;
  }

  /* Position [i] icon at right edge on spot details page */
  .spot-details-page .vss-tooltip-wrapper:has(.add-to-list) .vss-info-icon {
    position: absolute;
    right: 12px;
    top: 12px;
    transform: none;
    z-index: 1000;
  }

  .spot-details-page .vss-tooltip-wrapper:has(.add-to-list) .vss-tooltip {
    position: fixed;
    bottom: 60px;
    right: 12px;
    left: auto;
    transform: translateY(-5px);
  }

  .spot-details-page .vss-tooltip-wrapper:has(.add-to-list) .vss-tooltip.vss-tooltip-active {
    transform: translateY(0);
    opacity: 1;
  }

  .spot-details-page .vss-tooltip-wrapper:has(.add-to-list) .vss-tooltip::before {
    left: auto;
    right: 20px;
    transform: translateX(0);
  }
}

/* Ensure wrapper doesn't break existing button layout */
.action-btns .vss-tooltip-wrapper {
  display: inline-flex;
  width: auto;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.action-btns .vss-tooltip-wrapper .add-to-list {
  flex: 0 1 auto;
}

@media (min-width: 768px) {
  .action-btns .vss-tooltip-wrapper {
    display: inline-flex;
    width: auto;
  }

  .action-btns .vss-tooltip-wrapper .add-to-list {
    flex: 0 1 auto;
  }
}