/* ========================================
   DERECE ILKOKUL - FRONTEND SITE CSS
   ======================================== */

:root {
    --primary-color: var(--primary-color);
    --primary-hover: var(--primary-hover);
}

/* ========================================
   LOADING SCREEN (Giriş Ekranı)
   ======================================== */
.site-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.site-loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}
.site-loading-screen.hidden {
    display: none;
}
.loading-logo {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    margin-bottom: 30px;
    animation: loadingPulse 1.2s ease-in-out infinite alternate;
}
.loading-logo-svg {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    margin-bottom: 30px;
}
@keyframes loadingPulse {
    from { opacity: 0.7; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}
.loading-bars {
    display: flex;
    gap: 0;
    width: 200px;
    flex-direction: column;
}
.loading-bar {
    height: 4px;
    background: #1a1a1a;
    margin-bottom: 6px;
    transform-origin: left;
    animation: loadingBarExpand 0.6s ease-out forwards;
}
.loading-bar:nth-child(1) { animation-delay: 0s; }
.loading-bar:nth-child(2) { animation-delay: 0.1s; }
.loading-bar:nth-child(3) { animation-delay: 0.2s; }
@keyframes loadingBarExpand {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
.loading-text {
    margin-top: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.loading-text span {
    animation: loadingDots 1.5s infinite;
}
.loading-text span:nth-child(2) { animation-delay: 0.2s; }
.loading-text span:nth-child(3) { animation-delay: 0.4s; }
@keyframes loadingDots {
    0%, 20% { opacity: 0; }
    40% { opacity: 1; }
    100% { opacity: 0; }
}

/* ========================================
   CLOUD EFFECT (Background Decoration)
   ======================================== */
.clouds-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.9;
    filter: drop-shadow(0 10px 15px rgba(17,24,39,0.08));
    z-index: -1;
    overflow: hidden;
}
.cloud-bg {
    position: absolute;
    width: 180px;
    height: 70px;
    background: #fff;
    border-radius: 999px;
    top: 10%;
    left: -220px;
    animation: floatCloudX 30s linear infinite;
}
.cloud-bg:before, .cloud-bg:after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 999px;
}
.cloud-bg:before { width: 90px; height: 90px; left: 30px; top: -35px; }
.cloud-bg:after { width: 110px; height: 110px; left: 80px; top: -55px; }
.cloud-bg.c1 { top: 8%; transform: scale(1); animation-duration: 35s; }
.cloud-bg.c2 { top: 18%; transform: scale(0.8); animation-duration: 42s; opacity: 0.85; }
.cloud-bg.c3 { top: 32%; transform: scale(1.05); animation-duration: 36s; opacity: 0.95; }
.cloud-bg.c4 { top: 52%; transform: scale(0.7); animation-duration: 48s; opacity: 0.75; }
.cloud-bg.c5 { top: 65%; transform: scale(0.9); animation-duration: 38s; opacity: 0.8; }
.cloud-bg.c6 { top: 78%; transform: scale(0.65); animation-duration: 45s; opacity: 0.7; }
.cloud-bg.c7 { top: 88%; transform: scale(0.85); animation-duration: 40s; opacity: 0.75; }
.cloud-bg.c8 { top: 95%; transform: scale(0.6); animation-duration: 50s; opacity: 0.65; }
@keyframes floatCloudX {
    to { transform: translateX(calc(100vw + 520px)); }
}
@media (prefers-reduced-motion: reduce) {
    .cloud-bg { animation: none !important; }
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    color: #1f2937;
    background:
        radial-gradient(1200px 700px at 20% 15%, #ffffff 0%, transparent 55%),
        radial-gradient(900px 600px at 80% 20%, #ffffff 0%, transparent 60%),
        linear-gradient(180deg, #b8e6ff, #e4f4ff);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.site-main .container {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
    padding: 30px 26px;
}
/* --- Utility --- */
.desktop-only { display: block; }
.mobile-only { display: none; }
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left {
    display: flex;
    gap: 18px;
}
.top-bar-left a {
    color: #555;
    transition: color 0.2s;
}
.top-bar-left a:hover {
    color: var(--primary-color);
}
@media (max-width: 768px) {
    .top-bar { display: none; }
}

/* ========================================
   MAIN HEADER (Desktop)
   ======================================== */
.main-header {
    background: #fff;
    border-bottom: 2px solid #eee;
    position: sticky;
    top: 0;
    z-index: 2;
}
@media (max-width: 768px) {
    .main-header { display: none; }
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-menu-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--primary-color);
    border-radius: 4px;
    transition: background 0.2s;
}
.nav-menu-item:hover, .nav-menu-item.active {
    background: var(--primary-hover);
}
.nav-menu-item i { font-size: 11px; }

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.header-logo img,
.header-logo .logo-svg {
    max-height: 90px;
    width: auto;
    height: 90px;
    pointer-events: none;
}
.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 18px;
    color: #333;
    border-radius: 50%;
    transition: all 0.2s;
}
.nav-icon:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}

/* ========================================
   MEGA MENU
   ======================================== */
.mega-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-top: 3px solid var(--primary-color);
    z-index: 999;
    padding: 30px 0;
    animation: megaFadeIn 0.2s ease;
}
.mega-menu.active {
    display: block;
}
@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.mega-menu-inner {
    display: flex;
    gap: 50px;
}
.mega-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}
.mega-col ul li {
    margin-bottom: 6px;
}
.mega-col ul li a {
    font-size: 13px;
    color: #444;
    transition: color 0.2s;
    padding: 3px 0;
    display: block;
}
.mega-col ul li a:hover {
    color: var(--primary-color);
}

/* ========================================
   SEARCH OVERLAY
   ======================================== */
.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    animation: fadeIn 0.2s ease;
}
.search-overlay.active {
    display: flex;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.search-overlay-inner {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 700px;
    position: relative;
}
.search-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    color: #666;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.search-close:hover { background: #f0f0f0; }
.search-form-main { margin-bottom: 20px; }
.search-input-wrap {
    display: flex;
    border: 2px solid #222;
    border-radius: 50px;
    overflow: hidden;
}
.search-input-lg {
    flex: 1;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    outline: none;
}
.search-btn-lg {
    background: #222;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-btn-lg:hover { background: #444; }
.search-filters {
    display: flex;
    gap: 16px;
}
.search-filter-group {
    flex: 1;
}
.search-filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
}
.search-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
}

/* ========================================
   SEARCH AUTOCOMPLETE
   ======================================== */
.search-autocomplete {
    display: none;
    background: #fff;
    border-radius: 12px;
    margin-top: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
}
.search-autocomplete.active {
    display: block;
}
.autocomplete-loading {
    display: none;
    padding: 20px;
    text-align: center;
    color: #666;
}
.autocomplete-loading.active {
    display: block;
}
.autocomplete-results {
    padding: 8px 0;
}
.autocomplete-section {
    padding: 0 8px;
}
.autocomplete-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    padding: 8px 12px 4px;
    letter-spacing: 0.5px;
}
.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.15s;
}
.autocomplete-item:hover {
    background: #f1f5f9;
}
.autocomplete-item-img {
    width: 50px;
    height: 65px;
    background: #f8fafc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.autocomplete-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.autocomplete-item-img i {
    font-size: 20px;
    color: #cbd5e1;
}
.autocomplete-item-info {
    flex: 1;
    min-width: 0;
}
.autocomplete-item-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.autocomplete-item-meta {
    font-size: 12px;
    color: #64748b;
}
.autocomplete-item-arrow {
    color: #94a3b8;
    font-size: 14px;
}
.autocomplete-category-item,
.autocomplete-brand-item,
.autocomplete-group-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.15s;
}
.autocomplete-category-item:hover,
.autocomplete-brand-item:hover,
.autocomplete-group-item:hover {
    background: #f1f5f9;
}
.autocomplete-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}
.autocomplete-brand-item .autocomplete-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.autocomplete-group-item .autocomplete-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
}
.autocomplete-no-results {
    padding: 30px 20px;
    text-align: center;
    color: #64748b;
}
.autocomplete-no-results i {
    font-size: 40px;
    color: #cbd5e1;
    margin-bottom: 10px;
}
.autocomplete-no-results p {
    margin: 0;
    font-size: 14px;
}
.autocomplete-view-all {
    display: block;
    text-align: center;
    padding: 12px;
    background: #f8fafc;
    color: #4f46e5;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 0 0 12px 12px;
    margin-top: 8px;
    transition: background 0.2s;
}
.autocomplete-view-all:hover {
    background: #e0e7ff;
}

.mobile-header {
    display: none;
    position: sticky;
    top: 0;
    /*z-index: 1000;*/
    background: #fff;
    border-bottom: 2px solid #eee;
    height: 80px;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    flex-wrap: nowrap !important; /* KRİTİK: Asla wrap olmasın */
    gap: 0;
}
@media (max-width: 768px) {
    .mobile-header { display: flex; }
}

/* Sol ve sağ ikon grupları */
.mobile-header-left,
.mobile-header-right {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    z-index: 10;
}
.mobile-header > a,
.mobile-header > button,
.mobile-header > div {
    flex: 0 0 auto; /* Sabit genişlik */
}

/* Tüm ikonlar */
.mobile-cart-icon,
.mobile-menu-toggle,
.mobile-quickmenu-toggle,
.mobile-search-toggle {
    font-size: 18px;
    color: #333;
    padding: 8px;
    z-index: 10;
    position: relative;
    flex-shrink: 0; /* Asla küçülmesin */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border-radius: 8px;
    transition: background 0.2s;
    background: transparent;
    border: none;
    cursor: pointer;
}
.mobile-cart-icon:hover,
.mobile-menu-toggle:hover,
.mobile-quickmenu-toggle:hover,
.mobile-search-toggle:hover {
    background: #f0f0f0;
}

/* Logo - ortada sabit (absolute positioning) */
.mobile-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    max-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}
.mobile-logo img,
.mobile-logo .logo-svg {
    max-height: 60px;
    max-width: 170px;
    width: auto;
    height: auto;
    pointer-events: none;
    object-fit: contain;
}
.mobile-logo object.logo-svg{
    display: block;
    width: auto;
    height: 60px;
}
/* Çok dar ekranlarda logo daha küçük */
@media (max-width: 360px) {
    .mobile-header {
        padding: 0 8px;
    }
    .mobile-logo {
        max-width: 100px;
    }
    .mobile-logo img,
    .mobile-logo .logo-svg {
        max-width: 90px;
        max-height: 28px;
    }
    .mobile-cart-icon,
    .mobile-menu-toggle,
    .mobile-quickmenu-toggle,
    .mobile-search-toggle {
        padding: 6px;
        min-width: 36px;
        min-height: 36px;
        font-size: 16px;
    }
}

/* ========================================
   MOBILE CATEGORY MENU (Left Slide)
   ======================================== */
.mobile-menu-overlay,
.mobile-quick-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
}
.mobile-menu-overlay.active,
.mobile-quick-overlay.active { display: block; }

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #1a1a2e;
    z-index: 1600;
    transition: left 0.3s ease;
    overflow-y: auto;
    color: #fff;
}
.mobile-menu.active { left: 0; }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-logo {
    max-height: 40px;
    height: 36px;
    width: auto;
    pointer-events: none;
}
.mobile-menu-close {
    color: #fff;
    font-size: 22px;
    padding: 4px;
}
.mobile-menu-body {
    padding: 16px;
}
.mobile-menu-cols {
    display: flex;
    gap: 20px;
}
.mobile-menu-col {
    flex: 1;
}
.mobile-menu-col h4 {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}
.mobile-menu-col ul li {
    margin-bottom: 8px;
}
.mobile-menu-col ul li a {
    color: #ccc;
    font-size: 13px;
    transition: color 0.2s;
}
.mobile-menu-col ul li a:hover { color: #fff; }

/* ========================================
   MOBILE QUICK MENU (Right Slide)
   ======================================== */
.mobile-quick-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1600;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.mobile-quick-menu.active { right: 0; }

.mobile-quick-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    color: var(--primary-color);
    padding: 4px;
}
.mobile-quick-body {
    padding: 50px 20px 20px;
}
.mobile-quick-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    background: #fff;
}
.mobile-quick-search-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    cursor: pointer;
}
.mobile-quick-search-btn:hover { background: var(--primary-hover); }
.mobile-quick-nav {
    display: flex;
    flex-direction: column;
}
.mobile-quick-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}
.mobile-quick-nav a:hover { color: var(--primary-color); }

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}
.hero-swiper {
    width: 100%;
}
.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.slider-svg {
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
    pointer-events: none;
    object-fit: contain;
}
@media (max-width: 768px) {
    .slider-svg { max-height: 350px; }
}
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: #666;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    transition: all 0.2s;
}
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
    background: rgba(255,255,255,0.95);
    color: #333;
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}
.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.6;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}
@media (max-width: 768px) {
    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
    }
    .hero-swiper .swiper-button-prev::after,
    .hero-swiper .swiper-button-next::after {
        font-size: 14px;
    }
}

/* ========================================
   SHOWCASE SECTIONS
   ======================================== */
.showcase-section {
    padding: 20px 0;
}
.showcase-section .container {
    background: rgba(255,255,255,0.80);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(17,24,39,0.10);
    padding: 30px 26px;
}
.showcase-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .showcase-section { padding: 12px 0; }
    .showcase-section .container { padding: 20px 14px; border-radius: 16px; }
    .showcase-title { font-size: 20px; margin-bottom: 20px; }
}

/* --- Showcase Swiper --- */
.showcase-swiper {
    padding: 10px 0 20px;
}
.showcase-swiper .swiper-button-prev,
.showcase-swiper .swiper-button-next {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.showcase-swiper .swiper-button-prev::after,
.showcase-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

/* ========================================
   PRODUCT CARD (Grid/Slider)
   ======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.product-card {
    background: #fff;
    border-radius: 12px;
    border: solid 0.5px #00000014;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.product-card-img {
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s;
}
.product-card:hover .product-card-img img {
    transform: scale(1.05);
}
.product-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #ccc;
    font-size: 40px;
}
.product-card-body {
    padding: 12px 14px 16px;
}
.product-card-name {
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-name a { color: #333; }
.product-card-name a:hover { color: var(--primary-color); }

/* Product Card - Box Badges (Video, Sayfa Sayısı, Satış Yasağı) */
.container-boxs {
    display: flex;
    padding-top: 10px;
    border-top: 1px dotted #ddd;
    position: relative;
    width: 100%;
    overflow: hidden;
    justify-content: space-around;
    align-items: center;
}
.container-boxs img {
    width: 34px;
    height: auto;
}
.boxs {
    font-family: 'Dosis', ui-rounded, system-ui, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.boxs .sayfa_sayisi {
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    color: #1a1a1a;
}
.boxs span {
    font-size: 10px;
    font-weight: 400;
    width: 100%;
    white-space: nowrap;
    line-height: 1.3;
    margin-top: 5px;
    color: #666;
}
@media (max-width: 480px) {
    .container-boxs { padding-top: 8px; }
    .container-boxs img { width: 24px; }
    .boxs { font-size: 16px; }
    .boxs .sayfa_sayisi { font-size: 16px; }
    .boxs span { font-size: 9px; }
}

/* Eski meta stili (fallback) */
.product-card-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #666;
}
.meta-item strong { font-size: 16px; color: #333; }
.meta-item i { font-size: 18px; color: #888; }
.meta-item small { font-size: 10px; color: #999; }

/* ========================================
   PRODUCT CARD LIST (DM Serisi style)
   ======================================== */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) {
    .product-list-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .product-list-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.product-card-list {
    background: #fff;
    border-radius: 12px;
    border: solid 0.5px #00000014;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    
}
.product-card-list:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.product-card-list-img {
    display: block;
    padding: 12px;
    background: #fff;
    text-align: center;
}
.product-card-list-img img {
    max-height: 140px;
    margin: 0 auto;
    object-fit: contain;
}
.product-card-list-body {
    padding: 10px 14px 14px;
    border-top: 1px solid #f0f0f0;
}
.product-card-list-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-list-name a { color: #333; }
.product-card-list-name a:hover { color: var(--primary-color); }

.product-card-list-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.list-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.list-meta-val {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}
.list-meta-item i {
    font-size: 20px;
    color: #888;
}
.list-meta-label {
    font-size: 10px;
    color: #999;
}

/* ========================================
   PRODUCT DETAIL PAGE
   ======================================== */
.product-detail-section {
    padding: 30px 0 60px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.breadcrumb a { color: #666; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary-color); }

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .product-detail { grid-template-columns: 1fr; gap: 24px; }
}

/* Gallery */
.product-gallery {
    position: relative;
}

/* Çoklu görsel - Swiper galerisi */
.product-gallery-main {
    height: 450px;
    width: 600px;
    max-width: 100%;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #fff;
}

.product-noimg-lg {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 80px;
    background: #f8f8f8;
}

/* Thumbs galerisi */
.product-gallery-thumbs {
    height: 100px;
    padding: 5px 0;
}
.product-gallery-thumbs .swiper-slide {
    width: auto !important;
    height: 90px;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    background: #fff;
}
.product-gallery-thumbs .swiper-slide-thumb-active {
    border-color: var(--primary-color);
    opacity: 1;
}
.product-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

/* Tek görsel düzeni */
.product-gallery-single {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
.product-gallery-single img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
.product-gallery-single img:hover {
    transform: scale(1.02);
}
.product-gallery-single a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.product-gallery-main .swiper-wrapper {
    align-items: center;
    height: 100%;
}
.product-gallery-main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.product-gallery-main .swiper-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}
.product-gallery-main .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
.product-gallery-main .swiper-slide img:hover {
    transform: scale(1.02);
}

/* Swiper navigation butonları */
.product-gallery-main .swiper-button-next,
.product-gallery-main .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-gallery-main .swiper-button-next:after,
.product-gallery-main .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}
.product-gallery-main .swiper-button-next:hover,
.product-gallery-main .swiper-button-prev:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Ürün galerisi mobil */
@media (max-width: 768px) {
    .product-gallery-main {
        height: 300px;
        width: 400px;
    }
    .product-gallery-thumbs {
        height: 80px;
    }
    .product-gallery-thumbs .swiper-slide {
        height: 70px;
    }
    .product-gallery-main .swiper-slide a {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .product-gallery-main {
        height: 250px;
        width: 300px;
    }
    .product-gallery-thumbs {
        height: 70px;
    }
    .product-gallery-thumbs .swiper-slide {
        height: 60px;
    }
}

/* Product Info */
.product-info {
    padding-top: 10px;
}
.product-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.3;
}
.product-brand {
    display: inline-block;
    margin-bottom: 20px;
}
.product-brand img {
    max-height: 40px;
    object-fit: contain;
}
.product-brand span {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.product-specs {
    margin-bottom: 24px;
}
.spec-row {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.spec-label {
    color: #888;
    min-width: 110px;
}
.spec-val {
    color: #333;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.action-btn {
    display: flex;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 24px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
    min-width: 100px;
    text-align: center;
}
.action-btn i { font-size: 28px; }
.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.action-buy {
    background: #fff;
}
.action-buy:hover {
    background: #fef5f5;
}

/* Description Section */
.product-description-section {
    border-top: 2px solid #f0f0f0;
    padding-top: 0;
}
.desc-tab {
    display: inline-block;
    margin-bottom: -2px;
}
.desc-tab-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    background: #fff;
    border: 2px solid var(--primary-color);
    border-bottom: 2px solid #fff;
    border-radius: 8px 8px 0 0;
    position: relative;
    top: 2px;
}
.product-description-content {
    border: 2px solid #f0f0f0;
    border-top: 2px solid var(--primary-color);
    border-radius: 0 8px 8px 8px;
    padding: 30px;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}
.product-description-content h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #222;
}
.product-description-content p {
    margin-bottom: 12px;
}

/* ========================================
   CATEGORY / BRAND / SEARCH PAGES
   ======================================== */
.category-section,
.brand-section,
.search-section,
.content-page-section,
.library-section {
    padding: 30px 0 60px;
}
.page-title {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-bottom: 24px;
}

/* Listing Layout (Sidebar + Content) */
.listing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}
@media (max-width: 992px) {
    .listing-layout { grid-template-columns: 1fr; }
}

.filter-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky;
    top: 120px;
}
@media (max-width: 992px) {
    .filter-sidebar { position: static; }
}
.filter-group {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
}
.filter-group h4 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}
.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 13px;
    color: #555;
}
.filter-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}
.filter-check span {
    flex: 1;
}
.filter-check small {
    color: #999;
    font-size: 11px;
}
.filter-scroll {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 8px;
}
.filter-scroll::-webkit-scrollbar {
    width: 5px;
}
.filter-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.filter-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.filter-scroll::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}
.loading-filter {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    grid-column: 1 / -1;
}
.loading-filter i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}
.loading-filter p {
    margin-top: 12px;
    font-size: 14px;
}
.filter-clear-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.filter-clear-btn:hover {
    background: var(--primary-hover);
}

/* ========================================
   SMART FILTER - Akıllı Filtreleme
   ======================================== */
/* Search Inline Box (arama sayfası) */
.search-inline-box {
    margin-bottom: 20px;
}
.search-inline-form .search-input-wrap {
    max-width: 700px;
}

.smart-filter-section .page-title {
    margin-bottom: 8px;
}
.smart-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.smart-filter-info {
    display: flex;
    align-items: center;
    gap: 16px;
}
.product-count-badge {
    background: #f0f7ff;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}
.sort-select {
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    min-width: 180px;
}
.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Seçili Filtreler */
.selected-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}
.selected-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}
.selected-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}
.selected-filter-tag:hover {
    background: #d32f2f;
}
.selected-filter-tag i {
    font-size: 10px;
}
.clear-all-filters {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.clear-all-filters:hover {
    background: #dc3545;
    color: #fff;
}

/* Filtre Grubu Header (Açılır/Kapanır) */
.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
.filter-group-header i {
    font-size: 12px;
    transition: transform 0.2s;
}
.filter-group.collapsed .filter-group-header i {
    transform: rotate(-90deg);
}
.filter-group.collapsed .filter-group-body {
    display: none;
}

/* Disabled Filtre */
.filter-check.filter-disabled {
    opacity: 0.4;
    pointer-events: none;
}
.filter-check.filter-disabled input {
    cursor: not-allowed;
}

/* Filtre Loading */
.filter-loading {
    text-align: center;
    padding: 20px;
    color: #999;
}
.filter-empty {
    text-align: center;
    padding: 12px;
    color: #999;
    font-size: 13px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.page-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}
.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.page-dots {
    color: #999;
    padding: 0 4px;
}

/* Responsive Smart Filter */
@media (max-width: 768px) {
    .smart-filter-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .smart-filter-info {
        width: 100%;
        justify-content: space-between;
    }
    .sort-select {
        min-width: 140px;
    }
    .selected-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    .clear-all-filters {
        width: 100%;
        text-align: center;
    }
}

.listing-content {
    min-width: 0;
}
.brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.brand-logo-lg {
    max-height: 50px;
    object-fit: contain;
}

.subcategory-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.chip {
    display: inline-block;
    padding: 8px 18px;
    background: #f4f4f4;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
}
.chip:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Search inline */
.search-form-inline {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 500px;
}
.search-input-inline {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}
.search-input-inline:focus { border-color: var(--primary-color); }
.search-count {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #bbb;
}
.empty-state i { font-size: 48px; margin-bottom: 16px; }
.empty-state p { font-size: 16px; }

/* Loading filter */
.loading-filter {
    text-align: center;
    padding: 60px 20px;
    color: var(--primary-color);
    font-size: 16px;
    grid-column: 1 / -1;
}
.loading-filter i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

/* Not found */
.not-found {
    text-align: center;
    padding: 80px 20px;
}
.not-found h1 { font-size: 28px; margin-bottom: 12px; }
.not-found p { color: #888; margin-bottom: 24px; }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-sm { padding: 8px 14px; font-size: 12px; }

/* ========================================
   LIBRARY GRID
   ======================================== */
.library-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) { .library-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .library-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.library-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}
.library-card:hover { transform: translateY(-3px); }
.library-card-img {
    aspect-ratio: 4/4;
    overflow: hidden;
    background: #ffffff;
}
.library-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}
.library-card-body {
    padding: 12px 14px 16px;
    text-align: center;
}
.library-card-body h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
.library-cat {
    display: inline-block;
    font-size: 11px;
    color: #888;
    margin-bottom: 10px;
}

/* ========================================
   CONTENT PAGE
   ======================================== */
.page-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}
.page-content h2, .page-content h3, .page-content h4 {
    margin: 20px 0 10px;
    color: #222;
}
.page-content p { margin-bottom: 12px; }
.page-content img { border-radius: 8px; margin: 16px 0; }
.page-content ul, .page-content ol {
    padding-left: 24px;
    margin-bottom: 12px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: #002443;
    color: #ffffff;
    padding: 0;
    margin-top: 40px;
    border-top: solid 1px darkblue;
}

/* Footer Top - Link kolonları */
.footer-top {
    padding: 40px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    letter-spacing: 0.3px;
}
.footer-col ul li {
    margin-bottom: 7px;
}
.footer-col ul li a {
    font-size: 13px;
    color: #a0aec0;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}
.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Footer Middle - İletişim + Sosyal Medya */
.footer-middle {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}
.footer-middle-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-contact span {
    font-size: 13px;
    color: #a0aec0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.footer-contact span i {
    color: #63b3ed;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 16px;
    transition: all 0.25s;
}
.footer-social a:hover {
    background: #3182ce;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Middle Centered (sadece sosyal medya) */
.footer-middle-centered {
    justify-content: center;
}
.footer-social-centered {
    justify-content: center;
}

@media (max-width: 600px) {
    .footer-middle-inner {
        flex-direction: column;
        align-items: center;
    }
    .footer-middle-centered {
        align-items: center;
    }
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
    text-align: center;
    font-size: 12px;
    color: #718096;
}

/* ========================================
   404 ERROR PAGE
   ======================================== */
.error-404-section {
    padding: 60px 0;
}
.error-404 {
    text-align: center;
    padding: 40px 20px;
}
.error-404-code {
    font-size: 120px;
    font-weight: 900;
    color: #e0e0e0;
    line-height: 1;
    margin-bottom: 16px;
}
.error-404 h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 12px;
}
.error-404 p {
    font-size: 16px;
    color: #888;
    margin-bottom: 30px;
}
.error-404-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}
@media (max-width: 768px) {
    .error-404-code { font-size: 80px; }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section { padding: 30px 0 60px; }
.contact-layout {
    display: grid;
    gap: 30px;
    align-items: start;
}
.contact-layout.contact-layout-single {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}
.contact-info-full .contact-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-info-full .contact-items-grid { grid-template-columns: 1fr; }
}
.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}
.contact-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-item h4 {
    font-size: 13px;
    color: #999;
    font-weight: 500;
    margin-bottom: 2px;
}
.contact-item p { font-size: 15px; color: #333; }
.contact-item a { color: var(--primary-color); }
.contact-item a:hover { text-decoration: underline; }
.contact-map {
    margin-top: 20px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 480px) {
    .contact-form .form-row { grid-template-columns: 1fr; }
}
.contact-form .form-group {
    margin-bottom: 14px;
}
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary-color); }
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-submit-btn:hover { background: var(--primary-hover); }
.contact-success {
    text-align: center;
    padding: 30px;
    color: #27ae60;
}
.contact-success i { font-size: 48px; margin-bottom: 12px; display: block; }
.contact-success p { font-size: 15px; color: #555; }
.contact-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fef2f2;
    color: var(--primary-color);
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* ========================================
   DEALERS PAGE
   ======================================== */
.dealers-section { padding: 30px 0 60px; }
.dealers-map-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    text-align: center;
}
.dealers-map-wrap svg {
    width: 100%;
    max-width: 900px;
    height: auto;
}
.dealers-map-wrap svg path {
    fill: #2d3436;
    stroke: #fff;
    stroke-width: 1;
    cursor: pointer;
    transition: fill 0.2s;
}
.dealers-map-wrap svg path:hover,
.dealers-map-wrap svg path.active {
    fill: var(--primary-color);
}
.dealers-filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.dealers-filter-bar h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}
.dealers-filter-bar select {
    padding: 10px 16px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    min-width: 200px;
}
.dealers-filter-bar select:focus { border-color: var(--primary-color); }
.dealers-table {
    width: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-collapse: collapse;
}
.dealers-table thead {
    background: #f8f9fa;
}
.dealers-table th {
    padding: 14px 18px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
}
.dealers-table td {
    padding: 14px 18px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}
.dealers-table tbody tr:hover {
    background: #fef9f9;
}
.dealers-table .dealer-name { font-weight: 700; color: #333; }
.dealer-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.dealer-address-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.dealer-address-btn:hover { background: var(--primary-hover); color: #fff; }
.dealers-empty {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 15px;
}
/* Mobile: Table to Cards */
@media (max-width: 768px) {
    .dealers-filter-bar { flex-direction: column; align-items: stretch; }

    .dealers-table {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }
    .dealers-table thead {
        display: none;
    }
    .dealers-table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .dealers-table tbody tr {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        border: 1px solid #eee;
    }
    .dealers-table tbody tr:hover {
        background: #fff;
    }
    .dealers-table td {
        display: flex;
        align-items: center;
        padding: 5px 0;
        border-bottom: none;
        font-size: 14px;
        gap: 8px;
    }
    .dealers-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary, var(--primary-color));
        min-width: 60px;
        flex-shrink: 0;
        font-size: 12px;
    }
    .dealers-table td[data-label=""]:before {
        display: none;
    }
    /* Kurum adını öne çıkar */
    .dealers-table td.dealer-name {
        order: -1;
        font-size: 16px;
        font-weight: 700;
        color: #222;
        padding-bottom: 10px;
        margin-bottom: 6px;
        border-bottom: 1px solid #f0f0f0;
    }
    .dealers-table td.dealer-name:before {
        display: none;
    }
    /* Adrese git butonu */
    .dealers-table td:last-child {
        padding-top: 10px;
        margin-top: 4px;
    }
    .dealer-address-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
    .dealer-type-badge {
        margin-left: auto;
    }
}

/* ========================================
   SITE MAIN min-height
   ======================================== */
.site-main {
    min-height: calc(100vh - 300px);
    position: relative;
    z-index: 1;
}

/* Footer z-index for clouds */
.site-footer {
    position: relative;
    /*z-index: 2;*/
}

/* ========================================
   MOBILE HEADER Z-INDEX & LAYOUT FIX
   ======================================== */
.mobile-header {
    position: sticky;
    top: 0;
    /*z-index: 1100;*/
    flex-wrap: nowrap !important; /* Wrap'i engelle */
}
/* Menü açıkken bile header layout'u bozulmasın */
.mobile-header.menu-open,
body.menu-open .mobile-header {
    flex-wrap: nowrap !important;
}
/* Sol ve sağ gruplar - asla wrap olmasın */
.mobile-header-left,
.mobile-header-right {
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
}
.mobile-cart-icon,
.mobile-menu-toggle,
.mobile-quickmenu-toggle,
.mobile-search-toggle {
    z-index: 10;
    position: relative;
    flex-shrink: 0 !important; /* Küçülmesin */
}
.mobile-logo {
    z-index: 5;
}

/* ========================================
   MOBILE SEARCH POPUP RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .search-overlay {
        padding: 20px 10px;
        align-items: flex-start;
        padding-top: 60px;
    }
    .search-overlay-inner {
        padding: 20px 15px;
        max-width: 100%;
        border-radius: 12px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .search-input-wrap {
        flex-direction: column;
        border-radius: 12px;
    }
    .search-input-lg {
        border-radius: 12px 12px 0 0;
        padding: 14px 16px;
        font-size: 16px;
    }
    .search-btn-lg {
        border-radius: 0 0 12px 12px;
        padding: 14px 20px;
        justify-content: center;
    }
    .search-filters {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }
    .search-filter-group {
        width: 100%;
    }
    .search-select {
        padding: 12px 14px;
        font-size: 14px;
    }
    .search-close {
        top: 8px;
        right: 8px;
    }
}

/* ========================================
   COLLAPSIBLE FILTER ACCORDION
   ======================================== */
.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 10px;
}
.filter-group-header h4 {
    margin-bottom: 0;
}
.filter-group-header .filter-toggle {
    font-size: 14px;
    color: #888;
    transition: transform 0.3s;
}
.filter-group-header.collapsed .filter-toggle {
    transform: rotate(-90deg);
}
.filter-group-body {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
.filter-group-body.collapsed {
    max-height: 0;
    opacity: 0;
}

/* ========================================
   MOBILE FILTER BUTTON & SIDEBAR
   ======================================== */
.mobile-filter-btn {
    display: none;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.3s;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,137,255,0.2);
    width: 100%;
    justify-content: center;
}
.mobile-filter-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}
.mobile-filter-btn span {
    font-size: 15px;
}
@media (max-width: 992px) {
    .mobile-filter-btn {
        display: flex;
        align-items: center;
    }
    .filter-sidebar {
        display: none;
    }
}

/* Mobile Filter Sidebar */
.mobile-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1700;
}
.mobile-filter-overlay.active {
    display: block;
}
.mobile-filter-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    z-index: 1800;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.mobile-filter-sidebar.active {
    right: 0;
}
.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}
.mobile-filter-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.mobile-filter-close {
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px;
}
.mobile-filter-body {
    padding: 20px;
}
.mobile-filter-body .filter-sidebar {
    display: block !important;
    position: static;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}
.mobile-filter-body .filter-sidebar > .filter-clear-btn {
    display: none;
}
.mobile-filter-body .filter-group {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-filter-body .filter-group:last-of-type {
    border-bottom: none;
}
.mobile-filter-actions {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}
.mobile-filter-actions .filter-clear-btn {
    width: 100%;
}