/* mumdukkanim.com E-ticaret CSS - Modern Design - FIXED VERSION */

/* Product Grid Spacing - Azaltılmış mesafe ve daha büyük kartlar */
.product-grid .row {
    margin-left: -5px;
    margin-right: -5px;
}

.product-grid .row > div {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 30px;
}

/* Normal Bootstrap spacing'i koru */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

/* Container padding'i sadece ürün bölümlerinde ayarla */
.product-section .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1500px;
}

/* Header ve footer için normal padding */
.main-header .container,
.top-bar .container,
.footer .container {
    padding-left: 15px;
    padding-right: 15px;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --light-color: #f8fafc;
    --dark-color: #1f2937;
    --border-radius: 16px;
    --box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Styles */
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: #ffffff;
    min-height: 100vh;
}

/* Header Styles */
.top-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 0;
    font-size: 0.9rem;
}

/* Top Bar Layout Fix */
.top-bar .row {
    align-items: center !important;
}

.top-bar .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.top-bar .col-md-6:last-child {
    text-align: right !important;
}

/* Main Header - Responsive */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    z-index: 1020;
    overflow: visible;
}

.main-header .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow: visible;
}

@media (min-width: 768px) {
    .main-header .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Desktop Logo */
.navbar-brand {
    padding: 0;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.navbar-brand .site-logo {
    max-height: 100%;
    height: auto;
    width: auto;
    max-width: 100%;
    display: block;
    transition: transform 0.2s ease;
    object-fit: contain;
    position: relative;
}

.navbar-brand:hover .site-logo {
    transform: scale(1.02);
}

/* Mobile Logo */
.navbar-brand-mobile {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.site-logo-mobile {
    max-height: 50px;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Desktop Header Layout */
@media (min-width: 768px) {
    .main-header .d-none.d-md-flex {
        height: 110px;
        min-height: 110px;
        max-height: 110px;
        align-items: center;
        overflow: visible;
    }
    
    .main-header .col-lg-2,
    .main-header .col-lg-3,
    .main-header .col-md-3,
    .main-header .col-md-4 {
        display: flex;
        align-items: center;
        overflow: visible;
        height: 110px;
    }
    
    /* Header actions column - dropdown için overflow visible */
    .main-header .header-actions {
        overflow: visible !important;
    }
}

/* Mobile Header Actions */
.header-action-link {
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.3rem;
    transition: color 0.2s ease;
    white-space: nowrap;
    flex-direction: row;
    font-size: 0.9rem;
}

.header-action-link i {
    display: inline-block;
}

.header-action-link span {
    display: inline-block;
}

.header-action-link:hover {
    color: #007bff;
    text-decoration: none;
}

.header-actions {
    gap: 0.3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
}

@media (min-width: 992px) {
    .header-actions {
        gap: 0.5rem;
    }
}

/* Search Form */
.header-search-form {
    width: 100%;
}

.header-search-form .form-control {
    border-radius: 25px;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
}

.header-search-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.header-search-form .btn {
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    white-space: nowrap;
}

/* Mobile Menu Offcanvas */
.offcanvas-header {
    background: #f8f9fa;
}

.offcanvas-body .nav-link {
    color: #333;
    transition: background-color 0.2s ease;
}

.offcanvas-body .nav-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.accordion-button {
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Cart Badge */
.badge {
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .main-header {
        padding: 0;
    }
    
    .header-search-form .form-control {
        font-size: 0.9rem;
    }
    
    .header-search-form .btn {
        padding: 0.4rem 1rem;
    }
}

.main-header .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.main-header .col-md-3:last-child {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    text-align: right !important;
}

/* Header Form and Buttons */
.main-header .form-control {
    border-radius: 25px;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    width: 100%;
}

.main-header .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.main-header .btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.main-header .btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
}

.main-header .btn-outline-primary:hover {
    background-color: #667eea;
    border-color: #667eea;
    color: white;
}

/* Header Action Links (Hesabım, Favorilerim, Sepetim) */
.header-action-link {
    display: flex;
    align-items: center;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-action-link i {
    font-size: 1.1rem;
}

.header-action-link:hover {
    color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
}

.header-action-link .badge {
    font-size: 0.65rem;
    padding: 0.25em 0.5em;
}

.header-action-link.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.2em;
}

/* Dropdown menu z-index fix for sticky header */
.main-header .dropdown {
    position: relative;
    z-index: 1030;
}

.main-header .dropdown-menu {
    z-index: 1030 !important;
    position: absolute;
    top: 100%;
    margin-top: 0.125rem;
    min-width: 220px;
    max-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.main-header .dropdown-menu .dropdown-item {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.main-header .dropdown-menu .dropdown-item:hover {
    background-color: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.main-header .dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
}

.main-header .dropdown-menu.dropdown-menu-end {
    right: 0;
    left: auto;
}

/* Header actions container - dropdown için overflow visible */
.main-header .header-actions {
    overflow: visible !important;
    position: relative;
    z-index: 1030;
}

/* Add safe spacing between search area and account actions */
.main-header .header-actions { 
    margin-left: 48px; 
    gap: 0.5rem !important; /* Butonları birbirlerine yaklaştır */
}
.main-header .header-search-form { margin-right: 48px; }

/* Navigation */
.navbar {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.25rem 0; /* üst-alt boşluk azaltıldı */
}

/* Category menu look (Trendy style) */
.navbar .navbar-nav { gap: 8px; }
.navbar .nav-link {
    font-weight: 600;
    color: #111827;
    padding: 0.5rem 1.25rem;
}
.navbar .nav-link:hover {
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Small red NEW badge for menu items */
.badge-new {
    display: inline-block;
    background-color: #dc2626;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 9999px;
    margin-left: 6px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.4rem 1rem; /* üst-alt boşluk azaltıldı */
    position: relative;
    transition: all 0.3s ease;
    margin: 0 0.25rem; /* öğeler arası mesafe azaltıldı */
    color: #4b5563;
    border-radius: 10px;
}

.navbar-nav .nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Navbar dropdown: open on hover for desktop */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .navbar .dropdown-toggle::after {
        transition: transform 0.2s ease;
    }
    .navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Category page - subcategory cards */
.subcategory-card .thumb {
    width: 100%;
    height: 140px; /* larger, consistent viewport */
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
    margin-bottom: 8px;
}
.subcategory-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Vertical separator between menu items */
.navbar-nav .nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.5rem;
    top: 20%;
    bottom: 20%;
    width: 2px;
    background: #adb5bd;
    z-index: 1;
    border-radius: 1px;
}

/* Breadcrumb */
.breadcrumb-container {
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Modern Product Cards - Düzgün boyutlandırma */
.product-card-modern {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    width: 100%;
    margin-bottom: 20px;
}

.product-card-modern > .stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.08) 0%, 
        rgba(118, 75, 162, 0.08) 50%, 
        rgba(255, 107, 107, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.product-card-modern:hover::before {
    opacity: 1;
}

.product-card-modern:hover {
    transform: translateY(-16px) scale(1.04);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Product Image Container - Büyük kartlar için */
.product-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px 16px 0 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* cover -> contain: aynı görsel kart ve detayda orantılı görünür */
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(1) contrast(1.1);
}

.product-card-modern:hover .product-image {
    transform: scale(1.15);
    filter: brightness(1.1) contrast(1.2);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-image-placeholder i {
    font-size: 3rem;
    color: #94a3b8;
    opacity: 0.7;
}

/* Quick action icons on product card */
.quick-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 4; /* above stretched-link (z:2) and other elements */
}

.quick-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    background: #667eea;
    color: #fff;
}

.quick-action-btn.favorite:hover { background: #ef4444; }
.quick-action-btn.compare:hover { background: #10b981; }
.quick-action-btn.share:hover { background: #3b82f6; }

/* Product Detail Page Image Overrides */
.detail-image-container {
    height: 520px !important;
    overflow: visible !important;
    background: #f8fafc;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image-container img.img-fluid {
    max-height: 100%;
    max-width: 80%; /* 60% -> 80%: detay sayfada görsel daha okunur boyut */
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.product-card-modern:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 10px;
    transform: translateY(20px);
    transition: transform 0.5s ease 0.2s;
}

.product-card-modern:hover .product-actions {
    transform: translateY(0);
}

.action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
}

.action-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-4px) scale(1.15);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.wishlist-btn:hover {
    background: #ef4444;
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.4);
}

.quick-view-btn:hover {
    background: #10b981;
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.compare-btn:hover {
    background: #f59e0b;
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

/* Badges */
.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.badge-text {
    font-size: 0.65rem;
}

.badge-percent {
    font-size: 0.8rem;
    font-weight: 800;
}

.stock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.stock-badge.out-of-stock {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.stock-badge.low-stock {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Product Info - Büyük kartlar için */
.product-info {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.product-category {
    font-size: 0.65rem;
    color: #667eea;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-name {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-name a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.4s ease;
}

.product-name a:hover {
    color: #667eea;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars i {
    color: #fbbf24;
    font-size: 0.7rem;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.rating-text {
    font-size: 0.65rem;
    color: #6b7280;
    font-weight: 500;
}

/* Price */
.product-price {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.original-price {
    font-size: 0.7rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

/* Add to Cart Button */
.product-actions-bottom {
    margin-top: auto;
    position: relative;
    z-index: 4;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

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

.add-to-cart-btn.disabled {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    cursor: not-allowed;
}

.add-to-cart-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #d1d5db;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #667eea;
}

/* Responsive Design - 6 kart yatayda - Azaltılmış mesafe ile daha büyük kartlar */
.product-grid .row > div {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
}

@media (min-width: 576px) {
    .product-grid .row > div {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        width: 33.333333% !important;
    }
}

@media (min-width: 768px) {
    .product-grid .row > div {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        width: 25% !important;
    }
}

@media (min-width: 992px) {
    .product-grid .row > div {
        flex: 0 0 16.666667% !important;
        max-width: 16.666667% !important;
        width: 16.666667% !important;
    }
}

@media (min-width: 1200px) {
    .product-grid .row > div {
        flex: 0 0 16.666667% !important;
        max-width: 16.666667% !important;
        width: 16.666667% !important;
    }
}

@media (min-width: 1400px) {
    .product-grid .row > div {
        flex: 0 0 16.666667% !important;
        max-width: 16.666667% !important;
        width: 16.666667% !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

/* Main Slider Styles */
.main-slider-section {
    margin: 20px auto; /* Add vertical spacing between menu and slider */
    max-width: 1500px;
    padding: 0 15px;
}

.main-slider-section .carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.main-slider-section .carousel-inner {
    border-radius: 20px;
}

.main-slider-section .carousel-item {
    border-radius: 20px;
    min-height: 450px;
}

.main-slider-section .slider-content {
    border-radius: 20px;
    min-height: 450px !important;
}

/* Featured Products Section - Çerçeve ve Gradient Arka Plan */
.featured-products-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 2rem auto;
    max-width: 1500px;
}

.featured-products-section {
    margin-bottom: 3rem;
}

/* Banner Slider Section */
.banner-slider-section {
    margin: 1.5rem 0;
}

/* Banner container'ı üstteki çerçeveyle aynı genişlikte yap */
.banner-slider-section .container {
    max-width: 1500px;
    padding-left: 0;
    padding-right: 0;
}

.banner-slider-section .row > div {
    padding-left: 0;
    padding-right: 0;
}

.banner-box {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.banner-box img {
    width: 100%;
    height: 250px; /* yükseklik artırıldı */
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .banner-box img { height: 200px; }
}

/* Auth (Login/Register) */
.auth-hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #fdf7ff 100%);
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
}

.auth-card {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.auth-card-visual {
    background: linear-gradient(135deg, #2962ff 0%, #512da8 100%);
    color: #fff;
    min-height: 100%;
}

.auth-card-visual.register {
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
}

.auth-form .input-group-text {
    border-color: #e0e0e0;
    background-color: transparent;
}

.auth-form .form-control {
    border-color: #e0e0e0;
    box-shadow: none;
}

.auth-form .form-control:focus {
    border-color: #2962ff;
    box-shadow: 0 0 0 0.2rem rgba(41, 98, 255, 0.15);
}

.password-field .password-toggle {
    border-color: #e0e0e0;
    color: #6c757d;
}

.password-field .password-toggle:hover,
.password-field .password-toggle:focus {
    border-color: #2962ff;
    color: #2962ff;
    box-shadow: none;
}

.auth-form .form-control-lg {
    border-radius: 14px;
    padding: 0.85rem 1.1rem;
}

.auth-card .list-unstyled li i {
    width: 18px;
    text-align: center;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-modern {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, #667eea, #764ba2) 1;
}

.clickable-area { position: relative; z-index: 1; cursor: pointer; }
.clickable-area > .stretched-link { position: absolute; inset: 0; z-index: 2; display: block; }
.product-actions-bottom { position: relative; z-index: 3; }