@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2E1A6E;
    --primary-light: #4A2FA0;
    --primary-dark: #1e1050;
    --secondary: #00BCD4;
    --secondary-light: #4DD0E1;
    --secondary-dark: #0097A7;
    --dark: #1a1a2e;
    --text: #333;
    --text-light: #666;
    --bg: #f8f9fc;
    --white: #fff;
    --border: #e8eaf0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ==================== TOP BAR ==================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: #fff; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left i { color: var(--secondary-light); margin-right: 5px; }
.top-bar-right { display: flex; gap: 15px; align-items: center; }

/* ==================== HEADER ==================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}
.header-logo img { height: 55px; }
.header-logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.header-logo span { color: var(--secondary); }

.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}
.header-search input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}
.header-search input:focus { border-color: var(--secondary); }
.header-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.header-search button:hover { background: var(--secondary-dark); }

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.header-contact .phone-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.header-contact .phone-text small { color: var(--text-light); font-size: 12px; display: block; }
.header-contact .phone-text strong { color: var(--primary); font-size: 16px; }

/* ==================== NEW HORIZONTAL NAVIGATION (SADEF STYLE) ==================== */
.header-navigation {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 99;
}

.d-none { display: none !important; }
.d-xl-block { display: block !important; }
.d-xl-none { display: none !important; }

@media (max-width: 1199px) {
    .d-xl-block { display: none !important; }
    .d-xl-none { display: block !important; }
}

#navigation {
    position: relative;
}

.category-level-1 > ul {
    display: flex;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.category-level-1 > ul > li {
    position: relative;
}

.category-level-1 > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    min-height: 56px;
    border-bottom: 3px solid transparent;
}

/* Dikey çubuk ayırıcı */
.category-level-1 > ul > li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.25);
}

.category-level-1 > ul > li > a:hover,
.category-level-1 > ul > li > a.active,
.category-level-1 > ul > li:hover > a {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-bottom-color: var(--secondary);
}

.category-level-1 > ul > li > a span {
    display: block;
}

/* Subcategory Mega Menu */
.sub-category.category-level-2 {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 900px;
    max-width: 1200px;
    background: #fff;
    border-top: 3px solid var(--secondary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    z-index: 1000;
    padding: 0;
    animation: megaMenuFadeIn 0.25s ease;
}

@keyframes megaMenuFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.category-level-1 > ul > li:hover .sub-category.category-level-2 {
    display: block;
}

.sub-category .container {
    max-width: 100%;
    padding: 24px 30px;
}

.sub-category .container > ul {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navigation-category-image {
    list-style: none;
}

.navigation-category-image a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    background: transparent;
}

.navigation-category-image a:hover {
    background: #f5f7fa;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.navigation-category-image a > div {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    background: #f9f9fb;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.25s ease;
}

.navigation-category-image a:hover > div {
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(0,188,212,0.15);
}

.navigation-category-image a > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navigation-category-image a > div .no-image-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ccc;
}

.navigation-category-image a span {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.35;
    max-width: 100%;
    word-wrap: break-word;
}

.navigation-category-image a:hover span {
    color: var(--primary);
}


/* ==================== MOBILE NAV (OLD STYLE) ==================== */
.nav-bar {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 99;
}
.nav-bar .container {
    max-width: 1440px;
    padding: 0 10px;
}
.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 0;
    flex-wrap: nowrap;
    overflow: hidden;
}
.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.nav-menu > li > a i { color: var(--secondary-light); font-size: 16px; }

/* MEGA MENU (Mobile) */
.nav-dropdown { position: static; }
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid var(--secondary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    z-index: 100;
    padding: 24px;
    animation: megaFadeIn 0.2s ease;
}
@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
.nav-dropdown:hover .mega-menu { display: block; }
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
}
.mega-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}
.mega-menu-item:hover {
    background: var(--bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.mega-menu-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.mega-menu-item:hover .mega-menu-img {
    border-color: var(--secondary);
}
.mega-menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mega-menu-img i {
    font-size: 36px;
    color: #ccc;
}
.mega-menu-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.3;
}
.mega-menu-item:hover span { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 12px 18px;
    cursor: pointer;
}

/* ==================== HERO BANNER SLIDER ==================== */
.hero-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-banner-slide.active {
    opacity: 1;
}
.hero-banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* ==================== HERO (Fallback) ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a0a4e 50%, var(--secondary-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,188,212,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74,47,160,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.hero-content { flex: 1; color: #fff; }
.hero-badge {
    display: inline-block;
    background: rgba(0,188,212,0.2);
    border: 1px solid rgba(0,188,212,0.4);
    color: var(--secondary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}
.hero-badge span {
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#heroTypewriter {
    color: #fff;
    border-right: 2px solid #fff;
    padding-right: 3px;
    animation: heroCursorBlink 0.7s infinite;
}
@keyframes heroCursorBlink {
    0%, 100% { border-color: #fff; }
    50% { border-color: transparent; }
}
.hero-content h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-content h2 span { color: var(--secondary-light); }
.hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    max-width: 480px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-accent {
    background: var(--secondary);
    color: #fff;
}
.btn-accent:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.hero-visual {
    flex: 0 0 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual-box {
    width: 380px;
    height: 380px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* ==================== FEATURES BAR ==================== */
.features-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
}
.feature-item .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}
.feature-item h4 { font-size: 14px; font-weight: 600; color: var(--dark); }
.feature-item p { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ==================== SECTIONS ==================== */
.section { padding: 60px 0; }
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.section-header h2 span { color: var(--secondary); }
.section-header p { color: var(--text-light); font-size: 16px; }
.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 15px auto 0;
}

/* ==================== CATEGORIES ==================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.categories-grid .category-card:nth-child(n+6) {
    display: none;
}
.category-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border);
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}
.category-card .cat-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, #f0f0ff, #e8f8f8);
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-card .cat-image i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.5;
}
.category-card .cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-card h3 {
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    line-height: 1.4;
}
.category-card .cat-count {
    padding: 0 16px 8px;
    font-size: 13px;
    color: var(--text-light);
}
.category-card .cat-subs {
    padding: 0 12px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}
.category-card .cat-subs span {
    font-size: 11px;
    background: var(--bg);
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 10px;
}

/* ==================== PRODUCTS ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* Product Carousel */
.product-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.product-carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}
.product-carousel-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.product-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    padding: 8px 0;
}
.product-carousel-track::-webkit-scrollbar { display: none; }
.product-carousel-track .product-card {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 240px;
}

@media (max-width: 1024px) {
    .product-carousel-track .product-card {
        flex: 0 0 calc((100% - 48px) / 3);
        min-width: 220px;
    }
}
@media (max-width: 768px) {
    .product-carousel-track .product-card {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: 180px;
    }
    .product-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .product-carousel-track .product-card {
        flex: 0 0 85%;
        min-width: 0;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.product-card .prod-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.product-card .prod-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: var(--transition);
}
.product-card:hover .prod-image img { transform: scale(1.08); }
.product-card .prod-image .prod-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
.product-card .prod-info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card .prod-category {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.product-card .prod-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .prod-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .prod-footer {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 9px 0;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-detail:hover { background: var(--primary-light); }
.btn-wp-offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    padding: 9px 0;
    background: #25D366;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-wp-offer:hover { background: #1DA851; color: #fff; }
.btn-wp-offer i { font-size: 15px; }

/* ==================== ABOUT ==================== */
.about-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.about-content h2 span { color: var(--secondary); }
.about-content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 14px;
    line-height: 1.8;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.about-stat {
    text-align: center;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
}
.about-stat h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}
.about-stat p { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.about-visual {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 100px;
}

/* ==================== CTA ==================== */
.cta-section {
    background: #fff;
    padding: 60px 0;
    text-align: center;
    color: #333;
}
.cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; color: #222; }
.cta-section p { font-size: 16px; color: #666; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.btn-call {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}
.btn-call:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 1.2fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-about h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-about h3 span { color: var(--secondary); }
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); }
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 5px; }
.footer-col ul li i { margin-right: 8px; color: var(--secondary); width: 16px; }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ==================== WHATSAPP FLOAT WIDGET ==================== */
.wa-widget { position: fixed; bottom: 25px; right: 25px; z-index: 9998; }
.whatsapp-float {
    width: 60px;
    height: 60px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 24px rgba(37,211,102,0.45);
    cursor: pointer;
    transition: var(--transition);
    animation: waPulse 2s infinite;
    position: relative;
    z-index: 2;
}
.whatsapp-float:hover { transform: scale(1.1); background: #22c55e; }
@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--primary, #2E1A6E);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary, #2E1A6E);
}
.wa-tooltip.show { opacity: 1; transform: translateY(0); }
.wa-menu {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    overflow: hidden;
    opacity: 0;
    transform: translateY(15px) scale(.95);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
    z-index: 1;
    border: 1px solid rgba(46,26,110,0.08);
}
.wa-menu.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-menu-header {
    background: linear-gradient(135deg, var(--primary, #2E1A6E), var(--primary-dark, #1e1050));
    color: #fff;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1.4;
}
.wa-menu-close { background: none; border: none; color: rgba(255,255,255,.7); font-size: 22px; cursor: pointer; line-height: 1; padding: 0; }
.wa-menu-close:hover { color: #fff; }
.wa-menu-body { padding: 14px; background: #fff; }
.wa-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    background: #fff;
    color: var(--primary-dark, #1e1050);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    margin-bottom: 8px;
    box-sizing: border-box;
}
.wa-menu-btn:last-child { margin-bottom: 0; }
.wa-menu-btn:hover { border-color: var(--secondary, #00BCD4); background: rgba(0,188,212,0.06); color: var(--primary, #2E1A6E); }
.wa-menu-btn i { font-size: 16px; color: var(--secondary, #00BCD4); width: 20px; text-align: center; }
.wa-send-btn { background: #25D366; color: #fff; border-color: #25D366; justify-content: center; font-weight: 600; }
.wa-send-btn:hover { background: #22c55e; color: #fff; border-color: #22c55e; }
.wa-send-btn i { color: #fff; }
.wa-custom-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    resize: none;
    margin-bottom: 8px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color .2s;
}
.wa-custom-input:focus { outline: none; border-color: var(--secondary, #00BCD4); }

/* ==================== PRODUCT POPUP ==================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.popup-overlay.active { display: flex; }
.popup-content {
    background: #fff;
    border-radius: 16px;
    max-width: 950px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
@keyframes popupIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.popup-close:hover { background: #f0f0f0; color: #333; }
.popup-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.popup-gallery {
    padding: 24px;
    background: #f9f9fb;
    border-radius: 16px 0 0 16px;
}
.popup-main-img {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}
.popup-main-img img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    display: block;
}
.popup-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.popup-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.popup-thumb:hover,
.popup-thumb.active { border-color: var(--secondary); }
.popup-info {
    padding: 30px;
    overflow-y: auto;
}
.popup-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}
.popup-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.3;
}
/* Urun karti varyant badge */
.prod-variant-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--secondary);
    background: rgba(0,188,212,0.08);
    border: 1px solid rgba(0,188,212,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    font-weight: 500;
}

/* Kart varyant secici dropdown */
.card-variant-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 12px;
    z-index: 100;
    margin-bottom: 6px;
}
.card-variant-picker h5 {
    font-size: 12px;
    color: var(--text-light);
    margin: 0 0 8px 0;
    font-weight: 600;
}
.card-variant-picker-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.card-variant-picker-options button {
    padding: 5px 12px;
    border: 1.5px solid #ddd;
    border-radius: 5px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
}
.card-variant-picker-options button:hover {
    border-color: var(--secondary);
    background: rgba(0,188,212,0.06);
}

.popup-variant-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all .2s;
}
.popup-variant-btn:hover { border-color: #aaa; }
.popup-variant-btn.active {
    border-color: var(--secondary);
    background: rgba(0,188,212,0.06);
    color: var(--secondary);
    font-weight: 600;
}
.popup-short {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.popup-specs, .popup-desc {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg);
    border-radius: 10px;
}
.popup-specs h4, .popup-desc h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}
.popup-specs h4 i, .popup-desc h4 i { color: var(--secondary); margin-right: 6px; }
.popup-specs div, .popup-desc div { font-size: 13px; color: var(--text); line-height: 1.7; }
.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.popup-actions .btn-add-cart {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    justify-content: center;
}
.popup-actions .btn-whatsapp {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    justify-content: center;
}
.popup-actions .btn-call {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    justify-content: center;
}
/* İki alt buton yan yana */
.popup-actions-row {
    display: flex;
    gap: 10px;
}
.popup-actions-row .btn-whatsapp,
.popup-actions-row .btn-call {
    flex: 1;
}

@media (max-width: 768px) {
    .popup-body { grid-template-columns: 1fr; }
    .popup-gallery { border-radius: 16px 16px 0 0; padding: 16px; }
    .popup-main-img img { height: 250px; }
    .popup-info { padding: 20px; }
    .popup-info h2 { font-size: 20px; }
    .popup-content { max-height: 95vh; }
}

/* ==================== SUBCATEGORY SLIDER ==================== */
.subcategory-slider-section {
    background: #fff;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.subcategory-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.slider-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.subcategory-slider {
    overflow: hidden;
    flex: 1;
}
.subcategory-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}
.subcategory-track::-webkit-scrollbar { display: none; }
.subcategory-slide {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: var(--transition);
    background: #fff;
}
.subcategory-slide:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.subcategory-slide.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(46,26,110,0.05), rgba(0,188,212,0.05));
}
.subcat-img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.subcat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.subcat-img i { font-size: 32px; color: #ccc; }
.subcategory-slide span {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    text-align: center;
    line-height: 1.3;
}
.subcategory-slide.active span { color: var(--primary); font-weight: 600; }

@media (max-width: 768px) {
    .subcategory-slide { flex: 0 0 130px; }
    .subcat-img { width: 80px; height: 80px; }
    .slider-arrow { width: 32px; height: 32px; font-size: 12px; }
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb-bar {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-light);
}
.breadcrumb-bar a { color: var(--secondary); }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-bar span { margin: 0 8px; color: #ccc; }
.breadcrumb-bar strong { color: var(--dark); }

/* ==================== CATEGORY HERO ==================== */
.category-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
    padding: 40px 0;
    color: #fff;
    text-align: center;
}
.category-hero h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.category-hero p { font-size: 15px; opacity: 0.85; max-width: 600px; margin: 0 auto 12px; }
.category-hero .category-count {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
}

/* ==================== PRODUCT DETAIL ==================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.gallery-main {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
}
.gallery-main img {
    width: 100%;
    height: 450px;
    object-fit: contain;
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
}
.gallery-thumbs .thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.gallery-thumbs .thumb:hover,
.gallery-thumbs .thumb.active { border-color: var(--secondary); }

.product-info-detail h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}
.product-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}
.product-short-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.product-specs {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg);
    border-radius: 12px;
}
.product-specs h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}
.product-specs h3 i { color: var(--secondary); margin-right: 8px; }
.specs-content { font-size: 14px; color: var(--text); line-height: 1.8; }

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.product-description {
    margin-top: 40px;
    padding: 30px;
    background: var(--bg);
    border-radius: 12px;
}
.product-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}
.product-description h3 i { color: var(--secondary); margin-right: 8px; }
.product-description div { font-size: 15px; line-height: 1.8; color: var(--text); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { flex: 0 0 auto; }
    .hero-visual-box { width: 280px; height: 280px; font-size: 80px; }
    .about-grid { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; }
    .gallery-main img { height: 300px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar .container { justify-content: center; font-size: 12px; }
    .top-bar-right { display: none; }
    .header-main { flex-wrap: wrap; gap: 15px; }
    .header-search { max-width: 100%; order: 3; flex-basis: 100%; }
    .header-contact { display: none; }
    .nav-menu { display: none; flex-direction: column; }
    .nav-menu.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .mega-menu { position: relative; border-top: none; box-shadow: none; padding: 10px; }
    .mega-menu-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mega-menu-img { width: 80px; height: 80px; }
    .nav-dropdown { position: relative; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h2 { font-size: 28px; }
    .hero-visual { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid .category-card:nth-child(n+6) { display: block !important; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-section h2 { font-size: 24px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
}

/* ==================== MOBILE FIRST ENHANCEMENTS ==================== */

/* --- 768px: Tablet / Mobil --- */
@media (max-width: 768px) {
    /* GENEL */
    .container { padding: 0 15px; }
    .section { padding: 40px 0; }
    .section-header { margin-bottom: 24px; }
    .section-header h2 { font-size: 24px; }
    .section-header p { font-size: 14px; }

    /* HEADER - mobilde sticky kaldır, logo ortala */
    .header { position: relative; top: auto; }
    .header-main {
        padding: 10px 0;
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }
    .header-logo { text-align: center; }
    .header-logo img { max-height: 80px !important; max-width: 215px !important; }
    .header-search { order: 2; flex-basis: 100%; width: 100%; }
    .header-search input { padding: 10px 44px 10px 16px; font-size: 13px; }
    .header-search button { width: 34px; height: 34px; }

    /* NAV BAR - Mobil Menü (sticky sadece nav) */
    .nav-bar { position: sticky; top: 0; z-index: 100; }
    .nav-bar .container { padding: 0; }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 15px;
        font-size: 16px;
        width: 100%;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #fff;
        max-height: 70vh;
        overflow-y: auto;
    }
    .nav-menu.active { display: flex; }
    .nav-menu > li > a {
        padding: 14px 20px;
        font-size: 14px;
        border-bottom: 1px solid #eee;
        justify-content: space-between;
        color: #333;
    }
    .nav-menu > li > a:hover,
    .nav-menu > li > a.active {
        background: #f5f5f5;
        color: var(--primary);
    }
    .nav-dropdown { position: relative; }
    .mega-menu {
        position: relative;
        border-top: none;
        box-shadow: none;
        padding: 10px 15px;
        background: #f8f8f8;
    }
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .mega-menu-img { width: 60px; height: 60px; border-radius: 8px; }
    .mega-menu-item { padding: 8px; border-radius: 8px; }
    .mega-menu-item span { font-size: 11px; }

    /* HERO */
    .hero { padding: 40px 0; }
    .hero-content h2 { font-size: 26px; }
    .hero-content p { font-size: 14px; margin-bottom: 20px; }
    .hero-badge { font-size: 12px; padding: 5px 12px; margin-bottom: 14px; }
    .hero-buttons { justify-content: center; gap: 10px; }
    .btn { padding: 12px 20px; font-size: 14px; }
    .hero-visual { display: none; }

    /* HERO BANNER SLIDER */
    .hero-banner-slide img { border-radius: 12px; }

    /* FEATURES */
    .features-bar { padding: 16px 0; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature-item { gap: 10px; padding: 8px; }
    .feature-item .icon { width: 40px; height: 40px; font-size: 16px; border-radius: 10px; }
    .feature-item h4 { font-size: 13px; }
    .feature-item p { font-size: 11px; }

    /* KATEGORİ KARTLARI */
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-card .cat-image { height: 120px; }
    .category-card h3 { padding: 10px 10px 4px; font-size: 13px; }
    .category-card .cat-count { padding: 0 10px 6px; font-size: 12px; }
    .category-card .cat-subs {
        padding: 0 8px 10px;
        max-height: 48px;
        overflow: hidden;
    }
    .category-card .cat-subs span { font-size: 10px; padding: 2px 6px; }
    .category-card:hover { transform: none; }

    /* ÜRÜN KARTLARI */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card .prod-image { height: 160px; }
    .product-card .prod-image img { padding: 8px; }
    .product-card .prod-info { padding: 12px; }
    .product-card .prod-name { font-size: 14px; margin-bottom: 4px; }
    .product-card .prod-category { font-size: 11px; margin-bottom: 4px; }
    .product-card .prod-desc { font-size: 12px; margin-bottom: 10px; -webkit-line-clamp: 1; }
    .product-card .prod-footer { gap: 6px; }
    .btn-detail { padding: 7px 0; font-size: 12px; }
    .btn-wp-offer { padding: 7px 0; font-size: 11px; }
    .product-card:hover { transform: none; }

    /* ÜRÜN CAROUSEL */
    .product-carousel-arrow { width: 32px; height: 32px; font-size: 12px; }
    .product-carousel-track { gap: 12px; }
    .product-carousel-track .product-card .prod-footer { gap: 6px; }
    .product-carousel-track .product-card .btn-detail,
    .product-carousel-track .product-card .btn-wp-offer { font-size: 11px; padding: 6px 0; }

    /* ABOUT */
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-content h2 { font-size: 24px; }
    .about-content p { font-size: 14px; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .about-stat { padding: 14px 10px; }
    .about-stat h3 { font-size: 24px; }
    .about-stat p { font-size: 12px; }
    .about-visual { height: 220px; border-radius: 12px; font-size: 60px; }

    /* CTA */
    .cta-section { padding: 40px 0; }
    .cta-section h2 { font-size: 22px; }
    .cta-section p { font-size: 14px; margin-bottom: 20px; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 10px; }
    .btn-whatsapp, .btn-call { width: 100%; max-width: 300px; justify-content: center; font-size: 14px; padding: 12px 24px; }

    /* FOOTER */
    .footer { padding: 40px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
    .footer-about p { font-size: 13px; }
    .footer-col h4 { margin-bottom: 12px; font-size: 15px; }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-col ul li a { font-size: 13px; }
    .footer-bottom { padding: 16px 0; font-size: 12px; }

    /* WHATSAPP FLOAT WIDGET */
    .wa-widget { bottom: 16px; right: 14px; }
    .whatsapp-float { width: 54px; height: 54px; font-size: 26px; }
    .wa-menu { width: 290px; bottom: 66px; }
    .wa-menu-header { padding: 14px 16px; font-size: 13px; }
    .wa-menu-body { padding: 12px; }
    .wa-menu-btn { padding: 11px 12px; font-size: 13px; }

    /* POPUP MODAL - mobilde tam ekran */
    .popup-overlay {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
    }
    .popup-content {
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        max-width: 100%;
        width: 100%;
        animation: popupSlideUp 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    @keyframes popupSlideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    .popup-body {
        grid-template-columns: 1fr;
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    .popup-gallery {
        border-radius: 0;
        padding: 16px 20px;
        background: #f9f9fb;
        flex-shrink: 0;
    }
    .popup-main-img {
        margin: 0;
    }
    .popup-main-img img {
        height: 300px;
        border-radius: 12px;
    }
    .popup-thumbs { gap: 8px; justify-content: center; margin-top: 10px; }
    .popup-thumb { width: 52px; height: 52px; border-radius: 8px; }
    .popup-info {
        padding: 20px 20px 100px;
        flex: 1;
    }
    .popup-info h2 { font-size: 18px; margin-bottom: 10px; }
    .popup-short { font-size: 14px; margin-bottom: 14px; padding-bottom: 14px; color: #555; }
    .popup-specs, .popup-desc {
        padding: 14px;
        margin-bottom: 12px;
        border-radius: 12px;
        background: #f9f9fb;
    }
    .popup-specs h4, .popup-desc h4 { font-size: 14px; margin-bottom: 8px; }
    .popup-specs div, .popup-desc div { font-size: 13px; line-height: 1.6; }
    .popup-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 0;
        border-top: none;
    }
    .popup-actions .btn-add-cart {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 8px;
    }
    .popup-actions-row {
        display: flex;
        gap: 8px;
    }
    .popup-actions .btn-whatsapp, .popup-actions .btn-call {
        flex: 1;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
        padding: 11px 12px;
        border-radius: 8px;
    }
    .popup-close {
        top: 8px;
        right: 10px;
        font-size: 24px;
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.9);
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        border-radius: 50%;
        z-index: 11;
    }

    /* SUBCATEGORY SLIDER */
    .subcategory-slider-section { padding: 16px 0; }
    .subcategory-slide { flex: 0 0 110px; padding: 8px; }
    .subcat-img { width: 70px; height: 70px; }
    .subcategory-slide span { font-size: 11px; }
    .slider-arrow { width: 28px; height: 28px; font-size: 11px; }

    /* BREADCRUMB */
    .breadcrumb-bar { padding: 10px 0; font-size: 12px; overflow-x: auto; white-space: nowrap; }
    .breadcrumb-bar span { margin: 0 4px; }

    /* KATEGORİ HERO */
    .category-hero { padding: 24px 0; }
    .category-hero h1 { font-size: 24px; }
    .category-hero p { font-size: 13px; }

    /* ÜRÜN DETAY */
    .product-detail { grid-template-columns: 1fr; gap: 20px; }
    .gallery-main img { height: 260px; }
    .gallery-thumbs .thumb { width: 55px; height: 55px; }
    .product-info-detail h1 { font-size: 22px; }
    .product-short-desc { font-size: 14px; margin-bottom: 16px; padding-bottom: 16px; }
    .product-specs { padding: 14px; margin-bottom: 16px; }
    .product-actions { gap: 8px; }
    .product-actions .btn-whatsapp, .product-actions .btn-call {
        flex: 1;
        justify-content: center;
        font-size: 14px;
        padding: 12px 16px;
    }
    .product-description { margin-top: 24px; padding: 16px; }
    .product-description h3 { font-size: 16px; }
    .product-description div { font-size: 14px; }

    /* SAYFA (page.php) */
    .page-content { padding: 0 10px; }
    .page-content h1 { font-size: 24px; }
}

/* --- 480px: Küçük Mobil --- */
@media (max-width: 480px) {
    /* GENEL */
    .container { padding: 0 12px; }
    .section { padding: 30px 0; }
    .section-header h2 { font-size: 20px; }

    /* HEADER */
    .header-main { padding: 8px 0; }
    .header-logo img { max-height: 75px !important; max-width: 195px !important; }
    .header-search input { padding: 8px 40px 8px 14px; font-size: 12px; }
    .header-search button { width: 30px; height: 30px; font-size: 12px; }

    /* TOP BAR */
    .top-bar { padding: 5px 0; font-size: 11px; }
    .top-bar-left { gap: 12px; }
    .top-bar-left span { font-size: 11px; }

    /* HERO */
    .hero { padding: 30px 0; }
    .hero-content h2 { font-size: 22px; }
    .hero-content p { font-size: 13px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; padding: 12px 20px; }

    /* FEATURES */
    .features-grid { grid-template-columns: 1fr; gap: 8px; }
    .feature-item { padding: 10px 12px; }

    /* KATEGORİLER */
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-card .cat-image { height: 100px; }
    .category-card h3 { font-size: 12px; padding: 8px 8px 2px; }
    .category-card .cat-count { font-size: 11px; padding: 0 8px 4px; }
    .category-card .cat-subs { display: none; }

    /* ÜRÜNLER */
    .products-grid { grid-template-columns: 1fr; gap: 12px; }
    .product-card .prod-image { height: 200px; }
    .product-card .prod-info { padding: 14px; }
    .product-card .prod-name { font-size: 15px; }
    .product-card .prod-footer { gap: 8px; }
    .btn-detail, .btn-wp-offer { padding: 10px 0; font-size: 13px; }

    /* CAROUSEL */
    .product-carousel-track .product-card { flex: 0 0 85%; min-width: 0; }
    .product-carousel-arrow { width: 28px; height: 28px; font-size: 11px; }

    /* ABOUT */
    .about-stats { grid-template-columns: 1fr; gap: 8px; }
    .about-stat { padding: 12px; }
    .about-stat h3 { font-size: 22px; }
    .about-visual { height: 180px; }
    .about-content h2 { font-size: 22px; }

    /* CTA */
    .cta-section h2 { font-size: 20px; }
    .cta-section p { font-size: 13px; }

    /* POPUP */
    .popup-main-img img { height: 260px; }
    .popup-info h2 { font-size: 16px; }
    .popup-actions .btn-add-cart { font-size: 13px; padding: 10px 12px; }
    .popup-actions .btn-whatsapp, .popup-actions .btn-call { font-size: 11px; padding: 10px 8px; }

    /* SUBCATEGORY SLIDER */
    .subcategory-slide { flex: 0 0 95px; padding: 6px; }
    .subcat-img { width: 55px; height: 55px; }
    .subcategory-slide span { font-size: 10px; }
    .slider-arrow { display: none; }

    /* KATEGORİ HERO */
    .category-hero { padding: 20px 0; }
    .category-hero h1 { font-size: 20px; }

    /* ÜRÜN DETAY */
    .gallery-main img { height: 220px; }
    .gallery-thumbs .thumb { width: 48px; height: 48px; }
    .product-info-detail h1 { font-size: 20px; }
    .product-actions { flex-direction: column; }
    .product-actions .btn-whatsapp, .product-actions .btn-call { width: 100%; }

    /* FOOTER */
    .footer { padding: 30px 0 0; }
    .footer-grid { gap: 20px; }
    .footer-social a { width: 36px; height: 36px; }

    /* WHATSAPP WIDGET */
    .wa-widget { bottom: 12px; right: 10px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 24px; }
    .wa-menu { width: 270px; bottom: 60px; right: -5px; }
    .wa-menu-btn { padding: 10px; font-size: 13px; }
}

/* --- 360px: Çok Küçük Ekran --- */
@media (max-width: 360px) {
    .header-logo img { max-height: 70px !important; }
    .hero-content h2 { font-size: 20px; }
    .section-header h2 { font-size: 18px; }
    .categories-grid { gap: 8px; }
    .category-card .cat-image { height: 85px; }
    .category-card h3 { font-size: 11px; }
    .subcategory-slide { flex: 0 0 85px; }
    .subcat-img { width: 48px; height: 48px; }
    .mega-menu-grid { grid-template-columns: 1fr; }
}

/* ==================== NEW NAVIGATION RESPONSIVE ==================== */
@media (max-width: 1399px) {
    .category-level-1 > ul > li > a {
        padding: 10px 14px;
        font-size: 12px;
        min-height: 52px;
    }

    .category-level-1 > ul > li:not(:last-child)::after {
        height: 20px;
    }

    .sub-category.category-level-2 {
        min-width: 800px;
    }

    .sub-category .container > ul {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }

    .navigation-category-image a > div {
        width: 80px;
        height: 80px;
    }

    .navigation-category-image a span {
        font-size: 11.5px;
    }
}

@media (max-width: 1279px) {
    .category-level-1 > ul > li > a {
        padding: 10px 10px;
        font-size: 11px;
        min-height: 50px;
    }

    .category-level-1 > ul > li:not(:last-child)::after {
        height: 18px;
    }

    .sub-category.category-level-2 {
        min-width: 700px;
    }

    .sub-category .container {
        padding: 20px 24px;
    }

    .sub-category .container > ul {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .navigation-category-image a > div {
        width: 70px;
        height: 70px;
    }

    .navigation-category-image a span {
        font-size: 11px;
    }

}

/* Submenu positioning fix for edge categories */
.category-level-1 > ul > li:nth-last-child(-n+3) .sub-category.category-level-2 {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.category-level-1 > ul > li:nth-last-child(-n+3) .sub-category.category-level-2 {
    animation: megaMenuFadeInRight 0.25s ease;
}

@keyframes megaMenuFadeInRight {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-level-1 > ul > li:nth-child(-n+3) .sub-category.category-level-2 {
    left: 0;
    right: auto;
    transform: translateX(0);
}

@keyframes megaMenuFadeInLeft {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-level-1 > ul > li:nth-child(-n+3) .sub-category.category-level-2 {
    animation: megaMenuFadeInLeft 0.25s ease;
}
