/* Front page enhancements */

.header .brand,
.header .brand img,
.custom-logo {
	max-width: 360px;
	width: 100%;
	height: auto;
	display: block;
}

.mySwiper {
	position: relative;
	padding-bottom: 24px;
	overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.92);
	color: var(--text-primary);
	box-shadow: 0 10px 28px rgba(15,23,32,0.18);
	transition: transform .2s ease, box-shadow .2s ease;
	top: 50%;
	margin-top: -20px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
	font-size: 16px;
	font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(15,23,32,0.22);
}

.swiper-pagination {
	bottom: 0;
}

.swiper-pagination-bullet {
	background: var(--border-subtle);
	opacity: 1;
}

.swiper-pagination-bullet-active {
	background: var(--accent);
}

.swiper-slide {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: #f6f6f6;
	color: var(--text-primary);
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	box-sizing: border-box;
}

.product-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
	min-height: 320px;
}

.swiper-slide:hover .product-image {
	transform: scale(1.02);
}

.no-image {
	width: 100%;
	min-height: 320px;
	padding: 36px 32px;
	box-sizing: border-box;
	background: linear-gradient(180deg,#ffffff 0%,#f4f4f4 100%);
	border-left: 4px solid var(--accent);
}

.no-image p {
	margin-top: 12px;
	color: var(--text-muted);
	max-width: 520px;
}

@media (max-width: 1024px) {
	.header .brand { max-width: 280px; }
}

@media (max-width: 640px) {
	.header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	.header .brand { max-width: 200px; }
	.mySwiper { padding-bottom: 32px; }
}

/* Product slide full-content rendering */
.product-slide{ padding:24px; background:#fff; box-sizing:border-box; }
.product-slide .product-title{ margin:0 0 12px; font-size:1.2rem; }
.product-slide .product-image{ margin:0 0 16px; border-radius:8px; min-height:auto; }
.product-slide .product-content{ max-height:60vh; overflow:auto; }
@media (max-width: 640px){
  .product-slide .product-content{ max-height:70vh; }
}
