/* ============================================
   NAVBAR STYLES - Toptan Buradan
   ============================================ */

/* ---------- Genel Değişkenler ---------- */
:root {
    --navbar-dark: #2a3f54;
    --navbar-dark-hover: #1e2f3f;
    --navbar-mid: #3b7ddd;
    --navbar-mid-light: #4a8de5;
    --navbar-search-bg: #ffffff;
    --navbar-text-light: #ffffff;
    --navbar-text-muted: #c5d0dc;
    --badge-green: #28a745;
    --badge-red: #e74c3c;
    --badge-orange: #ff6600;
    --navbar-top-height: 32px;
    --navbar-middle-height: 64px;
    --navbar-bottom-height: 38px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* ========================================
   ANNOUNCEMENT TICKER BAR
   ======================================== */
.announcement-bar {
    background-color: #d4a017;
    overflow: hidden;
    white-space: nowrap;
    height: 30px;
    display: flex;
    align-items: center;
    position: relative;
}

.announcement-track {
    display: inline-block;
    animation: announcement-scroll 12s linear infinite;
}

.announcement-text {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.3px;
    padding: 0 20px;
}

.announcement-text strong {
    font-weight: 700;
}

.announcement-text i {
    font-size: 13px;
}

@keyframes announcement-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

/* ========================================
   HERO SLIDER (Navbar Altı)
   ======================================== */
.hero-slider-section {
    width: 100%;
    padding: 0;
}

.hero-slider-section .container-fluid {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider-wrapper {
    background: #ffffff;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.hero-carousel {
    width: 100%;
}

.hero-slide-img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f5f0eb;
}

.hero-carousel .carousel-item {
    height: 420px;
    background: #f5f0eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-control {
    width: 46px;
    height: 46px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.18s ease;
    padding: 0;
    cursor: pointer;
}

.hero-carousel-control:hover {
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
    transform: translateY(-50%) scale(1.08);
}

.hero-carousel-control:active {
    transform: translateY(-50%) scale(0.96);
}

.hero-carousel-control.carousel-control-prev {
    left: 16px;
}

.hero-carousel-control.carousel-control-next {
    right: 16px;
}

.hero-carousel-control svg {
    width: 20px;
    height: 20px;
    color: #1a1a1a;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .hero-carousel .carousel-item {
        height: 320px;
    }

    .hero-slide-img {
        width: 100%;
        height: 320px;
    }

    .son-eklenen-urunleri-track {
        grid-template-columns: repeat(3, 1fr);
    }

    .son-eklenen-urunleri-section .container-fluid {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: 220px;
    }

    .hero-slide-img {
        width: 100%;
        height: 220px;
    }
}

/* ========================================
   DISCOUNT TICKER BAR (Slider Altı)
   ======================================== */
.discount-ticker-bar {
    background-color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    height: 34px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.discount-ticker-track {
    display: inline-block;
    animation: discount-scroll 18s linear infinite;
}

.discount-ticker-text {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0 30px;
}

.discount-ticker-text.discount-blue {
    color: #5bb8f5;
}

@keyframes discount-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   FIRSAT ÜRÜNLERİ SECTION
   ======================================== */
.firsat-urunleri-section {
    padding: 30px 0 20px;
    background: #f5f6f8;
}

.firsat-urunleri-section .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

.firsat-urunleri-wrapper {
    position: relative;
}

.firsat-urunleri-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.firsat-urunleri-title {
    font-size: 22px;
    font-weight: 700;
    color: #2a3f54;
    margin: 0;
}

.firsat-tumunu-gor {
    font-size: 13px;
    font-weight: 600;
    color: #2a3f54;
    text-decoration: none;
    border: 2px solid #2a3f54;
    border-radius: 6px;
    padding: 6px 18px;
    transition: all 0.2s ease;
}

.firsat-tumunu-gor:hover {
    background: #2a3f54;
    color: #ffffff;
}

/* Carousel */
.firsat-urunleri-carousel {
    position: relative;
}

.firsat-urunleri-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 0 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.firsat-urunleri-track::-webkit-scrollbar {
    display: none;
}

.firsat-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.firsat-nav-btn:hover {
    background: #2a3f54;
    border-color: #2a3f54;
    color: #fff;
}

.firsat-nav-btn i {
    font-size: 18px;
}

.firsat-nav-prev {
    left: -18px;
}

.firsat-nav-next {
    right: -18px;
}

/* ========================================
   SON EKLENEN ÜRÜNLER SECTION
   ======================================== */
.son-eklenen-urunleri-section {
    padding: 30px 0 20px;
    background: #f5f6f8;
}

.son-eklenen-urunleri-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.son-eklenen-urunleri-wrapper {
    position: relative;
}

.son-eklenen-urunleri-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.son-eklenen-urunleri-title {
    font-size: 22px;
    font-weight: 700;
    color: #2a3f54;
    margin: 0;
}

.son-eklenen-tumunu-gor {
    font-size: 13px;
    font-weight: 600;
    color: #2a3f54;
    text-decoration: none;
    border: 2px solid #2a3f54;
    border-radius: 6px;
    padding: 6px 18px;
    transition: all 0.2s ease;
}

.son-eklenen-tumunu-gor:hover {
    background: #2a3f54;
    color: #ffffff;
}

/* Grid Layout */
.son-eklenen-urunleri-carousel {
    position: relative;
}

.son-eklenen-urunleri-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding: 6px 0 10px;
}

.son-eklenen-urunleri-track .urun-karti {
    min-width: 0;
    max-width: none;
    width: 100%;
}

/* ========================================
   MARKALARIMIZ SLIDER
   ======================================== */
.markalarimiz-section {
    padding: 24px 0 20px;
    background: #f5f6f8;
}

.markalarimiz-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #2a3f54;
    margin-bottom: 14px;
}

.markalarimiz-slider {
    overflow: hidden;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 14px 0;
}

.markalarimiz-track {
    display: flex;
    gap: 50px;
    animation: marka-scroll 20s linear infinite;
    width: max-content;
}

.marka-item {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    letter-spacing: 1px;
    white-space: nowrap;
    text-transform: uppercase;
}

@keyframes marka-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   FOOTER
   ======================================== */

/* Özellikler Barı */
.footer-features {
    background: #f5f6f8;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.footer-features-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 220px;
}

.footer-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #2a3f54;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-feature-icon i {
    font-size: 24px;
    color: #2a3f54;
}

.footer-feature-text {
    display: flex;
    flex-direction: column;
}

.footer-feature-text strong {
    font-size: 13px;
    color: #2a3f54;
    font-weight: 700;
    margin-bottom: 2px;
}

.footer-feature-text span {
    font-size: 11px;
    color: #6c757d;
    line-height: 1.3;
}

/* Footer Ana */
.footer-main {
    background: #2a3f54;
    padding: 30px 0 24px;
    color: #ffffff;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition:
        transform 0.2s,
        opacity 0.2s;
}

.footer-social-icon:hover {
    transform: scale(1.1);
    opacity: 0.85;
    color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 12px 0 20px;
}

.footer-columns {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 160px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #c5cdd6;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #c5cdd6;
    font-size: 13px;
}

.footer-contact li i {
    color: #ffffff;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact li span {
    color: #c5cdd6;
    font-size: 13px;
}

.footer-col-right {
    flex: 1.4;
    min-width: 240px;
}

.footer-app-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-app-btn img {
    height: 38px;
    border-radius: 6px;
}

.footer-newsletter-text {
    font-size: 12px;
    color: #c5cdd6;
    margin-bottom: 10px;
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none;
    border-radius: 6px 0 0 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    outline: none;
}

.footer-newsletter-form input::placeholder {
    color: #a0aec0;
}

.footer-newsletter-form button {
    padding: 8px 18px;
    background: #e8a317;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.footer-newsletter-form button:hover {
    background: #d4940f;
}

.footer-kvkk-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #c5cdd6;
    cursor: pointer;
}

.footer-kvkk-check input[type="checkbox"] {
    accent-color: #2a3f54;
    width: 14px;
    height: 14px;
}

/* Footer Alt Bar */
.footer-bottom {
    background: #1e2f40;
    padding: 14px 0;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 12px;
    color: #a0aec0;
}

.footer-payment-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-payment-icons i {
    font-size: 24px;
    color: #c5cdd6;
}

.payment-iyzico {
    font-size: 12px;
    font-weight: 700;
    color: #4db7fe;
    line-height: 1.1;
    text-align: center;
}

.payment-iyzico small {
    font-weight: 400;
    font-size: 9px;
    color: #c5cdd6;
}

.payment-text-icon {
    font-size: 14px;
    color: #c5cdd6;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.payment-amex {
    font-size: 10px;
}

.payment-amex small {
    font-size: 8px;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-features-row {
        flex-direction: column;
        gap: 16px;
    }

    .footer-feature-item {
        min-width: unset;
    }

    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 24px;
    }

    .footer-col {
        min-width: unset;
    }

    .footer-col-right {
        min-width: unset;
    }

    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-payment-icons {
        justify-content: center;
    }
}

/* ========================================
   ÜRÜN KARTI
   ======================================== */
.urun-karti {
    min-width: 230px;
    max-width: 230px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition:
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.urun-karti:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Kart Görseli */
.urun-karti-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f9f9f9;
}

.urun-karti-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

/* ── Kart Görsel Slider ── */
.urun-karti-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.urun-karti-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.urun-karti-slider-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Prev / Next okları — hover'da görünür */
.urun-karti-slider-prev,
.urun-karti-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    box-shadow: 0 1px 6px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #222;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    padding: 0;
    line-height: 1;
}

.urun-karti-slider-prev { left: 7px; }
.urun-karti-slider-next { right: 7px; }

.urun-karti:hover .urun-karti-slider-prev,
.urun-karti:hover .urun-karti-slider-next {
    opacity: 1;
}

.urun-karti-slider-prev:hover,
.urun-karti-slider-next:hover {
    background: #fff;
}

.urun-karti-slider-prev:disabled,
.urun-karti-slider-next:disabled {
    opacity: 0 !important;
    pointer-events: none;
}

/* Dot indikatörler */
.urun-karti-slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8;
    display: flex;
    gap: 5px;
    pointer-events: none;
}

.urun-karti-slider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.urun-karti-slider-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.urun-karti-image img.lazy-hidden {
    opacity: 0;
}

.urun-karti-image img.lazy-loaded {
    opacity: 1;
}

/* ── Skeleton / Lazy Load Overlay ── */
.urun-karti-skeleton {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #ebebeb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Dalgalı shimmer efekti */
.urun-karti-skeleton::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.55) 35%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.55) 65%,
        transparent 100%
    );
    background-size: 250% 100%;
    animation: skeleton-wave 1.6s linear infinite;
}

/* Logo filigran */
.urun-karti-skeleton::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 44px;
    background: url("../images/navbar_resimleri/logo.png") center / contain
        no-repeat;
    opacity: 0.1;
    filter: grayscale(100%) contrast(1.2);
    pointer-events: none;
}

@keyframes skeleton-wave {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Skeleton yükleme tamamlanınca kaybolur */
.urun-karti-skeleton.skeleton-fade-out {
    opacity: 0;
}

.urun-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 5;
}

.urun-badge-yeni {
    background: #f7c948;
    color: #333;
}

.urun-badge-toptan {
    background: #f7c948;
    color: #333;
}

.urun-badge-indirim {
    background: #f7c948;
    color: #333;
}

.urun-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2a3f54;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.urun-fav-btn i {
    color: #ffffff;
    font-size: 16px;
}

.urun-fav-btn:hover {
    transform: scale(1.1);
}

.urun-fav-active {
    background: #2a3f54;
}

.urun-fav-active i {
    color: #ffffff;
}

/* Kart Body */
.urun-karti-body {
    padding: 12px 14px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "baslik  baslik"
        "puan    fiyat"
        "btn     btn"
        "min     min"
        "magaza  magaza";
    column-gap: 6px;
    row-gap: 0;
    flex: 1;
    align-content: start;
}

.urun-karti-baslik {
    grid-area: baslik;
    font-size: 13px;
    font-weight: 600;
    color: #2a2a2a;
    margin: 0 0 6px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 35px;
}

.urun-karti-puan {
    grid-area: puan;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    align-self: center;
}

.urun-karti-puan .stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.urun-karti-puan .review-count {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

.urun-karti-puan i {
    font-size: 12px;
}

.urun-karti-puan i.bi-star-fill {
    color: var(--badge-orange);
}

.urun-karti-puan i.bi-star,
.urun-karti-puan i.bi-star-half {
    color: rgba(42, 63, 84, 0.25);
}

/* Fiyat satırı */
.urun-karti-fiyat-row {
    display: contents;
}

/* Fiyat wrapper (eski + yeni fiyat birlikte) → grid "fiyat" alanı */
.urun-karti-fiyat-wrapper {
    grid-area: fiyat;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: nowrap;
    align-self: center;
    margin-bottom: 6px;
}

/* Tek fiyat (wrapper olmadan, doğrudan fiyat-row içinde) → grid "fiyat" alanı */
.urun-karti-fiyat-row > .urun-karti-fiyat {
    grid-area: fiyat;
    justify-self: end;
    align-self: center;
    margin-bottom: 6px;
}

.urun-karti-eski-fiyat {
    font-size: 9px;
    color: #999;
    text-decoration: line-through;
    line-height: 1.1;
    white-space: nowrap;
    flex-shrink: 0;
}

.urun-karti-fiyat {
    font-size: 14px;
    font-weight: 700;
    color: var(--badge-orange);
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.urun-sepet-btn {
    grid-area: btn;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--badge-orange);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 6px;
}

.urun-sepet-btn:hover {
    background: #e65c00;
}

.urun-sepet-btn i {
    font-size: 14px;
}

/* Minimum sipariş */
.urun-karti-min-siparis {
    grid-area: min;
    font-size: 11px;
    color: #888;
    margin: 0 0 8px 0;
}

/* Mağaza satırı */
.urun-karti-magaza-row {
    grid-area: magaza;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.urun-magaza-adi {
    font-size: 11.5px;
    font-weight: 600;
    color: #2a3f54;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.urun-magaza-adi:hover {
    color: #1a2f44;
    text-decoration: underline;
}

.urun-magaza-puan {
    display: flex;
    align-items: center;
    gap: 1px;
}

.urun-magaza-puan i {
    font-size: 10px;
}

.urun-magaza-puan i.bi-star-fill {
    color: var(--badge-orange);
}

.urun-magaza-puan i.bi-star,
.urun-magaza-puan i.bi-star-half {
    color: rgba(42, 63, 84, 0.25);
}

/* Stokta Olmayan Ürün */
.urun-stokta-yok {
    position: relative;
}

.urun-stokta-yok .urun-karti-image img {
    filter: grayscale(40%) brightness(0.9);
    opacity: 0.85;
}

.urun-stokta-yok .urun-karti-body {
    opacity: 0.7;
}

.urun-stokta-yok .urun-karti-baslik,
.urun-stokta-yok .urun-karti-fiyat,
.urun-stokta-yok .urun-karti-eski-fiyat,
.urun-stokta-yok .urun-magaza-adi {
    color: #6c757d;
}

.urun-stokta-yok .urun-fav-btn {
    background: #ced4da;
    opacity: 0.6;
}

.urun-stokta-yok .urun-fav-btn:hover {
    transform: none;
}

.urun-stokta-yok .urun-sepet-btn {
    background: #adb5bd;
    cursor: not-allowed;
    pointer-events: none;
}

.urun-stokta-yok .urun-sepet-btn:hover {
    background: #adb5bd;
}

.urun-stokta-yok .urun-karti-puan i.bi-star-fill {
    color: #adb5bd !important;
}

.urun-stokta-yok .urun-badge {
    background: #e9ecef;
    color: #6c757d;
}


/* ========================================
   MAĞAZA SLIDER SECTION
======================================== */
.magaza-slider-section {
    padding: 32px 0 44px;
    background: #f5f5f7;
}

.magaza-slider-section .container-fluid {
    max-width: 1100px;
    margin: 0 auto;
}

/* Slider Header */
.magaza-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.magaza-slider-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    margin: 0;
}

.magaza-slider-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #3b7ddd;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: color 0.2s ease;
}

.magaza-slider-all-link:hover {
    color: #1e5bb5;
}

/* Grid layout */
.magaza-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.magaza-grid-item {
    min-width: 0;
}

/* Link wrapper */
.magaza-slide-link {
    display: block;
    text-decoration: none;
}

/* Card */
.magaza-slide-card {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    background: #111;
}

/* Full-cover image */
.magaza-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition:
        transform 0.5s ease,
        opacity 0.35s ease;
}

.magaza-slide-card:hover .magaza-slide-img {
    transform: scale(1.07);
    opacity: 0.82;
}

/* Gradient overlay */
.magaza-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.22) 45%,
        rgba(0, 0, 0, 0) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 20px;
    pointer-events: none;
}

.magaza-slide-name {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 6px;
    display: block;
}

.magaza-slide-cta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transform: translateY(10px);
    opacity: 0;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.magaza-slide-card:hover .magaza-slide-cta {
    transform: translateY(0);
    opacity: 1;
}


/* Responsive */
@media (max-width: 768px) {
    .firsat-urunleri-section {
        padding: 20px 0 16px;
    }

    /* Tüm section container'larının sol/sağ boşluğunu azalt */
    .firsat-urunleri-section .container-fluid,
    .son-eklenen-urunleri-section .container-fluid,
    .live-streaming-section .container-fluid,
    .magaza-slider-section .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .firsat-urunleri-title {
        font-size: 18px;
    }

    .urun-karti {
        min-width: 200px;
        max-width: 200px;
    }

    .urun-karti-image {
        height: 320px;
    }

    .firsat-nav-btn {
        display: none;
    }

    .son-eklenen-urunleri-section {
        padding: 20px 0 16px;
    }

    .son-eklenen-urunleri-title {
        font-size: 18px;
    }

    .son-eklenen-urunleri-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .magaza-slider-section {
        padding: 22px 0 30px;
    }

    .magaza-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .magaza-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .magaza-slide-card {
        height: 175px;
    }

    .magaza-slider-title {
        font-size: 17px;
    }

    .magaza-slide-cta {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   STICKY NAVBAR WRAPPER
   ======================================== */
.navbar-sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Mobilde scroll ile navbar gizleme */
@media (max-width: 768px) {
    .navbar-sticky-wrapper.navbar-hidden {
        transform: translateY(-100%);
    }
}

/* ========================================
   1. ÜST BAR - Koyu Lacivert İnce Şerit
   ======================================== */
.navbar-top {
    background-color: var(--navbar-dark);
    height: var(--navbar-top-height);
    display: flex;
    align-items: center;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-top .row {
    margin: 0;
}

.navbar-top-left,
.navbar-top-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-link {
    color: var(--navbar-text-muted);
    text-decoration: none;
    font-size: 11.5px;
    padding: 2px 6px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.top-link:hover {
    color: var(--navbar-text-light);
}

.top-link.dropdown-toggle::after {
    margin-left: 4px;
    font-size: 9px;
    vertical-align: middle;
}

.top-separator {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 2px;
    font-size: 11px;
    user-select: none;
}

/* Dropdown Stil */
.navbar-top .dropdown-menu {
    background-color: var(--navbar-dark);
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 80px;
    border-radius: 4px;
    padding: 4px 0;
}

.navbar-top .dropdown-item {
    color: var(--navbar-text-muted);
    font-size: 12px;
    padding: 4px 14px;
}

.navbar-top .dropdown-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   2. ORTA BAR - Ana Navbar (Beyaz)
   ======================================== */
.navbar-middle {
    background-color: #ffffff;
    height: var(--navbar-middle-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.navbar-middle .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-middle .row {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.navbar-logo-col {
    padding-right: 20px;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
}

/* Arama Çubuğu */
.navbar-search-col {
    padding: 0 20px;
}

.navbar-search-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--navbar-search-bg);
    border-radius: 6px;
    overflow: hidden;
    height: 40px;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.navbar-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 16px;
    font-size: 13.5px;
    color: #555;
    background: transparent;
    height: 100%;
}

.navbar-search-input::placeholder {
    color: #999;
    font-size: 13px;
}

.navbar-search-btn {
    background-color: #f39c12;
    border: none;
    color: #fff;
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 16px;
}

.navbar-search-btn:hover {
    background-color: #e67e22;
}

/* Sağ Aksiyonlar */
.navbar-actions-col {
    padding-left: 20px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-action-link {
    color: #333333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 4px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
}

.navbar-action-link:hover {
    color: #222222;
    background-color: rgba(0, 0, 0, 0.05);
}

.navbar-action-link i {
    font-size: 18px;
}

.navbar-action-link.navbar-cart {
    position: relative;
}

.navbar-action-link.navbar-cart i {
    font-size: 20px;
}

/* Cart Counter Badge */
.cart-counter {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #ff6600;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Kayıt Ol Butonu (sağda) */
.navbar-auth-buttons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-account-btn {
    background-color: transparent;
    color: var(--navbar-dark);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid var(--navbar-dark);
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.navbar-account-btn:hover {
    background-color: rgba(42, 63, 84, 0.08);
    color: var(--navbar-dark);
}

.navbar-register-btn {
    background-color: var(--navbar-dark);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.navbar-register-btn:hover {
    background-color: var(--navbar-dark-hover);
    color: #ffffff;
}

.navbar-login-btn {
    background-color: #ff6600;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.navbar-login-btn:hover {
    background-color: #e65c00;
    color: #ffffff;
}

/* Hamburger Toggle (Mobil Menü Butonu) */
.navbar-toggle-col {
    display: none;
}

.navbar-mobile-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-search-btn {
    border: none;
    background: transparent;
    color: #111111;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}

.mobile-search-btn:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.mobile-search-btn:active {
    transform: scale(0.96);
}

.navbar-toggle-btn {
    border: none;
    background-color: transparent;
    color: #111111;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}

.navbar-toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.navbar-toggle-btn:active {
    transform: scale(0.96);
}

/* ========================================
   3. ALT BAR - Koyu Lacivert Kategori Menü
   ======================================== */
.navbar-bottom {
    background-color: var(--navbar-dark);
    min-height: var(--navbar-bottom-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
}

.navbar-bottom-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.navbar-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap; /* Sığmayanlar alt satıra geçsin, açılır menüleri bozmaz */
}

.navbar-categories li {
    flex-shrink: 0;
}

.navbar-categories li.has-dropdown {
    position: relative;
}

.category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    padding: 16px 18px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.has-dropdown:hover > .category-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.category-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.category-dropdown-link {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #555;
    font-size: 13.5px;
}

.category-link {
    color: var(--navbar-text-light);
    text-decoration: none;
    font-size: 12.5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-weight: 500;
}

.category-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.has-mega-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* navbar-bottom relative olduğu için %100 burayı kaplar */
    background: #fff;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Eğer navbar-bottom tam genişlikte değilse, onu da zorlayalım */
.navbar-bottom {
    position: relative; /* Mega menu buna göre hizalanacak */
    width: 100%;
}

.mega-dropdown-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
}

.mega-body {
    display: flex;
    min-height: 450px;
    max-height: 600px;
    width: 100%;
}

.mega-right {
    flex: 1;
    padding: 20px 40px;
    overflow-y: auto;
}

.mega-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
    border-bottom: 2px solid #eef0f4;
    padding: 0 8px;
    background: #fafbfc;
    white-space: nowrap;
}

.mega-tabs::-webkit-scrollbar {
    display: none;
}

.mega-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.mega-tab:hover {
    color: #1a1a2e;
}

.mega-tab.active {
    color: #ff6000;
}

.mega-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff6000;
    border-radius: 2px 2px 0 0;
}

/* Body: sidebar + right */
.mega-body {
    display: flex;
    min-height: 400px;
    max-height: 480px;
}

/* Sol Sidebar */
.mega-tab-pane {
    display: none;
    width: 100%;
}

.mega-tab-pane.active {
    display: flex;
}

.mega-sidebar {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    width: 160px;
    min-width: 160px;
    background: #f8f9fb;
    border-right: 1px solid #eaedf2;
    border-radius: 0 0 0 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mega-sidebar-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 10px 16px;
    font-size: 12.5px;
    font-weight: 500;
    color: #3d4654;
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.mega-sidebar-btn:hover {
    background: #fff;
    color: #1a1a2e;
    border-left-color: #ff6000;
}

.mega-sidebar-btn.active {
    background: #fff;
    color: #ff6000;
    font-weight: 600;
    border-left-color: #ff6000;
}

/* Sağ İçerik Paneli */
.mega-right {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
    position: relative;
}

.mega-grid {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.mega-grid.active {
    display: grid;
    animation: megaFadeIn 0.15s ease;
}

@keyframes megaFadeIn {
    from { opacity: 0; transform: translateX(4px); }
    to { opacity: 1; transform: translateX(0); }
}

.mega-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 8px 4px;
    border-radius: 8px;
    transition: all 0.18s ease;
    text-align: center;
}

.mega-card:hover {
    background: #f3f4f8;
    transform: translateY(-2px);
}

.mega-card img {
    width: 72px;
    height: 90px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 6px;
    transition: box-shadow 0.15s;
}

.mega-card:hover img {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mega-card span {
    font-size: 11px;
    font-weight: 500;
    color: #3d4654;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-card:hover span {
    color: #1a1a2e;
}

/* ========================================
   Mobil Sol Menu - Trendyol Tarzi
   ======================================== */

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
    z-index: 1040;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 88%;
    max-width: 430px;
    height: 100vh;
    background: #fff;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.18);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.mobile-menu-open {
    overflow: hidden;
}
body.mobile-menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
body.mobile-menu-open .mobile-menu-panel {
    transform: translateX(0);
}

/* ── Header ── */
.mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mm-logo {
    height: 56px;
    object-fit: contain;
    max-width: 130px;
}
.mm-close {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    padding: 4px;
    display: flex;
    align-items: center;
    line-height: 1;
}

/* ── Tabs ── */
.mm-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.mm-tabs::-webkit-scrollbar {
    display: none;
}
.mm-tab {
    flex-shrink: 0;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition:
        color 0.15s,
        border-color 0.15s;
}
.mm-tab.active {
    color: #f27a1a;
    border-bottom-color: #f27a1a;
    font-weight: 700;
}
.mm-tab:hover:not(.active) {
    color: #333;
}

/* ── Content ── */
.mm-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.mm-tab-pane {
    display: none;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}
.mm-tab-pane.active {
    display: flex;
    flex-direction: column;
}

/* ── Split Layout ── */
.mm-split-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* ── Left Sidebar ── */
.mm-left-sidebar {
    width: 96px;
    background: #f8f8f8;
    border-right: 1px solid #ebebeb;
    overflow-y: auto;
    flex-shrink: 0;
}
.mm-left-sidebar::-webkit-scrollbar {
    width: 0;
}
.mm-sidebar-btn {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 14px 10px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
    border-left: 3px solid transparent;
    line-height: 1.4;
    transition:
        background 0.15s,
        color 0.15s;
}
.mm-sidebar-btn:hover {
    background: #efefef;
}
.mm-sidebar-btn.active {
    background: #fff;
    color: #f27a1a;
    border-left-color: #f27a1a;
    font-weight: 600;
}

/* ── Right Grid Area ── */
.mm-right-area {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    min-width: 0;
}
.mm-right-area::-webkit-scrollbar {
    width: 3px;
}
.mm-right-area::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.mm-cat-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    align-content: start;
}
.mm-cat-grid.active {
    display: grid;
}

.mm-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    padding: 2px;
}
.mm-cat-card:hover .mm-cat-img {
    border-color: #f27a1a;
}

.mm-cat-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f9f9f9;
}
.mm-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mm-cat-img-quad {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    border: 1px solid #eee;
    background: #f0f0f0;
}
.mm-cat-img-quad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mm-cat-card span {
    font-size: 10.5px;
    color: #333;
    text-align: center;
    line-height: 1.2;
    word-break: keep-all;
}

/* ── Footer Links ── */
.mm-footer {
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fff;
}
.mm-footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    text-decoration: none;
    color: #333;
    font-size: 13.5px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}
.mm-footer-item:hover {
    background: #fafafa;
}
.mm-footer-item > i:first-child {
    font-size: 17px;
    color: #555;
    flex-shrink: 0;
}
.mm-footer-item .ms-auto {
    margin-left: auto;
    font-size: 12px;
    color: #bbb;
}
.mm-country-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #444;
}
.mm-footer-country .ms-auto {
    margin-left: 6px;
}

/* ── Footer Auth (Two Buttons) ── */
.mm-footer-auth {
    display: flex;
    padding: 0;
    gap: 0;
}
.mm-footer-auth:hover {
    background: transparent;
}
.mm-footer-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}
.mm-footer-btn:hover {
    background: #f8f8f8;
}
.mm-footer-btn-left {
    border-right: 1px solid #eee;
}
.mm-footer-btn i {
    font-size: 16px;
    color: #555;
}

/* ========================================
   RESPONSIVE AYARLAR
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .navbar-search-col {
        padding: 0 10px;
    }

    .navbar-action-link span {
        display: none;
    }

    .navbar-action-link {
        padding: 6px 8px;
    }

    .navbar-actions {
        gap: 2px;
    }

    .category-link {
        font-size: 11.5px;
        padding: 8px 8px;
    }
}

/* Mobil */
@media (max-width: 768px) {
    /* Üst bar mobilde kesilmesin */
    .navbar-top {
        height: auto;
        padding: 4px 0;
    }

    .navbar-top .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .navbar-top-left,
    .navbar-top-right {
        flex-wrap: wrap;
        gap: 2px;
    }

    .navbar-top-right > a.top-link,
    .navbar-top-right > .top-separator:last-of-type {
        display: none;
    }

    .navbar-middle {
        height: auto;
        padding: 10px 0;
    }

    .navbar-middle .row {
        margin: 0;
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .navbar-logo-col {
        padding-right: 0;
    }

    .navbar-brand-custom {
        justify-content: flex-start;
    }

    .navbar-search-col {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        padding: 12px;
        background: #ffffff;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-16px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .navbar-search-wrapper {
        max-width: 100%;
        margin: 0 auto;
        height: 46px;
    }

    body.mobile-search-open .navbar-search-col {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    }

    .mobile-search-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
        z-index: 1990;
    }

    body.mobile-search-open .mobile-search-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navbar-actions-col {
        display: none;
        padding-left: 0;
    }

    .navbar-actions {
        justify-content: flex-end;
    }

    .navbar-logo {
        height: 56px;
    }

    .navbar-toggle-col {
        display: block;
        margin-top: 0;
        justify-self: end;
    }

    .navbar-bottom {
        display: none;
    }
}

/* ========================================
   LIVE STREAMING SECTION
   ======================================== */

/* ========================================
   LIVE STREAMING — YENİ MODERN TASARIM
   ======================================== */

.live-streaming-section {
    padding: 36px 0 44px;
    background: linear-gradient(160deg, #ffffff 0%, #f0f5fb 55%, #e8f0f8 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e4eaf0;
    border-bottom: 1px solid #e4eaf0;
}

/* Subtle top accent line */
.live-streaming-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2a3f54 0%, #3b7ddd 50%, #e67e22 100%);
    pointer-events: none;
}

.live-streaming-section > .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
    z-index: 1;
}

/* ── Section Header ── */
.live-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.live-section-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Animated CANLI badge */
.live-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e63946;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 6px 14px 6px 10px;
    border-radius: 6px;
    position: relative;
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.6);
    animation: live-glow-pulse 2s ease-in-out infinite;
    text-transform: uppercase;
    user-select: none;
}

@keyframes live-glow-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(230, 57, 70, 0);
    }
}

/* Pulsing dot inside badge */
.live-pulse-ring {
    position: absolute;
    left: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    animation: ring-expand 1.4s ease-out infinite;
}

.live-pulse-dot-core {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

@keyframes ring-expand {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.live-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #2a3f54;
    margin: 0;
    letter-spacing: -0.3px;
}

.live-total-viewers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #d0dde8;
    color: #4a6076;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(42, 63, 84, 0.07);
}

.live-total-viewers i {
    color: #e67e22;
    font-size: 13px;
}

.live-see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 2px solid #2a3f54;
    color: #2a3f54;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.22s ease;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(42, 63, 84, 0.08);
}

.live-see-all-btn:hover {
    background: #2a3f54;
    border-color: #2a3f54;
    color: #ffffff;
}

.live-see-all-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.live-see-all-btn:hover i {
    transform: translateX(3px);
}

/* ── Scroll Area ── */
.live-scroll-area {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-cards-track {
    display: flex;
    gap: 14px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    flex: 1;
}

.live-cards-track:active {
    cursor: grabbing;
}

.live-cards-track.dragging {
    cursor: grabbing;
}

.live-cards-track::-webkit-scrollbar {
    display: none;
}

.live-cards-track:hover .live-cards-inner {
    animation-play-state: paused;
}

.live-cards-track.dragging .live-cards-inner {
    animation: none;
}

.live-cards-inner {
    display: flex;
    gap: 14px;
    animation: lc-marquee 28s linear infinite;
    will-change: transform;
}

@keyframes lc-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Scroll Arrow Buttons ── */
.live-scroll-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #d0dde8;
    color: #2a3f54;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(42, 63, 84, 0.1);
}

.live-scroll-arrow:hover {
    background: #2a3f54;
    border-color: #2a3f54;
    color: #ffffff;
    transform: scale(1.08);
}

.live-scroll-arrow i {
    font-size: 17px;
}

/* ── Live Card (lc) ── */
.lc {
    flex: 0 0 200px;
    width: 200px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #1e2d3d;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    cursor: pointer;
}

.lc:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Card thumbnail – full-height image with overlays */
.lc-thumb {
    position: relative;
    width: 100%;
    height: 290px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border-radius: 0;
}

/* Dark gradient at top (for badge readability) */
.lc-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        transparent 38%,
        transparent 55%,
        rgba(0, 0, 0, 0.82) 100%
    );
    border-radius: 0;
    pointer-events: none;
    z-index: 1;
}

/* ── Top bar: CANLI badge + viewers ── */
.lc-top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.lc-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e63946;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 9px;
    border-radius: 5px;
    text-transform: uppercase;
}

.lc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    animation: lc-dot-blink 1.2s ease-in-out infinite;
}

@keyframes lc-dot-blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.25;
    }
}

.lc-viewers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 5px;
}

.lc-viewers i {
    font-size: 10px;
    color: #e67e22;
}

/* ── Favourite button ── */
.lc-fav {
    position: absolute;
    top: 52px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.lc-fav:hover {
    background: #e63946;
    border-color: #e63946;
}

.lc-fav i {
    font-size: 14px;
}

/* ── Bottom overlay: stats + product info ── */
.lc-bottom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lc-stats {
    display: flex;
    gap: 8px;
}

.lc-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 600;
}

.lc-stats i {
    font-size: 10px;
}

.lc-stats .bi-heart-fill {
    color: #e63946;
}

.lc-stats .bi-chat-fill {
    color: #4db8ff;
}

.lc-product-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
}

.lc-product-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.lc-product-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.lc-product-pack {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    display: block;
}

.lc-seller {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 2px 7px;
    width: fit-content;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

.lc-seller i {
    font-size: 9px;
    flex-shrink: 0;
    color: #f9c74f;
}

.lc-price {
    font-size: 15px;
    font-weight: 800;
    color: #f9c74f;
    flex-shrink: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* ── Watch Button ── */
.lc-watch-btn {
    width: 100%;
    padding: 11px 10px;
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.3px;
    transition:
        background 0.22s ease,
        letter-spacing 0.18s ease;
}

.lc-watch-btn i {
    font-size: 15px;
}

.lc-watch-btn:hover {
    background: linear-gradient(135deg, #cf6d17 0%, #e67e22 100%);
    letter-spacing: 0.6px;
}

/* ── Footer nav dots ── */
.live-section-footer {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.live-nav-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.live-dot-nav {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c5d0dc;
    transition: all 0.25s ease;
    cursor: pointer;
}

.live-dot-nav.active {
    background: #2a3f54;
    width: 22px;
    border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .live-streaming-section > .container-fluid {
        padding-left: 24px;
        padding-right: 24px;
    }

    .live-section-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .live-streaming-section {
        padding: 24px 0 30px;
    }

    .live-streaming-section > .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .live-section-title {
        font-size: 16px;
    }

    .live-total-viewers {
        display: none;
    }

    .live-scroll-arrow {
        display: none;
    }

    .lc {
        flex: 0 0 165px;
        width: 165px;
    }

    .lc-thumb {
        height: 240px;
    }
}

/* ========================================
   MOBILE BOTTOM NAVIGATION BAR
   ======================================== */

.mobile-bottom-nav {
    display: none;
}

/* Modal veya offcanvas açıkken mobile bottom nav'ı gizle */
body.modal-open .mobile-bottom-nav,
body.offcanvas-open .mobile-bottom-nav {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #ffffff;
        border-top: 1px solid #e8e8e8;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
        padding: 6px 0 env(safe-area-inset-bottom, 6px);
        justify-content: space-around;
        align-items: center;
    }

    .mobile-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #888;
        font-size: 10px;
        font-weight: 500;
        gap: 2px;
        flex: 1;
        padding: 4px 0;
        transition: color 0.2s ease;
        position: relative;
    }

    .mobile-bottom-nav-item i {
        font-size: 22px;
        line-height: 1;
    }

    .mobile-bottom-nav-item span {
        line-height: 1.2;
    }

    .mobile-bottom-nav-item.active {
        color: #2a2a2a;
    }

    .mobile-bottom-nav-item.active i {
        font-weight: 700;
    }

    /* Video tab - special red icon */
    .mobile-bottom-nav-video {
        color: #888;
    }

    .mobile-video-icon {
        width: 38px;
        height: 28px;
        background: linear-gradient(135deg, #dc3545, #ff6b6b);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-video-icon i {
        font-size: 18px;
        color: #ffffff;
    }

    .mobile-bottom-nav-video.active .mobile-video-icon {
        background: linear-gradient(135deg, #c82333, #dc3545);
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    }

    /* Sepet badge */
    .mobile-bottom-nav-badge {
        position: relative;
    }

    .mobile-bottom-nav-badge::after {
        content: attr(data-count);
        position: absolute;
        top: -18px;
        right: -14px;
        background: #dc3545;
        color: #ffffff;
        font-size: 9px;
        font-weight: 700;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    /* Body bottom padding to prevent content hiding behind nav */
    body {
        padding-bottom: 70px;
    }

    .sticky-yardim-btn {
         bottom: 90px !important;
    }
}

/* Sticky Yardım & Destek Butonu */
.sticky-yardim-btn {
    position: fixed;
    bottom: 30px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.sticky-yardim-btn:hover {
    background: linear-gradient(135deg, #d35400, #c0392b);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(230, 126, 34, 0.5);
}

.sticky-yardim-btn i {
    font-size: 20px;
}

.sticky-yardim-text {
    display: inline;
}

@media (max-width: 768px) {
    .sticky-yardim-btn {
        padding: 12px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }

    .sticky-yardim-text {
        display: none;
    }

    .sticky-yardim-btn i {
        font-size: 22px;
        margin: 0;
    }
}
