/**
 * Critical CSS Fixes
 * Tasarım ve stil bozukluklarını düzeltir
 */

/* ============================================
   GLOBAL FIXES
   ============================================ */

/* Ensure consistent box-sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

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

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Fix main content spacing - remove default padding */
.main-content {
    padding: 0 !important;
    min-height: calc(100vh - 400px);
}

/* ============================================
   HEADER FIXES
   ============================================ */

/* Fix header z-index */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Fix logo sizing */
.logo img,
.header-logo img {
    max-width: 100%;
    height: auto;
}

/* Fix mobile menu */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--lighter-bg, #ffffff);
        box-shadow: 0 0 20px rgba(0,0,0,0.3);
        transition: left 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* ============================================
   PRODUCT CARD FIXES
   ============================================ */

/* Fix product card image aspect ratio */
.product-card-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
    background: var(--light-bg, #f8f9fa);
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fix product card hover */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

/* ============================================
   BUTTON FIXES
   ============================================ */

/* Ensure buttons are clickable */
.btn {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Fix button text wrapping */
.btn {
    white-space: nowrap;
}

/* ============================================
   FORM FIXES
   ============================================ */

/* Fix input focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color, #C41E3A);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

/* Fix number input buttons */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* ============================================
   CART TABLE FIXES
   ============================================ */

/* Fix cart table on mobile */
@media (max-width: 768px) {
    .cart-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid var(--border-color, #e9ecef);
        border-radius: 12px;
        padding: 16px;
    }
    
    .cart-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
    }
    
    .cart-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-light, #636e72);
    }
}

/* ============================================
   FILTER SIDEBAR FIXES
   ============================================ */

@media (max-width: 768px) {
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--lighter-bg, #ffffff);
        box-shadow: 0 0 20px rgba(0,0,0,0.3);
        transition: left 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .filters-sidebar.active {
        left: 0;
    }
    
    .mobile-filter-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}

/* ============================================
   OVERLAY FIXES
   ============================================ */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    display: block;
}

/* ============================================
   IMAGE FIXES
   ============================================ */

/* Fix image loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix broken images */
img[src=""],
img:not([src]) {
    opacity: 0;
}

/* ============================================
   GRID FIXES
   ============================================ */

/* Fix grid gaps on mobile */
@media (max-width: 768px) {
    .grid,
    .products-grid,
    .categories-grid {
        gap: 16px;
    }
}

/* ============================================
   FOOTER FIXES
   ============================================ */

/* Fix footer spacing */
footer {
    margin-top: 80px;
}

@media (max-width: 768px) {
    footer {
        margin-top: 40px;
    }
}

/* ============================================
   ACCESSIBILITY FIXES
   ============================================ */

/* Focus visible */
*:focus-visible {
    outline: 2px solid var(--primary-color, #C41E3A);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color, #C41E3A);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   ANIMATION FIXES
   ============================================ */

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   PRINT FIXES
   ============================================ */

@media print {
    header,
    footer,
    .filters-sidebar,
    .mobile-menu-toggle,
    .mobile-filter-toggle,
    .btn {
        display: none !important;
    }
    
    .product-card,
    .cart-table {
        break-inside: avoid;
    }
}

/* ============================================
   PERFORMANCE FIXES
   ============================================ */

/* GPU acceleration for animations */
.product-card,
.btn,
.main-nav,
.filters-sidebar {
    will-change: transform;
}

/* Optimize images */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* ============================================
   BROWSER SPECIFIC FIXES
   ============================================ */

/* Safari fixes */
@supports (-webkit-touch-callout: none) {
    .product-card-image {
        -webkit-transform: translateZ(0);
    }
}

/* Firefox fixes */
@-moz-document url-prefix() {
    .product-card {
        image-rendering: -moz-crisp-edges;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #1a1a1a;
        --text-light: #636E72;
        --light-bg: #FFFFFF;
        --lighter-bg: #FFFFFF;
        --border-color: #E9ECEF;
    }
}


/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, var(--color-primary, #C41E3A) 0%, var(--color-primary-dark, #8B1538) 100%);
    color: var(--color-white, #ffffff);
    padding: var(--space-4xl, 96px) 0 var(--space-3xl, 64px);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-lg, 24px);
    color: var(--color-white, #ffffff);
}

.contact-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.95;
    line-height: 1.7;
    color: var(--color-white, #ffffff);
}

/* Contact Info Section */
.contact-info-section {
    padding: var(--space-3xl, 64px) 0;
    background: var(--bg-secondary, #F8F9FA);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl, 32px);
}

.contact-info-card {
    background: var(--bg-primary, #ffffff);
    padding: var(--space-2xl, 48px) var(--space-xl, 32px);
    border-radius: var(--radius-xl, 16px);
    border: 2px solid var(--border-color, #E9ECEF);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary, #C41E3A);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg, 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(196, 30, 58, 0.05));
    border-radius: var(--radius-full, 9999px);
    color: var(--color-primary, #C41E3A);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: linear-gradient(135deg, var(--color-primary, #C41E3A), var(--color-primary-dark, #8B1538));
    color: var(--color-white, #ffffff);
    transform: scale(1.1);
}

.contact-info-card h3 {
    font-size: var(--font-size-xl, 1.25rem);
    font-weight: 700;
    margin-bottom: var(--space-md, 16px);
    color: var(--text-primary, #2D3436);
}

.contact-info-card p {
    color: var(--text-secondary, #636E72);
    line-height: 1.7;
    margin-bottom: var(--space-md, 16px);
}

.contact-info-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs, 4px);
    color: var(--color-primary, #C41E3A);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-link:hover {
    gap: var(--space-sm, 8px);
    color: var(--color-primary-dark, #8B1538);
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--space-3xl, 64px) 0;
    background: var(--bg-primary, #ffffff);
}

.contact-form-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl, 64px);
    align-items: start;
}

.contact-form-intro h2 {
    font-size: var(--font-size-3xl, 1.875rem);
    font-weight: 700;
    margin-bottom: var(--space-lg, 24px);
    color: var(--text-primary, #2D3436);
}

.contact-form-intro p {
    font-size: var(--font-size-lg, 1.125rem);
    color: var(--text-secondary, #636E72);
    line-height: 1.7;
    margin-bottom: var(--space-2xl, 48px);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg, 24px);
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md, 16px);
    padding: var(--space-lg, 24px);
    background: var(--bg-secondary, #F8F9FA);
    border-radius: var(--radius-lg, 12px);
    border-left: 4px solid var(--color-primary, #C41E3A);
}

.contact-feature svg {
    flex-shrink: 0;
    color: var(--color-primary, #C41E3A);
}

.contact-feature span {
    font-weight: 600;
    color: var(--text-primary, #2D3436);
}

.contact-form-wrapper {
    background: var(--bg-secondary, #F8F9FA);
    padding: var(--space-2xl, 48px);
    border-radius: var(--radius-xl, 16px);
    border: 1px solid var(--border-color, #E9ECEF);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg, 24px);
    margin-bottom: var(--space-lg, 24px);
}

.contact-form .form-group {
    margin-bottom: var(--space-lg, 24px);
}

.contact-form .form-label-required::after {
    content: '*';
    color: var(--color-error, #FF3838);
    margin-left: var(--space-xs, 4px);
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-wrapper svg {
    position: absolute;
    left: 16px;
    color: var(--text-tertiary, #B2BEC3);
    pointer-events: none;
    z-index: 1;
}

.form-input-wrapper .form-control {
    padding-left: 48px;
}

.contact-form .form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: var(--font-size-base, 1rem);
    border: 2px solid var(--border-color, #E9ECEF);
    border-radius: var(--radius-lg, 12px);
    background: var(--bg-primary, #ffffff);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--color-primary, #C41E3A);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
    padding-left: 16px;
}

.form-help {
    margin-top: var(--space-xs, 4px);
    font-size: var(--font-size-sm, 0.875rem);
    color: var(--text-tertiary, #B2BEC3);
}

.contact-form .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm, 8px);
}

/* Alert Styles */
.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md, 16px);
    padding: var(--space-lg, 24px);
    border-radius: var(--radius-lg, 12px);
    margin-bottom: var(--space-xl, 32px);
    border: 2px solid;
}

.alert svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.alert strong {
    display: block;
    margin-bottom: var(--space-xs, 4px);
}

.alert p {
    margin: 0;
    font-size: var(--font-size-sm, 0.875rem);
}

.alert-success {
    background: rgba(0, 184, 148, 0.1);
    border-color: var(--color-success, #00B894);
    color: var(--color-success, #00B894);
}

.alert-error {
    background: rgba(255, 56, 56, 0.1);
    border-color: var(--color-error, #FF3838);
    color: var(--color-error, #FF3838);
}

/* FAQ Section */
.contact-faq-section {
    padding: var(--space-3xl, 64px) 0;
    background: var(--bg-secondary, #F8F9FA);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl, 32px);
}

.faq-item {
    background: var(--bg-primary, #ffffff);
    padding: var(--space-xl, 32px);
    border-radius: var(--radius-xl, 16px);
    border: 1px solid var(--border-color, #E9ECEF);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary, #C41E3A);
}

.faq-item h3 {
    font-size: var(--font-size-lg, 1.125rem);
    font-weight: 700;
    margin-bottom: var(--space-md, 16px);
    color: var(--text-primary, #2D3436);
}

.faq-item p {
    color: var(--text-secondary, #636E72);
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-form-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl, 48px);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: var(--space-3xl, 64px) 0 var(--space-2xl, 48px);
    }

    .contact-info-section,
    .contact-form-section,
    .contact-faq-section {
        padding: var(--space-2xl, 48px) 0;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg, 24px);
    }

    .contact-info-card {
        padding: var(--space-xl, 32px) var(--space-lg, 24px);
    }

    .contact-form-wrapper {
        padding: var(--space-xl, 32px) var(--space-lg, 24px);
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg, 24px);
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 1.75rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

    .contact-info-icon {
        width: 64px;
        height: 64px;
    }

    .contact-form-wrapper {
        padding: var(--space-lg, 24px);
    }

    .form-input-wrapper svg {
        display: none;
    }

    .form-input-wrapper .form-control {
        padding-left: 16px;
    }
}


/* ============================================
   HEADER IMPROVEMENTS - CRITICAL FIXES
   ============================================ */

/* Top Bar Improvements */
.top-bar {
    background: var(--color-gray-900, #212529);
    color: var(--color-white, #ffffff);
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg, 24px);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-xl, 32px);
}

.top-bar-link,
.top-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white, #ffffff);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.top-bar-link:hover {
    color: var(--color-primary-light, #E85D75);
    transform: translateX(2px);
}

.top-bar-link svg,
.top-bar-text svg {
    flex-shrink: 0;
}

/* Header Improvements */
.header {
    background: var(--bg-primary, #ffffff);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.header-content {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: var(--space-2xl, 48px);
    padding: 20px 0;
}

/* Logo Improvements */
.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    min-height: 50px;
    object-fit: contain;
}

.header-logo a {
    display: block;
    transition: transform 0.3s ease;
}

.header-logo a:hover {
    transform: scale(1.05);
}

/* Search Bar Improvements */
.header-search {
    max-width: 600px;
    width: 100%;
}

.search-form {
    position: relative;
    display: flex;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 14px 56px 14px 20px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid var(--border-color, #E9ECEF);
    border-radius: 50px;
    background: var(--bg-secondary, #F8F9FA);
    transition: all 0.3s ease;
    width: 100%;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary, #C41E3A);
    background: var(--bg-primary, #ffffff);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.search-input::placeholder {
    color: var(--text-tertiary, #B2BEC3);
    font-weight: 400;
}

.search-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary, #C41E3A);
    color: var(--color-white, #ffffff);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: var(--color-primary-dark, #8B1538);
    transform: translateY(-50%) scale(1.05);
}

.search-button:active {
    transform: translateY(-50%) scale(0.95);
}

/* Header Actions Improvements */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md, 16px);
}

.header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    color: var(--text-primary, #2D3436);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.header-action-btn:hover {
    background: var(--bg-secondary, #F8F9FA);
    color: var(--color-primary, #C41E3A);
    transform: translateY(-2px);
}

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

.header-action-text {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.header-cart-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--color-primary, #C41E3A);
    color: var(--color-white, #ffffff);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.4);
    animation: pulse 2s infinite;
}

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

/* Navigation Improvements */
.main-nav {
    background: var(--bg-primary, #ffffff);
    border-top: 1px solid var(--border-color, #E9ECEF);
    border-bottom: 2px solid var(--color-primary, #C41E3A);
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl, 32px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #2D3436);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--color-primary, #C41E3A);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--color-primary, #C41E3A);
    background: rgba(196, 30, 58, 0.05);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
    transform: scaleX(1);
}

/* Trust Badges */
.nav-trust-badges {
    display: flex;
    align-items: center;
    gap: var(--space-xl, 32px);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #636E72);
}

.trust-badge svg {
    color: var(--color-success, #00B894);
    flex-shrink: 0;
}

/* Mobile Menu Toggle Improvements */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: var(--bg-secondary, #F8F9FA);
    border: 2px solid var(--border-color, #E9ECEF);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--color-primary, #C41E3A);
    border-color: var(--color-primary, #C41E3A);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-primary, #2D3436);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: var(--color-white, #ffffff);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Improvements */
@media (max-width: 1200px) {
    .header-content {
        grid-template-columns: 180px 1fr auto;
        gap: var(--space-xl, 32px);
    }

    .header-search {
        max-width: 450px;
    }

    .nav-trust-badges {
        gap: var(--space-lg, 24px);
    }

    .trust-badge {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .nav-trust-badges {
        display: none;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
        padding: 8px 0;
    }

    .top-bar-content {
        flex-direction: column;
        gap: var(--space-sm, 8px);
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: var(--space-sm, 8px);
    }

    .header-content {
        grid-template-columns: 1fr auto auto;
        gap: var(--space-md, 16px);
        padding: 16px 0;
    }

    .header-logo {
        order: 1;
    }

    .header-logo img {
        max-width: 140px;
        min-height: 40px;
    }

    .header-search {
        order: 3;
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .search-input {
        padding: 12px 50px 12px 16px;
        font-size: 14px;
    }

    .search-button {
        width: 40px;
        height: 40px;
    }

    .header-actions {
        order: 2;
        gap: var(--space-sm, 8px);
    }

    .header-action-text {
        display: none;
    }

    .header-action-btn {
        padding: 8px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-primary, #ffffff);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        transition: left 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        border-bottom: none;
        border-top: none;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav .container {
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl, 32px) var(--space-lg, 24px);
    }

    .nav-menu {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .nav-link {
        padding: 14px 16px;
        width: 100%;
    }

    .nav-link::after {
        left: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        max-width: 120px;
        min-height: 36px;
    }

    .search-input {
        padding: 10px 46px 10px 14px;
        font-size: 13px;
    }

    .search-button {
        width: 36px;
        height: 36px;
    }

    .search-button svg {
        width: 18px;
        height: 18px;
    }

    .header-cart-badge {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .header {
        border-bottom: 3px solid var(--text-primary, #2D3436);
    }

    .search-input {
        border-width: 3px;
    }

    .nav-link {
        border: 2px solid transparent;
    }

    .nav-link:hover,
    .nav-item.active .nav-link {
        border-color: var(--color-primary, #C41E3A);
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .header-search,
    .header-actions,
    .mobile-menu-toggle,
    .nav-trust-badges {
        display: none !important;
    }

    .header {
        position: static;
        box-shadow: none;
        border-bottom: 2px solid #000;
    }

    .main-nav {
        border: none;
    }
}


/* ============================================
   MODERN FOOTER STYLES
   ============================================ */

.footer-modern {
    background: #1a1d29;
    color: #e4e6eb;
    margin-top: 80px;
}

/* Main Footer */
.footer-main {
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col-brand {
    max-width: 360px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    display: block;
    max-width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: #b2bec3;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    transition: all 0.3s;
}

.footer-social-link:hover {
    background: #C41E3A;
    transform: translateY(-4px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #C41E3A;
    border-radius: 2px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b2bec3;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    padding-left: 0;
}

.footer-menu a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s;
}

.footer-menu a:hover {
    color: white;
    padding-left: 16px;
}

.footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.2);
    border-radius: 10px;
    color: #C41E3A;
}

.footer-contact-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #636e72;
    font-weight: 600;
}

.footer-contact-content a,
.footer-contact-content span {
    color: #e4e6eb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-contact-content a:hover {
    color: #C41E3A;
}

/* Trust Section */
.footer-trust-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-trust-item svg {
    flex-shrink: 0;
    color: #00B894;
}

.footer-trust-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-trust-item strong {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.footer-trust-item span {
    font-size: 12px;
    color: #b2bec3;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-copyright {
    font-size: 14px;
    color: #b2bec3;
    margin: 0;
}

.footer-payment-methods {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-label {
    font-size: 13px;
    color: #b2bec3;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s;
}

.payment-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-col:last-child {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .footer-trust-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-col-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-modern {
        margin-top: 48px;
    }
    
    .footer-main {
        padding: 48px 0 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-trust-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-payment-methods {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .footer-logo img {
        max-width: 140px;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .payment-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* ============================================
   MOBILE MENU ENHANCEMENTS - E-COMMERCE OPTIMIZED
   ============================================ */

/* Smooth mobile menu animation */
@media (max-width: 768px) {
    .header-nav-modern {
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .header-nav-modern.active {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
    }
    
    /* Mobile menu header */
    .nav-wrapper-modern::before {
        content: 'Menü';
        display: block;
        font-size: 1.25rem;
        font-weight: 700;
        color: #2d3436;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 2px solid #e9ecef;
    }
    
    /* Enhanced mobile menu items */
    .nav-menu-modern .nav-item-modern {
        width: 100%;
    }
    
    .nav-menu-modern .nav-link-modern {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 16px;
        padding: 16px 20px;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .nav-menu-modern .nav-link-modern::before {
        content: '';
        width: 4px;
        height: 20px;
        background: #C41E3A;
        border-radius: 2px;
        opacity: 0;
        transform: translateX(-8px);
        transition: all 0.3s ease;
    }
    
    .nav-menu-modern .nav-link-modern:hover::before,
    .nav-menu-modern .nav-item-modern.active .nav-link-modern::before {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu-modern .nav-link-modern::after {
        content: '›';
        font-size: 24px;
        font-weight: 300;
        color: #b2bec3;
        transition: all 0.3s ease;
        bottom: auto;
        left: auto;
        right: 0;
        height: auto;
        background: none;
        transform: none;
    }
    
    .nav-menu-modern .nav-link-modern:hover::after,
    .nav-menu-modern .nav-item-modern.active .nav-link-modern::after {
        color: #C41E3A;
        transform: translateX(4px);
    }
    
    /* Mobile menu footer actions */
    .nav-wrapper-modern::after {
        content: '';
        display: block;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 2px solid #e9ecef;
    }
    
    /* Overlay improvements */
    .mobile-overlay-modern {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    /* Mobile toggle improvements */
    .mobile-toggle-modern {
        position: relative;
        z-index: 1002;
    }
    
    .mobile-toggle-modern span {
        transform-origin: center;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* ============================================
   CONTACT PAGE MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 768px) {
    /* Contact hero mobile */
    .contact-hero-compact {
        padding: 40px 0;
    }
    
    .contact-hero-compact h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .contact-hero-compact p {
        font-size: 1rem;
    }
    
    /* Contact grid mobile */
    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-sidebar {
        position: static;
        order: 2;
    }
    
    .contact-form-card {
        order: 1;
        padding: 28px 20px;
    }
    
    /* Contact info cards mobile */
    .contact-info-card-modern {
        padding: 24px 20px;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
    }
    
    .contact-info-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    /* Form improvements mobile */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-control-modern {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 16px;
    }
    
    textarea.form-control-modern {
        min-height: 120px;
    }
    
    /* Contact features mobile */
    .contact-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }
    
    .contact-feature-card {
        padding: 20px;
    }
    
    /* Social links mobile */
    .contact-social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .contact-hero-compact h1 {
        font-size: 1.75rem;
    }
    
    .contact-hero-compact p {
        font-size: 0.938rem;
    }
    
    .contact-form-card {
        padding: 24px 16px;
    }
    
    .contact-form-card h2 {
        font-size: 1.5rem;
    }
    
    .form-control-modern {
        padding: 14px;
    }
    
    .btn-submit-modern {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .contact-info-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .contact-feature-icon {
        width: 48px;
        height: 48px;
    }
}

/* ============================================
   TOUCH OPTIMIZATIONS
   ============================================ */

@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .nav-link-modern,
    .header-action-modern,
    .mobile-toggle-modern,
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .product-card:hover,
    .category-card:hover,
    .btn:hover {
        transform: none;
    }
    
    /* Add active states for touch */
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    .nav-link-modern:active {
        background: rgba(196, 30, 58, 0.1);
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Focus improvements for keyboard navigation */
.nav-link-modern:focus-visible,
.header-action-modern:focus-visible,
.mobile-toggle-modern:focus-visible,
.form-control-modern:focus-visible,
.btn:focus-visible {
    outline: 3px solid #C41E3A;
    outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link-modern,
    .header-action-modern,
    .btn {
        border: 2px solid currentColor;
    }
    
    .mobile-overlay-modern {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .header-nav-modern,
    .mobile-overlay-modern,
    .nav-link-modern,
    .btn,
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* GPU acceleration for smooth animations */
.header-nav-modern,
.mobile-overlay-modern,
.nav-link-modern::after,
.mobile-toggle-modern span {
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Optimize repaints */
.header-nav-modern.active {
    contain: layout style paint;
}

/* ============================================
   SAFE AREA INSETS (iPhone X+)
   ============================================ */

@supports (padding: max(0px)) {
    .header-main,
    .footer-main,
    .contact-form-card {
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }
    
    .header-nav-modern {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* ============================================
   LANDSCAPE MODE OPTIMIZATIONS
   ============================================ */

@media (max-width: 768px) and (orientation: landscape) {
    .contact-hero-compact {
        padding: 32px 0;
    }
    
    .contact-hero-compact h1 {
        font-size: 1.75rem;
    }
    
    .header-nav-modern {
        max-width: 400px;
    }
    
    .nav-wrapper-modern {
        padding: 20px;
    }
    
    .nav-link-modern {
        padding: 12px 16px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .mobile-toggle-modern,
    .mobile-overlay-modern,
    .header-actions-modern,
    .contact-social-links,
    .btn-submit-modern {
        display: none !important;
    }
    
    .header-nav-modern {
        position: static !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        box-shadow: none !important;
    }
    
    .contact-grid-layout {
        grid-template-columns: 1fr !important;
    }
    
    .contact-form-card {
        page-break-inside: avoid;
    }
}


/* ============================================
   CORPORATE HEADER - CLEAN & PROFESSIONAL
   ============================================ */

/* Corporate Header Container */
.corporate-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.corporate-header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Top Contact Bar */
.header-top-bar {
    background: #2d3436;
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

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

.contact-info {
    display: flex;
    align-items: center;
    gap: 28px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.contact-link:hover {
    color: #C41E3A;
    transform: translateX(2px);
}

.contact-link svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.user-welcome svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Main Header */
.header-main {
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.header-content {
    display: grid;
    grid-template-columns: 240px auto 1fr auto;
    align-items: center;
    gap: 24px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: block;
    transition: opacity 0.3s ease;
}

.header-logo a:hover {
    opacity: 0.85;
}

.header-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 65px;
}

/* Categories Icon Button */
.categories-icon-btn-wrapper {
    position: relative;
}

.categories-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #C41E3A;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.25);
}

.categories-icon-btn:hover {
    background: #8B1538;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
}

.categories-icon-btn:active {
    transform: translateY(0);
}

.categories-icon-btn svg {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
}

.categories-icon-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 300px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
}

.categories-icon-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.categories-icon-menu .category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #2d3436;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.3s ease;
}

.categories-icon-menu .category-item:first-child {
    border-radius: 12px 12px 0 0;
}

.categories-icon-menu .category-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.categories-icon-menu .category-item:hover {
    background: #f8f9fa;
    color: #C41E3A;
    padding-left: 24px;
}

.categories-icon-menu .category-item svg {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.categories-icon-menu .category-item:hover svg {
    opacity: 1;
}

.categories-icon-menu .category-item.view-all {
    background: #f8f9fa;
    font-weight: 600;
    color: #C41E3A;
    border-top: 2px solid #e9ecef;
    margin-top: 4px;
}

.categories-icon-menu .category-item.view-all:hover {
    background: #C41E3A;
    color: white;
}

.categories-icon-menu .category-item.view-all svg {
    opacity: 1;
}

.categories-icon-menu .no-categories {
    padding: 24px;
    text-align: center;
    color: #b2bec3;
    font-size: 14px;
}

/* Search */
.header-search {
    max-width: 650px;
    width: 100%;
}

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

.search-input {
    flex: 1;
    padding: 14px 56px 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3436;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.search-input:focus {
    outline: none;
    border-color: #C41E3A;
    background: white;
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.08);
}

.search-input::placeholder {
    color: #b2bec3;
    font-weight: 400;
}

.search-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C41E3A;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #8B1538;
    transform: translateY(-50%) scale(1.05);
}

.search-button:active {
    transform: translateY(-50%) scale(0.98);
}

.search-button svg {
    width: 20px;
    height: 20px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    color: #2d3436;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.header-action:hover {
    background: #f8f9fa;
    color: #C41E3A;
    transform: translateY(-2px);
}

.header-action svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.header-action span {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.cart-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C41E3A;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(196, 30, 58, 0.3);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .header-content {
        grid-template-columns: 200px auto 1fr auto;
        gap: 16px;
    }

    .header-search {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    /* Top Bar Mobile */
    .header-top-bar {
        padding: 8px 0;
        font-size: 12px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 6px;
    }

    /* Main Header Mobile */
    .header-main {
        padding: 16px 0;
    }

    .header-content {
        grid-template-columns: 1fr auto auto;
        gap: 12px;
    }

    .header-logo {
        order: 1;
    }

    .header-logo img {
        max-width: 160px;
        max-height: 50px;
    }

    .categories-icon-btn-wrapper {
        order: 2;
    }

    .categories-icon-btn {
        width: 48px;
        height: 48px;
    }

    .categories-icon-btn svg {
        width: 24px;
        height: 24px;
    }

    .header-search {
        order: 4;
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .search-input {
        padding: 13px 52px 13px 16px;
        font-size: 14px;
    }

    .search-button {
        width: 40px;
        height: 40px;
    }

    .search-button svg {
        width: 18px;
        height: 18px;
    }

    .header-actions {
        order: 3;
        gap: 8px;
    }

    .header-action span {
        display: none;
    }

    .header-action {
        padding: 10px;
    }

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

@media (max-width: 480px) {
    .header-logo img {
        max-width: 140px;
        max-height: 45px;
    }

    .categories-icon-btn {
        width: 44px;
        height: 44px;
    }

    .categories-icon-btn svg {
        width: 22px;
        height: 22px;
    }

    .search-input {
        padding: 12px 48px 12px 14px;
        font-size: 13px;
    }

    .search-button {
        width: 36px;
        height: 36px;
    }

    .search-button svg {
        width: 16px;
        height: 16px;
    }

    .cart-badge {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }

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

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Print Styles */
@media print {
    .header-top-bar,
    .header-search,
    .header-actions {
        display: none !important;
    }

    .corporate-header {
        position: static;
        box-shadow: none;
        border-bottom: 1px solid #000;
    }
}


/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #C41E3A;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Premium Header Container */
.premium-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.premium-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* Top Info Bar */
.header-top-info {
    background: linear-gradient(135deg, #2d3436 0%, #1a1d29 100%);
    color: white;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-info-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.top-info-left,
.top-info-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.top-info-item:hover {
    color: #C41E3A;
    transform: translateX(2px);
}

.top-info-item svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* Main Header Section */
.header-main-section {
    padding: 20px 0;
    background: white;
}

.header-main-grid {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    gap: 48px;
}

/* Brand/Logo */
.header-brand {
    flex-shrink: 0;
}

.brand-link {
    display: block;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.05);
}

.brand-logo {
    display: block;
    max-width: 100%;
    height: auto;
    min-height: 50px;
    object-fit: contain;
}

/* Premium Search Bar */
.header-search-bar {
    max-width: 700px;
    width: 100%;
}

.search-form-premium {
    position: relative;
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-input-group:focus-within {
    background: white;
    border-color: #C41E3A;
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.search-icon {
    position: absolute;
    left: 24px;
    color: #636e72;
    pointer-events: none;
    z-index: 1;
}

.search-input-premium {
    flex: 1;
    padding: 16px 64px 16px 56px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
    color: #2d3436;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.search-input-premium::placeholder {
    color: #b2bec3;
    font-weight: 400;
}

.search-btn-premium {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #C41E3A 0%, #8B1538 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn-premium:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(196, 30, 58, 0.4);
}

.search-btn-premium:active {
    transform: translateY(-50%) scale(0.95);
}

/* Header Actions Group */
.header-actions-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    color: #2d3436;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.header-action-link:hover {
    background: #f8f9fa;
    color: #C41E3A;
    transform: translateY(-2px);
}

.action-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon-wrapper svg {
    flex-shrink: 0;
}

.action-label {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.cart-badge-premium {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #C41E3A 0%, #8B1538 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.4);
    animation: pulse-cart 2s infinite;
}

@keyframes pulse-cart {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #C41E3A;
    border-color: #C41E3A;
}

.menu-bar {
    display: block;
    width: 100%;
    height: 3px;
    background: #2d3436;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover .menu-bar {
    background: white;
}

.mobile-menu-btn.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation Bar */
.header-navigation {
    background: white;
    border-top: 1px solid #e9ecef;
    border-bottom: 3px solid #C41E3A;
}

.nav-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 0;
}

.nav-menu-premium {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-premium {
    position: relative;
}

.nav-link-premium {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #2d3436;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-premium svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, #C41E3A, #E85D75);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link-premium:hover,
.nav-item-premium.active .nav-link-premium {
    color: #C41E3A;
    background: rgba(196, 30, 58, 0.05);
}

.nav-link-premium:hover svg,
.nav-item-premium.active .nav-link-premium svg {
    opacity: 1;
}

.nav-link-premium:hover::after,
.nav-item-premium.active .nav-link-premium::after {
    transform: scaleX(1);
}

/* Trust Badges in Nav */
.nav-trust-badges {
    display: flex;
    align-items: center;
    gap: 32px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #636e72;
}

.trust-badge-item svg {
    color: #00B894;
    flex-shrink: 0;
}

/* Mobile Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}ht: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-nav-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .header-main-grid {
        grid-template-columns: 200px 1fr auto;
        gap: 32px;
    }

    .header-search-bar {
        max-width: 500px;
    }

    .nav-trust-badges {
        gap: 24px;
    }

    .trust-badge-item {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .nav-trust-badges {
        display: none;
    }

    .nav-link-premium {
        padding: 16px 20px;
        font-size: 14px;
    }

    .nav-link-premium svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 768px) {
    /* Top Info Bar Mobile */
    .header-top-info {
        padding: 8px 0;
    }

    .top-info-wrapper {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-info-left,
    .top-info-right {
        flex-direction: column;
        gap: 8px;
    }

    .top-info-item {
        font-size: 12px;
    }

    /* Main Header Mobile */
    .header-main-section {
        padding: 16px 0;
    }

    .header-main-grid {
        grid-template-columns: 1fr auto auto;
        gap: 12px;
    }

    .header-brand {
        order: 1;
    }

    .brand-logo {
        max-width: 140px;
        min-height: 42px;
    }

    .header-search-bar {
        order: 3;
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .search-input-premium {
        padding: 14px 56px 14px 52px;
        font-size: 14px;
    }

    .search-icon {
        left: 20px;
    }

    .search-btn-premium {
        width: 44px;
        height: 44px;
    }

    .header-actions-group {
        order: 2;
        gap: 8px;
    }

    .action-label {
        display: none;
    }

    .header-action-link {
        padding: 10px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Navigation Mobile */
    .header-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: white;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        border-top: none;
        border-bottom: none;
    }

    .header-navigation.active {
        left: 0;
    }

    .nav-content-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px;
        gap: 24px;
    }

    .nav-content-wrapper::before {
        content: 'Menü';
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        color: #2d3436;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 2px solid #e9ecef;
    }

    .nav-menu-premium {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .nav-link-premium {
        width: 100%;
        padding: 16px 20px;
        justify-content: space-between;
    }

    .nav-link-premium::before {
        content: '';
        width: 4px;
        height: 24px;
        background: #C41E3A;
        border-radius: 2px;
        opacity: 0;
        transform: translateX(-8px);
        transition: all 0.3s ease;
    }

    .nav-link-premium:hover::before,
    .nav-item-premium.active .nav-link-premium::before {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-link-premium::after {
        content: '›';
        font-size: 24px;
        font-weight: 300;
        color: #b2bec3;
        bottom: auto;
        left: auto;
        right: 0;
        height: auto;
        background: none;
        transform: none;
    }

    .nav-link-premium:hover::after,
    .nav-item-premium.active .nav-link-premium::after {
        color: #C41E3A;
        transform: translateX(4px);
    }
}

@media (max-width: 480px) {
    .brand-logo {
        max-width: 120px;
        min-height: 36px;
    }

    .search-input-premium {
        padding: 12px 50px 12px 48px;
        font-size: 13px;
    }

    .search-icon {
        left: 16px;
        width: 18px;
        height: 18px;
    }

    .search-btn-premium {
        width: 40px;
        height: 40px;
    }

    .search-btn-premium svg {
        width: 18px;
        height: 18px;
    }

    .cart-badge-premium {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .premium-header {
        border-bottom: 3px solid #2d3436;
    }

    .search-input-group {
        border-width: 3px;
    }

    .nav-link-premium {
        border: 2px solid transparent;
    }

    .nav-link-premium:hover,
    .nav-item-premium.active .nav-link-premium {
        border-color: #C41E3A;
    }
}

/* Print Styles */
@media print {
    .header-top-info,
    .header-search-bar,
    .header-actions-group,
    .mobile-menu-btn,
    .nav-trust-badges {
        display: none !important;
    }

    .premium-header {
        position: static;
        box-shadow: none;
        border-bottom: 2px solid #000;
    }

    .header-navigation {
        border: none;
    }
}
