.map-carousel-wrapper {
	background: #83CBC5 url(https://images.marapets.com/decade/aushop-treasuremap4.png) no-repeat center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 auto;
}

.map-carousel-container {
	width: 800px;
	overflow: hidden;
	position: relative;
	margin-top:25px;
	margin-bottom:15px;
}

.map-carousel-track {
	display: flex;
	gap: 20px;
	overflow-x: scroll;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.map-carousel-track::-webkit-scrollbar {
	display: none;
}

.map-carousel-track::before,
.map-carousel-track::after {
	content: '';
	flex: 0 0 20px;
}

.map-carousel-item {
	flex: 0 0 80%;
  	max-width: 150px;        
	background-color: rgba(255, 255, 255, 0.95);  
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	scroll-snap-align: start;
	position: relative;
	padding: 10px;
	text-align: center; 
	border: 1px solid var(--colour-line, #e8e8e8);
}
.map-onsale {
	border: 2px solid #C33;
}
.slideshow {
	width: 80px;
	height: 80px;
	margin: 0 auto 8px auto;
	position: relative;
	overflow: hidden;
	border: 1px solid var(--colour-line-strong, #ccc);
	border-radius: 6px;
	background: var(--colour-surface, #fff);
}

.slideshow img {
	position: absolute;
	top: 0; left: 0;
	width: 80px;
	height: 80px;
	object-fit: cover;
	opacity: 0; 
	transition: opacity 1s ease;
}
.slideshow img.active {
	opacity: 1;
}

.item-title-box {
   display: flex;
   align-items:center;
   justify-content:center;
   vertical-align:middle;
}


.map-box-bottom {
   display: flex;
   align-items:center;
   justify-content:center;
   vertical-align:middle;
   margin-top:10px;
   padding: 4px 6px 4px 6px;
}

.map-box-bottom-txt {
  background: var(--colour-surface, #FFF);
  border-radius: 8px;
  padding: 4px 3px 4px 3px;
}

.item-title {
	font-weight: bold;
	font-size: 0.9rem; 
}
.item-text-info {
	margin-top:3px;
	margin-bottom:3px;
}
.map-carousel-btn {
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(255,255,255, 0.5);
	color: var(--colour-text-strong, #000);
	font-size: 1.5rem;
	cursor: pointer;
	outline: none;
}
.map-carousel-btn:hover {
	background: rgba(255,255,255, 0.7);
}
.map-countdown-container {
	width: 140px;
	text-align: center;
	margin: 5px 0;
	font-size: 0.85rem;
	color: #C33;
	font-weight: bold;
}

.map-countdown-text {
	display: inline-block;
	animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
0% {
	color: var(--colour-text-strong, #000);
}
50% {
	color: #C33;      
}
100% {
	color: var(--colour-text-strong, #000);
}
}

.map-progress {
  width: 100%;
  height: 4px;
  background: #ddd; 
  border-radius: 2px;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}

.map-progress-bar {
  height: 100%;
  width: 0%;
  background: #C33;
  transition: width 0.5s ease;
  border-radius: 2px;
}

.map-coming-soon {
  position: relative;
  filter: grayscale(100%);
  opacity: 0.7;
}
.map-coming-soon::after {
  content: "Coming Soon";
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -25%);
  background: rgba(0,0,0,0.9);
  color: var(--colour-text-on-accent, #fff);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 1rem;
}

.map-countdown-container[data-mode="onsale"]
{
  color: #C33; 
}
.map-countdown-container[data-mode="onsale"] .map-progress-bar {
  background: #C33; 
}

.map-countdown-container[data-mode="comingsoon"]
{
  color: var(--colour-text-strong, #000); 
}
.map-countdown-container[data-mode="comingsoon"] .map-progress-bar
{
  background: #000;
}

@media (max-width: 600px) {
  .map-carousel-item {
    flex: 0 0 80%;
  }
}
@media (min-width: 601px) and (max-width: 1200px) {
  .map-carousel-item {
    flex: 0 0 40%;
  }
}
@media (min-width: 1201px) {
  .map-carousel-item {
    flex: 0 0 25%;
  }
}
