/* ===== ANA SAYFA STİLLERİ ===== */
/* Modern ve Gelişmiş Tasarım */

/* Genel Stiller */
:root {
    --primary-color: #2E8B57;
    --secondary-color: #20B2AA;
    --accent-color: #32CD32;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-radius: 15px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 80px; /* Header yüksekliği için padding */
}

/* Container genişlikleri */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Header Stilleri */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    background: transparent !important;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-right: 0 !important;
}

/* Logo div'ini sol köşeye hizala - sadece logo, daha sola */
.navbar .container-fluid > .d-flex:first-child {
    padding-left: 0 !important;
    margin-left: -15px !important;
}

.navbar .container-fluid > .d-flex:first-child .navbar-brand {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Menüleri sağa hizala ve logo ile arasında boşluk bırak - daha sağa */
.navbar .container-fluid {
    justify-content: space-between;
}

.navbar-collapse {
    margin-left: auto;
    margin-right: 15px;
    flex-grow: 0;
}

.navbar-nav {
    margin-left: auto;
    padding-right: 0;
}

.nav-link {
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 25px;
    transition: var(--transition);
}

.nav-link:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

.nav-link.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

/* Tablet Navigation */
@media (min-width: 768px) and (max-width: 991.98px) {
    body {
        padding-top: 75px; /* Tablet için padding */
    }
    
    header {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        height: 45px !important;
    }
    
    /* Logo div'ini düzenle - sadece logo, daha sola */
    .navbar .container-fluid > .d-flex:first-child {
        padding-left: 0 !important;
        margin-left: -15px !important;
    }
    
    .navbar .container-fluid > .d-flex:first-child .navbar-brand {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* Menüleri sağa hizala - daha sağa */
    .navbar .container-fluid {
        justify-content: space-between;
    }
    
    .navbar-collapse {
        margin-left: auto;
        margin-right: 15px;
    }
    
    /* Mobile actions düzenlemesi */
    .mobile-actions {
        gap: 0.5rem;
        margin-right: 15px;
    }
    
    .mobile-actions .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 1.1rem;
    }
    
    .mobile-actions .sepet-onizleme-btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 1.1rem;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
        font-size: 1.1rem;
    }
    
    /* Navigation menü tablet için */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1.25rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1.25rem !important;
        border-radius: 25px;
        margin: 0.25rem 0;
        font-size: 0.95rem;
    }
    
    /* Contact info ve sepet butonları tablet için */
    .navbar-nav .nav-item.d-none.d-lg-block {
        display: none !important;
    }
    
    /* Dropdown menü tablet için */
    .dropdown-menu {
        min-width: 200px;
        font-size: 0.9rem;
    }
    
    .dropdown-item {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Mobile Navigation */
@media (max-width: 767.98px) {
    body {
        padding-top: 70px; /* Mobilde daha az padding */
    }
    
    header {
        background: rgba(255, 255, 255, 0.98);
    }
    
    /* Logo mobil için - sadece logo, daha sola */
    .navbar .container-fluid > .d-flex:first-child {
        padding-left: 0 !important;
        margin-left: -15px !important;
    }
    
    .navbar .container-fluid > .d-flex:first-child .navbar-brand {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* Menüleri sağa hizala - daha sağa */
    .navbar .container-fluid {
        justify-content: space-between;
    }
    
    .mobile-actions {
        margin-left: auto;
        margin-right: 15px;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1.5rem !important;
        border-radius: 25px;
        margin: 0.25rem 0;
    }
}



/* Kategoriler Bölümü */
.categories-section {
    padding: 5rem 0;
    background: white;
    position: relative;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transform: skewY(-2deg);
    transform-origin: top left;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.category-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.3);
    color: white;
}





/* Ürünler Bölümü */
.products-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}



.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container a,
.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    max-width: 100%;
    max-height: 100%;
}

.product-card:hover .product-image-container img,
.product-card:hover .product-image-link img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.product-badge .badge {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.product-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.product-category i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.product-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.price-section {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.whatsapp-button {
    margin-top: auto;
}

.whatsapp-button .btn {
    width: 100%;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.whatsapp-button .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    color: white;
}



/* Özellikler Bölümü */
.features-section {
    padding: 5rem 0;
    background: white;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transform: skewY(2deg);
    transform-origin: top right;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Gelişmiş Responsive Tasarım */
@media (max-width: 1400px) {
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1200px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 2rem 1rem;
    }
    
    .product-image-container {
        height: 180px;
    }
}

@media (max-width: 992px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .categories-section,
    .products-section,
    .features-section {
        padding: 3rem 0;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-card h5 {
        font-size: 1rem;
    }
    
    .category-card p {
        font-size: 0.85rem;
    }
    
    .category-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .product-card-body {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .whatsapp-button .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-item h5 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .section-title p {
        font-size: 0.85rem;
    }
    
    .categories-section,
    .products-section,
    .features-section {
        padding: 2rem 0;
    }
    
    .category-card {
        padding: 1.2rem 0.8rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .category-icon i {
        font-size: 1.2rem;
    }
    
    .category-card h5 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .category-card p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .product-image-container {
        height: 150px;
    }
    
    .product-card-body {
        padding: 0.8rem;
    }
    
    .product-category {
        font-size: 0.8rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .product-description {
        font-size: 0.8rem;
    }
    
    .current-price {
        font-size: 1rem;
    }
    
    .old-price {
        font-size: 0.8rem;
    }
    
    .whatsapp-button .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .feature-item {
        padding: 1rem 0.5rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.1rem;
    }
    
    .feature-item h5 {
        font-size: 0.9rem;
    }
    
    .feature-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.3rem;
    }
    
    .section-title p {
        font-size: 0.8rem;
    }
    
    .category-card {
        padding: 1rem 0.6rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
    }
    
    .category-icon i {
        font-size: 1rem;
    }
    
    .product-image-container {
        height: 120px;
    }
    
    .product-card-body {
        padding: 0.6rem;
    }
    
    .product-title {
        font-size: 0.85rem;
    }
    
    .product-description {
        font-size: 0.75rem;
    }
    
    .current-price {
        font-size: 0.9rem;
    }
    
    .whatsapp-button .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .feature-item {
        padding: 0.8rem 0.3rem;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
    }
    
    .feature-icon i {
        font-size: 1rem;
    }
    
    .feature-item h5 {
        font-size: 0.85rem;
    }
    
    .feature-item p {
        font-size: 0.75rem;
    }
}

/* Touch Device Optimizasyonları */
@media (hover: none) and (pointer: coarse) {
    .category-card:hover,
    .product-card:hover,
    .feature-item:hover {
        transform: none;
    }
    
    .whatsapp-button .btn:hover {
        transform: none;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.2rem;
    color: var(--text-light);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-float .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-float .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Sepet Stilleri */
.sepet-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.sepete-ekle {
    transition: all 0.3s ease;
}

.sepete-ekle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sepete-ekle:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Sepet Sayfası Stilleri */
.empty-cart {
    padding: 60px 20px;
}

.empty-cart i {
    color: #6c757d;
    margin-bottom: 20px;
}

.product-card .miktar-input {
    text-align: center;
    border: 1px solid #dee2e6;
}

.product-card .miktar-input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.urun-toplam {
    font-weight: bold;
    color: #28a745;
}

.sticky-top {
    position: sticky;
    top: 100px;
    z-index: 1020;
}

/* Responsive Sepet */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 14px;
    }
    
    .product-card .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-card .d-flex > div {
        margin-bottom: 10px;
    }
    
    .sticky-top {
        position: static;
        margin-top: 20px;
    }
}

/* Notification Stilleri */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 10px;
}

.notification-close:hover {
    opacity: 0.8;
}

/* Sepet Badge Animasyonu */
@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.badge {
    animation: badgePulse 0.3s ease-in-out;
}

/* Ürün Kartı Hover Efektleri */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Sepet Butonları */
.sepet-btn {
    transition: all 0.3s ease;
}

.sepet-btn:hover {
    transform: translateY(-2px);
}

/* Miktar Kontrolleri */
.miktar-artir, .miktar-azalt {
    transition: all 0.2s ease;
}

.miktar-artir:hover, .miktar-azalt:hover {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.miktar-artir:disabled, .miktar-azalt:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Sepet Özeti Kartı */
.sepet-ozet {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 15px;
    padding: 20px;
}

.sepet-ozet h5 {
    color: white;
    margin-bottom: 20px;
}

.sepet-ozet .btn {
    margin-bottom: 10px;
    border-radius: 25px;
    font-weight: 500;
}

/* Boş Sepet Animasyonu */
.empty-cart i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Sepet Tablosu */
.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Responsive Tablo */
@media (max-width: 576px) {
    .table-responsive {
        font-size: 12px;
    }
    
    .table th, .table td {
        padding: 0.5rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 12px;
    }
}

/* Sepet Temizleme Butonu */
#sepetiTemizle {
    transition: all 0.3s ease;
}

#sepetiTemizle:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Kargo Bilgisi */
.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-info small {
    color: #0c5460;
}

/* WhatsApp Butonu Hover */
.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-1px);
}

/* Sepet Badge Responsive */
@media (max-width: 768px) {
    .position-absolute {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        margin-left: 5px;
    }
    
    .badge {
        display: inline-block;
        margin-left: 5px;
    }
}

/* ===== MODERN MODAL STİLLERİ ===== */

/* Modal Genel Stilleri */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: none;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: none;
}

/* Gradient Renkler */
.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8, #0dcaf0);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #2E8B57, #20B2AA);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

/* Info renkleri için ek stiller */
.bg-info {
    background: linear-gradient(135deg, var(--info-color), #0dcaf0) !important;
}

.text-info {
    color: var(--info-color) !important;
}

.btn-outline-info {
    border: 2px solid var(--info-color);
    color: var(--info-color);
    background: transparent;
    transition: var(--transition);
}

.btn-outline-info:hover {
    background: var(--info-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
}

/* Modal İkon Animasyonları */
.modal-icon i {
    animation: modalIconPulse 2s infinite;
}

@keyframes modalIconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Modal Giriş Animasyonu */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Modal Buton Stilleri */
.modal .btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.modal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Mesaj Stilleri */
.modal-message {
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Modal */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .modal-message {
        font-size: 1.1rem;
    }
}

/* ===== ÜRÜN DETAY SAYFASI İYİLEŞTİRMELERİ ===== */

/* Ürün Galeri Stilleri */
.product-gallery {
    position: sticky;
    top: 2rem;
}

.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-image-container img {
    transition: transform 0.3s ease;
}

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

/* Thumbnail Stilleri */
.thumbnail-images {
    margin-top: 1rem;
}

.thumbnail-image {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thumbnail-image.active {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

/* Ürün Bilgi Kartları */
.product-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Badge Stilleri */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Fiyat Stilleri */
.price-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.current-price {
    color: #28a745;
    text-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

/* Buton Stilleri */
.btn-lg {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Paylaş Butonları */
.share-section .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-section .btn:hover {
    transform: scale(1.1);
}

/* Benzer Ürünler */
.product-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image-container img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img,
.product-card:hover .product-image-link img {
    transform: scale(1.1);
}

/* Hover Efektleri */
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hover-text-success:hover {
    color: #28a745 !important;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .product-gallery {
        position: static !important;
        margin-bottom: 2rem;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .main-image-container img {
        height: 300px !important;
    }
    
    .thumbnail-image {
        height: 60px !important;
    }
    
    .price-section {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
    }
}

/* ===== AOS ANİMASYON İYİLEŞTİRMELERİ ===== */

[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Özel Animasyon Efektleri */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* ===== GENEL İYİLEŞTİRMELER ===== */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus Stilleri */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    border-color: #28a745;
}

/* Loading Spinner */
.spinner-border {
    width: 1rem;
    height: 1rem;
}

/* Cursor Pointer */
.cursor-pointer {
    cursor: pointer;
}

/* Text Selection */
::selection {
    background: rgba(40, 167, 69, 0.3);
    color: #2c3e50;
}

/* ===== HEADER İKON DÜZENLEMELERİ ===== */
/* Navigasyondaki ikonları küçült ve hizalamayı sıkılaştır */
.navbar .navbar-nav {
    gap: 6px;
}

.navbar .nav-item {
    display: flex;
    align-items: center;
}

.navbar .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.75rem !important;
}

.navbar .nav-link i {
    font-size: 1rem;
    line-height: 1;
}

/* Telefon, WhatsApp ve kullanıcı ikonlarını da tutarlı yap */
.navbar .fa-phone,
.navbar .fa-whatsapp,
.navbar .fa-user,
.navbar .fa-user-circle {
    font-size: 1rem;
}

/* Sepet ikonunu küçült */
.sepet-onizleme-btn i {
    font-size: 1rem !important;
}

/* Büyük ekranlarda aralıkları çok açmamak için */
@media (min-width: 992px) {
    .navbar {
        padding: 0.6rem 0;
    }
    .navbar .navbar-nav {
        gap: 4px;
    }
}

/* Küçük ekranlarda dikey listede de tutarlı görünsün */
@media (max-width: 991.98px) {
    .navbar .nav-link {
        justify-content: center;
        gap: 8px;
        padding: 0.6rem 1rem !important;
    }
    /* Mobil sağ aksiyon grubu */
    .mobile-actions .nav-link {
        padding: 0.4rem 0.5rem !important;
    }
    .mobile-actions i {
        font-size: 1.1rem;
        line-height: 1;
    }
    .mobile-actions .badge {
        font-size: 0.65rem;
        min-width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* Burger butonunu küçült ve hizala */
    .navbar-toggler {
        padding: 0.2rem 0.3rem;
        border: none !important;
        background: transparent !important;
        border-radius: 4px;
        box-shadow: none !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 4px;
    }
    .navbar-toggler:focus { box-shadow: none !important; }
    .navbar-toggler .navbar-toggler-icon {
        width: 0.95rem;
        height: 0.95rem;
        background-size: 100% 100%;
    }
    /* Daha koyu burger çizgileri (Bootstrap light teması için) */
    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44,62,80, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

::-moz-selection {
    background: rgba(40, 167, 69, 0.3);
    color: #2c3e50;
}

/* ===== TOAST NOTIFICATION STİLLERİ ===== */

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: #28a745;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 350px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast-notification.toast-notification-success {
    background: #28a745;
}

.toast-notification.toast-notification-error {
    background: #dc3545;
}

.toast-notification.toast-notification-warning {
    background: #ffc107;
    color: #212529;
}

.toast-notification.toast-notification-info {
    background: #17a2b8;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.toast-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 0.875rem;
    opacity: 0.8;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

.toast-close:active {
    transform: scale(0.95);
}

/* Toast animasyonları */
.toast-notification.show {
    transform: translateX(0);
}

/* Responsive toast */
@media (max-width: 576px) {
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100%);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}

/* ===== ÜRÜN KARTLARI STİLLERİ ===== */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(46, 139, 87, 0.08);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
    border-color: rgba(46, 139, 87, 0.25);
}

.product-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Favori Butonu */
.favori-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.favori-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #ff6b6b;
    transform: scale(1.1);
}

.favori-btn.favori-aktif {
    color: #ff6b6b;
    background: rgba(255, 255, 255, 1);
}

.favori-btn.favori-aktif:hover {
    color: #ccc;
}

.favori-btn i {
    transition: all 0.3s ease;
}

.favori-btn.favori-aktif i {
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    max-width: 100%;
    max-height: 100%;
}

.no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    color: #6c757d;
}

.product-card:hover .product-image-container img,
.product-card:hover .product-image-link img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.product-badge .badge {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.product-card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.product-category i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.product-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.3;
    font-size: 0.9rem;
}

.price-section {
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #f4f7f9, #e9f4ee);
    border: 1px solid rgba(46, 139, 87, 0.12);
    padding: 0.35rem 0.55rem;
    border-radius: 12px;
}

.current-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1f7a52;
}

.old-price {
    font-size: 0.8rem;
    color: #9aa5b1;
    text-decoration: line-through;
    opacity: .9;
}

/* Ürün Kartı: Buton İyileştirmeleri */
.product-card .d-flex.gap-2 {
    margin-top: auto;
}

/* Sepete ekle butonu: dolu, modern görünüm */
.product-card .sepete-ekle {
    background: linear-gradient(135deg, #2E8B57 0%, #20B2AA 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: 0 6px 18px rgba(46, 139, 87, 0.22);
    padding: 0.6rem 0.9rem;
}

.product-card .sepete-ekle i { opacity: .95; }

.product-card .sepete-ekle:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.02);
    box-shadow: 0 10px 26px rgba(46, 139, 87, 0.28);
}

.product-card .sepete-ekle:active:not(:disabled) {
    transform: translateY(0);
}

/* WhatsApp butonu: kompakt ikon butonu */
.product-card a.btn.btn-success {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.25);
}

.product-card a.btn.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(18, 140, 126, 0.35);
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ürün Bulunamadı */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.no-products i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-products h3 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-products p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.no-products .btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.no-products .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.3);
    color: white;
}

/* Responsive Ürün Kartları */
@media (max-width: 1400px) {
    .product-image-container {
        height: 220px;
    }
}

@media (max-width: 1200px) {
    .product-image-container {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .product-image-container {
        height: 200px;
    }
    
    .product-card-body {
        padding: 1.2rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .product-image-container {
        height: 280px;
    }
    
    .product-card-body {
        padding: 1rem;
    }
    
    .product-category {
        font-size: 0.8rem;
    }
    
    .product-title {
        font-size: 0.95rem;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .old-price {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    /* Mobil için ürün kartı optimizasyonları */
    .product-card {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 0.5rem;
    }
    
    .product-image-container {
        height: 140px;
    }
    
    .product-card-body {
        padding: 0.5rem;
    }
    
    .product-category {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }
    
    .product-title {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 0.3rem;
        font-weight: 600;
    }
    
    /* Mobilde card-title (ürün adı) küçült */
    .product-card .card-title,
    .product-card h5.card-title {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .product-card .card-title a {
        font-size: 0.75rem !important;
    }
    
    .price-section {
        margin-bottom: 0.3rem;
    }
    
    .current-price {
        font-size: 0.85rem;
        font-weight: 700;
    }
    
    .old-price {
        font-size: 0.7rem;
    }
    
    .stock-info {
        margin-bottom: 0.3rem !important;
    }
    
    .stock-info small {
        font-size: 0.65rem;
    }
    
    /* Mobil için buton optimizasyonları */
    .d-flex.gap-2 {
        gap: 0.2rem !important;
    }
    
    .btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.72rem;
        border-radius: 8px;
        min-height: 38px;
    }
    
    .btn i {
        font-size: 0.65rem;
    }
    
    /* Mobilde kategori etiketini gizle */
    .product-category {
        display: none;
    }
    
    /* Mobilde badge boyutunu küçült */
    .product-badge .badge {
        padding: 0.2rem 0.4rem;
        font-size: 0.6rem;
    }
    
    /* Mobilde etiket pozisyonunu ayarla */
    .product-badge {
        top: 0.3rem;
        right: 0.3rem;
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlar için ek optimizasyonlar */
    .product-image-container {
        height: 120px;
    }
    
    .product-card-body {
        padding: 0.4rem;
    }
    
    .product-category {
        font-size: 0.6rem;
        margin-bottom: 0.15rem;
    }
    
    .product-title {
        font-size: 0.7rem;
        line-height: 1.1;
        margin-bottom: 0.25rem;
        font-weight: 600;
    }
    
    /* Çok küçük ekranlarda card-title (ürün adı) daha da küçült */
    .product-card .card-title,
    .product-card h5.card-title {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.4rem !important;
    }
    
    .product-card .card-title a {
        font-size: 0.7rem !important;
    }
    
    .price-section {
        margin-bottom: 0.25rem;
    }
    
    .current-price {
        font-size: 0.8rem;
        font-weight: 700;
    }
    
    .old-price {
        font-size: 0.65rem;
    }
    
    .stock-info {
        margin-bottom: 0.25rem !important;
    }
    
    .stock-info small {
        font-size: 0.6rem;
    }
    
    /* Çok küçük ekranlar için buton optimizasyonları */
    .d-flex.gap-2 {
        gap: 0.15rem !important;
    }
    
    .btn {
        padding: 0.35rem 0.45rem;
        font-size: 0.68rem;
        border-radius: 8px;
        min-height: 36px;
    }
    
    .btn i {
        font-size: 0.6rem;
    }
}

/* Touch Device Optimizasyonları */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    
    /* Touch cihazlar için buton boyutları */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Grid System Responsive - Mobil Öncelikli */
/* Mobil (576px altı) - 2 ürün yan yana */
@media (max-width: 575.98px) {
    .row > .col-6,
    .row.g-3 > .col-6,
    .row .col-6,
    section .row .col-6,
    .container .row .col-6 {
        flex: 0 0 calc(50% - 0.25rem) !important;
        max-width: calc(50% - 0.25rem) !important;
        width: calc(50% - 0.25rem) !important;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
    
    /* col-12 varsa onu da override et */
    .row > .col-12.col-6,
    .row.g-3 > .col-12.col-6 {
        flex: 0 0 calc(50% - 0.25rem) !important;
        max-width: calc(50% - 0.25rem) !important;
        width: calc(50% - 0.25rem) !important;
    }
    
    /* Container padding'i azalt */
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* Tablet (576px - 767px) - 2 ürün yan yana */
@media (min-width: 576px) and (max-width: 767.98px) {
    .row > .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Orta ekran (768px - 991px) - 2 ürün yan yana */
@media (min-width: 768px) and (max-width: 991.98px) {
    .row > .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Büyük ekran (992px - 1199px) - 3 ürün yan yana */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .row > .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Çok büyük ekran (1200px üstü) - 3 ürün yan yana */
@media (min-width: 1200px) {
    .row > .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* ===== SEPET SAYFASI STİLLERİ ===== */
/* Sepet sayfasındaki ürün linkleri için hover efektleri */
.sepet-urun-link {
    transition: all 0.3s ease;
    display: block;
}

.sepet-urun-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sepet-urun-link img {
    transition: all 0.3s ease;
}

.sepet-urun-link:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.sepet-urun-link .urun-adi {
    transition: color 0.3s ease;
}

.sepet-urun-link:hover .urun-adi {
    color: var(--primary-color) !important;
}

/* Sepet tablosundaki ürün resmi hover efekti */
.table tbody tr .me-3 a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.table tbody tr .me-3 a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.table tbody tr .me-3 a img {
    transition: all 0.3s ease;
}

.table tbody tr .me-3 a:hover img {
    filter: brightness(1.1);
}

/* Sepet tablosundaki ürün adı hover efekti */
.table tbody tr .urun-adi {
    transition: color 0.3s ease;
    position: relative;
}

.table tbody tr .urun-adi:hover {
    color: var(--primary-color) !important;
}

.table tbody tr .urun-adi::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.table tbody tr .urun-adi:hover::after {
    width: 100%;
}

/* ===== MOBİL SEPET SAYFA STİLLERİ ===== */
.sepet-mobil-liste {
    padding: 0.75rem;
}

.sepet-mobil-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.sepet-mobil-item-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.sepet-mobil-img-link {
    flex-shrink: 0;
    display: block;
    width: 70px;
    height: 70px;
}

.sepet-mobil-img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 4px;
    border: 1px solid #eee;
}

.sepet-mobil-img-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.sepet-mobil-img-placeholder i {
    font-size: 1.5rem;
    color: #adb5bd;
}

.sepet-mobil-info {
    flex: 1;
    min-width: 0;
    padding-right: 2rem;
}

.sepet-mobil-title {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sepet-mobil-price {
    margin-bottom: 0.25rem;
}

.sepet-mobil-price .birim-fiyat {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sepet-mobil-stock {
    font-size: 0.75rem;
}

.sepet-mobil-stock small {
    color: #6c757d;
}

.sepet-mobil-delete {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff5f5;
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
}

.sepet-mobil-delete:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.sepet-mobil-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px dashed #e9ecef;
}

.sepet-mobil-miktar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.sepet-mobil-miktar-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.sepet-mobil-miktar-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.sepet-mobil-miktar-input {
    width: 40px !important;
    height: 36px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #2c3e50;
    -moz-appearance: textfield;
    padding: 0;
}

.sepet-mobil-miktar-input::-webkit-outer-spin-button,
.sepet-mobil-miktar-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sepet-mobil-miktar-input:focus {
    outline: none;
}

.sepet-mobil-toplam {
    text-align: right;
}

.sepet-mobil-toplam .urun-toplam {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Mobil Sepet Genel Düzenlemeler */
@media (max-width: 991.98px) {
    /* Sepet sayfası row düzeni */
    .sepet-row-container {
        flex-direction: column !important;
    }
    
    /* Sepet ürünleri kolonunu tam genişlik yap */
    .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    /* Sepet özeti kolonunu tam genişlik yap */
    .col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 1rem;
    }
    
    .col-lg-4 .card.sticky-top {
        position: static !important;
    }
}

@media (max-width: 767.98px) {
    /* Sepet header */
    section.py-5.bg-success.text-white {
        padding: 1.5rem 0 !important;
    }
    
    section.py-5.bg-success.text-white h1.display-4 {
        font-size: 1.5rem;
    }
    
    section.py-5.bg-success.text-white .lead {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
    
    section.py-5.bg-success.text-white i.fa-shopping-cart {
        font-size: 1.25rem;
        margin-right: 0.5rem !important;
    }
    
    /* Sepet içerik section */
    section.py-5:not(.bg-success) {
        padding: 1rem 0 !important;
    }
    
    /* Card düzenlemeleri */
    .card.border-0.shadow-sm {
        border-radius: 12px;
    }
    
    .card-header.bg-white,
    .card-header.bg-success {
        padding: 0.75rem 1rem;
    }
    
    .card-header h5 {
        font-size: 0.95rem;
    }
    
    .card-body {
        padding: 0.75rem !important;
    }
    
    .card-footer.bg-white {
        padding: 0.75rem;
    }
    
    /* Sepet footer butonları */
    .card-footer .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .card-footer .btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.6rem;
    }
    
    /* Sepet özeti kartı */
    .col-lg-4 .card .card-body {
        padding: 1rem !important;
    }
    
    .col-lg-4 .card .card-body .mb-3 {
        margin-bottom: 0.75rem !important;
    }
    
    .col-lg-4 .card .card-body label {
        font-size: 0.85rem;
    }
    
    .col-lg-4 .card .card-body .btn {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .col-lg-4 .card .card-body .alert {
        padding: 0.6rem;
        font-size: 0.8rem;
        margin-bottom: 0.75rem !important;
    }
    
    /* Kupon alanı */
    #kuponKodu {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    #kuponUygulaBtn,
    #kuponIptalBtn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
    
    /* Sepet özeti fiyatlar */
    .d-flex.justify-content-between.mb-2 span {
        font-size: 0.9rem;
    }
    
    .fs-5.fw-bold {
        font-size: 1rem !important;
    }
    
    /* d-grid butonları */
    .d-grid.gap-2 {
        gap: 0.5rem !important;
    }
    
    .d-grid .btn {
        padding: 0.65rem;
        font-size: 0.85rem;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 375px) {
    .sepet-mobil-liste {
        padding: 0.5rem;
    }
    
    .sepet-mobil-item {
        padding: 0.6rem;
    }
    
    .sepet-mobil-img-link,
    .sepet-mobil-img,
    .sepet-mobil-img-placeholder {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
    
    .sepet-mobil-title {
        font-size: 0.8rem;
    }
    
    .sepet-mobil-price .birim-fiyat {
        font-size: 0.85rem;
    }
    
    .sepet-mobil-miktar-btn {
        width: 32px;
        height: 32px;
    }
    
    .sepet-mobil-miktar-input {
        width: 35px !important;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .sepet-mobil-toplam .urun-toplam {
        font-size: 0.95rem;
    }
    
    .sepet-mobil-delete {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}
/* ===== MODERN SIDEBAR SEPET TASARIMI ===== */
/* Sepet Overlay (Backdrop) */
.sepet-onizleme {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.sepet-onizleme.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Sepet Sidebar (Drawer) */
.sepet-onizleme-content {
    position: absolute;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sepet-onizleme.show .sepet-onizleme-content {
    right: 0;
}

/* Header K�sm� */
.sepet-onizleme-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    z-index: 10;
}

.sepet-onizleme-header h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sepet-onizleme-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    border: none;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sepet-onizleme-close:hover {
    background: #dc3545;
    color: #fff;
    transform: rotate(90deg);
}

/* Body (�r�nler Listesi) */
.sepet-onizleme-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f9fa;
}

/* Scrollbar �zelle�tirme */
.sepet-onizleme-body::-webkit-scrollbar {
    width: 6px;
}

.sepet-onizleme-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sepet-onizleme-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.sepet-onizleme-body::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* �r�n Kart� */
.sepet-onizleme-item {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.sepet-onizleme-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.sepet-onizleme-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
    border: 1px solid #eee;
}

.sepet-onizleme-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Text truncate i�in �nemli */
}

.sepet-onizleme-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.sepet-onizleme-item-price {
    font-size: 0.9rem;
    color: #6c757d;
}

.sepet-onizleme-item-total {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 2px;
}

/* Kontroller (Miktar ve Silme) */
.sepet-onizleme-item-controls {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
}

.input-group-sm {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.input-group-sm .btn {
    border: none;
    background: #fff;
    color: #2c3e50;
    padding: 0.25rem 0.5rem;
}

.input-group-sm .btn:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.input-group-sm input {
    border: none;
    background: #fff;
    font-weight: 600;
    color: #2c3e50;
    width: 30px !important;
    padding: 0;
}

.urun-cikar-onizleme {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
    background: transparent;
    transition: all 0.2s;
}

.urun-cikar-onizleme:hover {
    background: #dc3545;
    color: #fff;
}

/* Footer K�sm� */
.sepet-onizleme-footer {
    padding: 1.5rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.sepet-onizleme-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #dee2e6;
}

.sepet-onizleme-total-label {
    font-size: 1.1rem;
    color: #6c757d;
}

.sepet-onizleme-total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.sepet-onizleme-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.sepet-onizleme-actions .btn {
    width: 100%;
    padding: 0.8rem;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s;
}

.sepet-onizleme-actions .btn:active {
    transform: scale(0.98);
}

.sepet-onizleme-actions .btn-success {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.sepet-onizleme-actions .btn-outline-success {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.sepet-onizleme-actions .btn-outline-success:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Bo� Sepet Tasar�m� */
.sepet-onizleme-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #adb5bd;
    padding: 2rem;
}

.sepet-onizleme-empty i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.sepet-onizleme-empty h6 {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .sepet-onizleme-content {
        right: -100%;
        max-width: 100%;
    }
    
    .sepet-onizleme-header {
        padding: 1rem;
    }
    
    .sepet-onizleme-body {
        padding: 1rem;
    }
    
    .sepet-onizleme-footer {
        padding: 1rem;
    }
    
    .sepet-onizleme-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .sepet-onizleme-item-img {
        width: 70px;
        height: 70px;
    }
    
    .sepet-onizleme-item-title {
        font-size: 0.9rem;
    }
    
    .sepet-onizleme-total-amount {
        font-size: 1.3rem;
    }
}
