.container.product-layout {
max-width: 1200px;
margin: 0 auto;
padding: 60px 20px;
}
.product-page-wrapper {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
gap: 40px;
align-items: flex-start;
} .product-gallery-wrapper {
flex: 1 1 40%;
max-width: 480px;
position: sticky;
top: 100px;
}
.product-gallery-wrapper .main-image img {
width: 100%;
height: auto;
display: block;
border-radius: 6px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.thumbnail-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 12px;
}
.thumbnail-row .thumbnail {
width: 80px;
height: auto;
cursor: pointer;
border: 2px solid transparent;
border-radius: 4px;
transition: border-color 0.2s;
}
.thumbnail-row .thumbnail:hover {
border-color: #ea9346;
} .product-details {
flex: 1 1 55%;
max-width: 640px;
}
.product-details h1 {
font-size: 3rem;
margin-bottom: 20px;
}
.product-details h3 {
margin-top: 30px;
margin-bottom: 10px;
font-size: 1.25rem;
font-weight: 600;
color: #111;
}
.product-overview,
.product-specifications {
margin-bottom: 30px;
}
.product-meta {
list-style: none;
padding: 0;
margin: 20px 0;
}
.product-meta li {
margin-bottom: 10px;
font-size: 1rem;
}
.btn {
display: inline-block;
background: #ea9346;
color: #fff;
padding: 12px 24px;
text-decoration: none;
border-radius: 4px;
font-weight: 600;
margin-top: 20px;
transition: background 0.3s;
}
.btn:hover {
background-color: #d76f1f;
} @media (max-width: 992px) {
.product-page-wrapper {
flex-direction: column;
}
.product-gallery-wrapper,
.product-details {
max-width: 100%;
flex: 1 1 100%;
}
.product-details h1 {
font-size: 2.2rem;
}
}