/**
 * Termék részletes oldal stílusok
 */

.product-page {
    padding: 30px 0;
    min-height: 60vh;
}

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

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

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

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.product-images .main-image {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.product-images .main-image img {
    width: 100%;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-sku {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-price {
    font-size: 36px;
    font-weight: bold;
    color: #27ae60;
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.product-price small {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}

.product-description {
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #555;
}

.customization-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.customization-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #2c3e50;
}

.option-group {
    margin-bottom: 20px;
}

.option-group.required .option-label::after {
    content: ' *';
    color: #e74c3c;
}

.option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.required-mark {
    color: #e74c3c;
}

.option-select,
.option-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
    transition: border-color 0.3s;
}

.option-select:focus,
.option-text:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.radio-option:hover {
    border-color: #3498db;
    background: #f0f8ff;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked ~ .radio-label {
    font-weight: bold;
    color: #3498db;
}

.radio-label {
    flex: 1;
    cursor: pointer;
}

.radio-label small {
    color: #27ae60;
    font-weight: 600;
}

.quantity-section {
    margin: 20px 0;
}

.quantity-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    border-radius: 4px;
    transition: all 0.2s;
    color: #333;
    font-weight: bold;
}

.qty-btn:hover {
    background: #f8f9fa;
    border-color: #3498db;
}

.qty-btn:active {
    transform: scale(0.95);
}

#quantityInput {
    width: 80px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
}

#quantityInput:focus {
    outline: none;
    border-color: #3498db;
}

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

.stock-info.low-stock {
    color: #f39c12;
    font-weight: 600;
}

.stock-info.out-of-stock {
    color: #e74c3c;
    font-weight: 600;
}

.add-to-cart-section {
    margin: 30px 0;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-large i {
    font-size: 20px;
}

.product-meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.product-meta p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-meta i {
    color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-info h1 {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .customization-section {
        padding: 15px;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
    }
}
