JFTEDmtt
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, ‘Segoe UI’, Roboto, ‘Helvetica Neue’, sans-serif;
background: #f5f7fa;
display: flex;
justify-content: center;
padding: 2rem 1rem;
}
.product-card {
max-width: 1100px;
width: 100%;
background: white;
border-radius: 24px;
box-shadow: 0 12px 30px rgba(0,0,0,0.08);
padding: 2rem 2.5rem;
}
@media (max-width: 700px) {
.product-card { padding: 1.5rem; }
}
.product-grid {
display: flex;
flex-wrap: wrap;
gap: 2rem;
margin-bottom: 2rem;
}
.gallery {
flex: 1 1 280px;
min-width: 240px;
}
.gallery img {
width: 100%;
border-radius: 20px;
background: #f0f2f5;
object-fit: cover;
aspect-ratio: 1/1;
box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.thumbnails {
display: flex;
gap: 12px;
margin-top: 12px;
flex-wrap: wrap;
}
.thumbnails img {
width: 70px;
height: 70px;
border-radius: 14px;
cursor: default;
background: #eef0f3;
object-fit: cover;
border: 2px solid transparent;
transition: 0.2s;
}
.thumbnails img:hover {
border-color: #1a73e8;
}
.product-main {
flex: 2 1 360px;
}
.brand {
font-size: 0.85rem;
letter-spacing: 0.5px;
color: #4a5568;
text-transform: uppercase;
margin-bottom: 0.25rem;
}
h1 {
font-size: 1.9rem;
font-weight: 600;
line-height: 1.2;
margin-bottom: 0.5rem;
color: #0b1a2e;
}
.price {
font-size: 2rem;
font-weight: 700;
color: #0b1a2e;
margin: 0.75rem 0 0.5rem;
}
.price small {
font-size: 1rem;
font-weight: 400;
color: #4a5568;
margin-left: 8px;
}
.availability {
background: #e6f7e6;
color: #1e7e34;
display: inline-block;
padding: 0.2rem 1rem;
border-radius: 40px;