/* ===== RESET & BASE ===== */
:root {
    --primary: #ed2c7a;
    --primary-dark: #d01e68;
    --primary-light: #fff0f5;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f9fafb;
    --white: #ffffff;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 6px rgba(0,0,0,0.07);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
}
*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'League Spartan', sans-serif; color: var(--text); background: var(--bg); margin: 0; font-size: 14px; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ===== TOPBAR ===== */
.topbar {
    background: var(--primary);
    color: white;
    font-size: 12px;
    padding: 7px 0;
    text-align: center;
    overflow: hidden;
}
.topbar-marquee {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.topbar-marquee span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }

/* ===== HEADER ===== */
.header {
    background: var(--header-bg, white);
    border-bottom: 1px solid var(--header-border, var(--border));
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
@media(max-width:991px){
    .header { position: sticky; top: 0; z-index: 1001; }
}
.header-inner {
    display: grid;
    grid-template-columns: 180px 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo span {
    font-size: 30px; font-weight: 800; color: var(--primary);
    letter-spacing: -1px; line-height: 1;
}
.header-logo span small {
    display: block; font-size: 10px; font-weight: 400;
    color: var(--text-muted); letter-spacing: 0; margin-top: 1px;
}
.header-logo img { height: 52px; object-fit: contain; max-width: 180px; }

/* Search */
.header-search { position: relative; margin-top: 10px; }
.header-search input {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 25px;
    padding: 8px 56px 8px 20px;
    font-size: 16px;
    font-weight: 300;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'League Spartan', sans-serif;
    color: var(--text);
    background: #f9fafb;
    height: 50px;
}
.header-search input:focus {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}
.header-search input::placeholder { color: #a0aec0; font-size: 13.5px; }
.header-search .search-btn {
    position: absolute; right: 3px; top: 3px;
    background: #f4f4f4; border: 1px solid #f4f4f4;
    border-radius: 22px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.15s; padding: 0;
    color: #707070;
}
.header-search .search-btn:hover { background: #e8e8e8; }
.header-search .search-btn i { color: #707070; font-size: 16px; }
.search-hints {
    font-size: 13px; color: #6b7280;
    padding: 5px 2px 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-weight: 400;
}
.search-hints a {
    color: #6b7280; margin-left: 0;
    transition: color 0.15s;
}
.search-hints a:not(:last-child)::after { content: ','; }
.search-hints a:hover { color: var(--primary); }

/* Location */
.header-location {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; cursor: pointer;
    padding: 8px 18px 8px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 40px;
    white-space: nowrap;
    transition: all 0.2s;
    color: var(--text);
    background: white;
    min-width: 210px;
}
.header-location:hover { border-color: #aab; background: #f9fafb; }
.header-location .loc-icon { color: var(--location-icon-color, var(--primary)); font-size: 18px; }
.header-location .loc-label { font-size: 10px; color: var(--text-muted); display: block; line-height: 1; }
.header-location .loc-city { font-size: 13px; font-weight: 600; color: var(--text); display: block; line-height: 1.3; }
.header-location .loc-chevron { font-size: 11px; color: var(--text-muted); margin-left: auto; }

/* Actions */
.header-actions { display: flex; align-items: center; gap: 0; }
.header-action-btn {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: var(--header-icon-color, #374151); cursor: pointer;
    padding: 6px 14px; border-radius: 8px;
    transition: color 0.15s; position: relative; white-space: nowrap;
    text-decoration: none;
}
.header-action-btn:hover { color: var(--header-icon-hover, var(--primary)); }
.header-action-btn i { font-size: 22px; line-height: 1; }
.header-action-btn .btn-label { font-size: 12px; font-weight: 500; color: inherit; }
.cart-badge {
    position: absolute; top: 3px; right: 8px;
    background: #10b981; color: white;
    border-radius: 50%; min-width: 18px; height: 18px;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
}
@media (max-width: 991px) {
    .cart-badge {
        min-width: 15px; height: 15px; font-size: 9px;
        top: 0px; right: 0px; padding: 0 2px;
    }
}

/* ===== NAVBAR ===== */
.navbar-main {
    background: var(--navbar-bg, white);
    border-bottom: 1.5px solid var(--navbar-border, var(--border));
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}
.nav-list { display: flex; align-items: center; justify-content: var(--nav-justify, flex-start); flex: 1; list-style: none; margin: 0; padding: 0; gap: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: flex; align-items: center; gap: 4px;
    padding: 18px 16px;
    font-size: 18px; font-weight: 600; color: var(--nav-link-color, #1a1a1a);
    white-space: nowrap;
    transition: color 0.15s;
    border-bottom: 3px solid transparent;
    font-family: 'League Spartan', sans-serif;
}
.nav-list > li > a:hover { color: var(--nav-link-hover, var(--primary)); }
.nav-list > li > a.active {
    color: var(--nav-link-hover, var(--primary));
    font-weight: 800;
    border-bottom-color: var(--nav-link-hover, var(--primary));
}
.nav-list > li > a i { font-size: 10px; opacity: 0.4; margin-left: 2px; }

/* Navbar flex container */
.navbar-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Scroll'da görünen amblem */
.navbar-emblem {
    display: none;
    align-items: center;
    flex-shrink: 0;
    margin-right: 20px;
}
.navbar-emblem img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

/* Scroll'da görünen sağ aksiyonlar */
.navbar-scroll-actions {
    display: none;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    flex-shrink: 0;
}
.navbar-scroll-btn {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: none; background: none;
    cursor: pointer; color: var(--text);
    font-size: 20px; position: relative;
    text-decoration: none; border-radius: 8px;
    transition: color 0.15s;
}
.navbar-scroll-btn:hover { color: var(--primary); }

/* Scrolled state */
.navbar-main.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.navbar-main.scrolled .navbar-emblem { display: flex; }
.navbar-main.scrolled .navbar-scroll-actions { display: flex; }
.navbar-main.scrolled .nav-list { flex: 1; justify-content: center; }

/* ===== MEGA MENU (Osevio nav-pills + tab-content yapısı) ===== */
/* nav-list > li has position:relative (specificity 0,1,1); override with 0,2,1 */
.nav-list > li.nav-has-mega { position: static; }

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: transparent;
    padding: 6px 0 0;
    z-index: 999;
}
.nav-has-mega:hover .mega-menu { display: block; }

/* Kart görünümü */
.mega-menu .main-menu {
    background: white;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    min-height: 400px;
    overflow: hidden;
    margin: 0 auto;
}
/* Sol panel */
.mega-menu .nav-pills {
    width: 256px;
    flex-shrink: 0;
    border-right: 1px solid #f3f4f6;
    padding: 12px 0;
    background: white;
    align-self: stretch;
}
.mega-menu .nav-pills .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'League Spartan', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    padding: .5rem .75rem .5rem 1rem;
    border: none !important;
    border-left: 3px solid transparent !important;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
    transition: all 0.15s;
}
.mega-menu .nav-pills .nav-link:hover { background: var(--mega-hover-bg, #f9fafb); color: var(--nav-link-color, #374151); }
.mega-menu .nav-pills .nav-link.active {
    background: var(--mega-hover-bg, #f9fafb) !important;
    color: var(--mega-active-color, #16a34a) !important;
    border-left-color: var(--mega-active-color, #22c55e) !important;
    font-weight: 600;
}

/* Sağ panel */
.mega-menu .tab-content {
    flex: 1;
    padding: 16px 24px;
    overflow-y: auto;
    max-height: 460px;
}
.mega-menu .tab-content .tab-pane {
    display: block;
}
.mega-menu .tab-content .btn-link {
    font-family: 'League Spartan', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #4b5563;
    padding: 6px 16px 6px 8px;
    text-decoration: none;
    display: block;
    transition: color 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-menu .tab-content .btn-link:hover { color: var(--primary); }

/* ===== STORY SECTION ===== */
.story-section {
    background: white;
    padding: 24px 0;
    border-bottom: 1.5px solid var(--border);
}
.story-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.story-nav-btn {
    flex-shrink: 0;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
    font-size: 14px;
    box-shadow: var(--shadow);
    z-index: 2;
}
.story-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(224,90,138,0.2);
}
.story-banners {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 2px;
    scrollbar-width: none;
    flex: 1;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.story-banners::-webkit-scrollbar { display: none; }
.story-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    cursor: pointer; flex-shrink: 0;
    transition: transform 0.2s;
    text-align: center;
    width: 90px;
}
.story-item:hover { transform: translateY(-3px); }
.story-ring {
    width: 80px; height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fce4ec;
}
/* Pastel renkler - her kategori farklı */
.story-item:nth-child(8n+1) .story-ring { background: #fff3e8; }
.story-item:nth-child(8n+2) .story-ring { background: #e8f8ef; }
.story-item:nth-child(8n+3) .story-ring { background: #e8f0fe; }
.story-item:nth-child(8n+4) .story-ring { background: #fefae8; }
.story-item:nth-child(8n+5) .story-ring { background: #fce8f3; }
.story-item:nth-child(8n+6) .story-ring { background: #e8fafe; }
.story-item:nth-child(8n+7) .story-ring { background: #f0ffe8; }
.story-item:nth-child(8n+8) .story-ring { background: #f3e8fe; }

.story-img-inner {
    width: 100%; height: 100%;
    overflow: hidden;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
}
.story-img-inner img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.story-img-inner .story-emoji { font-size: 32px; }
.story-item span {
    font-size: 11px; font-weight: 600; color: var(--text);
    max-width: 88px; line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    background: var(--primary-light);
    overflow: hidden;
}
.hero-slider .swiper-slide img,
.hero-slider .slide-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
    object-position: center top;
}
.hero-slider .slide-content {
    position: absolute; top: 50%; left: 8%;
    transform: translateY(-50%); z-index: 10;
    max-width: 480px;
}
.hero-slider .slide-title {
    font-size: 40px; font-weight: 800; line-height: 1.2;
    margin-bottom: 12px; letter-spacing: -0.5px;
}
.hero-slider .slide-subtitle {
    font-size: 16px; margin-bottom: 24px; opacity: 0.9; line-height: 1.6;
}
.hero-slider .slide-link { display: block; }
.hero-slider .slide-content { pointer-events: none; } /* yazı alanı tıklamayı slayt bağlantısına bıraksın */
.hero-slider .slide-btn { pointer-events: auto; }
.hero-slider .slide-btn {
    display: inline-block; padding: 14px 32px;
    background: var(--primary); color: white;
    border-radius: 30px; font-size: 14px; font-weight: 700;
    transition: all 0.2s; letter-spacing: 0.02em;
}
.hero-slider .slide-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224,90,138,0.35);
}
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    background: white;
    border-radius: 50%;
    width: 44px; height: 44px;
    box-shadow: var(--shadow-hover);
}
.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 14px; color: var(--text); font-weight: 700;
}
.hero-slider .swiper-pagination-bullet { background: rgba(255,255,255,0.6); opacity: 1; }
.hero-slider .swiper-pagination-bullet-active { background: white; width: 24px; border-radius: 4px; }

/* ===== TEXT BANNER ===== */
.text-banner {
    padding: 13px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}
.text-banner-inner {
    display: flex; gap: 40px;
    justify-content: center; flex-wrap: wrap; align-items: center;
}
.text-banner-item { display: flex; align-items: center; gap: 6px; }

/* Ticker mode */
.tb-ticker {
    position: relative;
    height: 20px;
    overflow: hidden;
}
.tb-slide {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}
.tb-slide.tb-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.tb-slide.tb-exit {
    opacity: 0;
    transform: translateY(-100%);
}

/* ===== SECTIONS ===== */
.section { padding: 44px 0; }
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 22px; padding-bottom: 14px;
    border-bottom: 1.5px solid var(--border);
}
.section-title { font-size: 21px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.section-title span { color: var(--primary); }
.section-link {
    font-size: 13px; color: var(--primary); font-weight: 600;
    display: flex; align-items: center; gap: 4px;
    padding: 7px 16px;
    border: 1.5px solid var(--primary);
    border-radius: 20px; transition: all 0.2s;
}
.section-link:hover { background: var(--primary); color: white; }

/* ===== PRODUCT CARD ===== */
.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
    height: 100%;
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.product-card .img-wrapper {
    position: relative; overflow: hidden;
    aspect-ratio: 1; background: var(--primary-light);
    flex-shrink: 0;
}
.product-card .img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.38s;
}
.product-card:hover .img-wrapper img { transform: scale(1.07); }
.product-card .badge-discount {
    position: absolute; bottom: 10px;
    left: var(--discount-badge-left, 10px); right: var(--discount-badge-right, auto);
    background: var(--discount-badge-bg, #e8192c); color: var(--discount-badge-color, white);
    border-radius: 20px; padding: 3px 10px;
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.01em;
}
.product-card .btn-favorite {
    position: absolute; top: 10px; right: 10px;
    background: white; border: none; border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: var(--shadow);
    transition: all 0.2s; color: var(--text-muted); font-size: 16px;
    z-index: 2;
}
.product-card .btn-favorite:hover,
.product-card .btn-favorite.active { color: var(--primary); transform: scale(1.1); }
.product-card .card-body {
    padding: 12px 14px 14px;
    flex: 1; display: flex; flex-direction: column;
    gap: 4px;
}
.product-card .product-name {
    font-size: 13px; font-weight: 500; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.5;
    flex: 1;
}
.product-card .price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.product-card .price {
    font-size: 18px; font-weight: 700; color: var(--sale-price-color, var(--text));
    letter-spacing: -0.3px; order: var(--price-sale-order, 1);
}
.product-card .price-old {
    font-size: 12px; color: var(--price-old-color, var(--text-muted));
    text-decoration: line-through; order: var(--price-old-order, 2);
}
.product-card .campaign-badge {
    font-size: 11px; color: var(--primary); font-weight: 500;
    background: var(--primary-light); border-radius: 6px;
    padding: 2px 7px; margin-bottom: 2px; display: inline-block;
}
.product-card .delivery-text {
    font-size: 11.5px; font-weight: 500; color: #047857;
}
.product-card .installment {
    font-size: 11px; color: var(--text-muted);
}

/* ===== BANNERS ===== */
.banner-full img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.banner-double { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.banner-triple { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 8px; }
.banner-item { border-radius: var(--radius); overflow: hidden; position: relative; display: block; }
.banner-item img { width: 100%; height: auto; display: block; transition: transform 0.32s; }
.banner-item:hover img { transform: scale(1.04); }

/* ===== CATEGORY CARD ===== */
.category-card {
    background: white; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    transition: all 0.2s; text-align: center;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.category-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.category-card .cat-name {
    padding: 10px 8px;
    font-size: 12.5px; font-weight: 600; color: var(--text);
}

/* ===== SEARCH RESULTS ===== */
.search-results {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-hover);
    z-index: 1100; max-height: 380px; overflow-y: auto;
}
.search-result-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f3f4f6;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--primary-light); }
.search-result-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.search-result-item .name { font-size: 13px; font-weight: 500; color: var(--text); }
.search-result-item .price { font-size: 13px; font-weight: 700; color: var(--primary); }
.search-result-noimg { width: 44px; height: 44px; border-radius: 8px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.search-result-thumb { width: 44px; height: 44px; border-radius: 8px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; overflow: hidden; }
.search-result-thumb img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.search-result-all { display: block; text-align: center; padding: 10px 16px; font-size: 13px; color: var(--primary); font-weight: 600; border-top: 1px solid var(--border); text-decoration: none; }
.search-result-all:hover { background: var(--primary-light); }
a.search-result-item { text-decoration: none; }

/* Akıllı arama paneli (kutuya tıklanınca) */
.search-results.ss-open { max-height: min(560px, 75vh); padding: 4px 0 8px; }
.ss-section { padding: 10px 16px 4px; }
.ss-section + .ss-section { border-top: 1px solid #f3f4f6; }
.ss-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px;
    font-size: 12px; font-weight: 700; color: var(--text-muted, #6b7280); text-transform: uppercase; letter-spacing: .03em; }
.ss-head span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-clear, .ss-more { background: none; border: none; padding: 0; font-size: 12px; font-weight: 600; color: var(--primary);
    text-transform: none; letter-spacing: 0; text-decoration: none; cursor: pointer; white-space: nowrap; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ss-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    background: #f3f4f6; color: var(--text); font-size: 13px; text-decoration: none; transition: background .15s, color .15s; max-width: 100%; }
.ss-chip i { font-size: 12px; color: var(--text-muted, #9ca3af); }
.ss-chip:hover { background: var(--primary-light); color: var(--primary); }
.ss-loading { font-size: 13px; color: var(--text-muted, #9ca3af); padding: 6px 0 4px; }
.ss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ss-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); border-radius: 10px; padding: 4px; transition: background .15s; }
.ss-card:hover { background: var(--primary-light); }
.ss-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 8px; overflow: hidden;
    background: var(--primary-light); font-size: 28px; }
.ss-img img { width: 100%; height: 100%; object-fit: cover; }
.ss-name { font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ss-price { font-size: 13px; font-weight: 700; color: var(--primary); }
.ss-price s { font-weight: 400; color: var(--text-muted, #9ca3af); margin-right: 5px; font-size: 12px; }

/* Bootstrap modal z-index'i mobil menünün üstünde olsun */
.modal { z-index: 10001 !important; }
.modal-backdrop { z-index: 10000 !important; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none; position: fixed; top: 0; left: 0;
    width: 88%; max-width: 340px; height: 100%;
    background: var(--navbar-bg, white); z-index: 9999; overflow: hidden;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-hover);
}
.mobile-panels {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}
.mobile-panels.show-sub { transform: translateX(-50%); }
.mobile-panel {
    width: 50%;
    height: 100%;
    overflow-y: auto;
    flex-shrink: 0;
}
.mobile-menu.open { transform: translateX(0); display: block; }
.mobile-overlay {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45); z-index: 9998;
}
.mobile-overlay.active { display: block; }
.mobile-menu-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid var(--border);
    position: sticky; top: 0; background: var(--navbar-bg, white); z-index: 1;
}
.mobile-location {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; margin: 12px;
    border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 13px; color: var(--text); cursor: pointer;
}
.mobile-location i { color: var(--primary); }
.mobile-cat-wrap { position: relative; }
.mobile-cat-item {
    display: block;
    padding: 13px 52px 13px 18px;
    border-bottom: 1px solid var(--navbar-border, #f3f4f6);
    font-size: 16px; color: var(--nav-link-color, var(--text));
}
.mobile-cat-item:hover { color: var(--nav-link-hover, var(--primary)); }
.mobile-cat-toggle {
    position: absolute; right: 0; top: 0;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; border-bottom: 1px solid var(--navbar-border, #f3f4f6);
    cursor: pointer; color: var(--nav-link-color, var(--text-muted));
}
.mobile-cat-toggle i { font-size: 14px; }
.mobile-sub-header {
    display: flex; align-items: center; gap: 12px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; background: var(--navbar-bg, white); z-index: 1;
}
.mobile-sub-back {
    background: none; border: none; cursor: pointer;
    color: var(--nav-link-color, var(--text)); font-size: 20px;
    display: flex; align-items: center; padding: 0;
}
#mobileSubLinks a {
    display: block;
    padding: 13px 18px;
    font-size: 16px; color: var(--nav-link-color, var(--text));
    border-bottom: 1px solid var(--navbar-border, #f3f4f6);
}
#mobileSubLinks a:first-child {
    font-weight: 600; color: var(--nav-link-hover, var(--primary));
}
#mobileSubLinks a:hover { color: var(--nav-link-hover, var(--primary)); }
.mobile-bottom-links {
    padding: 12px 18px; display: flex; flex-direction: column; gap: 2px;
}
.mobile-bottom-links a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 10px; font-size: 15.5px; color: var(--nav-link-color, var(--text));
    border-radius: 8px; transition: all 0.15s;
}
.mobile-bottom-links a:hover { color: var(--nav-link-hover, var(--primary)); }
.mobile-bottom-links a i { font-size: 18px; color: var(--nav-link-color, var(--text-muted)); width: 22px; }

/* ===== FOOTER ===== */
.footer { margin-top: 60px; }
.footer-logo { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.3px; }
.footer-desc { font-size: 13px; line-height: 1.7; }
.footer-dyn h6, .footer-dyn .footer-col-title { font-size: 12px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a,
.footer ul li span { font-size: 13px; transition: color 0.2s; text-decoration: none; }
.footer-bottom { padding: 20px 0; margin-top: 48px; font-size: 12px; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.footer-social-label {
    font-size: 11px; font-weight: 600; letter-spacing: .5px;
    text-transform: uppercase; opacity: .8;
}
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: var(--social-icon-color, inherit);
    margin-right: 8px; transition: all 0.2s; font-size: 18px;
}
.footer-social a:hover {
    background: var(--social-icon-color, var(--primary));
    color: white;
    transform: translateY(-2px);
}
.footer-badges-bar {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    margin-bottom: 48px;
}
.footer-badges-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 32px;
}
.footer-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 500;
    white-space: nowrap;
}
.footer-badge i { font-size: 20px; }
.footer-badge i { color: var(--primary); font-size: 18px; }

/* ===== UTILITIES ===== */
.btn-primary-custom {
    background: var(--primary); color: white; border: none;
    border-radius: 30px; padding: 12px 28px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    transition: all 0.2s; font-family: 'League Spartan', sans-serif;
    letter-spacing: 0.02em;
}
.btn-primary-custom:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(224,90,138,0.3); }
.btn-outline-custom {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary); border-radius: 30px;
    padding: 10px 24px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: 'League Spartan', sans-serif;
}
.btn-outline-custom:hover { background: var(--primary); color: white; }

.breadcrumb-custom { font-size: 12.5px; color: var(--text-muted); padding: 12px 0; }
.breadcrumb-custom a { color: var(--text-muted); }
.breadcrumb-custom a:hover { color: var(--primary); }
.breadcrumb-custom span { color: var(--text); font-weight: 500; }

.pagination-custom { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 30px 0; }
.pagination-custom a, .pagination-custom span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 14px; font-weight: 500; border: 1.5px solid var(--border); color: var(--text); transition: all 0.2s; }
.pagination-custom a:hover { border-color: var(--primary); color: var(--primary); }
.pagination-custom .active { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .nav-list > li > a { padding: 13px 12px; font-size: 13px; }
    .header-inner { grid-template-columns: 160px 1fr auto auto; gap: 14px; }
}

@media (max-width: 991px) {
    .header-inner { grid-template-columns: auto auto 1fr auto; gap: 12px; padding: 11px 0; }
    .header-location { display: none; }
    .navbar-main { display: none; }
    .hero-slider .swiper-slide img,
    .hero-slider .slide-img { max-height: 300px; }
    /* Ayrı mobil görsel yüklendiyse kendi oranında, kırpılmadan tam gösterilir */
    .hero-slider .has-mobile .slide-img { max-height: none !important; object-fit: contain; }
    .hero-slider .slide-title { font-size: 24px; }
    .hero-slider .slide-subtitle { font-size: 14px; margin-bottom: 16px; }
    .hero-slider .slide-btn { padding: 11px 22px; font-size: 13px; }
    .banner-double, .banner-triple { grid-template-columns: 1fr 1fr; }
    .story-ring { width: 68px; height: 68px; }
    .story-item span { font-size: 11px; max-width: 70px; }
}

@media (max-width: 767px) {
    .header-inner { grid-template-columns: auto 1fr auto; padding: 10px 0; }
    .header-search { display: none; }
    .header-action-btn .btn-label { display: none; }
    .header-action-btn { padding: 6px 8px; }
    .section-title { font-size: 18px; }
    .product-card .price { font-size: 16px; }
    .banner-double { grid-template-columns: 1fr; }
    .banner-triple { grid-template-columns: 1fr; }
    .story-banners { gap: 16px; }
    .story-ring { width: 60px; height: 60px; }
    .story-nav-btn { display: none; }
}

@media (max-width: 576px) {
    .hero-slider .swiper-slide img,
    .hero-slider .slide-img { max-height: 220px; }
    .hero-slider .slide-content { left: 4%; right: 4%; }
    .hero-slider .slide-title { font-size: 19px; }
    .hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { display: none; }
    .story-section { padding: 16px 0; }
    .story-banners { gap: 14px; }
}

/* Mobil: parmakla rahat basılabilir bağlantılar (en az ~40px dokunma alanı) */
@media (max-width: 575px) {
    .footer ul li { margin-bottom: 0; }
    .footer ul li a, .footer ul li span { display: inline-block; padding: 10px 0; font-size: 14px; }
    .breadcrumb-item a, .pd-breadcrumb a { display: inline-block; padding: 10px 2px; }
}
