
/* --- Content from style.css --- */
/* Reset və əsas stillər */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Cart Icon */
.mobile-cart-icon {
    display: none;
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.mobile-cart-icon:hover {
    background: rgba(255,255,255,0.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-list a:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Search Section */
.search-section {
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-inputs {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.category-select {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
    /* Custom styles for better appearance */
    -webkit-appearance: none; /* Remove default arrow for Chrome/Safari */
    -moz-appearance: none;    /* Remove default arrow for Firefox */
    appearance: none;         /* Remove default arrow for modern browsers */
    background-image: url(\'data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%235e35b1%22%20d%3D%22M208.5%2096.5L128%20177l-80.5-80.5c-4.7-4.7-12.3-4.7-17%200s-4.7%2012.3%200%2017l88%2088c4.7%204.7%2012.3%204.7%2017%200l88-88c4.7-4.7%204.7-12.3%200-17s-12.3-4.7-17%200z%22%2F%3E%3C%2Fsvg%3E\');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem; /* Make space for the custom arrow */
}

.category-select:focus {
    outline: none;
    border-color: #0B2545;
}

.search-input {
    flex: 2;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #0B2545;
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-btn:hover {
    transform: translateY(-2px);
}

/* Search Results */
.search-results {
    padding: 3rem 0;
}

.search-results h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 250px; /* Sabit yükseklik */
    overflow: hidden;
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmin tamamını göster */
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.out-of-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
    order: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.product-code {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #0B2545;
    border: 2px solid #0B2545;
}

.btn-outline:hover {
    background: #0B2545;
    color: white;
}

/* Brands Section */
.brands {
    padding: 4rem 0;
    background: white;
}

.brands h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 4 kart üçün dəstək */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.brand-card {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.brand-logo {
    margin-right: 2rem;
}

.brand-logo img {
    height: 80px;
    width: auto;
}

.brand-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.brand-info p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #0B2545;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}


/* Footer */
.footer {
        background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0B2545;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}

.cart-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 700px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.cart-header {
    background: #0B2545;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.cart-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cart-total {
    font-size: 1.2rem;
}

.cart-total-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cart-total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cart-total-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0B2545;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.no-results p {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobil səbət ikonunu göstər */
    .mobile-cart-icon {
        display: flex;
    }
    
    /* Desktop navigation-ı gizlə */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a237e;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        display: block;
    }
    
    /* Hamburger menyunu göstər */
    .hamburger {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
.search-inputs {
        flex-direction: column;
    }
    
    .search-inputs > .search-input { /* Doğrudan search-inputs altındaki search-input'lar (dropdown ve text input) */
        width: 100% !important; /* Genişliği %100 olarak zorlamak */
        margin-right: 0 !important; /* index.php'deki inline margin'i sıfırlamak */
        margin-bottom: 1rem; /* Aralarına boşluk eklemek */
    }
    
    .search-inputs > .search-input:first-child { /* Dropdown */
        order: 1; /* Dropdown'ı en üste taşımak */
    }
    
    .search-inputs > .search-input:nth-child(2) { /* Text Input */
        order: 2; /* Text Input'u ortaya taşımak */
    }
    
    .search-btn {
        order: 3; /* Button'ı en alta taşımak */
        width: 100%;
    }
    
    .category-select,
    .search-btn {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
}
/* Desktop versiyada mobil səbət ikonunu gizlə */
@media (min-width: 769px) {
    .mobile-cart-icon {
        display: none;
    }
    
    .hamburger {
        display: none;
    }
}
    .brand-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-content {
        width: 95%;
        max-height: 95vh; /* Mobil üçün də hündürlüyü artırmaq */
    }
}

@media (max-width: 480px) {
    .container { padding: 0 10px; }
    .hero { padding: 1.5rem 0; }
    .hero h1 { font-size: 1.3rem; }
    .search-form { padding: 0.75rem; }
    .product-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    
    .cart-modal { max-width: 95vw !important; }
    .cart-content { width: 100% !important; max-width: 95vw !important; max-height: 85vh !important; padding: 0 !important; }
    .cart-header { padding: 0.75rem 1rem !important; }
    .cart-items { padding: 0.5rem !important; max-height: 65vh !important; overflow-y: auto !important; overflow-x: hidden !important; }
    
    .cart-item { display: flex !important; flex-direction: column !important; gap: 0.3rem !important; padding: 0.5rem !important; margin-bottom: 0.5rem !important; border: 1px solid #e9ecef !important; width: 100% !important; box-sizing: border-box !important; }
    
    .cart-item-top { display: flex !important; gap: 0.3rem !important; align-items: flex-start !important; width: 100% !important; box-sizing: border-box !important; }
    .cart-item-image { flex-shrink: 0 !important; width: 50px !important; height: 50px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #f5f5f5 !important; }
    .cart-item-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
    
    .cart-item-info { flex: 1 !important; min-width: 0 !important; display: flex !important; flex-direction: column !important; gap: 0.05rem !important; }
    .cart-item-name { font-size: 0.8rem !important; font-weight: 600 !important; margin: 0 !important; line-height: 1.1 !important; }
    .cart-item-code { font-size: 0.65rem !important; color: #999 !important; margin: 0 !important; }
    
    .cart-item-bottom { display: flex !important; gap: 0.3rem !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; box-sizing: border-box !important; padding-top: 0.3rem !important; border-top: 1px solid #f0f0f0 !important; }
    
    .cart-item-select { flex-shrink: 0 !important; width: 18px !important; height: 18px !important; display: flex !important; align-items: center !important; }
    
    .cart-item-price { font-size: 0.75rem !important; font-weight: 600 !important; color: #0B2545 !important; margin: 0 !important; white-space: nowrap !important; flex-shrink: 0 !important; }
    
    .cart-item-quantity { display: flex !important; gap: 0.1rem !important; align-items: center !important; flex-shrink: 0 !important; }
    .cart-item-quantity .qty-btn { width: 18px !important; height: 18px !important; padding: 0 !important; font-size: 0.55rem !important; background: #f0f0f0 !important; border: 1px solid #ddd !important; }
    .cart-item-quantity input { width: 25px !important; height: 18px !important; font-size: 0.55rem !important; text-align: center !important; padding: 0 !important; border: 1px solid #ddd !important; }
    .cart-item-remove { flex-shrink: 0 !important; width: 18px !important; height: 18px !important; padding: 0 !important; font-size: 0.55rem !important; background: #fff3cd !important; border: 1px solid #ffc107 !important; display: flex !important; align-items: center !important; justify-content: center !important; }
    
    .cart-footer { padding: 0.5rem 0.75rem !important; border-top: 1px solid #e9ecef !important; display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 0.3rem !important; }
    .cart-total-row { display: flex !important; justify-content: flex-start !important; align-items: center !important; gap: 0.2rem !important; flex-shrink: 0 !important; }
    .cart-total-label { font-size: 0.7rem !important; font-weight: 600 !important; white-space: nowrap !important; }
    .cart-total-value { font-size: 0.75rem !important; font-weight: 700 !important; color: #0B2545 !important; white-space: nowrap !important; }
    
    .checkout-btn, #checkout-btn { flex: 1 !important; font-size: 0.7rem !important; padding: 0.4rem 0.5rem !important; height: auto !important; white-space: nowrap !important; min-width: 60px !important; }
}
@media (max-width: 480px) {
    .order-unavailable-section {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
}



/* Order Modal Styles */
.order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.order-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    animation: modalSlideIn 0.3s ease-out forwards;
}

.order-header {
    background: linear-gradient(135deg, #EFE8E5 25%, #BECFDF 0%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-order {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-order:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.order-body {
    padding: 2rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.order-description {
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3f51b5;
}

.order-product-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-product-form .form-group {
    display: flex;
    flex-direction: column;
}

.order-product-form .form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.order-product-form .form-group input,
.order-product-form .form-group textarea {
    padding: 0.875rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    font-family: inherit;
}

.order-product-form .form-group input:focus,
.order-product-form .form-group textarea:focus {
    outline: none;
    border-color: #3f51b5;
    box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.1);
    transform: translateY(-1px);
}

.order-product-form .form-group input:required:invalid {
    border-color: #dc3545;
}

.order-product-form .form-group input:required:valid {
    border-color: #28a745;
}

.order-product-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.form-actions .btn {
    min-width: 120px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-actions .btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.form-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
}

.form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
}

.form-actions .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Loading State */
.order-product-form.loading {
    pointer-events: none;
    opacity: 0.7;
}

.order-product-form.loading .btn-primary {
    position: relative;
}

.order-product-form.loading .btn-primary::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.order-result {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

.order-result.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.order-result.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design for Order Modal */
@media (max-width: 768px) {
    .order-content {
        width: 95%;
        max-height: 95vh;
        margin: 2.5vh auto;
        border-radius: 15px;
    }
    
    .order-header {
        padding: 1rem 1.5rem;
    }
    
    .order-header h3 {
        font-size: 1.2rem;
    }
    
    .order-body {
        padding: 1.5rem;
    }
    
    .order-product-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .order-description {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .order-content {
        width: 98%;
        max-height: 98vh;
        margin: 1vh auto;
        border-radius: 10px;
    }
    
    .order-header {
        padding: 0.75rem 1rem;
    }
    
    .order-body {
        padding: 1rem;
    }
    
    .order-product-form .form-group input,
    .order-product-form .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-actions .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Navigation Button */
#order-product-btn {
    position: relative;
    overflow: hidden;
}

#order-product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#order-product-btn:hover::before {
    left: 100%;
}

/* Floating Action Button (Alternative) */
.floating-order-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1500;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-order-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 768px) {
    .floating-order-btn {
        bottom: 70px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}



/* No Results Container Styles */
.no-results-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.no-results-container p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

.no-results-container .btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
}



/* Qiymətləndirmə düymələri üçün mobil versiya düzəlişi */
.evaluation-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%; /* Added to make it take full width */
}

.evaluation-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    flex-grow: 1; /* Added to make buttons expand */
    max-width: 300px; /* Adjusted max-width */
}

/* Mobil versiyada düymələr arasında boşluq */
@media (max-width: 768px) {
    .evaluation-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .evaluation-btn {
        width: 100%;
        max-width: 300px;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .evaluation-buttons {
        gap: 1.5rem;
    }
    
    .evaluation-btn {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
}



.discount-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5722; /* Orange color */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 10;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1rem;
    margin-right: 5px;
}

.discounted-price {
    color: #dc3545;
    font-size: 1.5rem;
    font-weight: bold;
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.product-price .discount-info {
    border: none; /* Remove the border added previously */
    padding: 0;
    margin-bottom: 0;
}

.product-price .discount-info span {
    color: inherit; /* Inherit color from parent */
    font-weight: normal; /* Reset font-weight */
}




.price-section {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.discount-tag {
    background-color: #ff4d4d;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 1.1em;
    margin-bottom: 15px;
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.price-group {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 10px;
}

.original-price-line {
    font-size: 1.5em;
    color: #888;
    text-decoration: line-through;
    font-weight: 500;
}

.current-price {
    font-size: 2.8em;
    font-weight: bold;
    color: #28a745;
    text-shadow: 1px 1px 3px rgba(40, 167, 69, 0.15);
}

.savings-info {
    background-color: #e0ffe0;
    color: #28a745;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    margin-top: 15px;
    border: 1px solid #c3e6cb;
}

.regular-price-display {
    background-color: #f0f8ff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.regular-price-value {
    font-size: 2.8em;
    font-weight: bold;
    color: #007bff;
    text-shadow: 1px 1px 3px rgba(0, 123, 255, 0.15);
}

.price-label-regular {
    font-size: 1.2em;
    color: #555;
    margin-top: 5px;
}



.discount-success-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #28a745; /* Success color */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}



.product-actions .btn {
    width: 100%;
}




/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
}

.image-modal.active {
    display: block;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3001;
}

.image-modal-close:hover {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    transform: scale(1.1);
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border: 2px solid rgba(94, 53, 177, 0.3);
    color: #0B2545 !important;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 60px;
    height: 60px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 3001;
}

.image-modal-nav:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    color: #0B2545 !important;
    transform: translateY(-50%) scale(1.05);
}

.image-modal-prev {
    left: 20px;
}

.image-modal-next {
    right: 20px;
}

.image-modal-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(200, 200, 200, 0.8);
    color: #999;
}

.image-modal-nav:disabled:hover {
    background: rgba(200, 200, 200, 0.8);
    color: #999;
    transform: translateY(-50%) scale(1);
}

.image-modal-counter {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.9) 0%, rgba(126, 87, 194, 0.9) 100%);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    display: none !important;
}

/* Product image clickable cursor */
.product-image {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image::after {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 0.8rem;
    opacity: 0 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 53, 177, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 32px;
    height: 32px;
    display: none !important;
    align-items: center;
    justify-content: center;
}

.product-image:hover::after {
    opacity: 0 !important;
    transform: scale(1.1);
    display: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .image-modal-nav {
        font-size: 1.2rem;
        padding: 12px;
        width: 50px;
        height: 50px;
    }
    
    .image-modal-prev {
        left: 10px !important;
        display: flex !important;
    }
    
    .image-modal-next {
        right: 10px !important;
        display: flex !important;
    }
    
    .image-modal-close {
        top: 10px;
        right: 10px;
        font-size: 1.2rem;
        width: 45px;
        height: 45px;
    }
    
    .image-modal-counter {
        bottom: 20px;
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .image-modal-img {
        max-height: 70vh;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .product-image::after {
        opacity: 0.8;
    }
}



/* Floating Cart Button */
.floating-cart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0B2545;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.floating-cart-button.active {
    opacity: 1;
    visibility: visible;
}

.floating-cart-button:hover {
    transform: scale(1.1);
    background-color: #522e9e;
}

.floating-cart-button .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4d4d;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}




/* Cart Bubble Notification */
.cart-bubble {
    position: fixed;
    bottom: 90px; /* Adjust based on floating cart button height */
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cart-bubble.show {
    opacity: 1;
    visibility: visible;
}




/* Product Info Icon Styles */
.product-info-icon {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0;
}

.product-info-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.4);
}

/* Responsive adjustments for product actions */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }
    
    .product-actions .btn {
        flex: 1;
        min-width: 0;
    }
    
    .product-info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .product-actions {
        gap: 0.5rem;
    }
    
    .product-info-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}



/* Köhnə xəbər stilləri silindi - yeni popup sistemi istifadə olunur */
        align-items: flex-start;
        gap: 1rem;
    }
    
    .news-modal-header h3 {
        margin-right: 0;
    }
    
    .close-news-modal {
        align-self: flex-end;
        margin-top: -1rem;
    }
    
    .news-modal-body {
        padding: 1rem;
    }
}


/* Sizler üçün Bölməsi */
.for-you-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.for-you-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1565c0;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.for-you-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    border-radius: 2px;
}

.for-you-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.for-you-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.for-you-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ffffff 10%, #ffffff 100%);
}

.for-you-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.for-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.for-you-card:hover .for-you-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
}

.for-you-icon i {
    font-size: 2rem;
    color: white;
}

.for-you-card h3 {
    color: #0B2545;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.for-you-card p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.for-you-card .btn {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.for-you-card .btn:hover {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3);
}

/* Mobil uyğunluq */
@media (max-width: 768px) {
    .for-you-section {
        padding: 2rem 0;
    }
    
    .for-you-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .for-you-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .for-you-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .for-you-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}
    
    .for-you-icon {
        width: 60px;
        height: 60px;
    }
    
    .for-you-icon i {
        font-size: 1.5rem;
    }
    
    .for-you-card h3 {
        font-size: 1.25rem;
    }
}


/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #1a237e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #3f51b5;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb-current {
    color: #6c757d;
    font-weight: 500;
}

/* Category Header */
.category-header {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.category-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Products Section */
.products-section {
    padding: 3rem 0;
}

.products-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-count p {
    color: #6c757d;
    font-size: 1rem;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 4rem 0;
}

.no-products-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-products-content i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.no-products-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-products-content p {
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Mobil uyğunluq */
@media (max-width: 768px) {
    .category-header {
        padding: 2rem 0;
    }
    
    .category-info h1 {
        font-size: 2rem;
    }
    
    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .breadcrumb-nav {
        font-size: 0.8rem;
    }
}


/* Brend kartları */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.brand-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.brand-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    font-size: 2.5rem;
}

.brand-name {
    color: #1a237e;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.brand-category {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-description {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.brand-actions .btn {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.brand-actions .btn:hover {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

/* Mobil uyğunluq */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .brand-card {
        padding: 1.5rem;
    }
    
    .brand-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}





/* Brendlerimiz Bölümü - Yeni Kart Düzeni */
.brands-new-layout {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.brands-new-layout h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
    position: relative;
}

.brands-new-layout h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    border-radius: 2px;
}

.brands-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: auto;
    margin: 0 auto;
}

.brand-card-new {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.brand-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #ffffff 10%, #ffffff 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.brand-card-new:hover::before {
    transform: scaleX(1);
}

.brand-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #0B2545;
}

.brand-logo-new {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 3px solid #e9ecef;
}

.brand-card-new:hover .brand-logo-new {
    transform: scale(1.1);
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(94, 53, 177, 0.2);
}

.brand-logo-new img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.brand-info-new h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
    transition: color 0.3s ease;
}

.brand-card-new:hover .brand-info-new h3 {
    color: #0B2545;
}

.brand-info-new p {
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.brand-btn-new {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.brand-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.brand-btn-new:hover::before {
    left: 100%;
}

.brand-btn-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 53, 177, 0.4);
}

.brand-btn-new i {
    transition: transform 0.3s ease;
}

.brand-btn-new:hover i {
    transform: translateX(3px);
}

/* Hyundai özel renkleri */
.brand-card-new.hyundai:hover {
    border-color: #002c5f;
}

.brand-card-new.hyundai:hover .brand-info-new h3 {
    color: #002c5f;
}

.brand-card-new.hyundai .brand-btn-new {
    background: linear-gradient(135deg, #002c5f 0%, #004080 100%);
}

.brand-card-new.hyundai .brand-btn-new:hover {
    box-shadow: 0 10px 25px rgba(0, 44, 95, 0.4);
}

/* Kia özel renkleri */
.brand-card-new.kia:hover {
    border-color: #05141f;
}

.brand-card-new.kia:hover .brand-info-new h3 {
    color: #05141f;
}

.brand-card-new.kia .brand-btn-new {
    background: linear-gradient(135deg, #05141f 0%, #1a2530 100%);
}

.brand-card-new.kia .brand-btn-new:hover {
    box-shadow: 0 10px 25px rgba(5, 20, 31, 0.4);
}

/* Mobil uygunluk */
@media (max-width: 768px) {
    .brands-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .brand-card-new {
        padding: 2rem;
    }
    
    .brand-logo-new {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .brand-info-new h3 {
        font-size: 1.5rem;
    }
    
    .brand-btn-new {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .brands-new-layout {
        padding: 2rem 0;
    }
    
    .brands-new-layout h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .brand-card-new {
        padding: 1.5rem;
    }
    
    .brand-logo-new {
        width: 80px;
        height: 80px;
    }
    
    .brand-info-new h3 {
        font-size: 1.3rem;
    }
    
    .brand-info-new p {
        font-size: 0.9rem;
    }
}



/* Marka kartları için geliştirilmiş ortalama stilleri */
.brand-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.brand-card .brand-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.brand-card .brand-image,
.brand-card .brand-placeholder {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    height: 120px;
    margin-bottom: 20px;
}

.brand-card .brand-image img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    display: block;
}

.brand-card .brand-name {
    text-align: center !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
    color: #1a237e !important;
    font-size: 1.3rem;
}

.brand-card .brand-category {
    color: #6c757d;
    font-size: 0.9em !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.brand-card .brand-description {
    text-align: center !important;
    margin-bottom: 20px !important;
    color: #495057 !important;
    line-height: 1.6 !important;
    flex-grow: 1;
}

.brand-card .brand-actions {
    text-align: center !important;
    margin-top: auto;
}

.brand-card .btn-primary {
    background: linear-gradient(135deg, #1a237e 0%, #3f51b5 100%) !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    color: white !important;
}

.brand-card .btn-primary:hover {
    background: linear-gradient(135deg, #3f51b5 0%, #1a237e 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3) !important;
}

/* Mobil uyumluluk için marka kartları */
@media (max-width: 768px) {
    .brand-card {
        min-height: 350px;
    }
    
    .brand-card .brand-image,
    .brand-card .brand-placeholder {
        height: 100px;
        margin-bottom: 15px;
    }
    
    .brand-card .brand-image img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .brand-card .brand-name {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .brand-card {
        min-height: 320px;
    }
    
    .brand-card .brand-image,
    .brand-card .brand-placeholder {
        height: 80px;
        margin-bottom: 10px;
    }
    
    .brand-card .brand-image img {
        max-width: 60px;
        max-height: 60px;
    }
    
    .brand-card .brand-name {
        font-size: 1.1rem !important;
    }
}




/* Login Dropdown Styles */
/* Login Dropdown Styles */
.login-dropdown {
    position: relative;
}

.login-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-radius: 12px;
    z-index: 1001;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-top: 8px;
}

.login-dropdown-content a {
    color: #1f2937 !important;
    padding: 14px 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 500;
}

.login-dropdown-content a i {
    width: 20px;
    text-align: center;
    color: #6366f1;
}

.login-dropdown-content a:last-child {
    border-bottom: none;
}

.login-dropdown-content a:hover {
    background-color: #f0f4ff;
    color: #6366f1 !important;
    padding-left: 22px;
}

.login-dropdown-content.show {
    display: block;
}

/* Mobile responsive for login dropdown */
@media (max-width: 768px) {
    .login-dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        border-radius: 8px;
        margin-top: 8px;
    }
    
    .login-dropdown-content a {
        color: #1f2937 !important;
        border-bottom: 1px solid #e2e8f0;
        padding: 12px 16px;
    }
    
    .login-dropdown-content a i {
        color: #6366f1;
    }
    
    .login-dropdown-content a:hover {
        background-color: #f0f4ff;
        color: #6366f1 !important;
        padding-left: 20px;
    }
}

/* Login/Register Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.auth-modal.show {
    display: flex;
}

.auth-content {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 0 auto;
    transform: scale(1);
    opacity: 1;
    transition: all 0.3s ease;
}

.auth-modal:not(.show) .auth-content {
    transform: scale(0.9);
    opacity: 0;
}

.auth-header {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
}

.auth-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.auth-body {
    padding: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.auth-form .form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #3f51b5;
    box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.1);
}

.auth-form .form-group input:required:invalid {
    border-color: #dc3545;
}

.auth-form .form-group input:required:valid {
    border-color: #28a745;
}

.auth-form .btn-auth {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.auth-form .btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
}

.auth-form .btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.auth-switch a {
    color: #3f51b5;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.close-auth {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-auth:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.auth-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.auth-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design for Auth Modal */
@media (max-width: 768px) {
    .auth-modal {
        padding: 15px;
    }
    
    .auth-content {
        width: 100%;
        max-width: 400px;
        border-radius: 15px;
    }
    
    .auth-header {
        padding: 1rem 1.5rem;
    }
    
    .auth-header h3 {
        font-size: 1.2rem;
    }
    
    .auth-body {
        padding: 1.5rem;
    }
    
    .close-auth {
        right: 15px;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .auth-modal {
        padding: 10px;
    }
    
    .auth-content {
        width: 100%;
        max-width: 350px;
        border-radius: 10px;
    }
    
    .auth-header {
        padding: 0.75rem 1rem;
    }
    
    .auth-header h3 {
        font-size: 1.1rem;
    }
    
    .auth-body {
        padding: 1rem;
    }
    
    .auth-form .form-group input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .auth-form .btn-auth {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .close-auth {
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }
}



.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}



/* Brand kartları üçün alt xəttləri silmək */
.brand-card-new h3,
.brand-card-new p {
    text-decoration: none !important;
}

.brand-card-new:hover h3,
.brand-card-new:hover p {
    text-decoration: none !important;
}

/* Brand kartlarına hover effekti */
.brand-card-new {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}



/* Brands Section for 3 cards */
.brands-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

@media (max-width: 992px) {
    .brands-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-cards-container {
        grid-template-columns: 1fr;
    }
}



/* --- Modern Footer V2 Stilləri --- */
.footer-v2 {
    background: linear-gradient(135deg, #0B2545 20%, #1a3a5f 100%);
    color: #ffffff;
    padding: 80px 0 30px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-brand i {
    color: #3498db;
}

.footer-text {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social-v2 {
    display: flex;
    gap: 12px;
}

.footer-social-v2 a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social-v2 a:hover {
    background: #3498db;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    color: #ffffff;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

.footer-nav-v2 {
    list-style: none;
    padding: 0;
}

.footer-nav-v2 li {
    margin-bottom: 15px;
}

.footer-nav-v2 a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-nav-v2 a i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.footer-nav-v2 a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-contact-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item-v2 .icon-box {
    width: 45px;
    height: 45px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-v2 .text-box span {
    display: block;
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 2px;
}

.contact-item-v2 .text-box strong {
    font-size: 0.95rem;
    color: #ecf0f1;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.footer-bottom-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.copyright span {
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rights-text {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-v2 {
        padding: 60px 0 30px;
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-bottom-v2 {
        flex-direction: column;
        text-align: center;
    }
}



/* PC versiya (Desktop) */
.cart-item-desktop { display: flex !important; }
.cart-item-mobile { display: none !important; }

/* Mobil versiya (Mobile) */
@media (max-width: 480px) {
    .cart-item-desktop { display: none !important; }
    .cart-item-mobile { display: flex !important; flex-direction: column !important; gap: 0.3rem !important; padding: 0.5rem !important; margin-bottom: 0.5rem !important; border: 1px solid #e9ecef !important; width: 100% !important; box-sizing: border-box !important; }
    
    .cart-item-mobile .cart-item-top { display: flex !important; gap: 0.3rem !important; align-items: flex-start !important; width: 100% !important; box-sizing: border-box !important; }
    .cart-item-mobile .cart-item-image { flex-shrink: 0 !important; width: 50px !important; height: 50px !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #f5f5f5 !important; }
    .cart-item-mobile .cart-item-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
    
    .cart-item-mobile .cart-item-info { flex: 1 !important; min-width: 0 !important; display: flex !important; flex-direction: column !important; gap: 0.05rem !important; }
    .cart-item-mobile .cart-item-name { font-size: 0.8rem !important; font-weight: 600 !important; margin: 0 !important; line-height: 1.1 !important; }
    .cart-item-mobile .cart-item-code { font-size: 0.65rem !important; color: #999 !important; margin: 0 !important; }
    
    .cart-item-mobile .cart-item-bottom { display: flex !important; gap: 0.3rem !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; box-sizing: border-box !important; padding-top: 0.3rem !important; border-top: 1px solid #f0f0f0 !important; }
    
    .cart-item-mobile .cart-item-select { flex-shrink: 0 !important; width: 18px !important; height: 18px !important; display: flex !important; align-items: center !important; }
    
    .cart-item-mobile .cart-item-price { font-size: 0.75rem !important; font-weight: 600 !important; color: #0B2545 !important; margin: 0 !important; white-space: nowrap !important; flex-shrink: 0 !important; }
    
    .cart-item-mobile .cart-item-quantity { display: flex !important; gap: 0.1rem !important; align-items: center !important; flex-shrink: 0 !important; }
    .cart-item-mobile .cart-item-quantity .qty-btn { width: 18px !important; height: 18px !important; padding: 0 !important; font-size: 0.55rem !important; background: #f0f0f0 !important; border: 1px solid #ddd !important; }
    .cart-item-mobile .cart-item-quantity input { width: 25px !important; height: 18px !important; font-size: 0.55rem !important; text-align: center !important; padding: 0 !important; border: 1px solid #ddd !important; }
    .cart-item-mobile .cart-item-remove { flex-shrink: 0 !important; width: 18px !important; height: 18px !important; padding: 0 !important; font-size: 0.55rem !important; background: #fff3cd !important; border: 1px solid #ffc107 !important; display: flex !important; align-items: center !important; justify-content: center !important; }
}


/* Mobil versiya - foto ve secim ikonu olmadan */
@media (max-width: 480px) {
    .cart-item-mobile { display: flex !important; flex-direction: column !important; gap: 0.3rem !important; padding: 0.5rem !important; margin-bottom: 0.5rem !important; border: 1px solid #e9ecef !important; width: 100% !important; box-sizing: border-box !important; }
    
    .cart-item-mobile .cart-item-info { display: flex !important; flex-direction: column !important; gap: 0.05rem !important; width: 100% !important; }
    .cart-item-mobile .cart-item-name { font-size: 0.85rem !important; font-weight: 600 !important; margin: 0 !important; line-height: 1.2 !important; }
    .cart-item-mobile .cart-item-code { font-size: 0.7rem !important; color: #999 !important; margin: 0 !important; }
    
    .cart-item-mobile .cart-item-bottom { display: flex !important; gap: 0.3rem !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; box-sizing: border-box !important; padding-top: 0.3rem !important; border-top: 1px solid #f0f0f0 !important; }
    
    .cart-item-mobile .cart-item-price { font-size: 0.8rem !important; font-weight: 600 !important; color: #0B2545 !important; margin: 0 !important; white-space: nowrap !important; flex-shrink: 0 !important; }
    
    .cart-item-mobile .cart-item-quantity { display: flex !important; gap: 0.1rem !important; align-items: center !important; flex-shrink: 0 !important; }
    .cart-item-mobile .cart-item-quantity .qty-btn { width: 18px !important; height: 18px !important; padding: 0 !important; font-size: 0.55rem !important; background: #f0f0f0 !important; border: 1px solid #ddd !important; }
    .cart-item-mobile .cart-item-quantity input { width: 25px !important; height: 18px !important; font-size: 0.55rem !important; text-align: center !important; padding: 0 !important; border: 1px solid #ddd !important; }
    .cart-item-mobile .cart-item-remove { flex-shrink: 0 !important; width: 18px !important; height: 18px !important; padding: 0 !important; font-size: 0.55rem !important; background: #fff3cd !important; border: 1px solid #ffc107 !important; display: flex !important; align-items: center !important; justify-content: center !important; }
}


/* Mobil versiyada seçim xanası silmə düyməsi ilə eyni ölçüdə */
@media (max-width: 480px) {
    .cart-item-mobile .cart-item-select { 
        flex-shrink: 0 !important; 
        width: 18px !important; 
        height: 18px !important; 
        display: flex !important; 
        align-items: center !important; 
        justify-content: center !important;
        margin-right: 0.2rem !important;
    }
    
    .cart-item-mobile .cart-item-select .checkbox-container {
        position: relative;
        display: inline-block;
        cursor: pointer;
        user-select: none;
        width: 18px;
        height: 18px;
    }
    
    .cart-item-mobile .cart-item-select input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
        margin: 0;
        padding: 0;
        border: none;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }
    
    .cart-item-mobile .cart-item-select .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 18px;
        width: 18px;
        background-color: #ffffff;
        border: 2px solid #0B2545;
        border-radius: 2px;
        transition: all 0.2s ease;
    }
    
    .cart-item-mobile .cart-item-select input:checked ~ .checkmark {
        background-color: #0B2545;
        border-color: #0B2545;
    }
    
    .cart-item-mobile .cart-item-select .checkmark:after {
        content: "\u2713";
        position: absolute;
        display: none;
        left: 2px;
        top: -2px;
        color: white;
        font-size: 14px;
        font-weight: bold;
        line-height: 1;
    }
    
    .cart-item-mobile .cart-item-select input:checked ~ .checkmark:after {
        display: block;
    }
}


/* Mobil versiyada foto və mətn düzülüşü - eyni sətirdə */
@media (max-width: 480px) {
    .cart-item-mobile .cart-item-top-mobile {
        display: flex !important;
        gap: 0.2rem !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-height: 40px !important;
    }
    
    .cart-item-mobile .cart-item-info {
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.02rem !important;
        justify-content: center !important;
    }
    
    .cart-item-mobile .cart-item-name {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .cart-item-mobile .cart-item-code {
        font-size: 0.65rem !important;
        color: #999 !important;
        line-height: 1 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .cart-item-mobile .cart-item-image {
        flex-shrink: 0 !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f5f5f5 !important;
        border-radius: 3px !important;
        margin-left: 0.2rem !important;
    }
    
    .cart-item-mobile .cart-item-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}


/* Paginasiya (Səhifələmə) */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    background-color: #ffffff;
    border: 2px solid #0B2545;
    color: #0B2545;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.3rem;
}

.pagination-btn:hover {
    background-color: #0B2545;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(11, 37, 69, 0.2);
}

.pagination-btn:active {
    transform: translateY(0);
}

.pagination-btn i {
    font-size: 0.85rem;
}

.pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    background-color: #0B2545;
    color: #ffffff;
    border: 2px solid #0B2545;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Mobil versiyada paginasiya */
@media (max-width: 480px) {
    .pagination {
        gap: 0.3rem;
        margin: 1.5rem 0;
    }
    
    .pagination-btn,
    .pagination-current {
        min-width: 36px;
        height: 36px;
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .pagination-btn i {
        font-size: 0.75rem;
    }
}



/* --- Content from style1.css --- */
/* Reset və əsas stillər */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Features Section */
.features {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #0B2545;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}



/* Order Unavailable Section */
.order-unavailable-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.order-unavailable-section h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.order-unavailable-section > p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.unavailable-order-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.form-group input:required:invalid {
    border-color: #dc3545;
}

.form-group input:required:valid {
    border-color: #28a745;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.unavailable-order-form button[type="submit"] {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.unavailable-order-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
}

.unavailable-order-form button[type="submit"]:active {
    transform: translateY(0);
}

.unavailable-order-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.order-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.order-result.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.order-result.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}



/* --- Content from  style.css --- */
/* Reset və əsas stillər */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Cart Icon */
.mobile-cart-icon {
    display: none;
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.mobile-cart-icon:hover {
    background: rgba(255,255,255,0.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-list a:hover {
    background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Search Section */
.search-section {
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-inputs {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.category-select {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
    /* Custom styles for better appearance */
    -webkit-appearance: none; /* Remove default arrow for Chrome/Safari */
    -moz-appearance: none;    /* Remove default arrow for Firefox */
    appearance: none;         /* Remove default arrow for modern browsers */
    background-image: url(\'data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%235e35b1%22%20d%3D%22M208.5%2096.5L128%20177l-80.5-80.5c-4.7-4.7-12.3-4.7-17%200s-4.7%2012.3%200%2017l88%2088c4.7%204.7%2012.3%204.7%2017%200l88-88c4.7-4.7%204.7-12.3%200-17s-12.3-4.7-17%200z%22%2F%3E%3C%2Fsvg%3E\');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem; /* Make space for the custom arrow */
}

.category-select:focus {
    outline: none;
    border-color: #0B2545;
}

.search-input {
    flex: 2;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #0B2545;
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-btn:hover {
    transform: translateY(-2px);
}

/* Search Results */
.search-results {
    padding: 3rem 0;
}

.search-results h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 250px; /* Sabit yükseklik */
    overflow: hidden;
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmin tamamını göster */
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.out-of-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
    order: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.product-code {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #0B2545;
    border: 2px solid #0B2545;
}

.btn-outline:hover {
    background: #0B2545;
    color: white;
}

/* Brands Section */
.brands {
    padding: 4rem 0;
    background: white;
}

.brands h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 4 kart üçün dəstək */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.brand-card {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.brand-logo {
    margin-right: 2rem;
}

.brand-logo img {
    height: 80px;
    width: auto;
}

.brand-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.brand-info p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #0B2545;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}


/* Footer */
.footer {
        background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0B2545;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}

.cart-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 700px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.cart-header {
    background: #0B2545;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.cart-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total {
    font-size: 1.2rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.no-results p {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobil səbət ikonunu göstər */
    .mobile-cart-icon {
        display: flex;
    }
    
    /* Desktop navigation-ı gizlə */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a237e;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        display: block;
    }
    
    /* Hamburger menyunu göstər */
    .hamburger {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
.search-inputs {
        flex-direction: column;
    }
    
    .search-inputs > .search-input { /* Doğrudan search-inputs altındaki search-input'lar (dropdown ve text input) */
        width: 100% !important; /* Genişliği %100 olarak zorlamak */
        margin-right: 0 !important; /* index.php'deki inline margin'i sıfırlamak */
        margin-bottom: 1rem; /* Aralarına boşluk eklemek */
    }
    
    .search-inputs > .search-input:first-child { /* Dropdown */
        order: 1; /* Dropdown'ı en üste taşımak */
    }
    
    .search-inputs > .search-input:nth-child(2) { /* Text Input */
        order: 2; /* Text Input'u ortaya taşımak */
    }
    
    .search-btn {
        order: 3; /* Button'ı en alta taşımak */
        width: 100%;
    }
    
    .category-select,
    .search-btn {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
}
/* Desktop versiyada mobil səbət ikonunu gizlə */
@media (min-width: 769px) {
    .mobile-cart-icon {
        display: none;
    }
    
    .hamburger {
        display: none;
    }
}
    .brand-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-content {
        width: 95%;
        max-height: 95vh; /* Mobil üçün də hündürlüyü artırmaq */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .search-form {
        padding: 1rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}


/* Paginasiya */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: white;
    color: #1a237e;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination-btn:hover {
    background: #1a237e;
    color: white;
    border-color: #1a237e;
}

.pagination-current {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #1a237e;
    color: white;
    border: 1px solid #1a237e;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.results-info {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #e9ecef;
    border-radius: 8px;
    text-align: center;
}

.results-info p {
    margin: 0;
    color: #495057;
    font-weight: 500;
}

/* Məhsul miqdarı */
.product-quantity {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.quantity-available {
    color: #28a745;
    font-weight: 500;
}

.quantity-unavailable {
    color: #dc3545;
    font-weight: 500;
}

@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-btn,
    .pagination-current {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .results-info {
        font-size: 0.9rem;
    }
}



/* Order Unavailable Section */
.order-unavailable-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.order-unavailable-section h3 {
    color: #1a237e;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.order-unavailable-section > p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.unavailable-order-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3f51b5;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
}

.form-group input:required:invalid {
    border-color: #dc3545;
}

.form-group input:required:valid {
    border-color: #28a745;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.unavailable-order-form button[type="submit"] {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.unavailable-order-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.3);
}

.unavailable-order-form button[type="submit"]:active {
    transform: translateY(0);
}

.unavailable-order-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.order-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.order-result.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.order-result.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design for Order Form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .order-unavailable-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .order-unavailable-section h3 {
        font-size: 1.25rem;
    }
    
    .unavailable-order-form button[type="submit"] {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .order-unavailable-section {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
}



/* Order Modal Styles */
.order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.order-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    animation: modalSlideIn 0.3s ease-out forwards;
}

.order-header {
    background: linear-gradient(135deg, #EFE8E5 25%, #BECFDF 0%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-order {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-order:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.order-body {
    padding: 2rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.order-description {
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3f51b5;
}

.order-product-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-product-form .form-group {
    display: flex;
    flex-direction: column;
}

.order-product-form .form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.order-product-form .form-group input,
.order-product-form .form-group textarea {
    padding: 0.875rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    font-family: inherit;
}

.order-product-form .form-group input:focus,
.order-product-form .form-group textarea:focus {
    outline: none;
    border-color: #3f51b5;
    box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.1);
    transform: translateY(-1px);
}

.order-product-form .form-group input:required:invalid {
    border-color: #dc3545;
}

.order-product-form .form-group input:required:valid {
    border-color: #28a745;
}

.order-product-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.form-actions .btn {
    min-width: 120px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-actions .btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.form-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
}

.form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
}

.form-actions .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Loading State */
.order-product-form.loading {
    pointer-events: none;
    opacity: 0.7;
}

.order-product-form.loading .btn-primary {
    position: relative;
}

.order-product-form.loading .btn-primary::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.order-result {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

.order-result.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.order-result.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design for Order Modal */
@media (max-width: 768px) {
    .order-content {
        width: 95%;
        max-height: 95vh;
        margin: 2.5vh auto;
        border-radius: 15px;
    }
    
    .order-header {
        padding: 1rem 1.5rem;
    }
    
    .order-header h3 {
        font-size: 1.2rem;
    }
    
    .order-body {
        padding: 1.5rem;
    }
    
    .order-product-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-actions {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .order-description {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .order-content {
        width: 98%;
        max-height: 98vh;
        margin: 1vh auto;
        border-radius: 10px;
    }
    
    .order-header {
        padding: 0.75rem 1rem;
    }
    
    .order-body {
        padding: 1rem;
    }
    
    .order-product-form .form-group input,
    .order-product-form .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-actions .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Navigation Button */
#order-product-btn {
    position: relative;
    overflow: hidden;
}

#order-product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#order-product-btn:hover::before {
    left: 100%;
}

/* Floating Action Button (Alternative) */
.floating-order-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1500;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-order-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 768px) {
    .floating-order-btn {
        bottom: 70px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}



/* No Results Container Styles */
.no-results-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.no-results-container p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

.no-results-container .btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
}



/* Qiymətləndirmə düymələri üçün mobil versiya düzəlişi */
.evaluation-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%; /* Added to make it take full width */
}

.evaluation-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    flex-grow: 1; /* Added to make buttons expand */
    max-width: 300px; /* Adjusted max-width */
}

/* Mobil versiyada düymələr arasında boşluq */
@media (max-width: 768px) {
    .evaluation-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .evaluation-btn {
        width: 100%;
        max-width: 300px;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .evaluation-buttons {
        gap: 1.5rem;
    }
    
    .evaluation-btn {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
}



.discount-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5722; /* Orange color */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 10;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1rem;
    margin-right: 5px;
}

.discounted-price {
    color: #dc3545;
    font-size: 1.5rem;
    font-weight: bold;
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.product-price .discount-info {
    border: none; /* Remove the border added previously */
    padding: 0;
    margin-bottom: 0;
}

.product-price .discount-info span {
    color: inherit; /* Inherit color from parent */
    font-weight: normal; /* Reset font-weight */
}




.price-section {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.discount-tag {
    background-color: #ff4d4d;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 1.1em;
    margin-bottom: 15px;
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.price-group {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 10px;
}

.original-price-line {
    font-size: 1.5em;
    color: #888;
    text-decoration: line-through;
    font-weight: 500;
}

.current-price {
    font-size: 2.8em;
    font-weight: bold;
    color: #28a745;
    text-shadow: 1px 1px 3px rgba(40, 167, 69, 0.15);
}

.savings-info {
    background-color: #e0ffe0;
    color: #28a745;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    margin-top: 15px;
    border: 1px solid #c3e6cb;
}

.regular-price-display {
    background-color: #f0f8ff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.regular-price-value {
    font-size: 2.8em;
    font-weight: bold;
    color: #007bff;
    text-shadow: 1px 1px 3px rgba(0, 123, 255, 0.15);
}

.price-label-regular {
    font-size: 1.2em;
    color: #555;
    margin-top: 5px;
}



.discount-success-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #28a745; /* Success color */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}



.product-actions .btn {
    width: 100%;
}




/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
}

.image-modal.active {
    display: block;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3001;
}

.image-modal-close:hover {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    transform: scale(1.1);
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border: 2px solid rgba(94, 53, 177, 0.3);
    color: #0B2545;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3001;
}

.image-modal-nav:hover {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.image-modal-prev {
    left: -80px;
}

.image-modal-next {
    right: -80px;
}

.image-modal-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(200, 200, 200, 0.8);
    color: #999;
}

.image-modal-nav:disabled:hover {
    background: rgba(200, 200, 200, 0.8);
    color: #999;
    transform: translateY(-50%) scale(1);
}

.image-modal-counter {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: linear-gradient(135deg, rgba(94, 53, 177, 0.9) 0%, rgba(126, 87, 194, 0.9) 100%);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

/* Product image clickable cursor */
.product-image {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image::after {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 53, 177, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .image-modal-nav {
        font-size: 1.2rem;
        padding: 12px;
        width: 50px;
        height: 50px;
    }
    
    .image-modal-prev {
        left: 10px;
    }
    
    .image-modal-next {
        right: 10px;
    }
    
    .image-modal-close {
        top: 10px;
        right: 10px;
        font-size: 1.2rem;
        width: 45px;
        height: 45px;
    }
    
    .image-modal-counter {
        bottom: 20px;
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .image-modal-img {
        max-height: 70vh;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .product-image::after {
        opacity: 0.8;
    }
}



/* Floating Cart Button */
.floating-cart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0B2545;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.floating-cart-button.active {
    opacity: 1;
    visibility: visible;
}

.floating-cart-button:hover {
    transform: scale(1.1);
    background-color: #522e9e;
}

.floating-cart-button .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4d4d;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}




/* Cart Bubble Notification */
.cart-bubble {
    position: fixed;
    bottom: 90px; /* Adjust based on floating cart button height */
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cart-bubble.show {
    opacity: 1;
    visibility: visible;
}




/* Product Info Icon Styles */
.product-info-icon {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0;
}

.product-info-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.4);
}

/* Responsive adjustments for product actions */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }
    
    .product-actions .btn {
        flex: 1;
        min-width: 0;
    }
    
    .product-info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .product-actions {
        gap: 0.5rem;
    }
    
    .product-info-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}



/* Köhnə xəbər stilləri silindi - yeni popup sistemi istifadə olunur */
        align-items: flex-start;
        gap: 1rem;
    }
    
    .news-modal-header h3 {
        margin-right: 0;
    }
    
    .close-news-modal {
        align-self: flex-end;
        margin-top: -1rem;
    }
    
    .news-modal-body {
        padding: 1rem;
    }
}


/* Sizler üçün Bölməsi */
.for-you-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.for-you-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1565c0;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.for-you-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    border-radius: 2px;
}

.for-you-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.for-you-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.for-you-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ffffff 10%, #ffffff 100%);
}

.for-you-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.for-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.for-you-card:hover .for-you-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
}

.for-you-icon i {
    font-size: 2rem;
    color: white;
}

.for-you-card h3 {
    color: #0B2545;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.for-you-card p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.for-you-card .btn {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.for-you-card .btn:hover {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(94, 53, 177, 0.3);
}

/* Mobil uyğunluq */
@media (max-width: 768px) {
    .for-you-section {
        padding: 2rem 0;
    }
    
    .for-you-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .for-you-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .for-you-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .for-you-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}
    
    .for-you-icon {
        width: 60px;
        height: 60px;
    }
    
    .for-you-icon i {
        font-size: 1.5rem;
    }
    
    .for-you-card h3 {
        font-size: 1.25rem;
    }
}


/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #1a237e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #3f51b5;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb-current {
    color: #6c757d;
    font-weight: 500;
}

/* Category Header */
.category-header {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.category-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Products Section */
.products-section {
    padding: 3rem 0;
}

.products-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-count p {
    color: #6c757d;
    font-size: 1rem;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 4rem 0;
}

.no-products-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-products-content i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.no-products-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-products-content p {
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Mobil uyğunluq */
@media (max-width: 768px) {
    .category-header {
        padding: 2rem 0;
    }
    
    .category-info h1 {
        font-size: 2rem;
    }
    
    .products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .breadcrumb-nav {
        font-size: 0.8rem;
    }
}


/* Brend kartları */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.brand-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.brand-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    font-size: 2.5rem;
}

.brand-name {
    color: #1a237e;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.brand-category {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-description {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.brand-actions .btn {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.brand-actions .btn:hover {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

/* Mobil uyğunluq */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .brand-card {
        padding: 1.5rem;
    }
    
    .brand-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}





/* Brendlerimiz Bölümü - Yeni Kart Düzeni */
.brands-new-layout {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.brands-new-layout h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
    position: relative;
}

.brands-new-layout h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    border-radius: 2px;
}

.brands-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: auto;
    margin: 0 auto;
}

.brand-card-new {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.brand-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #ffffff 10%, #ffffff 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.brand-card-new:hover::before {
    transform: scaleX(1);
}

.brand-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #0B2545;
}

.brand-logo-new {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 3px solid #e9ecef;
}

.brand-card-new:hover .brand-logo-new {
    transform: scale(1.1);
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(94, 53, 177, 0.2);
}

.brand-logo-new img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.brand-info-new h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
    transition: color 0.3s ease;
}

.brand-card-new:hover .brand-info-new h3 {
    color: #0B2545;
}

.brand-info-new p {
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.brand-btn-new {
    background: linear-gradient(135deg, #0B2545 10%, #0B2545 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.brand-btn-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.brand-btn-new:hover::before {
    left: 100%;
}

.brand-btn-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(94, 53, 177, 0.4);
}

.brand-btn-new i {
    transition: transform 0.3s ease;
}

.brand-btn-new:hover i {
    transform: translateX(3px);
}

/* Hyundai özel renkleri */
.brand-card-new.hyundai:hover {
    border-color: #002c5f;
}

.brand-card-new.hyundai:hover .brand-info-new h3 {
    color: #002c5f;
}

.brand-card-new.hyundai .brand-btn-new {
    background: linear-gradient(135deg, #002c5f 0%, #004080 100%);
}

.brand-card-new.hyundai .brand-btn-new:hover {
    box-shadow: 0 10px 25px rgba(0, 44, 95, 0.4);
}

/* Kia özel renkleri */
.brand-card-new.kia:hover {
    border-color: #05141f;
}

.brand-card-new.kia:hover .brand-info-new h3 {
    color: #05141f;
}

.brand-card-new.kia .brand-btn-new {
    background: linear-gradient(135deg, #05141f 0%, #1a2530 100%);
}

.brand-card-new.kia .brand-btn-new:hover {
    box-shadow: 0 10px 25px rgba(5, 20, 31, 0.4);
}

/* Mobil uygunluk */
@media (max-width: 768px) {
    .brands-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .brand-card-new {
        padding: 2rem;
    }
    
    .brand-logo-new {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .brand-info-new h3 {
        font-size: 1.5rem;
    }
    
    .brand-btn-new {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .brands-new-layout {
        padding: 2rem 0;
    }
    
    .brands-new-layout h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .brand-card-new {
        padding: 1.5rem;
    }
    
    .brand-logo-new {
        width: 80px;
        height: 80px;
    }
    
    .brand-info-new h3 {
        font-size: 1.3rem;
    }
    
    .brand-info-new p {
        font-size: 0.9rem;
    }
}



/* Marka kartları için geliştirilmiş ortalama stilleri */
.brand-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.brand-card .brand-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.brand-card .brand-image,
.brand-card .brand-placeholder {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    height: 120px;
    margin-bottom: 20px;
}

.brand-card .brand-image img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    display: block;
}

.brand-card .brand-name {
    text-align: center !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
    color: #1a237e !important;
    font-size: 1.3rem;
}

.brand-card .brand-category {
    color: #6c757d;
    font-size: 0.9em !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.brand-card .brand-description {
    text-align: center !important;
    margin-bottom: 20px !important;
    color: #495057 !important;
    line-height: 1.6 !important;
    flex-grow: 1;
}

.brand-card .brand-actions {
    text-align: center !important;
    margin-top: auto;
}

.brand-card .btn-primary {
    background: linear-gradient(135deg, #1a237e 0%, #3f51b5 100%) !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    color: white !important;
}

.brand-card .btn-primary:hover {
    background: linear-gradient(135deg, #3f51b5 0%, #1a237e 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3) !important;
}

/* Mobil uyumluluk için marka kartları */
@media (max-width: 768px) {
    .brand-card {
        min-height: 350px;
    }
    
    .brand-card .brand-image,
    .brand-card .brand-placeholder {
        height: 100px;
        margin-bottom: 15px;
    }
    
    .brand-card .brand-image img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .brand-card .brand-name {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    .brand-card {
        min-height: 320px;
    }
    
    .brand-card .brand-image,
    .brand-card .brand-placeholder {
        height: 80px;
        margin-bottom: 10px;
    }
    
    .brand-card .brand-image img {
        max-width: 60px;
        max-height: 60px;
    }
    
    .brand-card .brand-name {
        font-size: 1.1rem !important;
    }
}




/* Login Dropdown Styles */
.login-dropdown {
    position: relative;
}

.login-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 1001;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.login-dropdown-content a {
    color: #333 !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
    border-bottom: 1px solid #f8f9fa;
}

.login-dropdown-content a:last-child {
    border-bottom: none;
}

.login-dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #0B2545 !important;
}

.login-dropdown-content.show {
    display: block;
}

/* Mobile responsive for login dropdown */
@media (max-width: 768px) {
    .login-dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.1);
        border-radius: 0;
    }
    
    .login-dropdown-content a {
        color: white !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .login-dropdown-content a:hover {
        background-color: rgba(255,255,255,0.1);
        color: white !important;
    }
}

/* Login/Register Modal Styles */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.auth-modal.show {
    display: flex;
}

.auth-content {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 0 auto;
    transform: scale(1);
    opacity: 1;
    transition: all 0.3s ease;
}

.auth-modal:not(.show) .auth-content {
    transform: scale(0.9);
    opacity: 0;
}

.auth-header {
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
}

.auth-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.auth-body {
    padding: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.auth-form .form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #3f51b5;
    box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.1);
}

.auth-form .form-group input:required:invalid {
    border-color: #dc3545;
}

.auth-form .form-group input:required:valid {
    border-color: #28a745;
}

.auth-form .btn-auth {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #0B2545 20%, #3f51b5 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.auth-form .btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
}

.auth-form .btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.auth-switch a {
    color: #3f51b5;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.close-auth {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-auth:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.auth-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.auth-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design for Auth Modal */
@media (max-width: 768px) {
    .auth-modal {
        padding: 15px;
    }
    
    .auth-content {
        width: 100%;
        max-width: 400px;
        border-radius: 15px;
    }
    
    .auth-header {
        padding: 1rem 1.5rem;
    }
    
    .auth-header h3 {
        font-size: 1.2rem;
    }
    
    .auth-body {
        padding: 1.5rem;
    }
    
    .close-auth {
        right: 15px;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .auth-modal {
        padding: 10px;
    }
    
    .auth-content {
        width: 100%;
        max-width: 350px;
        border-radius: 10px;
    }
    
    .auth-header {
        padding: 0.75rem 1rem;
    }
    
    .auth-header h3 {
        font-size: 1.1rem;
    }
    
    .auth-body {
        padding: 1rem;
    }
    
    .auth-form .form-group input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .auth-form .btn-auth {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .close-auth {
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }
}



.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}



/* Brand kartları üçün alt xəttləri silmək */
.brand-card-new h3,
.brand-card-new p {
    text-decoration: none !important;
}

.brand-card-new:hover h3,
.brand-card-new:hover p {
    text-decoration: none !important;
}

/* Brand kartlarına hover effekti */
.brand-card-new {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}



/* Brands Section for 3 cards */
.brands-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns */
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

@media (max-width: 992px) {
    .brands-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-cards-container {
        grid-template-columns: 1fr;
    }
}



/* --- Modern Footer V2 Stilləri --- */
.footer-v2 {
    background: linear-gradient(135deg, #0B2545 20%, #1a3a5f 100%);
    color: #ffffff;
    padding: 80px 0 30px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-brand i {
    color: #3498db;
}

.footer-text {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social-v2 {
    display: flex;
    gap: 12px;
}

.footer-social-v2 a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social-v2 a:hover {
    background: #3498db;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    color: #ffffff;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

.footer-nav-v2 {
    list-style: none;
    padding: 0;
}

.footer-nav-v2 li {
    margin-bottom: 15px;
}

.footer-nav-v2 a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-nav-v2 a i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.footer-nav-v2 a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-contact-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item-v2 .icon-box {
    width: 45px;
    height: 45px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-v2 .text-box span {
    display: block;
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 2px;
}

.contact-item-v2 .text-box strong {
    font-size: 0.95rem;
    color: #ecf0f1;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.footer-bottom-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.copyright span {
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rights-text {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-v2 {
        padding: 60px 0 30px;
    }
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-bottom-v2 {
        flex-direction: column;
        text-align: center;
    }
}


/* Səbətə əlavə olundu düymə stili - Qəti Həll */
.btn-added, 
button.btn-added, 
.product-actions button.btn-added,
#main-add-to-cart-btn.btn-added {
    background: #28a745 !important;
    background-color: #28a745 !important;
    background-image: none !important;
    border-color: #28a745 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
    transform: scale(1.02) !important;
    opacity: 1 !important;
}

.btn-added i {
    color: white !important;
    margin-right: 8px !important;
}




/* --- Why Choose Us Section (Restored Original Design with 4-2-1 Grid) --- */
.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-choose-us-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.why-choose-us-card:hover {
    transform: translateY(-5px);
}

.why-choose-us-card .feature-icon {
    font-size: 3rem;
    color: #0B2545;
    margin-bottom: 1rem;
}

.why-choose-us-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.why-choose-us-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Tablet (max-width: 1024px) - 2 kart */
@media (max-width: 1024px) {
    .why-choose-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobil (max-width: 600px) - 1 kart */
@media (max-width: 600px) {
    .why-choose-us-grid {
        grid-template-columns: 1fr;
    }
}
