/**
 * ADR Market - Ana CSS Dosyasi
 * Modern, temiz ve profesyonel tasarim
 */

:root {
    --white: #ffffff;
    --light-100: #f8fafc;
    --light-200: #f1f5f9;
    --light-300: #e2e8f0;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --navy-600: #475569;
    --navy-500: #64748b;
    --primary: #1e3a5f;
    --primary-light: #2d5a87;
    --accent: #0ea5e9;
    --accent-light: #38bdf8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

/* Tüm form elementlerinde Exo fontu */
input, select, textarea, button, optgroup, option {
    font-family: 'Exo', sans-serif !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}

input[type="radio"] {
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo', sans-serif;
    background: var(--light-100);
    color: var(--navy-800);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.logo-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.logo-text {
    font-family: 'Exo', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: var(--navy-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Exo', sans-serif;
}

.nav-btn.icon-btn {
    background: var(--light-200);
    color: var(--navy-700);
    padding: 0.7rem;
    position: relative;
}

.nav-btn.icon-btn:hover {
    background: var(--light-300);
    color: var(--primary);
}

.nav-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.nav-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-btn.admin-btn {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.nav-btn.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.nav-btn.admin-btn i {
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .nav-btn.admin-btn span {
        display: none;
    }
    .nav-btn.admin-btn {
        padding: 0.6rem;
    }
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy-800);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.8rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Exo', sans-serif;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1.2rem 2.2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

.btn-secondary {
    background: var(--light-200);
    color: var(--navy-700);
}

.btn-secondary:hover {
    background: var(--light-300);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
}

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

/* ==================== SECTIONS ==================== */
.section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Exo', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 1rem;
}

.section-title .title-accent {
    color: var(--accent);
}

.section-desc {
    color: var(--navy-500);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* ==================== HERO ==================== */
.hero {
    padding: 10rem 5% 6rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-100) 100%);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--light-300) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    animation: fadeIn 1s ease;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.hero-title {
    font-family: 'Exo', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(14, 165, 233, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--navy-600);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Exo', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--navy-500);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.3s both;
}

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

.signs-container {
    position: relative;
    width: 450px;
    height: 450px;
}

.sign-card {
    position: absolute;
    width: 130px;
    height: 130px;
    background: var(--white);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Sign Card Shine Effect */
.sign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 35%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 65%,
        transparent 100%
    );
    z-index: 10;
    transition: left 0.5s ease;
    pointer-events: none;
}

.sign-card:hover::before {
    left: 150%;
}

.sign-card:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 100;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.sign-card:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%) rotate(-5deg); }
.sign-card:nth-child(2) { top: 20%; right: 0; transform: rotate(8deg); }
.sign-card:nth-child(3) { bottom: 20%; right: 5%; transform: rotate(-3deg); }
.sign-card:nth-child(4) { bottom: 0; left: 50%; transform: translateX(-50%) rotate(5deg); }
.sign-card:nth-child(5) { bottom: 20%; left: 0; transform: rotate(-8deg); }
.sign-card:nth-child(6) { top: 20%; left: 5%; transform: rotate(3deg); }

.adr-sign {
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
    border: 4px solid #000;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Exo', sans-serif;
    font-weight: 700;
}

.adr-sign > * {
    transform: rotate(-45deg);
}

.adr-sign .icon {
    font-size: 2rem;
    margin-bottom: 0.1rem;
}

.adr-sign .class-num {
    font-size: 1.2rem;
}

/* Sign Colors */
.sign-1 { background: linear-gradient(135deg, #FF8C42, #FF6B00); color: #000; }
.sign-2 { background: linear-gradient(135deg, #22C55E, #16A34A); color: #000; }
.sign-3 { background: linear-gradient(135deg, #EF4444, #DC2626); color: #fff; }
.sign-5 { background: linear-gradient(135deg, #FBBF24, #F59E0B); color: #000; }
.sign-6 { background: linear-gradient(135deg, #fff, #f0f0f0); color: #000; }
.sign-7 { background: linear-gradient(180deg, #FBBF24 50%, #fff 50%); color: #000; }

.hero-float {
    position: absolute;
    background: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-800);
    animation: float 3s ease-in-out infinite;
}

.hero-float i {
    color: var(--success);
    font-size: 1.1rem;
}

.hero-float.top { top: 10%; right: -20px; }
.hero-float.bottom { bottom: 15%; left: -30px; animation-delay: 1.5s; }

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

/* ==================== CATEGORIES - PROFESSIONAL ==================== */
.categories-section {
    background: var(--white);
    padding-bottom: 4rem;
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card-modern {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--light-200);
    overflow: hidden;
}

/* Category Card Shine Effect */
.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 60%,
        transparent 100%
    );
    z-index: 10;
    transition: left 0.5s ease;
    pointer-events: none;
}

.category-card-modern:hover::before {
    left: 150%;
}

.category-card-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--category-color);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.category-card-modern:hover::after {
    width: 60%;
}

.category-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--light-300);
}

.category-hover-effect {
    display: none;
}

.category-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.category-icon-modern {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--category-bg);
    color: var(--category-color);
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-icon-modern {
    background: var(--category-color);
    color: white;
    transform: scale(1.05);
}

.category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.category-class {
    font-family: 'Exo', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--category-color);
    background: none;
    padding: 0;
}

.category-title {
    font-family: 'Exo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy-800);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.category-card-modern:hover .category-title {
    color: var(--navy-900);
}

.category-count-badge {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-top: 0.2rem;
}

.count-number {
    font-family: 'Exo', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--category-color);
    line-height: 1;
}

.count-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--navy-400);
}

/* Category Color Variables */
.cat-1 {
    --category-color: #E85D04;
    --category-bg: rgba(232, 93, 4, 0.1);
}

.cat-2 {
    --category-color: #10B981;
    --category-bg: rgba(16, 185, 129, 0.1);
}

.cat-3 {
    --category-color: #EF4444;
    --category-bg: rgba(239, 68, 68, 0.1);
}

.cat-4 {
    --category-color: #3B82F6;
    --category-bg: rgba(59, 130, 246, 0.1);
}

.cat-5 {
    --category-color: #D97706;
    --category-bg: rgba(217, 119, 6, 0.1);
}

.cat-6 {
    --category-color: #7C3AED;
    --category-bg: rgba(124, 58, 237, 0.1);
}

/* Categories Responsive */
@media (max-width: 1200px) {
    .categories-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .categories-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .category-card-modern {
        padding: 1rem 0.8rem;
    }

    .category-icon-modern {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .category-title {
        font-size: 0.8rem;
    }

    .count-number {
        font-size: 1rem;
    }
}

/* ==================== PRODUCTS ==================== */
.products-section {
    background: linear-gradient(180deg, var(--light-100) 0%, var(--white) 50%, var(--light-100) 100%);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 58, 95, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Ana sayfa için 3 sütun */
.products-section .products-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1400px;
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.product-title-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-title-link:hover .product-name {
    color: var(--primary);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.12);
}

.product-image {
    height: 280px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Shine Effect Overlay */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 60%,
        transparent 100%
    );
    z-index: 3;
    transition: left 0.6s ease;
    pointer-events: none;
}

.product-card:hover .product-image::before {
    left: 150%;
}

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

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

.product-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    pointer-events: none;
}

.badge-in-stock {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.badge-out-stock {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Sağ üst köşe rozetleri */
.badge-new {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    left: auto !important;
    right: 1.2rem;
}

.badge-bestseller {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    left: auto !important;
    right: 1.2rem;
}

.badge-featured {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    left: auto !important;
    right: 1.2rem;
}

.badge-sale {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 2;
    pointer-events: none;
}

.product-action-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.98);
    border-radius: var(--radius-md);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-600);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.product-card:hover .product-action-btn {
    opacity: 1;
}

.product-action-btn:hover {
    background: var(--primary);
    color: white;
}

.product-action-btn.wishlist:hover {
    background: #ef4444;
}

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

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.6rem;
    padding: 0.3rem 0.8rem;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 6px;
    width: fit-content;
}

.product-category::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.product-name {
    font-family: 'Exo', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.15rem;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-card:hover .product-name {
    color: var(--primary);
}

.product-desc {
    font-size: 0.85rem;
    color: var(--navy-600);
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0;
    padding-bottom: 1rem;
    min-height: 2rem;
    max-height: 2.5rem;
    overflow: hidden;
}

.spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    color: var(--navy-600);
    background: var(--light-100);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    border: 1px solid var(--light-300);
    white-space: nowrap;
}

.spec-tag i {
    color: var(--accent);
    font-size: 0.65rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.2rem;
    border-top: 2px solid var(--light-200);
    margin-top: auto;
    gap: 0.8rem;
}

.product-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.product-price-box {
    background: linear-gradient(135deg, var(--light-100), var(--light-200));
    border: 2px solid var(--light-300);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-price {
    font-family: 'Exo', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.product-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy-500);
}

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

.product-stock {
    font-size: 0.75rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.product-stock::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.product-stock.out-of-stock {
    color: var(--danger);
}

.product-stock.out-of-stock::before {
    background: var(--danger);
    animation: none;
}

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

.add-cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Exo', sans-serif;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.add-cart-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, #ea580c, #dc2626);
}

.add-cart-btn:disabled {
    background: var(--light-300);
    color: var(--navy-500);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==================== FEATURES ==================== */
.features-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: var(--light-100);
    transition: all 0.4s ease;
}

.feature-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.25);
}

.feature-title {
    font-family: 'Exo', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--navy-500);
    line-height: 1.7;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials-section .section-tag {
    background: rgba(255,255,255,0.2);
    color: white;
}

.testimonials-section .section-title {
    color: white;
}

.testimonials-section .section-desc {
    color: rgba(255,255,255,0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    color: var(--navy-800);
}

.testimonial-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #FBBF24;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--navy-600);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-name {
    font-family: 'Exo', sans-serif;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.2rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--navy-500);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: var(--light-100);
    padding: 5rem 5%;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
}

.cta-title {
    font-family: 'Exo', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 1rem;
}

.cta-desc {
    color: var(--navy-500);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--light-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: 'Exo', sans-serif;
    color: var(--navy-800);
    outline: none;
    transition: all 0.3s ease;
}

.cta-input:focus {
    border-color: var(--accent);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--navy-900);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto 3rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo-text {
    color: white;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    transform: translateY(-3px);
}

.social-link[title="Facebook"]:hover {
    background: #1877F2;
}

.social-link[title="Twitter"]:hover {
    background: #1DA1F2;
}

.social-link[title="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link[title="LinkedIn"]:hover {
    background: #0A66C2;
}

.footer-title {
    font-family: 'Exo', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-payments {
    display: flex;
    gap: 0.8rem;
}

.payment-icon {
    width: 50px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
}

/* ==================== SCROLL TOP ==================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white);
    border-left: 4px solid var(--success);
    color: var(--navy-800);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.error {
    border-color: var(--danger);
}

.toast.warning {
    border-color: var(--warning);
}

.toast i {
    font-size: 1.3rem;
}

.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }
.toast.warning i { color: var(--warning); }

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--light-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: 'Exo', sans-serif;
    color: var(--navy-800);
    outline: none;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--danger);
}

.form-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.form-hint {
    color: var(--navy-500);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb-nav {
    padding: 0;
    background: transparent;
    border-bottom: none;
    margin-top: 0;
}

.page-header + .breadcrumb-nav {
    margin-top: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 1rem 2%;
    background: var(--white);
    border: 1px solid var(--light-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.breadcrumb a {
    color: var(--navy-500);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    font-size: 0.65rem;
    color: var(--light-300);
}

.breadcrumb span {
    color: var(--navy-800);
    font-weight: 600;
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    background: var(--white);
    border: 2px solid var(--light-300);
    border-radius: var(--radius-md);
    color: var(--navy-700);
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-dots {
    color: var(--navy-500);
    padding: 0 0.5rem;
}

/* ==================== ALERTS ==================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert i {
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    border-left: 4px solid var(--accent);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text { order: 1; }
    .hero-visual { order: 0; margin-bottom: 2rem; }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }

    .signs-container {
        width: 350px;
        height: 350px;
    }

    .sign-card {
        width: 100px;
        height: 100px;
    }

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

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

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

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

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active { display: flex; }
    .mobile-toggle { display: flex; }
    .nav-btn.primary { display: none; }

    .hero-float { display: none; }

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

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

    .features-grid { grid-template-columns: 1fr; }
    .cta-form { flex-direction: column; }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }

    .signs-container { width: 280px; height: 280px; }
    .sign-card { width: 80px; height: 80px; }
    .adr-sign .icon { font-size: 1.5rem; }
    .adr-sign .class-num { font-size: 0.9rem; }
}

/* ==================== CUSTOM MODAL SYSTEM ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

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

.modal-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-container.modal-lg {
    max-width: 600px;
}

.modal-container.modal-xl {
    max-width: 900px;
}

.modal-container.modal-address {
    max-width: 580px;
}

.modal-header {
    padding: 0.875rem 1rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--light-200);
    position: relative;
    flex-shrink: 0;
}

.modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.modal-icon.warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.modal-icon.danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.modal-icon.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.modal-icon.info {
    background: rgba(14, 165, 233, 0.15);
    color: var(--accent);
}

.modal-title {
    font-family: 'Exo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0;
    flex: 1;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--light-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-500);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.modal-close:hover {
    background: var(--light-300);
    color: var(--navy-800);
}

.modal-body {
    padding: 0.75rem;
    overflow-y: auto;
    flex: 1;
}

.modal-body p {
    color: var(--navy-600);
    line-height: 1.4;
    margin: 0;
}

/* Order Detail Modal - Ekstra sıkıştırma */
.modal-body > .order-detail-modal {
    margin: 0 !important;
    padding: 0 !important;
}

.modal-footer {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 0.75rem;
}

.modal-footer .btn {
    min-width: 100px;
}

/* Modal Form Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-form .form-row,
.modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-form label,
.modal-body .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-700);
    display: block;
    margin-bottom: 0.35rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea,
.modal-body .form-input,
.modal-body .form-select,
.modal-body textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--light-300);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus,
.modal-body .form-input:focus,
.modal-body .form-select:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.modal-form textarea,
.modal-body textarea {
    min-height: 80px;
    resize: vertical;
}

.modal-body .form-group {
    margin-bottom: 1rem;
}

/* Order Detail Modal */
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-200);
    margin-bottom: 1rem;
}

.order-detail-number {
    font-family: 'Exo', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-900);
}

.order-detail-status {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.order-detail-items {
    margin: 1rem 0;
}

.order-detail-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-100);
}

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

.order-detail-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: var(--light-100);
}

.order-detail-item-info {
    flex: 1;
}

.order-detail-item-name {
    font-weight: 600;
    color: var(--navy-800);
    font-size: 0.9rem;
}

.order-detail-item-qty {
    font-size: 0.8rem;
    color: var(--navy-500);
}

.order-detail-item-price {
    font-family: 'Exo', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

.order-detail-summary {
    background: var(--light-100);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 1rem;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--navy-600);
}

.order-detail-row.total {
    border-top: 1px solid var(--light-300);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-weight: 700;
    color: var(--navy-900);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 0.75rem;
        align-items: center;
    }

    .modal-container {
        margin: 0;
        max-height: 90vh;
        max-width: calc(100% - 1.5rem);
        width: calc(100% - 1.5rem);
    }

    .modal-container.modal-lg,
    .modal-container.modal-xl,
    .modal-container.modal-address {
        max-width: calc(100% - 1rem);
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-header {
        padding: 0.875rem 1rem;
    }

    .modal-title {
        font-size: 1rem;
    }

    .modal-close {
        width: 28px;
        height: 28px;
        top: 0.625rem;
        right: 0.625rem;
        font-size: 1.1rem;
    }

    .modal-form .form-row,
    .modal-body .form-row {
        grid-template-columns: 1fr;
    }

    .modal-footer {
        flex-direction: row;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .modal-footer .btn {
        flex: 1;
        padding: 0.625rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 0.5rem;
    }

    .modal-container {
        max-height: 92vh;
        max-width: calc(100% - 1rem);
        width: calc(100% - 1rem);
    }

    .modal-body {
        padding: 0.875rem;
    }

    .modal-header {
        padding: 0.75rem;
    }

    .modal-title {
        font-size: 0.95rem;
    }

    .modal-close {
        width: 26px;
        height: 26px;
        top: 0.5rem;
        right: 0.5rem;
    }

    .modal-footer {
        padding: 0.625rem 0.75rem;
        gap: 0.5rem;
    }

    .modal-footer .btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

/* ==================== HEADER SEARCH OVERLAY ==================== */
.header-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.header-search-container {
    width: 100%;
    max-width: 700px;
    padding: 0 1rem;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.header-search-overlay.active .header-search-container {
    transform: translateY(0);
}

.header-search-form {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.header-search-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: none;
    font-size: 1.1rem;
    background: transparent;
}

.header-search-input:focus {
    outline: none;
}

.header-search-input::placeholder {
    color: var(--navy-500);
}

.header-search-btn {
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.header-search-btn:hover {
    background: var(--primary-light);
}

.header-search-close {
    padding: 1rem 1.25rem;
    background: transparent;
    color: var(--navy-500);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.header-search-close:hover {
    color: var(--danger);
}

.header-search-results {
    margin-top: 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 50vh;
    overflow-y: auto;
    display: none;
}

.header-search-results.active {
    display: block;
}

.header-search-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    border-bottom: 1px solid var(--light-100);
    transition: background 0.2s;
}

.header-search-item:hover {
    background: var(--light-50);
}

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

.header-search-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.header-search-item-info {
    flex: 1;
}

.header-search-item-name {
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 0.25rem;
}

.header-search-item-category {
    font-size: 0.85rem;
    color: var(--navy-500);
}

.header-search-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.header-search-all {
    display: block;
    padding: 1rem;
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    border-top: 1px solid var(--light-100);
    transition: background 0.2s;
}

.header-search-all:hover {
    background: var(--light-50);
}

.header-search-no-results {
    padding: 2rem;
    text-align: center;
    color: var(--navy-500);
}

.header-search-no-results i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--light-300);
}

/* ==================== CART HEARTBEAT ANIMATION ==================== */
@keyframes cartHeartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: scale(1.3);
    }
    20%, 40%, 60%, 80% {
        transform: scale(1);
    }
}

@keyframes cartBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: scale(1.4);
        box-shadow: 0 0 15px 5px rgba(239, 68, 68, 0.7);
    }
    20%, 40%, 60%, 80% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.nav-btn.cart-heartbeat {
    animation: cartHeartbeat 2s ease-in-out;
}

.nav-btn.cart-heartbeat .cart-badge {
    animation: cartBadgePulse 2s ease-in-out;
    background: var(--danger) !important;
}

.nav-btn.cart-heartbeat i {
    color: var(--danger);
}

/* ==================== ADMIN TOP NAVBAR (WordPress Style) ==================== */
.admin-top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 46px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    z-index: 99999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.top-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1rem;
}

.top-navbar-left,
.top-navbar-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.top-navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    height: 46px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(249, 115, 22, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.top-navbar-brand:hover {
    background: rgba(249, 115, 22, 0.25);
    color: #f97316;
}

.top-navbar-brand i {
    font-size: 1.1rem;
    color: #f97316;
}

.top-navbar-item {
    position: relative;
}

.top-navbar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    height: 46px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}

.top-navbar-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.top-navbar-link i:not(.dropdown-arrow) {
    font-size: 0.9rem;
    opacity: 0.8;
}

.top-navbar-link .dropdown-arrow {
    font-size: 0.6rem;
    opacity: 0.5;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.top-navbar-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Content */
.top-navbar-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100000;
}

.top-navbar-dropdown:hover .top-navbar-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-navbar-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.top-navbar-dropdown-content a:hover {
    background: #f8fafc;
    color: #f97316;
    border-left-color: #f97316;
}

.top-navbar-dropdown-content a i {
    width: 18px;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

.top-navbar-dropdown-content a:hover i {
    color: #f97316;
}

.top-navbar-dropdown-content .dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.25rem 0;
}

.top-navbar-dropdown-content .logout-link {
    color: #ef4444;
}

.top-navbar-dropdown-content .logout-link i {
    color: #ef4444;
}

.top-navbar-dropdown-content .dropdown-right,
.dropdown-right {
    left: auto;
    right: 0;
}

/* Siparişler Badge */
.top-navbar-orders {
    position: relative;
}

.top-navbar-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    margin-left: 0.25rem;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Edit Button */
.top-navbar-edit {
    background: rgba(249, 115, 22, 0.15);
    border-left: 2px solid #f97316;
    color: #f97316 !important;
}

.top-navbar-edit:hover {
    background: rgba(249, 115, 22, 0.25);
    color: #fff !important;
}

/* User Dropdown */
.top-navbar-user .top-navbar-link {
    gap: 0.5rem;
}

.top-navbar-user i.fa-user-circle {
    font-size: 1.25rem;
    color: #f97316;
}

/* Body offset for top navbar */
body.has-admin-bar {
    padding-top: 46px;
}

body.has-admin-bar .navbar {
    top: 46px;
}

body.has-admin-bar .admin-top-navbar ~ .navbar.scrolled {
    top: 46px;
}

/* Responsive Top Navbar */
@media (max-width: 1024px) {
    .top-navbar-link span {
        display: none;
    }

    .top-navbar-brand span {
        display: none;
    }

    .top-navbar-link {
        padding: 0 0.75rem;
    }

    .top-navbar-badge {
        position: absolute;
        top: 8px;
        right: 4px;
        padding: 0.1rem 0.35rem;
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .admin-top-navbar {
        height: 42px;
    }

    body.has-admin-bar {
        padding-top: 42px;
    }

    body.has-admin-bar .navbar {
        top: 42px;
    }

    .top-navbar-link {
        height: 42px;
        padding: 0 0.5rem;
    }

    .top-navbar-brand {
        height: 42px;
        padding: 0 0.75rem;
    }

    .top-navbar-dropdown-content {
        position: fixed;
        left: 0 !important;
        right: 0 !important;
        width: 100%;
        border-radius: 0;
    }
}
