/* Kayak Shop Frontend Styles */

.kayak-shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
	margin: 2rem 0;
}

.kayak-shop-item {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.kayak-shop-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kayak-shop-item-image {
	position: relative;
	width: 100%;
	padding-top: 75%; /* 4:3 aspect ratio */
	overflow: hidden;
	background: #f5f5f5;
}

.kayak-shop-item-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kayak-shop-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 0.9rem;
	background: #f0f0f0;
}

.kayak-shop-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 5px 12px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: bold;
	text-transform: uppercase;
	z-index: 10;
}

.kayak-shop-badge-sold {
	background: #d32f2f;
	color: #fff;
}

.kayak-shop-badge-reserved {
	background: #f57c00;
	color: #fff;
}

.kayak-shop-item-content {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.kayak-shop-item-title {
	margin: 0 0 0.75rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #333;
}

.kayak-shop-item-excerpt {
	margin: 0 0 1rem 0;
	color: #666;
	font-size: 0.9rem;
	line-height: 1.5;
	flex: 1;
}

.kayak-shop-item-price {
	margin-top: auto;
	font-size: 1.5rem;
	font-weight: bold;
	color: #2e7d32;
	padding-top: 1rem;
	border-top: 1px solid #e0e0e0;
}

.kayak-shop-item.kayak-shop-status-sold {
	opacity: 0.7;
}

/* Slider Styles */
.kayak-shop-slider-wrapper {
	position: relative;
	margin: 2rem 0;
}

.kayak-shop-slider {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE and Edge */
}

.kayak-shop-slider::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

.kayak-shop-slide {
	flex: 0 0 auto;
	width: 280px;
	margin-right: 1.5rem;
	scroll-snap-align: start;
}

.kayak-shop-slider .kayak-shop-item {
	width: 100%;
}

.kayak-shop-slider-prev,
.kayak-shop-slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #ddd;
	border-radius: 50%;
	width: 45px;
	height: 45px;
	font-size: 24px;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s ease, border-color 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}

.kayak-shop-slider-prev:hover,
.kayak-shop-slider-next:hover {
	background: #fff;
	border-color: #333;
}

.kayak-shop-slider-prev {
	left: 10px;
}

.kayak-shop-slider-next {
	right: 10px;
}

.kayak-shop-slider-prev:disabled,
.kayak-shop-slider-next:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Responsive Grid */
@media (max-width: 768px) {
	.kayak-shop-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 1.5rem;
	}
	
	.kayak-shop-slide {
		width: 250px;
		margin-right: 1rem;
	}
	
	.kayak-shop-slider-prev,
	.kayak-shop-slider-next {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.kayak-shop-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.kayak-shop-slide {
		width: 220px;
	}
}

/* Custom columns support */
.kayak-shop-grid[data-columns="2"] {
	grid-template-columns: repeat(2, 1fr);
}

.kayak-shop-grid[data-columns="3"] {
	grid-template-columns: repeat(3, 1fr);
}

.kayak-shop-grid[data-columns="4"] {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
	.kayak-shop-grid[data-columns="4"] {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.kayak-shop-grid[data-columns="3"],
	.kayak-shop-grid[data-columns="4"] {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.kayak-shop-grid[data-columns="2"],
	.kayak-shop-grid[data-columns="3"],
	.kayak-shop-grid[data-columns="4"] {
		grid-template-columns: 1fr;
	}
}



