/* Sepet Sayfası - Veteriner Teması */
:root {
    --vet-primary: #dc2626;
    --vet-primary-dark: #b91c1c;
    --vet-primary-light: #f87171;
    --vet-secondary: #059669;
    --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%);
}

/* Ana Başlık */
.shopping-cart h2 {
    background: var(--vet-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
}

.shopping-cart h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--vet-gradient);
    border-radius: 2px;
}

/* Tablo Başlıkları */
.shopping-summery thead tr {
    background: var(--vet-gradient);
    color: white;
}

.shopping-summery thead th {
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    padding: 1rem;
}

/* Tablo Satırları */
.shopping-summery tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.shopping-summery tbody tr:hover {
    background-color: #fef3f2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

/* Ürün Resmi */
.table-section-image img {
    border-radius: 12px;
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
}

.shopping-summery tbody tr:hover .table-section-image img {
    border-color: var(--vet-primary-light);
    transform: scale(1.05);
}

/* Ürün Adı ve Açıklama */
.product-name a {
    color: var(--vet-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: var(--vet-primary-dark);
    text-decoration: underline;
}

.product-description {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Fiyat Alanları */
.price span {
    font-weight: 600;
    color: var(--vet-primary);
}

.price .text-red-500 {
    color: #9ca3af !important;
    text-decoration: line-through;
}

/* İndirim Badge */
.bg-green-100 {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
    color: var(--vet-secondary) !important;
    font-weight: 600;
    border: 1px solid var(--vet-secondary);
}

/* Miktar Kontrolleri */
.input-group {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.input-group:hover {
    border-color: var(--vet-primary-light);
}

.input-group .btn {
    background: var(--vet-gradient);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group .btn:hover {
    background: var(--vet-primary-dark);
    transform: scale(1.1);
}

.input-group .btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

.input-number {
    border: none;
    text-align: center;
    font-weight: 600;
    color: var(--vet-primary);
    background: white;
    min-width: 60px;
}

/* Silme Butonu */
.remove-item {
    color: #ef4444;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.remove-item:hover {
    color: white;
    background: #ef4444;
    transform: scale(1.1);
}

/* Toplam Tutar */
.total-amount span {
    font-weight: 700;
    color: var(--vet-secondary);
    font-size: 1.1rem;
}

/* Kupon Alanı */
.coupon-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px 0 0 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: border-color 0.3s ease;
}

.coupon-input:focus {
    border-color: var(--vet-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.coupon .btn {
    background: var(--vet-gradient);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.coupon .btn:hover {
    background: var(--vet-primary-dark);
    transform: translateY(-1px);
}

/* Ücretsiz Kargo Bilgisi */
#free-shipping-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--vet-primary);
    border-radius: 12px;
    padding: 1rem;
}

#free-shipping-eligible {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: var(--vet-secondary);
    border: 1px solid var(--vet-secondary);
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
}

#free-shipping-remaining {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
}

/* Progress Bar */
#shipping-progress {
    background: var(--vet-gradient-green);
    transition: width 0.5s ease-in-out;
    border-radius: 4px;
}

/* Özet Alanı */
.right ul {
    background: linear-gradient(135deg, #fef3f2 0%, #fff1f0 100%);
    border: 2px solid var(--vet-primary-light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.1);
}

.right ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right ul li:last-child {
    border-bottom: none;
    border-top: 2px solid var(--vet-primary);
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.2rem;
    color: var(--vet-primary);
}

.right ul li.last span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--vet-primary);
}

/* Butonlar */
.button5 .btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 0.5rem;
    display: inline-block;
    text-decoration: none;
}

.button5 .btn:first-child {
    background: var(--vet-gradient);
    color: white;
    border: 2px solid var(--vet-primary);
}

.button5 .btn:first-child:hover {
    background: var(--vet-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.button5 .btn:last-child {
    background: transparent;
    color: var(--vet-primary);
    border: 2px solid var(--vet-primary);
}

.button5 .btn:last-child:hover {
    background: var(--vet-primary);
    color: white;
    transform: translateY(-2px);
}

/* Boş Sepet Uyarısı */
.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    color: #92400e;
    border-radius: 12px;
    padding: 2rem;
    font-weight: 600;
    text-align: center;
}

/* Keşfedin Alanı */
.browse-categories-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.browse-categories-container h5 {
    color: var(--vet-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.browse-categories-container a {
    background: white;
    border: 2px solid #e5e7eb;
    color: #374151;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.25rem;
    display: inline-flex;
    align-items: center;
}

.browse-categories-container a:hover {
    background: var(--vet-primary);
    color: white;
    border-color: var(--vet-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

/* Loading Overlay */
#loadingOverlay {
    background: rgba(220, 38, 38, 0.9);
    color: white;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .shopping-summery {
        font-size: 0.9rem;
    }
    
    .shopping-summery thead {
        display: none;
    }
    
    .shopping-summery tbody tr {
        display: block;
        border: 2px solid #f3f4f6;
        border-radius: 12px;
        margin-bottom: 1rem;
        padding: 1rem;
        background: white;
    }
    
    .shopping-summery tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .shopping-summery tbody td:last-child {
        border-bottom: none;
    }
    
    .shopping-summery tbody td::before {
        content: attr(data-title) ": ";
        font-weight: 600;
        color: var(--vet-primary);
        min-width: 100px;
    }
    
    .button5 .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* Veteriner Teması Özel Efektler */
.shopping-cart .container {
    position: relative;
}

.shopping-cart .container::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23dc2626" opacity="0.1"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
}

/* Veteriner Badge Efektleri */
.vet-approved-badge {
    background: var(--vet-gradient-green);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.vet-approved-badge i {
    font-size: 0.8rem;
}
