/* Mobil Öncelikli, Sade Tasarım */

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

html,
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body.checkout-page {
    background-color: #f8f9fa;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body.checkout-page>* {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Fullscreen Hero Section */
.hero-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height - klavye açılınca düzgün çalışır */
    background: #1a1a1a;
    /* background-image kaldırıldı - JavaScript ile dinamik olarak uygulanacak */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 0;
    padding-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: rgba(0, 0, 0, 0.5);*/
    z-index: 1;
}

.brand-name, .brand-tagline {
    color: transparent !important;
    text-shadow: none !important;  /* İşte bu gölgeyi yok eder */
    user-select: none;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.brand-name {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.brand-tagline {
    font-size: 1.2rem;
    margin-bottom: 60px;
    letter-spacing: 3px;
    opacity: 0.9;
    text-transform: uppercase;
}

/* Main Select Container */
.main-select-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.main-select-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.main-select-input {
    width: 100%;
    padding: 25px 60px 25px 30px;
    font-size: 1.3rem;
    background: transparent;
    border: none;
    color: #1a1a1a;
    outline: none;
    font-weight: 700;
    text-align: center;
}

.main-select-input::placeholder {
    color: #666;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
}

.select-arrow {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 0.9rem;
    pointer-events: none;
}

.main-results-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 15px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    /* Scrollbar stilleri */
    scrollbar-width: thin;
    scrollbar-color: #667eea #f0f0f0;
}

/* Webkit scrollbar stilleri */
.main-results-list::-webkit-scrollbar {
    width: 8px;
}

.main-results-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.main-results-list::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.main-results-list::-webkit-scrollbar-thumb:hover {
    background: #5568d3;
}

.main-results-list.show {
    display: block;
}

.main-results-list .result-item {
    padding: 15px 25px;
    color: #1a1a1a;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.main-results-list .result-item:hover {
    background-color: #f8f9fa;
}

.main-results-list .result-item:last-child {
    border-bottom: none;
}

/* Social Media Icons */

.ai-add-to-cart-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    text-align: center;
}

.ai-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    filter: brightness(1.1);
}

.ai-add-to-cart-btn i {
    margin-right: 5px;
}

/* Hero Section Buttons */
.hero-back-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 140px;
}

.hero-back-btn:hover {
    background: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.hero-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.hero-action-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 100%;
    margin: 20px auto 0;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1100;
}

@media (min-width: 769px) {
    .hero-action-buttons {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 1100px;
        /* Gap between buttons */
        max-width: none;
        height: 70px;
        /* Match input height roughly */
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 !important;
        pointer-events: none;
    }

    .hero-action-buttons button {
        pointer-events: auto;
        flex: 0 0 auto;
        min-width: 160px;
    }
}

/* Flow Container */
.flow-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    max-width: 600px;
}

.flow-step {
    display: none;
}

.flow-step.active {
    display: block;
}

.flow-step label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.select-wrapper {
    position: relative;
}

.select-wrapper input,
.select-wrapper select {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.select-wrapper input:focus,
.select-wrapper select:focus {
    outline: none;
    border-color: #667eea;
}

.results-list {
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    display: none;
}

.results-list.show {
    display: block;
}

.result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.result-item:hover {
    background-color: #f5f5f5;
}

.result-item:last-child {
    border-bottom: none;
}

/* Butonlar */
.btn-primary {
    background: #667eea;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 15px;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-back {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    padding: 10px 20px;
    margin-top: 15px;
    border: 1px solid #667eea;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #667eea;
    color: white;
}

/* Ürünler Bölümü */
#products-section {
    background: #f8f9fa;
    padding: 0;
    padding-top: 80px;
    /* Header yüksekliği kadar boşluk */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
}

#products-section .container {
    max-width: 100%;
    margin: 0;
    background: #f8f9fa;
    padding: 40px 60px;
}

#products-title {
    font-size: 1.5rem;
    font-weight: 600;
    /* margin-bottom: 30px; */
    color: #1a1a1a;
    text-align: left;
    padding: 0 20px;
}

/* Ürünler Grid - Profesyonel E-Ticaret */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
    width: 100%;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Kare format (600x600 oranında) */
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #f8f9fa;
}

.product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.product-wishlist:hover {
    background: #ff4444;
    border-color: #ff4444;
}

.product-wishlist:hover svg {
    fill: white;
}

.product-wishlist svg {
    width: 18px;
    height: 18px;
    fill: #666;
    transition: fill 0.3s;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.product-stars {
    display: flex;
    gap: 2px;
}

.product-star {
    width: 14px;
    height: 14px;
    fill: #ffc107;
}

.product-star.empty {
    fill: #e0e0e0;
}

.product-reviews {
    font-size: 0.75rem;
    color: #666;
    margin-left: 4px;
}

.product-price-wrapper {
    margin-bottom: 16px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.product-price-old {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-discount {
    font-size: 0.85rem;
    color: #dc3545;
    font-weight: 600;
    margin-left: 8px;
}

.product-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.quantity-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    background: white;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #667eea;
    transition: all 0.3s;
    font-weight: 600;
}

.quantity-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.product-card .btn-add-cart {
    background: #20B2AA;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
}

.product-card .btn-add-cart:hover {
    background: #1a9b94;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}

.product-card .btn-add-cart svg {
    width: 18px;
    height: 18px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* Çanta İkonu */
.cart-icon {
    display: none;
    /* Sepet butonu kaldırıldı */
}

.cart-icon:hover {
    transform: scale(1.1);
    border-color: #1a1a1a;
}

.cart-icon span {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}


/* Bildirim */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Checkout Sayfası */
body.checkout-page {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body.checkout-page>* {
    max-width: 100%;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 30px 20px;
    background: #f8f9fa;
    min-height: 100vh;
    box-sizing: border-box;
}

.checkout-left {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.checkout-right {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}


.checkout-header {
    margin-bottom: 40px;
}

.back-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
    transition: color 0.3s;
}

.back-link:hover {
    color: #5568d3;
}

.checkout-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 10px 0;
    color: #1a1a1a;
}

.checkout-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e8e8;
}

.form-row {
    margin-bottom: 20px;
}

.checkout-input {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    font-family: inherit;
    background: white;
    color: #1a1a1a;
}

.checkout-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkout-input::placeholder {
    color: #999;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.payment-methods {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    background: white;
    color: #1a1a1a;
    position: relative;
}

.payment-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.payment-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
    accent-color: #667eea;
    flex-shrink: 0;
}

.payment-option span {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked+span {
    color: #667eea;
    font-weight: 600;
}

.payment-option:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.payment-option:has(input[type="radio"]:checked):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.checkout-submit-btn {
    width: 100%;
    padding: 18px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.checkout-submit-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.25);
}

/* Sipariş Özeti */
.order-summary-card {
    display: flex;
    flex-direction: column;
}

.order-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e8e8;
}

.order-summary-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.edit-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.edit-link:hover {
    color: #5568d3;
    text-decoration: underline;
}

.order-items-list {
    flex: 1;
    margin-bottom: 30px;
}

.order-item-checkout {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
}

.order-item-checkout:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    max-width: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-item-image:empty::before {
    content: '🚗';
    font-size: 2rem;
    opacity: 0.3;
}

.order-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-item-image::before {
    content: '🚗';
    font-size: 2rem;
    opacity: 0.3;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.order-item-info {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.order-item-quantity {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 5px;
}

.order-item-price {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.order-summary-footer {
    border-top: 2px solid #e8e8e8;
    padding-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #666;
}

.summary-row.total-row {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e8e8e8;
}

.summary-row.total-row span:last-child {
    color: #667eea;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

/* Filtreler */
.filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* Sipariş Listesi */
.order-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.order-item h3 {
    margin-bottom: 10px;
    color: #667eea;
}

.order-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.order-status.hazirlaniyor {
    background: #ffc107;
    color: #333;
}

.order-status.kargoda {
    background: #17a2b8;
    color: white;
}

.order-status.teslim_edildi {
    background: #28a745;
    color: white;
}

/* Responsive - Tablet ve üzeri */
@media (min-width: 768px) {
    .brand-name {
        font-size: 5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image-wrapper {
        height: 250px;
    }

    #products-section .container {
        padding: 40px 30px;
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .filters {
        grid-template-columns: repeat(4, 1fr);
    }

    .btn-primary {
        width: auto;
    }

    .product-image-wrapper {
        height: 280px;
    }

    .checkout-container {
        grid-template-columns: 1.2fr 0.8fr;
        max-width: 100%;
        margin: 0;
        padding: 30px 40px;
    }
}

/* Responsive - Large Desktop (4 kart) */
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #products-section .container {
        padding: 40px 60px;
    }
}

/* Mobil için */
@media (max-width: 767px) {
    .hero-content-wrapper {
        padding: 15px;
        max-width: 100%;
    }

    .brand-name {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .brand-tagline {
        font-size: 0.75rem;
        margin-bottom: 25px;
        letter-spacing: 2px;
    }

    .main-select-container {
        max-width: 100%;
        margin: 0 auto 15px;
    }

    .main-select-wrapper {
        border-radius: 25px;
        padding: 6px;
    }

    .main-select-input {
        font-size: 0.95rem;
        padding: 16px 45px 16px 20px;
        font-weight: 600;
    }

    /* Mobilde input'lar readonly - klavye açılmasın */
    .main-select-input[readonly] {
        cursor: pointer;
        background: transparent;
    }

    /* Input focus olduğunda scroll yap */
    .main-select-input:focus {
        scroll-margin-top: 150px;
        scroll-margin-bottom: 300px;
        /* Klavye için daha fazla alan */
    }

    /* Select container focus olduğunda scroll yap */
    .main-select-container:has(.main-select-input:focus) {
        scroll-margin-top: 150px;
        scroll-margin-bottom: 300px;
        /* Klavye için daha fazla alan */
    }

    /* Results list görünür olduğunda scroll yap */
    .main-results-list.show {
        scroll-margin-bottom: 300px;
        /* Klavye için alan */
    }

    .main-select-input::placeholder {
        font-size: 0.95rem;
    }

    /* Mobilde input'lar readonly - klavye açılmasın */
    .main-select-input[readonly] {
        cursor: pointer;
        background: transparent;
    }

    /* SweetAlert2 modal stilleri - mobilde daha iyi görünüm */
    .swal2-popup {
        max-height: 90vh !important;
        overflow: hidden !important;
    }

    .swal2-html-container {
        max-height: 60vh !important;
        overflow-y: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .swal2-html-container>div {
        max-height: 60vh !important;
        overflow-y: auto !important;
    }

    /* Modal içindeki item'lar */
    .swal2-html-container div[onclick] {
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .select-arrow {
        right: 18px;
        font-size: 0.75rem;
    }

    .main-results-list {
        max-height: min(250px, calc(100vh - 300px));
        max-height: min(250px, calc(100dvh - 300px));
        /* Dynamic viewport height - klavye için alan bırak */
        border-radius: 12px;
        margin-top: 8px;
        /* Klavye açılınca görünür kalması için */
        position: relative;
        z-index: 1000;
    }

    .main-results-list .result-item {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .hero-action-buttons {
        flex-direction: column;
        gap: 10px;
        margin: 20px auto 0;
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-back-btn,
    .hero-primary-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: auto;
        border-radius: 10px;
    }

    .social-icons {
        bottom: 20px;
        left: 20px;
    }

    .checkout-left,
    .checkout-right {
        padding: 20px;
    }

    .checkout-header h1 {
        font-size: 1.8rem;
    }

    .checkout-right {
        position: relative;
        top: 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    #products-section .container {
        padding: 20px 15px;
    }

    #hero-title-container {
        margin-bottom: 10px;
    }

    #hero-title-container img {
        max-height: 80px !important;
    }

    #hero-tagline-container {
        margin-bottom: 20px;
    }

    #hero-tagline-container img {
        max-height: 60px !important;
        margin-bottom: 20px !important;
    }

    /* Selectbox scrollbar'ı mobilde daha görünür yap */
    .main-results-list {
        scrollbar-width: thin;
        scrollbar-color: #667eea #f0f0f0;
    }

    .main-results-list::-webkit-scrollbar {
        width: 6px;
    }

    .main-results-list::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 10px;
    }

    .main-results-list::-webkit-scrollbar-thumb {
        background: #667eea;
        border-radius: 10px;
    }

    .main-results-list::-webkit-scrollbar-thumb:hover {
        background: #5568d3;
    }
}

/* Çok küçük ekranlar için (480px altı) */
@media (max-width: 480px) {
    .hero-content-wrapper {
        padding: 10px;
        padding-top: 65px;
        /* Header yüksekliği için padding */
        padding-bottom: 400px;
        /* Klavye açılınca alt boşluk - daha fazla alan */
    }

    .hero-fullscreen {
        padding-top: 50px;
        /* Mobil header yüksekliği - daha dar */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hero-content-wrapper {
        padding-top: 120px !important;
        padding-bottom: 250px;
        /* Mobilde yazı header'ın altında kalmaması için daha fazla padding */
    }

    .main-select-input:focus {
        scroll-margin-top: 140px;
        scroll-margin-bottom: 350px;
        /* Klavye için daha fazla alan */
    }

    .main-select-container:has(.main-select-input:focus) {
        scroll-margin-top: 140px;
        scroll-margin-bottom: 350px;
        /* Klavye için daha fazla alan */
    }

    .brand-name {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .brand-tagline {
        font-size: 0.65rem;
        margin-bottom: 20px;
        letter-spacing: 1.5px;
    }

    .main-select-wrapper {
        border-radius: 20px;
        padding: 5px;
    }

    .main-select-input {
        font-size: 0.85rem;
        padding: 14px 40px 14px 18px;
    }

    /* Mobilde input'lar readonly - klavye açılmasın */
    .main-select-input[readonly] {
        cursor: pointer;
        background: transparent;
    }

    .main-select-input::placeholder {
        font-size: 0.85rem;
    }

    .select-arrow {
        right: 15px;
        font-size: 0.7rem;
    }

    .main-results-list {
        max-height: min(220px, calc(100vh - 350px));
        max-height: min(220px, calc(100dvh - 350px));
        /* Dynamic viewport height - klavye için alan */
        border-radius: 10px;
        position: relative;
        z-index: 1000;
    }

    .main-results-list .result-item {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .hero-action-buttons {
        gap: 8px;
        margin: 15px auto 0;
        padding: 0 10px;
        position: relative;
        z-index: 1100;
        width: 100%;
        max-width: 500px;
        top: auto;
        left: auto;
        transform: none;
        height: auto;
    }

    .hero-back-btn,
    .hero-primary-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    #hero-title-container {
        margin-bottom: 8px;
    }

    #hero-title-container img {
        max-height: 60px !important;
    }

    #hero-tagline-container {
        margin-bottom: 15px;
    }

    #hero-tagline-container img {
        max-height: 50px !important;
        margin-bottom: 15px !important;
    }

    /* Selectbox scrollbar'ı çok küçük ekranlarda daha ince yap */
    .main-results-list::-webkit-scrollbar {
        width: 4px;
    }

    /* SweetAlert2 modal stilleri - çok küçük ekranlarda */
    .swal2-popup {
        width: 95% !important;
        max-width: 95% !important;
        padding: 15px !important;
    }

    .swal2-title {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }

    .swal2-html-container {
        font-size: 0.9rem !important;
    }
}

/* SweetAlert2 Checkout Modal Düzenlemeleri */
.swal2-popup.checkout-modal-popup {
    overflow: visible !important;
    max-height: 90vh !important;
}

.swal2-popup.checkout-modal-popup .swal2-html-container {
    overflow: visible !important;
    max-height: none !important;
    overflow-x: hidden !important;
}

.swal2-popup.checkout-modal-popup .swal2-html-container>div:first-child {
    overflow: hidden !important;
}

.swal2-popup.checkout-modal-popup .swal2-html-container>div:first-child>div:first-child {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: 250px !important;
}

.swal2-popup.checkout-modal-popup .swal2-input,
.swal2-popup.checkout-modal-popup .swal2-textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.swal2-popup.checkout-modal-popup .swal2-textarea {
    grid-column: 1 / -1 !important;
}

/* Sağdan Açılan Sepet Paneli */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #e8e8e8;
}

.cart-sidebar-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.cart-sidebar-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.cart-sidebar-close:hover {
    color: #1a1a1a;
}

.cart-sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-sidebar-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
}

.cart-sidebar-item:last-child {
    border-bottom: none;
}

.cart-sidebar-item-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.cart-sidebar-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-sidebar-item-details {
    flex: 1;
    min-width: 0;
}

.cart-sidebar-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.cart-sidebar-item-price {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.cart-sidebar-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s;
    padding: 0;
}

.cart-qty-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
    color: #667eea;
    transform: scale(1.05);
}

.cart-qty-btn:active {
    transform: scale(0.95);
}

.cart-qty-input {
    width: 60px;
    height: 32px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s;
    background: white;
}

.cart-qty-input:focus {
    outline: none;
    border-color: #667eea;
    background: #f8f9ff;
}

.cart-sidebar-item-remove {
    background: white;
    border: 2px solid #e0e0e0;
    color: #dc3545;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    margin-left: auto;
}

.cart-sidebar-item-remove:hover {
    border-color: #dc3545;
    background: #fff5f5;
    color: #c82333;
    transform: translateY(-1px);
}

.cart-sidebar-footer {
    border-top: 2px solid #e8e8e8;
    padding: 20px;
    background: #f8f9fa;
}

.cart-sidebar-total {
    margin-bottom: 20px;
}

.cart-sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-cart-continue,
.btn-cart-update,
.btn-cart-checkout {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cart-continue {
    background: white;
    color: #1a1a1a;
    border: 2px solid #e0e0e0;
}

.btn-cart-continue:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-cart-update {
    background: #f8f9fa;
    color: #1a1a1a;
    border: 2px solid #e0e0e0;
}

.btn-cart-update:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.btn-cart-checkout {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-cart-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Mobil için sepet paneli */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        max-width: 100vw;
        height: 100vh;
        height: 100dvh;
        right: -100%;
    }

    .cart-sidebar-footer {
        padding: 12px;
    }

    .cart-sidebar-total {
        margin-bottom: 12px;
    }

    .cart-sidebar-buttons {
        gap: 8px;
    }

    .btn-cart-continue,
    .btn-cart-checkout {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Modern Header */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #e8e8e8;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 55px;
    height: auto;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 0 0 auto;
    min-width: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    max-height: 100%;
    flex-shrink: 0;
}

/* Desktop logo - sadece desktop'ta görünür */
.header-logo img#site-logo {
    display: none;
    height: 45px;
}

/* Mobil logo - sadece mobilde görünür, masaüstünde her zaman gizli */
.header-logo img#site-logo-mobile {
    display: none !important;
}

/* Masaüstü görünümde mobil logo'yu kesinlikle gizle, desktop logo'yu göster */
@media (min-width: 769px) {
    .header-logo img#site-logo-mobile {
        display: none !important;
    }

    .header-logo img#site-logo {
        display: block !important;
    }
}

/* Site adı - logo yoksa gösterilir, logo varsa gizlenir */
.header-logo #site-name {
    display: inline-block;
    /* Varsayılan olarak göster, JavaScript ile kontrol edilecek */
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

/* Logo varsa site adını gizle */
.header-logo img[src]:not([src=""]):not([src="#"])~#site-name,
.header-logo:has(img[src]:not([src=""]):not([src="#"])) #site-name {
    display: none !important;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #667eea;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle span {
    font-size: 0.7rem;
    margin-left: 3px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: #f8f9ff;
    color: #667eea;
    padding-left: 25px;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e8e8f0;
    border-radius: 50px;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 280px;
    max-width: 100%;
    flex-shrink: 1;
}

.header-search-wrapper:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.header-search-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 4px 16px rgba(102, 126, 234, 0.2);
    width: 320px;
    max-width: min(320px, calc(100vw - 300px));
}

.header-search-icon {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    pointer-events: none;
    transition: color 0.3s;
    z-index: 1;
}

.header-search-wrapper:focus-within .header-search-icon {
    color: #667eea;
}

.header-search-input {
    flex: 1;
    width: 100%;
    padding: 12px 50px 12px 42px;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    background: transparent;
    color: #1a1a1a;
    transition: all 0.3s;
    outline: none;
}

.header-search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.header-search-input:focus::placeholder {
    color: #cbd5e1;
}

.header-search-btn {
    position: absolute;
    right: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    z-index: 1;
}

.header-search-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3d8a 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.header-search-btn:active {
    transform: scale(0.95);
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    z-index: 1000;
    border: 1px solid #e8e8f0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-results.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.search-result-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 4px 4px 0;
}

.search-result-item:hover {
    background: linear-gradient(90deg, #f8f9ff 0%, #ffffff 100%);
    padding-left: 24px;
}

.search-result-item:hover::before {
    width: 4px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.search-result-item:hover .search-result-image {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a1a;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.search-result-price {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-result-price::before {
    content: '₺';
    font-size: 0.85rem;
}

.search-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.search-no-results::before {
    content: '🔍';
    display: block;
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.search-result-more {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-top: 2px solid #e8e8f0;
    padding: 12px 20px !important;
}

.search-result-more:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9ff 100%);
    padding-left: 24px !important;
}

.search-result-more::before {
    display: none;
}

.header-contact {
    display: flex;
    align-items: center;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.header-phone:hover {
    background: #f8f9ff;
    color: #667eea;
}

.header-phone svg {
    flex-shrink: 0;
}

.header-cart-btn {
    position: relative;
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.header-cart-btn:hover {
    background: #f8f9ff;
    color: #667eea;
}

.header-cart-btn svg {
    flex-shrink: 0;
}

.header-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
}

.header-cart-count:not(:empty) {
    opacity: 1;
    transform: scale(1);
}

.header-account-btn {
    position: relative;
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s;
    margin-left: 0;
    flex-shrink: 0;
}

.header-account-btn:hover {
    background: #f8f9ff;
    color: #667eea;
}

.header-account-btn svg {
    flex-shrink: 0;
}

/* Hesap Modal */
.account-modal {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.account-modal.active {
    right: 0;
}

.account-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.account-overlay.active {
    opacity: 1;
    visibility: visible;
}

.account-modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.account-modal-header {
    padding: 20px;
    border-bottom: 2px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.account-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.account-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.account-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.account-modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.account-section {
    display: block;
}

.account-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-size: 1.3rem;
}

.account-user-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e8e8e8;
}

.account-user-info h3 {
    margin-bottom: 5px;
    color: #1a1a1a;
}

.account-user-info p {
    color: #666;
    margin: 0;
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    color: #1a1a1a;
    text-align: left;
}

.account-menu-item:hover {
    background: #f8f9ff;
    border-color: #667eea;
    color: #667eea;
}

.account-menu-item svg {
    flex-shrink: 0;
}

.account-logout {
    margin-top: 20px;
    background: #fff5f5;
    border-color: #fecaca;
    color: #dc2626;
}

.account-logout:hover {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
}

.account-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.account-section-header h3 {
    margin: 0;
}

.btn-back {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #f8f9ff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f8f9ff;
}

.account-orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.account-order-item {
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.account-order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.account-order-number {
    font-weight: 700;
    color: #667eea;
}

.account-order-date {
    color: #666;
    font-size: 0.9rem;
}

.account-order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.account-order-status.hazirlaniyor {
    background: #fef3c7;
    color: #92400e;
}

.account-order-status.kargoda {
    background: #dbeafe;
    color: #1e40af;
}

.account-order-status.teslim-edildi {
    background: #d1fae5;
    color: #065f46;
}

.account-order-total {
    margin-top: 10px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Mobil için hesap modal */
@media (max-width: 768px) {
    .account-modal {
        width: 100%;
        max-width: 100vw;
        right: -100%;
    }
}

/* Modern Ürün Sayfası */
.products-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.products-page-header {
    max-width: 1400px;
    margin: 40px auto 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.mobile-filter-trigger {
    display: none;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.products-header-info {
    flex: 1;
}

.products-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.products-page-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -1px;
    text-transform: capitalize;
}

.products-page-subtitle {
    display: inline-flex;
    align-items: center;
    background: #f8f9ff;
    color: #667eea;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    margin: 0;
    border: 2px solid #eef0ff;
    letter-spacing: 0.5px;
}

.products-page-subtitle::before {
    content: '📦';
    margin-right: 8px;
    font-size: 1.1rem;
}

.products-search-bar {
    width: 100%;
    margin: 0 0 40px 0;
    padding: 0;
    position: relative;
    z-index: 1010;
    /* Ürün kartlarının üstünde kalması için */
}

.products-search-inputs {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 16px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    border: 1px solid rgba(224, 224, 224, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.products-search-select-wrapper {
    flex: 1;
    min-width: 150px;
    position: relative;
}

.products-search-input {
    width: 100%;
    padding: 14px 40px 14px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 0.7rem;
    background: #fdfdfd;
    color: #1a1a1a;
    outline: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.products-search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
}

.products-search-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    font-size: 0.8rem;
}

.products-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 5px;
    display: none;
}

.products-search-results.show {
    display: block;
}

.products-search-results .result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.products-search-results .result-item:hover {
    background: #f8f9fa;
}

.products-search-results .result-item:last-child {
    border-bottom: none;
}

.products-search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.products-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd1 0%, #694291 100%);
}

.products-search-btn:active {
    transform: translateY(0);
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.product-card-modern {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image-modern {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.product-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.3s;
}

.product-card-modern:hover .product-image-modern img {
    transform: scale(1.05);
}

.product-kasa-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ff8c00;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.product-info-modern {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand-modern {
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-title-modern {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
}

.product-actions-modern {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.quantity-selector-modern {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
}

.quantity-btn-modern {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    color: #1a1a1a;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn-modern:hover {
    background: #f8f9ff;
    color: #667eea;
}

.quantity-input-modern {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}

.btn-add-cart-modern {
    flex: 1;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-add-cart-modern svg {
    width: 18px;
    height: 18px;
}

.empty-products {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-products h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.empty-products p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.btn-back-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: #1a1a1a;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-back-modern:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8f9ff;
}

/* Mobil Hamburger Menü Butonu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #1a1a1a;
    border-radius: 8px;
    transition: all 0.3s;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background: #f8f9ff;
    color: #667eea;
}

.mobile-menu-btn svg {
    display: block;
    width: 24px;
    height: 24px;
}

/* Mobil Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.mobile-sidebar.active {
    display: block;
}

.mobile-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.mobile-sidebar-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: white;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.2s ease-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active .mobile-sidebar-content {
    transform: translateX(0);
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
    color: #111827;
}

.mobile-sidebar-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.mobile-sidebar-close {
    background: #f3f4f6;
    border: none;
    color: #4b5563;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.mobile-sidebar-close:hover {
    background: #e5e7eb;
}

.mobile-sidebar-nav {
    flex: 1;
    padding: 15px;
    /* Dışarıdan padding ekleyerek yüzer görünüm sağla */
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    background: transparent !important;
    border: none !important;
}

.mobile-nav-link:hover {
    background: #f9fafb !important;
    color: #111827;
}

/* Syntra Style Right Chevron */
.mobile-nav-link::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #9ca3af;
    border-right: 1.5px solid #9ca3af;
    transform: rotate(45deg);
    margin-left: auto;
    opacity: 0.6;
}

.mobile-nav-link svg {
    flex-shrink: 0;
    color: #6b7280 !important;
    width: 20px;
    height: 20px;
}

.mobile-nav-link span {
    flex: 1;
}

.mobile-nav-dropdown {
    margin-bottom: 5px;
}

.mobile-nav-dropdown.active .mobile-nav-link::after {
    transform: rotate(135deg);
    top: -2px;
    position: relative;
}

.mobile-nav-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding-left: 20px;
}

.mobile-dropdown-arrow {
    display: none !important;
}

.mobile-nav-dropdown.active .mobile-nav-dropdown-menu {
    max-height: 800px;
}

.mobile-nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: 10px;
    margin: 2px 0;
    position: relative;
}

.mobile-nav-dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

.mobile-nav-dropdown-menu a:hover {
    background: #f9fafb !important;
    color: #111827;
}

.mobile-nav-dropdown-menu a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1.2px solid #9ca3af;
    border-right: 1.2px solid #9ca3af;
    transform: rotate(45deg);
    margin-left: auto;
    opacity: 0.5;
}

.mobile-nav-dropdown-menu a:last-child {
    border-bottom: none;
}

/* Modernize Checkout Swal Popups */
.checkout-modal-popup {
    border-radius: 20px !important;
    padding: 1.5rem !important;
}

.checkout-modal-html {
    overflow-x: hidden !important;
}

@media (max-width: 768px) {
    .checkout-modal-popup {
        padding: 1rem !important;
        margin-top: 20px !important;
        align-self: flex-start !important;
        width: 95% !important;
    }

    .checkout-coupon-container {
        flex-direction: column !important;
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        padding: 12px !important;
    }
}

.checkout-coupon-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.checkout-coupon-input-wrapper button {
    white-space: nowrap !important;
    min-width: 85px !important;
    flex-shrink: 0 !important;
    padding: 10px 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.checkout-coupon-box:focus-within {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobil Arama Modal */
.mobile-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
}

.mobile-search-modal.active {
    display: block;
}

.mobile-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-search-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.mobile-search-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #e8e8e8;
    gap: 10px;
}

.mobile-search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e8e8f0;
    border-radius: 24px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.mobile-search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.mobile-search-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #1a1a1a;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-close:hover {
    background: #f8f9ff;
    color: #667eea;
}

.mobile-search-results {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 10px 0;
}

.mobile-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s;
}

.mobile-search-result-item:hover {
    background: #f8f9ff;
}

.mobile-search-result-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.mobile-search-result-info {
    flex: 1;
    min-width: 0;
}

.mobile-search-result-name {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-search-result-price {
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 600;
}

.mobile-search-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

/* Mobil Arama İkonu Butonu */
.mobile-search-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #1a1a1a;
    border-radius: 8px;
    transition: all 0.3s;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-search-btn:hover,
.mobile-search-btn:active {
    background: #f8f9ff;
    color: #667eea;
}

.mobile-search-btn svg {
    display: block;
    width: 22px;
    height: 22px;
}

/* Mobil Header - Ortada Logo, Sağda 3 İkon */
@media (max-width: 768px) {

    /* CSS Değişkenleri - Site Settings'den ayarlanabilir */
    :root {
        --mobile-logo-height: 36px;
        --mobile-header-height: 56px;
    }

    /* Menü butonu - En sol */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        flex-shrink: 0;
        order: 0 !important;
        position: relative;
        z-index: 2;
        margin-right: auto;
    }

    .header-container {
        padding: 6px 10px;
        min-height: 45px !important;
        height: 45px !important;
        flex-wrap: nowrap;
        gap: 8px;
        align-items: center;
        position: relative;
        justify-content: space-between;
    }

    /* Hamburger menü butonu - Sol tarafta */
    .mobile-menu-btn {
        order: 0 !important;
        z-index: 2;
        position: relative;
        flex-shrink: 0;
        margin-right: auto;
    }

    .main-header {
        min-height: 45px !important;
        height: auto;
    }

    /* Logo - Ortada */
    .header-left {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex: 0 0 auto;
        min-width: 0;
        gap: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        order: 2;
        z-index: 1;
        max-width: calc(100% - 220px);
        /* Sağ ve sol butonlar için daha fazla alan bırak */
        pointer-events: none;
        /* Tıklamaları engelleme */
    }

    .header-left * {
        pointer-events: auto;
        /* Logo ve içindeki elementler tıklanabilir */
    }

    .header-logo {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-logo #site-name {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.95rem !important;
        /* Daha küçük font */
    }

    /* Desktop logo'yu mobilde gizle */
    .header-logo img#site-logo {
        display: none !important;
    }

    /* Mobil logo - ortada */
    .header-logo {
        flex-shrink: 0;
        gap: 0;
        margin: 0;
    }

    .header-logo img {
        height: 28px !important;
    }

    .header-logo img#site-logo-mobile {
        display: block !important;
        height: 28px !important;
        width: auto !important;
        max-width: 100px;
        object-fit: contain;
        padding: 0;
    }

    /* Site adını mobilde gizle - logo varsa gösterilmez */
    .header-logo #site-name {
        display: none !important;
    }

    /* Logo yoksa site adını göster (JavaScript ile kontrol edilir) */
    .header-logo:not(:has(img[src]:not([src=""]):not([src="#"]))) #site-name {
        display: block !important;
        font-size: 0.95rem !important;
        /* Daha küçük font */
        font-weight: 700;
        color: #1a1a1a;
        white-space: nowrap;
        max-width: 120px;
        /* Maksimum genişlik */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Desktop navigasyonu tamamen gizle */
    .header-nav {
        display: none !important;
    }

    /* Sağ taraf - 3 ikon */
    .header-right {
        display: flex !important;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
        margin-left: auto;
        flex-wrap: nowrap;
        order: 3;
        z-index: 10;
        /* Logo'nun üstünde olması için */
        position: relative;
        min-width: 140px;
        /* Minimum genişlik - 3 ikon için */
        justify-content: flex-end;
        flex: 0 0 auto;
    }

    /* Mobil arama ikonu - logonun altında kalmaması için */
    .mobile-search-btn {
        position: relative !important;
        z-index: 11 !important;
        /* Logo'nun üstünde */
        order: 1 !important;
    }

    /* Sepet ve hesap butonları da üstte */
    .header-cart-btn,
    .header-account-btn {
        z-index: 11 !important;
        /* Logo'nun üstünde */
    }

    /* Desktop arama - mobilde gizle */
    .header-search {
        display: none !important;
    }

    /* Mobil arama ikonu - zaten yukarıda tanımlı, burada override etme */

    /* Telefon - mobilde gizle */
    .header-contact {
        display: none !important;
    }

    /* Sepet butonu */
    .header-cart-btn {
        padding: 6px;
        min-width: 36px;
        min-height: 36px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: 2;
        flex-shrink: 0;
    }

    .header-cart-btn svg {
        width: 22px;
        height: 22px;
    }

    .header-cart-count {
        display: flex;
        font-size: 0.7rem;
        width: 18px;
        height: 18px;
        top: 4px;
        right: 4px;
        font-weight: 700;
    }

    /* Hesap butonu */
    .header-account-btn {
        padding: 6px;
        min-width: 36px;
        min-height: 36px;
        margin-left: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: 3 !important;
        flex-shrink: 0;
        z-index: 2;
        position: relative;
    }

    .header-account-btn svg {
        width: 20px;
        height: 20px;
    }

    .mobile-filter-trigger {
        display: flex !important;
    }

    .products-page-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px !important;
        margin-top: 10px !important;
        margin-bottom: 15px !important;
    }

    .products-header-info {
        flex: 1 !important;
    }

    .products-page-title {
        font-size: 1.3rem !important;
        margin-bottom: 2px !important;
    }

    .products-page-subtitle {
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
    }

    .products-search-inputs {
        flex-direction: column;
        gap: 10px;
    }

    .products-search-select-wrapper {
        min-width: 100%;
    }

    .products-search-input {
        min-width: 100%;
    }

    .products-search-btn {
        width: 100%;
        justify-content: center;
    }

    .products-search-bar {
        display: none !important;
    }

    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }

    .products-page-container {
        padding: 0;
    }

    .products-page-header {
        padding: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        /* flex-direction: column; */
        align-items: flex-start;
        border-radius: 12px;
        gap: 15px;
    }

    .products-page-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .products-page-subtitle {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    #products-section {
        padding-top: 55px;
        /* Mobil header yüksekliği */
    }

    .products-grid-modern {
        padding: 0 15px;
        gap: 15px;
    }

    .product-info-modern {
        padding: 12px;
    }

    .product-brand-modern {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }

    .product-title-modern {
        font-size: 0.85rem;
        margin-bottom: 8px;
        min-height: 34px;
    }

    .product-price-modern {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .product-actions-modern {
        flex-direction: column;
        gap: 8px;
    }

    .quantity-selector-modern {
        width: 100%;
        height: 44px !important;
    }

    .quantity-btn-modern {
        flex: 1;
        height: 44px !important;
    }

    .quantity-input-modern {
        height: 44px !important;
        width: 45px;
        border: none;
    }

    .btn-add-cart-modern {
        width: 100%;
        height: 44px !important;
        font-size: 0.95rem !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 767px) {
    .mobile-filter-trigger {
        display: flex !important;
        /* Mobilde görünür */
    }

    .products-page-header {
        flex-direction: row !important;
        /* Mobilde yan yana */
    }
}

/* SweetAlert2 Popup Styles for Filter Modal */
.swal2-popup.filter-modal-popup {
    border-radius: 20px !important;
    padding: 10px !important;
}

.swal2-popup.filter-modal-popup .products-search-inputs {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
}

.swal2-popup.filter-modal-popup .products-search-input {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    height: 50px !important;
    font-size: 1rem !important;
    padding-left: 20px !important;
}

.swal2-popup.filter-modal-popup .products-search-btn {
    height: 50px !important;
    margin-top: 10px !important;
    width: 100% !important;
    justify-content: center !important;
}