/* Ürün Detay Sayfası Stilleri */
.product-detail-section {
    padding: 30px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.product-gallery {
    flex: 1;
}

.main-image {
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}

.main-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    cursor: pointer;
    padding: 5px;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-meta {
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-code {
    color: #666;
    font-size: 14px;
}

.rating {
    color: #ffc107;
}

.rating .active {
    color: #ffc107;
}

.price-container {
    margin: 20px 0;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.current-price {
    font-size: 24px;
    font-weight: bold;
    color: #e53935;
}

.discount-percentage {
    background: #e53935;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 10px;
}

.product-description {
    margin: 20px 0;
    line-height: 1.6;
}

.variant-selector, .quantity-selector {
    margin: 15px 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
}

.quantity-control input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 5px;
}

.stock-info {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.btn-add-to-cart, .btn-wishlist {
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn-add-to-cart {
    background: #ff5722;
    color: white;
}

.btn-wishlist {
    background: #f5f5f5;
    color: #333;
}

.product-share {
    margin-top: 20px;
}

.social-share {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    margin-left: 10px;
    color: white;
}

.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.instagram { background: #e1306c; }
.whatsapp { background: #25d366; }

.product-tabs {
    margin: 40px 0;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-nav li {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.tab-nav li.active {
    border-bottom-color: #ff5722;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.specs-table th {
    width: 30%;
    font-weight: normal;
    color: #666;
}

.review-form {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-input input {
    display: none;
}

.rating-input label {
    color: #ddd;
    cursor: pointer;
    font-size: 20px;
    margin-right: 5px;
}

.rating-input input:checked ~ label,
.rating-input input:hover ~ label {
    color: #ffc107;
}

.review-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: bold;
    margin-right: 15px;
}

.review-rating {
    color: #ffc107;
    margin-right: 15px;
}

.review-date {
    color: #666;
    font-size: 14px;
}

.similar-products {
    margin-top: 50px;
}

.similar-products h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    border: 1px solid #eee;
    padding: 15px;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image {
    display: block;
    margin-bottom: 15px;
    height: 200px;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info h3 {
    margin: 10px 0;
    font-size: 16px;
}

.product-info h3 a {
    color: #333;
    text-decoration: none;
}

.product-info h3 a:hover {
    color: #ff5722;
}

.product-price {
    font-weight: bold;
    color: #e53935;
    margin: 10px 0;
}

.btn-view-product {
    display: inline-block;
    padding: 8px 15px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.btn-view-product:hover {
    background: #eee;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .tab-nav li {
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .tab-nav li.active {
        border-bottom: none;
        border-left-color: #ff5722;
    }
}