-------
------- Hatasız kısımlar------
.popup-container {
display: flex;
flex-wrap: wrap;
max-width: 800px;
margin: auto;
}
.popup-left, .popup-right {
flex: 1;
padding: 20px;
}
.main-image img {
width: 100%;
height: auto;
}
.thumbnail-images img {
width: 60px;
height: 60px;
margin-right: 10px;
cursor: pointer;
}
.product-name {
font-size: 24px;
margin-bottom: 10px;
}
.stock-code, .brand, .price, .description {
margin-bottom: 10px;
}
.quantity-selector {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.quantity-selector button {
width: 30px;
height: 30px;
}
.quantity-selector input {
width: 50px;
text-align: center;
}
.add-to-cart, .add-to-favorites {
display: inline-block;
margin-right: 10px;
padding: 10px 20px;
background-color: #F0F2BD;
border: none;
cursor: pointer;
}
.ProductDetailContainer {
display: flex;
flex-wrap: wrap;
gap: 40px;
padding: 30px 0;
}
.ProductDetailLeft {
width: 48%;
min-width: 300px;
}
.ProductDetailLeft .MainImage img {
width: 100%;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.ProductDetailLeft .ThumbGallery {
display: flex;
gap: 10px;
margin-top: 12px;
flex-wrap: wrap;
}
.ProductDetailLeft .ThumbGallery img {
width: 70px;
height: 70px;
object-fit: cover;
border: 1px solid #ccc;
border-radius: 4px;
cursor: pointer;
}
/* Sağ taraf */
.ProductDetailRight {
flex: 1;
display: flex;
flex-direction: column;
justify-content: start;
}
.ProductDetailRight .ProductTitle {
font-size: 26px;
font-weight: bold;
margin-bottom: 12px;
}
.ProductDetailRight .ProductSKU,
.ProductDetailRight .ProductBrand {
font-size: 14px;
color: #666;
margin-bottom: 6px;
}
.ProductDetailRight .ProductPrice {
font-size: 24px;
color: #c00;
font-weight: 600;
margin: 16px 0 10px;
}
.ProductDetailRight .ProductDescription {
font-size: 15px;
color: #444;
line-height: 1.6;
margin-bottom: 20px;
max-height: 200px;
overflow-y: auto;
}
.ProductDetailRight .QuantityRow {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
}
.ProductDetailRight .QuantityRow .btn,
.ProductDetailRight .QuantityRow input {
padding: 6px 10px;
font-size: 16px;
border: 1px solid #ccc;
}
.ProductDetailRight .AddToCartBtn {
display: inline-block;
padding: 12px 20px;
background: #222;
color: #fff;
text-decoration: none;
font-weight: 600;
border-radius: 4px;
transition: background 0.3s ease;
}
.ProductDetailRight .AddToCartBtn:hover {
background: #444;
}
/* Mobil */
@media (max-width: 768px) {
.ProductDetailContainer {
flex-direction: column;
}
.ProductDetailLeft,
.ProductDetailRight {
width: 100%;
}
}