.shop-layout{
	display:grid;
	grid-template-columns:260px 1fr;
	gap:30px;
	margin-top:24px;
}

.filters{
	background:#fff;
	padding:18px;
	border-radius:8px;
	box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.filters h3{ margin:0 0 12px; }
.filters h4{ margin:6px 0 8px; font-size:14px; color:#333 }
.filter-list{ display:flex; flex-direction:column; gap:8px }
.filter-item{ display:flex; align-items:center; gap:8px; }
.filter-item input[type="checkbox"]{ width:16px; height:16px }
.filter-item label{ font-size:14px; color:#333 }

.products-area { min-width:0; }

.product-grid{
	display:grid;
	grid-template-columns:repeat(4,1fr); /* default desktop */
	gap:24px;
	margin-top:24px;
}
/* Responsive layout: medium and small screens */
@media (max-width: 1200px){
	/* slightly smaller desktops/tablets show 3 columns */
	.product-grid { grid-template-columns:repeat(3,1fr); }
}

@media (max-width: 900px){
	.shop-layout{ grid-template-columns:1fr; }
	.product-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 480px){
	.product-grid{ grid-template-columns:1fr; }
	.filters{ padding:12px; }
}
/* Product cards */
.product-card{
	cursor:pointer;
	transition:transform .25s ease, box-shadow .25s ease;
	background: #fff;
	border-radius:8px;
	overflow:hidden;
	box-shadow:0 2px 8px rgba(0,0,0,0.04);
	display:flex;
	flex-direction:column;
}

.product-card img{
	width:100%;
	/* use aspect-ratio for responsive portraits (3:4) instead of fixed height */
	aspect-ratio: 3 / 4;
	object-fit:cover;
	display:block;
}

.product-card h3{
	font-size:16px;
	margin:12px 12px 6px;
}

.product-card p{
	color:#555;
	font-size:14px;
	margin:0 12px 12px;
}

.product-card:hover{
	transform:translateY(-6px);
	box-shadow:0 12px 30px rgba(0,0,0,0.08);
}
.product-page{

display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
margin-top:40px;
align-items:start;
}

/* Responsive product page: single column on narrow screens */
@media (max-width: 900px){
	.product-page{
		grid-template-columns:1fr;
		gap:20px;
		margin-top:20px;
	}
	.product-images img{
		width:100%;
		height:auto;
		max-height:60vh;
		object-fit:contain;
	}
	.thumbnails{ overflow-x:auto; }
	.thumbnails img{ width:60px; height:60px; }
	.product-info{ padding:0 6px; }
	.sizes{ flex-wrap:wrap; gap:8px; }
	.size{ padding:8px 10px; }
	#addToCart{ width:100%; padding:12px; }
}

@media (max-width:480px){
	.product-images img{ max-height:50vh; }
	.thumbnails img{ width:48px; height:48px; }
	.product-info h2{ font-size:20px; }
	.price{ font-size:18px; }
}

.product-images img{
	width:100%;
	height:100%;
	/* use aspect ratio to keep portrait images natural */
	aspect-ratio: 3 / 4;
	object-fit:cover;
	display:block;
}

.thumbnails{

display:flex;
gap:10px;
margin-top:10px;

}

.thumbnails img{
	width:70px;
	height:70px;
	cursor:pointer;
	border-radius:6px;
	object-fit:cover;
}

.product-info h2{

font-size:26px;
margin-bottom:10px;

}

.price{

font-size:20px;
margin-bottom:20px;

}

.sizes{

display:flex;
gap:10px;
margin-bottom:20px;

}

.size{

border:1px solid #ddd;
background:white;
color: black;
padding:10px 15px;
cursor:pointer;

}

.size:hover{

background:black;
color:white;
}

.model-info{

font-size:14px;
color:#777;
margin-bottom:20px;

}