/* Product Gallery */
.product-gallery {
    margin-bottom: 2rem;
}

.main-image {
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-images {
    display: flex;
    gap: 0.5rem;
}

.thumbnail-img {
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: #333;
}

/* Product Details */
.product-title {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 1rem;
}

.product-meta {
    margin-bottom: 1.5rem;
}

.rating i {
    color: #ffc107;
}

/* Price Section */
.current-price {
    font-size: 2rem;
    color: #333;
    font-weight: 500;
}

.compare-price {
    color: #999;
    text-decoration: line-through;
}

/* Quantity Selector */
.quantity-section {
    width: 150px;
}

.quantity-section input {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: center;
}

/* Action Buttons */
.action-buttons {
    margin-top: 2rem;
}

.favorite-btn {
    padding: 0.75rem 1rem;
}

/* Service Info */
.service-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 2rem;
}

.service-info i {
    width: 20px;
    color: #198754;
}

/* Customization Panel - Takım İçeriğini Kişiselleştirin */
.customization-panel {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.customization-panel h5 {
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.variations-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.variation-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.variation-card:hover {
    border-color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.variation-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.variation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.variation-placeholder {
    color: #adb5bd;
    font-size: 1.5rem;
}

.variation-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.variation-name {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.variation-description {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.variation-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.variation-controls {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: auto;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    background: white;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #495057;
}

.qty-btn:hover {
    background: #e9ecef;
    color: #333;
}

.qty-btn:active {
    background: #dee2e6;
}

.qty-input {
    border: none;
    width: 50px;
    height: 32px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    background: white;
    color: #333;
}

.qty-input:focus {
    outline: none;
    box-shadow: none;
}

/* Price Summary Card */
.price-summary-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.summary-title {
    color: #333;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.total-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.add-to-cart-btn {
    border-radius: 6px;
    padding: 0.875rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: #333;
    color: white;
}

.add-to-cart-btn:hover {
    background: #555;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .customization-panel {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    
    .variation-card {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .variation-image {
        width: 60px;
        height: 60px;
    }
    
    .variation-controls {
        align-self: center;
        margin-top: 0.5rem;
    }
    
    .price-summary-card {
        position: static;
        margin-top: 1.5rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .customization-panel {
        padding: 1rem;
    }
    
    .variation-card {
        padding: 0.875rem;
    }
    
    .variation-image {
        width: 50px;
        height: 50px;
    }
    
    .variation-name {
        font-size: 0.9rem;
    }
    
    .variation-price {
        font-size: 1rem;
    }
    
    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .qty-input {
        width: 40px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .price-summary-card {
        padding: 1.25rem;
    }
    
    .summary-title {
        font-size: 1rem;
    }
    
    .price-amount {
        font-size: 1.4rem;
    }
}
