﻿/* Ürün Sayfası - Soft Veteriner Teması */
:root {
    --vet-primary: #dc2626;
    --vet-primary-dark: #b91c1c;
    --vet-primary-light: #fca5a5;
    --vet-secondary: #149605;
    --vet-secondary-dark: #047857;
    --vet-accent: #f59e0b;
    --vet-gradient: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --vet-gradient-green: linear-gradient(135deg, #059669 0%, #047857 100%);
    --soft-bg: #fafafa;
    --soft-border: #e5e7eb;
    --soft-text: #6b7280;
}

/* Veteriner Onay Badge'i - Soft */
.vet-approved-badge {
    background: var(--vet-secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.vet-approved-badge i {
    font-size: 0.9rem;
}

/* Harekete Geçirici Butonlar - Soft */
.cta-section {
    border: 1px solid var(--soft-border);
    border-radius: 12px;
    padding: 1.2rem;
    margin: 1rem 0;
}

.cta-title {
    color: var(--vet-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-description {
    color: var(--soft-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-features li {
    color: var(--vet-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-features i {
    color: var(--vet-secondary);
    font-size: 0.75rem;
}

/* Ürün Fiyatı - Soft */
.product-price {
    border: 1px solid var(--soft-border);
    border-radius: 8px;
    padding: 0.8rem;
    margin: 1rem 0;
    text-align: center;
}

.current-price {
    color: var(--vet-primary);
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.old-price {
    color: var(--soft-text);
    font-size: 1.1rem;
    text-decoration: line-through;
    display: block;
    margin-bottom: 0.3rem;
}

/* Sepete Ekle Butonu - Soft */
.add-to-cart-btn {
    background: var(--vet-primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.add-to-cart-btn:hover {
    background: var(--vet-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.add-to-cart-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Miktar Kontrolleri - Soft */
.product-count {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.product-minus,
.product-plus {
    background: var(--vet-primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-minus:hover,
.product-plus:hover {
    background: var(--vet-primary-dark);
    transform: scale(1.05);
}

.product-minus:disabled,
.product-plus:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

.product-count-inpt {
    width: 70px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--soft-border);
    border-radius: 6px;
    font-weight: 500;
    color: var(--vet-primary);
    font-size: 1rem;
}

/* Stok Durumu - Soft */
.product-stock {
    background: var(--vet-secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-no-stock {
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* İndirim Badge - Soft */
.discount-tag {
    background: var(--vet-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

/* Ürün Detayları - Soft */
.product-detail-container {
    border: 1px solid var(--soft-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.product-details-header {
    color: var(--vet-primary);
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
}

.product-details-header::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--vet-primary);
    border-radius: 1px;
}

/* Özellik Kartları */
.feature-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--vet-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.1);
}

.feature-card h4 {
    color: var(--vet-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-card p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    color: var(--vet-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Veteriner Önerileri */
.vet-recommendation {
    border: 2px solid var(--vet-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
    position: relative;
}

.vet-recommendation::before {
    content: '👨‍⚕️';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 2rem;
    background: white;
    padding: 5px;
    border-radius: 50%;
    border: 2px solid var(--vet-secondary);
}

.vet-recommendation h4 {
    color: var(--vet-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vet-recommendation p {
    color: var(--vet-secondary-dark);
    font-weight: 600;
    font-style: italic;
}

/* Güven Göstergeleri - Soft */
.trust-indicators {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.trust-indicator {
    border: 1px solid var(--soft-border);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.trust-indicator i {
    font-size: 1.2rem;
    color: var(--vet-primary);
    margin-bottom: 0.3rem;
}

.trust-indicator h5 {
    color: var(--vet-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0;
}

/* Tab Navigation */
.nav-tabs .nav-link {
    color: #6b7280;
    border: 2px solid #e5e7eb;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    padding: 1rem 1.5rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--vet-primary);
    border-color: var(--vet-primary-light);
}

.nav-tabs .nav-link.active {
    color: var(--vet-primary);
    background: var(--vet-primary);
    color: white;
    border-color: var(--vet-primary);
}

/* Tab Content */
.tab-content {
    border: 2px solid var(--vet-primary);
    border-top: none;
    border-radius: 0 0 12px 12px;
    background: white;
}

/* Review Section */
.user-comment {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.comment-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--vet-primary);
}

.star-selected {
    color: #fbbf24;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .product-count {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .add-to-cart-btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
}

/* Özel Animasyonlar */
@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.animate-bounce-in {
    animation: bounce-in 0.6s ease-out;
}

/* Hover Efektleri */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mobile-product-navigation{
    display: none;
}

.stock-discount-row {
    padding-left: 1rem;
}
.discount-tag{
    margin-left: 0.5rem;
}

.product-container-wrapper {
    padding: 2rem;
    border: 1px solid #80808061;
    width: 90%;
    margin: auto;
    margin-top: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
}

.product-description-container {
    flex-direction: column;
    display: flex;
}

.mainSwiper{
    height: 400px;
}

.thumbSwiper{
    height: 400px;
}

.product-name {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .mobile-product-navigation{
        display: flex;
    }
}