    :root {
        --primary-color: #ff6000;
        --primary-hover: #e05600;
        --secondary-color: #8e44ad;
        --secondary-hover: #703688;
        --dark-bg: #1b1b1b;
        --light-bg: #f8f8f8;
        --text-color: #333;
        --text-light: #a8a8a8;
        --white: #ffffff;
        --border-radius: 8px;
        --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* Main CSS File */
    @media screen and (max-device-width: 480px) and (orientation: portrait) {
        #toast-container>div {
            padding: 8px 8px 8px 50px;
            width: 100% !important;
        }
    }

    .top-image {
        width: 100% !important;
    }

    /* From temaheader.php */

    /* 1. GENEL AYARLAR */
    body {
        font-family: 'Poppins', sans-serif;
    }

    .header-wrapper {
        background: #fff;
        margin-bottom: 0px;
    }

    /* 2. TURUNCU ÜST BAR */
    .top-orange-bar {
        background-color: var(--primary-color);
        color: #fff;
        padding: 8px 0;
        font-size: 13px;
        font-weight: 500;
    }

    .top-orange-bar a {
        color: #fff;
        margin-left: 15px;
        text-decoration: none;
    }

    .top-orange-bar a:hover {
        text-decoration: underline;
    }

    /* 3. ORTA HEADER */
    .mid-header {
        padding: 20px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        flex-wrap: nowrap;
    }

    /* Logo Alanı */
    .logo-area {
        margin-right: 0;
    }

    /* Arama Çubuğu */
    .header-search-area {
        flex-grow: 1;
        margin: 0 30px;
        position: relative;
        max-width: 600px;
    }

    .custom-search-form {
        display: flex;
        width: 100%;
        border: 2px solid var(--primary-color);
        border-radius: 4px;
        overflow: hidden;
    }

    .custom-search-form input {
        width: 100%;
        border: none;
        padding: 10px 15px;
        font-size: 14px;
        outline: none;
    }

    .custom-search-form button {
        background: var(--primary-color);
        color: #fff;
        border: none;
        padding: 0 25px;
        font-size: 18px;
        cursor: pointer;
        transition: 0.3s;
        white-space: nowrap;
    }

    .custom-search-form button:hover {
        background: #e65500;
    }

    /* --- 4. SAĞ TARAF BUTONLARI (GLOBAL AYARLAR) --- */
    #custom-header-buttons {
        display: flex;
        gap: 15px;
        align-items: center;
        flex-shrink: 0;
        margin-left: auto;
    }

    /* 5. MENÜ ÇUBUĞU */
    .main-menu-wrap {
        background: #f8f8f8;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .main-menu>li>a {
        color: #333;
        font-weight: 600;
        padding: 12px 15px;
        display: block;
    }

    .main-menu>li>a:hover {
        color: var(--primary-color);
    }

    /* --- MOBİL KATEGORİ CSS --- */
    .mobile-cat-nav {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 12px 15px;
        background: #fff;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-bottom: 1px solid #eee;
    }

    .mobile-cat-nav::-webkit-scrollbar {
        display: none;
    }

    .mobile-cat-item {
        display: inline-block;
        padding: 8px 16px;
        background: #f1f3f5;
        border-radius: 20px;
        font-size: 13px;
        color: #333 !important;
        text-decoration: none !important;
        font-weight: 500;
        transition: all 0.2s;
        border: 1px solid #eee;
    }

    .mobile-cat-item:hover,
    .mobile-cat-item:active {
        background: var(--primary-color);
        color: #fff !important;
        border-color: var(--primary-color);
    }

    /* 6. ALT BİLGİ ŞERİDİ */
    .info-marquee-bar {
        background: linear-gradient(90deg, #8E2DE2 0%, #4A00E0 100%);
        color: #fff;
        padding: 10px 0;
        font-size: 13px;
        font-weight: bold;
        text-transform: uppercase;
        white-space: nowrap;
        overflow: hidden;
    }

    .marquee-content {
        display: inline-block;
        padding-left: 100%;
        animation: marquee 25s linear infinite;
    }

    @keyframes marquee {
        0% {
            transform: translate(0, 0);
        }

        100% {
            transform: translate(-100%, 0);
        }
    }

    /* Mobil Uyumluluk */
    @media (max-width: 1200px) {
        #custom-header-buttons .btn-custom-inline span {
            display: none;
        }

        #custom-header-buttons .btn-custom-inline {
            padding: 10px;
        }
    }

    @media (max-width: 991px) {
        .mid-header {
            flex-direction: column;
            gap: 15px;
        }

        .header-search-area {
            width: 100%;
            margin: 10px 0;
            max-width: 100%;
        }

        #custom-header-buttons {
            width: 100%;
            justify-content: center;
            margin-left: 0;
        }

        .top-orange-bar {
            text-align: center;
        }

        #custom-header-buttons .btn-custom-inline span {
            display: inline;
        }
    }

    /* Tema Ekstraları */
    .result {
        display: none;
    }

    @media screen and (max-device-width: 480px) and (orientation: portrait) {
        .result {
            display: none !important;
        }
    }

    /* --- MEGA MENÜNÜN ANASAYFADA KESİLMESİ DÜZELTİLDİ --- */

    /* Header ve menüyü en üst katmana çıkar */
    .header-wrapper,
    #header {
        position: relative !important;
        z-index: 9999 !important;
    }

    /* Mega menü popup'ını en öne al */
    .main-menu .popup,
    .menu-item-has-children .popup {
        position: absolute !important;
        z-index: 10000 !important;
    }

    /* Anasayfada menüyü kesen blokları geri plana al */
    .home .marquee-bar,
    .home .story-wrapper,
    .home #slider-container {
        position: relative !important;
        z-index: 1 !important;
    }

    /* Slider’ın overflow-hidden özelliği menüyü kesmesin */
    .home #slider-container {
        overflow: visible !important;
    }

    /* Extracted Button Styles from PHP */
    .btn-custom-inline {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 10px 18px !important;
        border-radius: 5px !important;
        text-decoration: none !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        transition: all 0.2s ease-in-out !important;
        white-space: nowrap !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
        line-height: 1.2 !important;
        border: none !important;
    }

    .btn-custom-inline i,
    .btn-custom-inline span {
        color: #ffffff !important;
    }

    .btn-gray {
        background-color: #7f8c8d !important;
        color: #ffffff !important;
    }

    .btn-gray:hover {
        background-color: #5c6667 !important;
    }

    .btn-purple {
        background-color: var(--secondary-color) !important;
        color: #ffffff !important;
    }

    .btn-purple:hover {
        background-color: #703688 !important;
    }

    .btn-orange {
        background-color: var(--primary-color) !important;
        color: #ffffff !important;
    }

    .btn-orange:hover {
        background-color: var(--primary-hover) !important;
    }

    /* From temafooter.php */

    /* --- 1. GENEL FOOTER TASARIMI (DESKTOP) --- */
    .footer-wrapper {
        background-color: #1b1b1b;
        color: #a8a8a8;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        line-height: 24px;
        padding-bottom: 0px;
        /* Mobilde alt bar için boşluk */
    }

    .site-footer {
        padding-top: 60px;
        padding-bottom: 20px;
        border-top: 3px solid var(--primary-color);
        /* Turuncu Çizgi */
    }

    .footer-widget-title {
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
        letter-spacing: 0.5px;
    }

    .footer-widget-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px;
    }

    /* Linkler */
    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #a8a8a8;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
    }

    .footer-links a:hover {
        color: #fff;
        padding-left: 5px;
    }

    .footer-links a::before {
        content: '\f105';
        /* FontAwesome ok ikonu */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-right: 8px;
        color: var(--primary-color);
        font-size: 12px;
        transition: 0.3s;
    }

    /* İletişim Bilgileri */
    .contact-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 18px;
        color: #cfcfcf;
    }

    .contact-item i {
        color: var(--primary-color);
        font-size: 18px;
        margin-right: 15px;
        margin-top: 4px;
        min-width: 20px;
        text-align: center;
    }

    /* Sosyal Medya */
    .footer-social {
        margin-top: 25px;
    }

    .footer-social a {
        display: inline-flex;
        width: 40px;
        height: 40px;
        background: #2a2a2a;
        color: #fff;
        border-radius: 5px;
        align-items: center;
        justify-content: center;
        margin-right: 8px;
        transition: 0.3s;
        text-decoration: none;
        border: 1px solid #333;
    }

    .footer-social a:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

    /* Bülten Kutusu */
    .newsletter-box {
        background: #252525;
        padding: 20px;
        border-radius: 8px;
        margin-top: 10px;
    }

    .newsletter-form input {
        background: #fff;
        border: none;
        color: #333;
        padding: 12px 15px;
        border-radius: 4px;
        width: 100%;
        margin-bottom: 10px;
        font-size: 13px;
    }

    .newsletter-form button {
        background: var(--primary-color);
        color: #fff;
        border: none;
        padding: 12px 20px;
        border-radius: 4px;
        width: 100%;
        font-weight: 700;
        cursor: pointer;
        transition: 0.3s;
        text-transform: uppercase;
        font-size: 13px;
    }

    .newsletter-form button:hover {
        background: #e65500;
    }

    /* Alt Telif Alanı */
    .footer-bottom {
        background-color: #111;
        padding: 30px 0;
        text-align: center; /* Yazıları merkeze alır */
        display: flex;
        justify-content: center; /* Flexbox ile tam ortalar */
        flex-direction: column; /* Üst üste binmeleri engeller */
    }

    /* --- 2. MOBİL UYUMLULUK (RESPONSIVE) --- */
    @media (max-width: 991px) {

        /* Genel Mobil Ayarlar */
        .site-footer {
            padding-top: 40px;
            text-align: center;
            /* Mobilde ortala */
            padding-bottom: 80px;
            /* Alt barın arkasında kalmasın */
        }

        .footer-widget-title::after {
            left: 50%;
            transform: translateX(-50%);
            /* Çizgiyi ortala */
        }

        .footer-links a {
            justify-content: center;
            /* Linkleri ortala */
        }

        .contact-item {
            justify-content: center;
            /* İletişimi ortala */
        }

        .col-lg-3 {
            margin-bottom: 40px;
            /* Sütunlar arası boşluk */
        }

        /* Mobilde Whatsapp Butonu */
        .whatsapp-float {
            bottom: 120px !important;
            /* Alt barın 2-3 cm üstünde */
            left: 15px !important;
            width: 55px;
            height: 55px;
            border-radius: 50%;
            padding: 0;
            justify-content: center;
        }

        .whatsapp-float span {
            display: none;
        }

        /* Yazıyı gizle */
        .whatsapp-float i {
            font-size: 30px;
            margin: 0;
        }
    }

    /* --- 3. MOBİL ALT BAR (APP GÖRÜNÜMÜ) --- */
    .mobile-bottom-nav {
        display: none;
        /* Masaüstünde gizle */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        justify-content: space-between;
        padding: 10px 20px;
        border-top: 1px solid #f1f1f1;
    }

    @media (max-width: 991px) {
        .mobile-bottom-nav {
            display: flex;
        }
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #888;
        text-decoration: none !important;
        font-size: 10px;
        font-weight: 500;
        transition: 0.3s;
    }

    .mobile-nav-item i {
        font-size: 20px;
        margin-bottom: 4px;
        color: #555;
        transition: 0.3s;
    }

    /* Aktif veya Hover Durumu */
    .mobile-nav-item.active i,
    .mobile-nav-item:hover i {
        color: var(--primary-color);
        transform: translateY(-3px);
    }

    .mobile-nav-item.active span,
    .mobile-nav-item:hover span {
        color: var(--primary-color);
    }

    /* Orta Sepet Butonu (Özel Tasarım) */
    .mobile-nav-item.cart-item {
        position: relative;
        top: -25px;
        /* Yukarı kaldır */
    }

    .mobile-nav-item.cart-item .cart-circle {
        background: var(--primary-color);
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 15px rgba(255, 96, 0, 0.4);
        border: 4px solid #fff;
        position: relative;
    }

    .mobile-nav-item.cart-item i {
        color: #fff;
        font-size: 22px;
        margin-bottom: 0;
    }

    .mobile-nav-item.cart-item span {
        margin-top: 5px;
        font-weight: 700;
    }

    /* Mobil sepet butonundaki badge */
    .mobile-nav-item.cart-item .cart-circle .cart-badge-mobile {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #ff0000;
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        min-width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        border: 2px solid #fff;
        z-index: 10;
        padding: 0 3px;
        line-height: 1;
    }

    .mobile-nav-item.cart-item .cart-circle .cart-badge-mobile:empty {
        display: none;
    }

    /* --- 4. WHATSAPP BUTONU --- */
    .whatsapp-float {
        position: fixed;
        bottom: 30px;
        left: 30px;
        background: #25d366;
        color: #fff;
        border-radius: 50px;
        padding: 12px 25px;
        font-size: 15px;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        z-index: 999;
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none !important;
        transition: 0.3s;
        animation: pulse-green 2s infinite;
    }

    .whatsapp-float:hover {
        background: #128c7e;
        color: #fff;
        transform: scale(1.05);
    }

    .whatsapp-float i {
        font-size: 24px;
    }

    @keyframes pulse-green {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        }

        70% {
            transform: scale(1.05);
            box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        }
    }

    /* --- GLOBAL YENİLEME (WEB 3.0 MODERN STİL) --- */
    body {
        background-color: var(--light-bg);
    }

    /* Glassmorphism Etkileri */
    .header-wrapper,
    .mid-header,
    .mobile-bottom-nav,
    .site-footer {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Kartlar ve Bloklar */
    .product-card,
    .category-card,
    .widget {
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .product-card:hover,
    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    /* Modern Inputlar */
    input,
    select,
    textarea {
        border: 2px solid #eee;
        border-radius: var(--border-radius);
        padding: 12px;
        transition: all 0.3s ease;
        width: 100%;
    }

    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(255, 96, 0, 0.1);
        outline: none;
    }

    /* Yumuşak Butonlar */
    .btn {
        border-radius: var(--border-radius);
        padding: 10px 20px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-primary {
        background: var(--primary-color);
        color: #fff;
        border: none;
    }

    .btn-primary:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 96, 0, 0.3);
    }

    /* Footer Modernizasyonu */
    .site-footer {
        border-top: none;
        background: #111;
    }

    .footer-widget-title {
        font-size: 18px;
        margin-bottom: 30px;
        color: #fff;
    }

    .footer-widget-title::after {
        width: 50px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }

    /* Mobil Alt Bar İyileştirmesi */
    .mobile-bottom-nav {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    }

    /* --- GLOBAL YENİLEME (WEB 3.0 MODERN STİL) --- */
    body {
        background-color: var(--light-bg);
    }

    /* Glassmorphism Etkileri */
    .header-wrapper,
    .mid-header,
    .mobile-bottom-nav,
    .site-footer {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Kartlar ve Bloklar */
    .product-card,
    .category-card,
    .widget {
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .product-card:hover,
    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    /* Modern Inputlar */
    input,
    select,
    textarea {
        border: 2px solid #eee;
        border-radius: var(--border-radius);
        padding: 12px;
        transition: all 0.3s ease;
        width: 100%;
    }

    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(255, 96, 0, 0.1);
        outline: none;
    }

    /* Yumuşak Butonlar */
    .btn {
        border-radius: var(--border-radius);
        padding: 10px 20px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-primary {
        background: var(--primary-color);
        color: #fff;
        border: none;
    }

    .btn-primary:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 96, 0, 0.3);
    }

    /* Footer Modernizasyonu */
    .site-footer {
        border-top: none;
        background: #111;
    }

    .footer-widget-title {
        font-size: 18px;
        margin-bottom: 30px;
        color: #fff;
    }

    .footer-widget-title::after {
        width: 50px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }

    /* Mobil Alt Bar İyileştirmesi */
    .mobile-bottom-nav {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    }

    /* From temahome.php */

    /* Header Butonları İçin Kesin Çözüm */
    body.home #custom-header-buttons .btn-custom-inline,
    body.home #custom-header-buttons a.btn-action-structure {
        color: #fff;
        opacity: 1;
        text-decoration: none;
        border: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 18px;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        transition: all 0.2s ease-in-out;
    }

    /* İkonlar ve Yazılar İçin Kesin Renk */
    body.home #custom-header-buttons .btn-custom-inline i,
    body.home #custom-header-buttons .btn-custom-inline span,
    body.home #custom-header-buttons a.btn-action-structure i,
    body.home #custom-header-buttons a.btn-action-structure span {
        color: #fff;
    }

    /* Hover (Mouse Üzerine Gelince) Durumları */
    body.home #custom-header-buttons .btn-custom-inline:hover,
    body.home #custom-header-buttons a.btn-action-structure:hover {
        color: #fff;
        opacity: 1;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Arkaplan Renkleri - Anasayfa Özel */
    /* Gri Buton (Giriş/Hesabım) */
    body.home #custom-header-buttons a[href*="hesabim"],
    body.home #custom-header-buttons a[href*="uyeol"] {
        background-color: #7f8c8d;
    }

    body.home #custom-header-buttons a[href*="hesabim"]:hover,
    body.home #custom-header-buttons a[href*="uyeol"]:hover {
        background-color: #5c6667;
    }

    /* Mor Buton (Favoriler) */
    body.home #custom-header-buttons a[href*="favorilerim"] {
        background-color: var(--secondary-color);
    }

    body.home #custom-header-buttons a[href*="favorilerim"]:hover {
        background-color: var(--secondary-hover);
    }

    /* Turuncu Buton (Sepet) */
    body.home #custom-header-buttons a[href*="sepet"] {
        background-color: var(--primary-color);
    }

    body.home #custom-header-buttons a[href*="sepet"]:hover {
        background-color: var(--primary-hover);
    }

    /* 1. KAYAN YAZI (MARQUEE) CSS */
    .marquee-bar {
        background: #111;
        color: #fff;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        padding: 8px 0;
        font-size: 13px;
        font-weight: 600;
        font-family: sans-serif;
        border-bottom: 1px solid #333;
        position: relative;
        z-index: 20;
    }

    .marquee-content {
        display: inline-block;
        padding-left: 100%;
        animation: scroll-left 25s linear infinite;
    }

    @keyframes scroll-left {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }

    /* 2. HİKAYE MODÜLÜ CSS */
    .story-wrapper {
        display: none;
    }
    .story-wrapper.ps-story-wrapper {
        background: #fff;
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
        padding: 15px 0 10px 0;
        margin-bottom: 15px;
        display: block;
        position: relative;
        z-index: 10;
    }

    .story-container {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 0 15px;
        max-width: 1200px;
        margin: 0 auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .story-container::-webkit-scrollbar {
        display: none;
    }

    .story-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none !important;
        min-width: 80px;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .story-item:hover {
        transform: translateY(-3px);
    }

    .story-circle {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        /* Flexbox içinde ezilmemesi için */
        max-width: 70px !important;
        border-radius: 50%;
        padding: 2px;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        margin: 0 auto 6px auto !important;
        /* Ortala */
        flex-shrink: 0 !important;
    }

    .story-item:nth-child(odd) .story-circle {
        background: linear-gradient(45deg, #FF512F 0%, #DD2476 100%);
    }

    .story-item:nth-child(even) .story-circle {
        background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    }

    .story-img {
        width: 66px !important;
        /* 70px - 4px padding payı */
        height: 66px !important;
        min-width: 66px !important;
        max-width: 66px !important;
        border-radius: 50% !important;
        border: 2px solid #fff !important;
        object-fit: cover !important;
        background-color: #fff;
        display: block !important;
    }

    .story-title {
        font-size: 11px;
        color: #333;
        text-align: center;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
        font-family: sans-serif;
        line-height: 1.2;
    }

    /* 3. SLIDER (BANNER) KÜÇÜLTME CSS */
    #slider-container {
        overflow: hidden;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto 20px auto;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    #slider {
        display: flex;
        transition: transform 0.5s ease-in-out;
        height: 100%;
    }

    .slide {
        min-width: 100%;
        height: auto;
    }

    .slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: top center;
    }

    /* Mobilde banner daha küçük olsun */
    @media (max-width: 768px) {
        #slider-container {
            height: auto;
            /* Mobilde yükseklik */
            border-radius: 0;
        }

        .marquee-bar {
            font-size: 11px;
        }
    }

    /* --- Anasayfa Özel Düzeltmeler (Elementor Reset) --- */
    /* Elementor'un varsayılan padding ve marginlerini sıfırlayarak kontrolü ele alıyoruz */
    .elementor-section.elementor-section-boxed>.elementor-container {
        max-width: 1200px !important;
        margin: 0 auto !important;
    }

    /* Ürün Grid Yapısı Düzeltme */
    .products.grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        /* Esnek grid */
        gap: 20px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .products.grid::before,
    .products.grid::after {
        display: none !important;
    }

    /* Clearfix temizliği */

    /* Grid İçindeki List Item (li) Ayarı */
    .products.grid li.product-col {
        width: 100% !important;
        /* Grid zaten genişliği ayarlıyor */
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    /* Ürün Kartı Tasarımı (Kartlaşma) */
    .product-inner {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 10px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        /* Hafif gölge */
    }

    /* Hover Efekti */
    .product-inner:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);
    }

    /* Ürün Görsel Alanı */
    .product-image {
        position: relative;
        overflow: hidden;
        border-radius: 6px;
        margin-bottom: 10px;
        aspect-ratio: 1 / 1;
        /* Kare Resim */
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .product-inner:hover .product-image img {
        transform: scale(1.05);
    }

    /* Fiyat ve Başlık Alanı */
    .product-content {
        padding: 10px; /* Kenarlardan boşluk verir */
        text-align: center; /* Fiyat ve başlığı ortalar */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Sayfadaki tüm ana bölümleri sola yapışmaktan kurtarır */
    .header-wrapper, .mid-header, .main-menu-wrap, .footer-wrapper, .site-footer {
        width: 100%;
        display: block;
    }

    .container {
        margin: 0 auto !important; /* Sayfayı tam ortalar */
        padding-left: 15px;
        padding-right: 15px;
        float: none !important; /* Sola yapışma takıntısını çözer */
    }

    .product-loop-title h3 {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 5px;
        line-height: 1.4;
        overflow: hidden;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        /* 2 satırla sınırla */
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    /* İndirim Etiketi */
    .indirim {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #ff6000;
        color: #fff;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: bold;
        z-index: 5;
    }

    /* Kategori Kartları (Orta Kısım) */
    .porto-ibanner {
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .porto-ibanner img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .porto-ibanner:hover img {
        transform: scale(1.05);
    }

    /* Banner Üzerindeki Buton */
    .porto-ibanner-desc .btn {
        backdrop-filter: blur(5px);
        background: rgba(255, 255, 255, 0.9) !important;
        color: #333 !important;
        border: none !important;
        font-weight: bold !important;
        text-shadow: none !important;
    }

    .porto-ibanner-desc .btn:hover {
        background: var(--primary-color) !important;
        color: #fff !important;
    }

    /* --- Ürün Detay Sayfası Tasarımı --- */

    /* 1. Ürün Fotoğrafları */
    .product-detail-page .product-images {
        position: sticky;
        top: 20px;
    }

    .product-detail-page .img-thumbnail {
        border: none;
        padding: 0;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .product-detail-page .img-thumbnail img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Küçük Resimler (Thumbnails) */
    .product-detail-page .product-thumbnails {
        margin-top: 15px;
    }

    .product-detail-page .product-thumbnails .owl-item {
        padding: 0 5px;
    }

    .product-detail-page .product-thumbnails img {
        border: 2px solid transparent;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .product-detail-page .product-thumbnails img:hover {
        border-color: var(--primary-color);
    }

    /* 2. Ürün Bilgileri ve Başlık */
    .product-detail-page .product_title {
        font-size: 28px;
        font-weight: 700;
        color: #333;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .product-detail-page .woocommerce-product-details__short-description {
        font-size: 15px;
        color: #666;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    /* 3. Fiyat Alanı - Modern Görünüm */
    .product-detail-page .single-product-price {
        background: #f8f9fa;
        padding: 15px 20px;
        border-radius: 8px;
        margin-bottom: 25px;
        display: inline-block;
        width: 100%;
        border-left: 4px solid var(--primary-color);
    }

    .product-detail-page .old-price {
        color: #999;
        text-decoration: line-through;
        font-size: 18px;
        margin-right: 10px;
    }

    .product-detail-page #sonfiyat {
        color: var(--primary-color);
        font-size: 32px;
        font-weight: 800;
        letter-spacing: -1px;
    }

    /* 4. Sepete Ekle Butonları */
    .product-detail-page .single_add_to_cart_button {
        background: var(--primary-color);
        color: #fff;
        font-size: 16px;
        padding: 15px 30px;
        border-radius: 50px;
        /* Hap Şeklinde */
        text-transform: uppercase;
        font-weight: 700;
        border: none;
        box-shadow: 0 5px 15px rgba(255, 96, 0, 0.3);
        transition: all 0.3s ease;
        width: 48%;
        /* Yan yana dursunlar */
        display: inline-block;
        margin-bottom: 10px;
    }

    .product-detail-page .single_add_to_cart_button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 96, 0, 0.4);
    }

    .product-detail-page .single_add_to_cart_button.alt[name="hemenal"] {
        background: #333;
        /* Siyah Buton */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .product-detail-page .single_add_to_cart_button.alt[name="hemenal"]:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    /* Whatsapp Butonu */
    .product-detail-page .share-whatsapp,
    .product-detail-page .button.alt[href*="whatsapp"] {
        background-color: #25d366;
        border-radius: 50px;
        font-weight: 700;
        text-shadow: none;
    }

    /* 5. Ürün Tabları (Açıklama, Yorumlar) */
    .product-detail-page .woocommerce-tabs ul.nav-tabs {
        border-bottom: 2px solid #eee;
        margin-bottom: 0;
    }

    .product-detail-page .woocommerce-tabs .nav-link {
        border: none;
        color: #666;
        font-weight: 600;
        font-size: 16px;
        padding: 15px 25px;
        background: transparent;
    }

    .product-detail-page .woocommerce-tabs .nav-link.active {
        color: var(--primary-color);
        border-bottom: 3px solid var(--primary-color);
        background: transparent;
    }

    .product-detail-page .woocommerce-tabs .tab-content {
        background: #fff;
        padding: 30px;
        border: 1px solid #eee;
        border-top: none;
        border-radius: 0 0 8px 8px;
        line-height: 1.7;
        color: #555;
    }

    /* Adet Seçimi */
    .product-detail-page .quantity-wrapper label {
        font-weight: 700;
        margin-right: 10px;
    }

    .product-detail-page .product-details-quantity input {
        border: 2px solid #eee;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        height: 45px;
        border-radius: 8px;
    }

    /* Stok Kodu */
    .product-detail-page .stokkodu {
        display: block;
        margin-top: 10px;
        font-size: 13px;
        color: #999;
        letter-spacing: 0.5px;
    }

    .product-detail-page .stokkodu b {
        color: #333;
    }

    /* --- Refactored Product Details CSS --- */
    .current-price {
        color: #d01313;
        font-size: 24px;
        font-weight: bold;
    }

    .current-price-normal {
        color: #333;
        font-size: 24px;
        font-weight: bold;
    }

    .btn-add-cart {
        background: var(--primary-color) !important;
    }

    .btn-buy-now {
        background: #333 !important;
    }

    .btn-out-of-stock {
        background: red !important;
        width: 100% !important;
        cursor: not-allowed;
    }

    .btn-whatsapp-order {
        background: #25d366 !important;
        width: 100%;
        display: block;
        text-align: center;
    }

    /* --- Cart Page Styles (Refactored) --- */
    .bossepet {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        min-height: 300px;
        font-size: 14px;
        width: 100%;
        padding-bottom: 100px;
        padding-top: 20px;
        text-align: center;
    }

    .bossepet img {
        width: 200px;
        margin-bottom: 10px;
    }

    .bossepet .btn {
        font-size: 16px;
        margin-top: 15px;
        font-weight: 500;
        border-radius: 5px;
        background: var(--primary-color) !important;
        border: none;
        padding: 10px 30px;
        color: #fff;
    }

    .cart-container {
        padding: 0;
        width: 100%;
        height: auto;
    }

    .cart-container-title h1 {
        font-size: 22px;
        color: #555;
    }

    .cart-container-left {
        position: relative;
        float: left;
        width: 100%;
        height: auto;
    }

    .cart-container-right {
        width: 100%;
        /* Adjusted for mobile first, grid controlled */
        height: auto;
        border-radius: 10px;
    }

    .cart-product-container {
        position: relative;
        float: left;
        width: 100%;
        height: auto;
        border: 2px solid #f5f5f5;
        background-color: #fff;
        border-radius: 5px;
        padding: 15px;
        margin-bottom: 15px;
        z-index: 9;
        display: flex;
        /* Modernize with flex */
        gap: 15px;
    }

    .cart-product-container-left {
        width: 100px;
        flex-shrink: 0;
    }

    .cart-product-container-left img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 5px;
    }

    .cart-product-container-middle {
        flex-grow: 1;
    }

    .cart-product-container-right {
        width: 40px;
        flex-shrink: 0;
        margin-top: 2% !important;
    }

    .cart-product-title h2 {
        font-size: 15px;
        margin-bottom: 3px;
        color: #555;
        font-weight: 500;
    }

    .cart-product-variant-title h3 {
        color: #555;
        font-weight: 400;
        font-size: 12px;
        margin-bottom: 0;
        line-height: 16px;
    }

    .cart-product-quantity-changer {
        width: 100%;
        height: 100px;
        border: 1px solid var(--primary-color) !important;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
    }

    .cart-product-quantity-changer-decreaser,
    .cart-product-quantity-changer-increaser,
    .cart-product-quantity-changer-quantity {
        height: 33%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        color: #777;
        width: 100%;
        cursor: pointer;
    }

    .cart-product-quantity-changer-quantity input[type=text] {
        width: 100%;
        height: 20px !important;
        text-align: center;
        border: none;
        font-size: 13px;
        font-weight: 500;
        color: #555 !important;
        padding: 0px !important;
        background: transparent;
    }

    .cart-product-remove {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e0e0e0;
        border-radius: 5px;
        margin-top: 5px;
        font-size: 14px;
        color: #777;
        cursor: pointer;
        background: white;
    }

    .cart-product-remove:hover {
        border: 1px dashed var(--primary-color);
        color: var(--primary-color);
    }

    .cart-summary {
        width: 100%;
        padding: 15px 20px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(37, 35, 35, 0.14);
        border-radius: 3px;
    }

    .cart-summary h2 {
        font-size: 14px;
        color: #555;
        margin-bottom: 10px;
        margin-top: 10px;
        border-bottom: 1px solid black;
        text-align: center;
        padding-bottom: 10px;
        font-weight: 600;
    }

    .cart-summary table {
        width: 100%;
    }

    .cart-summary table tr td {
        padding: 5px 0;
    }

    .cart-confirm {
        background: var(--primary-color);
        text-align: center;
        font-size: 16px;
        cursor: pointer;
        margin-bottom: 30px;
        color: #fff;
        padding: 10px 15px;
        border-radius: 5px;
        font-weight: 500;
        width: 100%;
        display: block;
    }

    .badge {
        display: inline-block;
        font-size: 12px;
        font-weight: 500;
        color: #1f1d1d;
        background: #f7f9fc;
        border: 1px solid #e6e0e0;
        padding: 8px 12px;
        border-radius: 5px;
        margin-right: 8px;
    }

    @media screen and (max-width: 480px) {
        .cart-product-container {
            flex-direction: column;
        }

        .cart-product-container-left {
            width: 100%;
            text-align: center;
        }

        .cart-product-container-left img {
            width: 50%;
            height: auto;
        }

        .cart-product-container-middle {
            width: 100%;
            padding: 0;
        }

        .cart-product-container-right {
            width: 100%;
            display: flex;
            justify-content: space-between;
            margin-top: 10px !important;
        }

        .cart-product-quantity-changer {
            width: 80%;
            height: 40px;
            flex-direction: row;
        }

        .cart-product-quantity-changer-decreaser,
        .cart-product-quantity-changer-increaser,
        .cart-product-quantity-changer-quantity {
            width: 33%;
            height: 100%;
        }

        .cart-product-remove {
            width: 15%;
            margin-top: 0;
        }
    }

    /* --- Sticky Header & Mobile Menu Modernization --- */
    .header-wrapper {
        transition: all 0.3s ease;
        width: 100%;
        z-index: 9999;
    }

    .sticky-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        /* Glassmorphism base */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        animation: slideDown 0.3s ease forwards;
    }

    .sticky-header .top-orange-bar {
        display: none;
        /* Hide top bar on scroll to save space */
    }

    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }

        to {
            transform: translateY(0);
        }
    }

    /* Mobile Hamburger Menu Tweaks */
    .mobile-toggle {
        display: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
    }

    @media (max-width: 991px) {
        .header-wrapper.sticky-header {
            padding-bottom: 10px;
        }

        .mobile-toggle {
            display: block;
            position: absolute;
            left: 20px;
            top: 25px;
        }

        .mid-header {
            padding-left: 50px;
            /* Space for hamburger */
        }
    }

    @media (max-width: 991px) {
        .main-menu-wrap {
            display: none;
            background: #fff;
            width: 100%;
            position: absolute;
            top: 100%;
            left: 0;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }
    }

    /* --- Homepage Modernization (CSS Grid) --- */
    .modern-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
        padding: 20px 0;
    }

    .modern-card {
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
        position: relative;
        display: flex;
        flex-direction: column;

        a {
            height: 100%;

            img {
                height: 100%;
            }
        }
    }

    .modern-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        border-color: var(--primary-color);
    }

    .modern-card-img-container {
        position: relative;
        width: 100%;
        aspect-ratio: 1;
        /* Square images */
        overflow: hidden;
    }

    .modern-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .modern-card:hover .modern-card-img {
        transform: scale(1.05);
    }

    .modern-card-actions {
        position: absolute;
        bottom: -50px;
        /* Hidden initially */
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        background: rgba(255, 255, 255, 0.9);
        padding: 10px;
        transition: bottom 0.3s ease;
    }

    .modern-card:hover .modern-card-actions {
        bottom: 0;
    }

    .modern-card-body {
        padding: 15px;
        text-align: left; /* Yazılar kartın içinde sola yaslı kalsın (daha şık durur) */
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Buton ve başlığı kartın soluna hizalar */
    }

    .modern-card-title {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 5px;
        line-height: 1.4;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .modern-card-price {
        font-size: 16px;
        font-weight: 700;
        color: var(--primary-color);
        margin-top: auto;
    }

    .modern-card-old-price {
        font-size: 12px;
        text-decoration: line-through;
        color: #999;
        margin-right: 5px;
    }

    .deal-section {
        max-width: 1200px;          /* İçerik genişliği sınırı (isteğe göre 1400px vs. yapabilirsin) */
        margin: 40px auto 0 auto;   /* Üst 40px, yanlar otomatik → tam ortaya alır */
        padding: 0 15px;            /* Mobilde kenarlara yapışmasın diye küçük boşluk */
        width: 100%;
        box-sizing: border-box;
    }

    .deal-section .section-title {
        text-align: center;
        position: relative;
        margin-bottom: 30px;
        font-size: 24px;
        font-weight: 700;
        color: #333;
    }

    .deal-section .section-title {
        text-align: center;
        position: relative;
        margin-bottom: 30px;
        font-size: 24px;
        font-weight: 700;
        color: #333;
    }

    .section-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 5px;
        height: 80%;
        width: 5px;
        border-radius: 3px;
    }

    .badge-new {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #00d2d3;
        color: #fff;
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 4px;
        font-weight: 600;
        z-index: 2;
    }

    .badge-discount {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #ff6b6b;
        color: #fff;
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 4px;
        font-weight: 600;
        z-index: 2;
    }

    @media (min-width: 1200px) {
        .modern-grid {
            grid-template-columns: repeat(5, 1fr);
        }
    }

    /* --- Product Detail Page Modernization --- */
    .product-detail-page .product-detail-gallery {
        position: relative;
        margin-bottom: 30px;
    }

    .product-detail-page .product-detail-main-img {
        width: 75%;
        margin: 0 auto 15px auto;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .product-detail-page .product-detail-main-img img {
        width: 100%;
        height: auto;
        display: block;
    }

    .product-detail-page .product-thumbnails {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .product-detail-page .product-thumb-item {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        border: 2px solid transparent;
        opacity: 0.7;
        transition: all 0.2s;
        flex-shrink: 0;
    }

    .product-detail-page .product-thumb-item:hover,
    .product-detail-page .product-thumb-item.active {
        border-color: var(--primary-color);
        opacity: 1;
    }

    .product-detail-page .product-thumb-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-detail-page .product-info-wrapper {
        margin-top: 50px;
    }

    .product-detail-page .product-info-title {
        font-size: 28px;
        font-weight: 700;
        color: #333;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .product-detail-page .product-info-price-wrapper {
        display: flex;
        align-items: flex-end;
        margin-bottom: 25px;
    }

    .product-detail-page .product-info-current-price {
        font-size: 32px;
        font-weight: 800;
        color: var(--primary-color);
        line-height: 1;
    }

    .product-detail-page .product-info-old-price {
        font-size: 18px;
        color: #999;
        text-decoration: line-through;
        margin-right: 15px;
        margin-bottom: 5px;
    }

    .product-detail-page .product-actions-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
        margin-top: 30px;
    }

    .product-detail-page .quantity-control {
        display: flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
        height: 50px;
    }

    .product-detail-page .quantity-btn {
        width: 40px;
        height: 100%;
        background: #f9f9f9;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: #555;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .product-detail-page .quantity-btn:hover {
        background: #eee;
    }

    .product-detail-page .quantity-input {
        width: 50px;
        height: 100%;
        border: none;
        text-align: center;
        font-weight: 600;
        font-size: 16px;
        -moz-appearance: textfield;
        appearance: textfield;
        -webkit-appearance: textfield;
    }

    .product-detail-page .btn-add-cart-lg {
        flex-grow: 1;
        background: #333;
        color: #fff;
        height: 50px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 16px;
        transition: all 0.3s;
        border: none;
        padding: 0 30px;
    }

    .product-detail-page .btn-add-cart-lg:hover {
        background: #000;
        transform: translateY(-2px);
    }

    .product-detail-page .btn-whatsapp-lg {
        width: 100%;
        background: #25D366;
        color: #fff;
        height: 50px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 16px;
        margin-top: 15px;
        text-decoration: none;
        transition: all 0.3s;
    }

    .product-detail-page .btn-whatsapp-lg:hover {
        background: #128C7E;
        color: #fff;
    }

    /* Mobile Sticky Bottom Bar */
    @media (max-width: 767px) {
        .product-detail-page .mobile-sticky-bar {
            position: relative !important;
            bottom: auto !important;
            left: auto !important;
            width: 100% !important;
            background: transparent !important;
            padding: 10px 0 !important;
            box-shadow: none !important;
            z-index: 1 !important;
            display: flex !important;
            flex-wrap: nowrap !important;
            /* Prevent wrapping */
            gap: 10px !important;
            align-items: center !important;
            justify-content: space-between !important;
            border: none !important;
        }

        .product-detail-page .mobile-sticky-placeholder {
            display: none !important;

        }

        .product-detail-page .btn-add-cart-lg {
            font-size: 14px;
            padding: 0 15px;
        }

        .product-detail-page .quantity-control {
            height: 40px;
        }

        .product-detail-page .quantity-btn {
            width: 30px;
        }

        .product-detail-page .quantity-input {
            width: 40px;
        }
    }

    /* Modern Tabs */
    .modern-tabs .nav-tabs {
        border-bottom: 2px solid #f0f0f0;
    }

    .modern-tabs .nav-link {
        border: none;
        border-bottom: 2px solid transparent;
        color: #777;
        font-weight: 600;
        padding: 15px 20px;
        transition: all 0.3s;
    }

    .modern-tabs .nav-link:hover {
        color: var(--primary-color);
    }

    .modern-tabs .nav-link.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        background: transparent;
    }

    /* --- Cart & Checkout Modernization --- */

    /* Cart Page */
    .cart-page-wrapper {
        padding: 40px 0;
        background: #f8f9fa;
    }

    .cart-page-wrapper .modern-cart-item {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 20px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }

    .cart-page-wrapper .modern-cart-item:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
        border-color: #ddd;
    }

    .cart-page-wrapper .cart-item-img {
        width: 100px;
        height: 100px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        margin-right: 20px;
    }

    .cart-page-wrapper .cart-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cart-page-wrapper .cart-item-details {
        flex-grow: 1;
    }

    .cart-page-wrapper .cart-item-title {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin-bottom: 5px;
        text-decoration: none;
        display: block;
    }

    .cart-page-wrapper .cart-item-variant {
        font-size: 13px;
        color: #777;
        margin-bottom: 8px;
    }

    .cart-page-wrapper .cart-item-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 15px;
    }

    .cart-page-wrapper .cart-qty-control {
        display: flex;
        align-items: center;
        background: #f1f3f5;
        border-radius: 6px;
        padding: 2px;
    }

    .cart-page-wrapper .cart-qty-btn {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #555;
        font-size: 14px;
        transition: background 0.2s;
        border-radius: 4px;
    }

    .cart-page-wrapper .cart-qty-btn:hover {
        background: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .cart-page-wrapper .cart-qty-input {
        width: 40px;
        text-align: center;
        background: transparent;
        border: none;
        font-weight: 600;
        color: #333;
    }

    .cart-page-wrapper .cart-item-price {
        font-size: 18px;
        font-weight: 700;
        color: var(--primary-color);
    }

    .cart-page-wrapper .cart-remove-btn {
        color: #999;
        font-size: 14px;
        cursor: pointer;
        transition: color 0.2s;
        background: none;
        border: none;
        padding: 5px;
    }

    .cart-page-wrapper .cart-remove-btn:hover {
        color: #ff4d4d;
    }

    /* Cart Summary & Checkout Sidebar */
    .cart-page-wrapper .modern-summary-card {
        background: #fff;
        border-radius: 12px;
        padding: 25px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
        position: sticky;
        top: 100px;
    }

    .cart-page-wrapper .summary-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }

    .cart-page-wrapper .summary-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        font-size: 15px;
        color: #555;
    }

    .cart-page-wrapper .summary-row.total {
        border-top: 2px solid #f8f9fa;
        padding-top: 15px;
        margin-top: 15px;
        font-weight: 800;
        color: #333;
        font-size: 20px;
    }

    .cart-page-wrapper .btn-checkout-primary {
        width: 100%;
        background: var(--primary-color);
        color: #fff;
        padding: 15px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 16px;
        border: none;
        margin-top: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s;
        text-decoration: none;
    }

    .cart-page-wrapper .btn-checkout-primary:hover {
        background: #000;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    /* Checkout Page Steps */
    .cart-page-wrapper .checkout-step-card {
        background: #fff;
        border-radius: 12px;
        padding: 25px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
        margin-bottom: 25px;
        border: 1px solid #f0f0f0;
    }

    .cart-page-wrapper .step-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .cart-page-wrapper .step-number {
        width: 30px;
        height: 30px;
        background: var(--primary-color);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        margin-right: 15px;
    }

    .cart-page-wrapper .step-title {
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

    /* Payment Method Cards */
    .cart-page-wrapper .payment-methods-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .cart-page-wrapper .payment-method-option {
        position: relative;
        cursor: pointer;
    }

    .cart-page-wrapper .payment-method-option input {
        position: absolute;
        opacity: 0;
    }

    .cart-page-wrapper .payment-card-inner {
        border: 2px solid #eee;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        transition: all 0.3s;
        height: 100%;
    }

    .cart-page-wrapper .payment-method-option input:checked+.payment-card-inner {
        border-color: var(--primary-color);
        background: #f9f9f9;
    }

    .cart-page-wrapper .payment-icon {
        font-size: 24px;
        margin-bottom: 10px;
        color: #555;
        display: block;
    }

    .cart-page-wrapper .payment-name {
        font-weight: 600;
        display: block;
    }

    /* Mobile Responsive Adjustments */
    @media (max-width: 767px) {
        .cart-page-wrapper .modern-cart-item {
            flex-direction: column;
            align-items: flex-start;
        }

        .cart-page-wrapper .cart-item-img {
            width: 100%;
            height: 200px;
            margin-right: 0;
            margin-bottom: 15px;
        }

        .cart-page-wrapper .cart-item-meta {
            width: 100%;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
        }

        .cart-page-wrapper .payment-methods-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Menü Düzeltmeleri - Sarı Noktaları Kaldır */
    .main-menu,
    .main-menu ul,
    .main-menu li {
        list-style: none !important;
    }

    .main-menu li::before,
    .main-menu li::after,
    .main-menu a::before,
    .main-menu a::after {
        content: none !important;
        display: none !important;
    }

    /* Dropdown Menü Okunabilirlik Düzeltmesi */
    .main-menu .popup,
    .main-menu .sub-menu,
    .main-menu .inner {
        background-color: #111 !important;
        /* Koyu arka plan */
        color: #fff !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
        border: 1px solid #333 !important;
        border-radius: 4px !important;
    }

    .main-menu .sub-menu li a {
        color: #ccc !important;
        /* Hafif gri yazı */
        text-decoration: none !important;
        display: block !important;
        padding: 8px 12px !important;
        font-weight: 500 !important;
        background: transparent !important;
        border-bottom: 1px solid #222 !important;
    }

    .main-menu .sub-menu li a:hover {
        color: #fff !important;
        /* Hoverda beyaz */
        background-color: #ff6000 !important;
        /* Turuncu vurgu */
        padding-left: 15px !important;
        /* Hafif kayma efekti */
    }

    /* --- REFACTORED HOMEPAGE STYLES (Moved from Inline) --- */

    /* Story Module */
    .story-container {
        display: flex;
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        padding: 0 15px;
        justify-content: flex-start;
    }

    .story-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none !important;
        margin-right: 15px;
        cursor: pointer;
    }

    .story-circle {
        width: 70px;
        height: 70px;
        min-width: 70px;
        max-width: 70px;
        border-radius: 50%;
        padding: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        margin-bottom: 5px;
    }

    .story-img {
        width: 66px;
        height: 66px;
        min-width: 66px;
        max-width: 66px;
        border-radius: 50%;
        border: 2px solid #fff;
        object-fit: cover;
        display: block;
        font-size: 0;
        background-color: #fff;
    }

    .story-title {
        text-align: center;
        font-size: 11px;
        color: #333;
        max-width: 70px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    /* Modern Marquee Animation (Overrides) */
    .info-marquee-bar.refactored {
        background: #111;
        /* Kept from PHP version */
        color: #fff;
        width: 100%;
        overflow: hidden;
        position: relative;
        padding: 10px 0;
        font-family: 'Poppins', sans-serif;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .info-marquee-bar.refactored .marquee-content {
        display: flex;
        width: fit-content;
        animation: scroll 30s linear infinite;
        white-space: nowrap;
        padding-left: 0;
        /* Reset previous padding if any */
    }

    .info-marquee-bar.refactored .marquee-item {
        display: inline-flex;
        align-items: center;
        margin-right: 40px;
    }

    .info-marquee-bar.refactored .marquee-item i {
        color: #f09433;
        margin-right: 8px;
        font-size: 14px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    .info-marquee-bar.refactored:hover .marquee-content {
        animation-play-state: paused;
    }

    /* --- HOME PAGE REFACTOR --- */

    .home-content-wrap {
        padding-top: 20px;
    }

    /* Banner Grid */
    .banner-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .banner-card {
        border: none;
        box-shadow: none;
    }

    .banner-img {
        width: 100%;
        border-radius: 10px;
    }

    /* Campaign Grid */
    .campaign-section {
        margin-top: 40px;
    }

    .campaign-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .campaign-card {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .campaign-card-img-container {
        height: 200px;
    }

    .campaign-img {
        object-fit: cover;
    }

    .campaign-desc {
        font-size: 13px;
        color: #666;
        margin-bottom: 10px;
    }

    .campaign-btn {
        padding: 5px 15px !important;
        font-size: 12px !important;
    }

    /* Blog Section */
    .blog-section {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .blog-header-title {
        margin-bottom: 0px;
    }

    .blog-view-all {
        font-size: 14px;
        font-weight: 600;
        color: #000;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .blog-card {
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }

    .blog-img-link {
        display: block;
        height: 180px;
        overflow: hidden;
    }

    .blog-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .blog-body {
        padding: 20px;
    }

    .blog-date {
        font-size: 11px;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: block;
        margin-bottom: 8px;
    }

    .blog-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .blog-title-link {
        color: #333;
        text-decoration: none;
    }

    .blog-excerpt {
        font-size: 13px;
        color: #777;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .blog-read-more {
        color: #f09433;
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
    }

    /* --- FOOTER REFACTOR --- */

    .footer-logo-link {
        display: inline-block;
    }

    .footer-logo-img {
        max-height: 50px;
        background: #fff;
        padding: 5px 10px;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .footer-desc {
        color: #999;
        font-size: 13px;
        line-height: 22px;
    }

    .footer-contact-link {
        color: #cfcfcf !important;
    }

    .newsletter-desc {
        color: #fff;
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-payments-img {
        height: 25px;
        opacity: 0.8;
    }

    /* --- HERO SECTION & SWIPER --- */
    .hero-section {
        position: relative;
        overflow: hidden;
    }

    .hero-slider-wrapper {
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .hero-swiper {
        width: 100%;
        height: 500px;
        border-radius: 12px;
    }

    .hero-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #000;
        width: 100%;
        height: 100%;
    }

    .hero-slide-link {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Custom Swiper Navigation */
    .custom-swiper-btn {
        color: #fff !important;
        background: rgba(0, 0, 0, 0.5);
        width: 40px !important;
        height: 40px !important;
        border-radius: 50%;
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
        z-index: 99 !important;
        cursor: pointer;
    }

    .custom-swiper-btn::after {
        font-size: 18px !important;
        font-weight: bold;
    }

    .custom-swiper-btn:hover {
        background: var(--primary-color);
        transform: scale(1.1);
    }

    .custom-swiper-pagination .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.5;
        width: 10px;
        height: 10px;
    }

    .custom-swiper-pagination .swiper-pagination-bullet-active {
        background: var(--primary-color);
        opacity: 1;
        width: 20px;
        border-radius: 5px;
    }

    /* Static Hero Banner (Right Side) */
    .hero-static-card {
        height: 400px;
        background: linear-gradient(135deg, #2b0c36 0%, #4a1c5e 100%);
        border-radius: 12px;
        padding: 30px;
        position: relative;
        overflow: hidden;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .hero-static-content {
        position: relative;
        z-index: 2;
    }

    .hero-static-content h3 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .hero-static-content p {
        font-size: 14px;
        opacity: 0.8;
        margin-bottom: 20px;
    }

    .hero-static-bg {
        position: absolute;
        bottom: -20px;
        right: -20px;
        width: 70%;
        height: auto;
        z-index: 1;
        opacity: 0.8;
        transform: rotate(-10deg);
        transition: all 0.5s ease;
    }

    .hero-static-card:hover .hero-static-bg {
        transform: rotate(0) scale(1.05);
        bottom: 0;
        right: 0;
        opacity: 1;
    }

    .deal-circle {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 18px;
        color: #ff9f43;
        animation: pulse 2s infinite;
    }

    /* Responsive Overrides */
    @media (max-width: 991px) {
        .hero-swiper {
            height: 300px;
        }
    }

    @media (max-width: 768px) {
        .hero-swiper {
            height: 250px;
        }
    }

    /* --- HEADER REDESIGN IMPLEMENTATION --- */

    /* 1. Top Bar */
    .top-orange-bar {
        background-color: #ff6000 !important;
        color: #fff !important;
        font-size: 12px;
        font-weight: 500;
        padding: 8px 0;
    }

    .top-orange-bar a {
        color: #fff;
        font-weight: 600;
        margin-left: 15px;
        text-decoration: none;
    }

    .top-orange-bar a:hover {
        opacity: 0.8;
    }

    /* 2. Custom Search Bar */
    .custom-search-form {
        border: 2px solid #ff6000 !important;
        border-radius: 4px;
        overflow: hidden;
        height: 45px;
        /* Fixed height for alignment */
        display: flex;
    }

    .custom-search-form input {
        border: none !important;
        padding: 0 15px;
        font-size: 14px;
        width: 100%;
        color: #666;
        height: 100%;
    }

    .custom-search-form button {
        background-color: #ff6000 !important;
        border: none;
        color: #fff;
        width: 50px;
        font-size: 18px;
        cursor: pointer;
        transition: 0.3s;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
    }

    .custom-search-form button:hover {
        background-color: #e05600 !important;
    }

    /* 3. Header Action Buttons */
    .header-actions {
        display: flex;
        gap: 10px;
    }

    .btn-custom-header {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 45px;
        padding: 0 20px;
        border-radius: 4px;
        color: #fff !important;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none !important;
        white-space: nowrap;
        transition: all 0.2s ease;
        position: relative;
    }

    .btn-custom-header i {
        margin-right: 8px;
        font-size: 16px;
    }

    /* Specific Colors */
    .btn-gray {
        background-color: #7f8c8d !important;
    }

    .btn-gray:hover {
        background-color: #6c7a7b !important;
    }

    .btn-purple {
        background-color: #8e44ad !important;
    }

    .btn-purple:hover {
        background-color: #732d91 !important;
    }

    .btn-orange {
        background-color: #ff6000 !important;
    }

    .btn-orange:hover {
        background-color: #e05600 !important;
    }

    /* Cart Badge adjustments */
    .btn-custom-header .badge {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        padding: 4px 8px;
        font-size: 12px;
        margin-left: 5px;
    }

    /* Sepet Badge - Butonun üstünde yuvarlak rozet */
    .cart-badge-mobile {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #ff0000;
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        min-width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        border: 2px solid #fff;
        z-index: 10;
        padding: 0 4px;
        line-height: 1;
    }

    /* Badge sıfır olduğunda gizle (PHP tarafında kontrol ediliyor, burada sadece boş olanları gizle) */
    .cart-badge-mobile:empty {
        display: none;
    }

    /* Mid Header Layout */
    .mid-header {
        display: flex;
        align-items: center;
        padding: 20px 0;
    }

    .header-search-area {
        flex-grow: 1;
        margin-right: 30px;
    }

/* Mobile Adjustments */
@media (max-width: 991px) {
    .mid-header {
        flex-direction: column;
        gap: 15px;
    }

    .logo-area {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .header-search-area {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-custom-header {
        flex: 1;
        padding: 0 10px;
        font-size: 12px;
        position: relative !important;
    }

    .btn-custom-header span {
        display: none;
        /* Hide text on small mobile if crowded, or keep */
    }

    /* Sepet badge mobilde de görünsün */
    .cart-badge-mobile {
        top: -6px !important;
        right: -6px !important;
        min-width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
    }

    /* Let's keep text for now unless very small */
    @media (min-width: 480px) {
        .btn-custom-header span {
            display: inline;
        }
    }
}

    /* --- MENU CENTERING & SPACING --- */
    .main-menu-wrap .container {
        /* Ensure the container allows centering */
        display: flex;
        justify-content: flex-end;
        padding: 0;
    }

    .main-menu-wrap .row {
        width: 100%;
        justify-content: center;
    }

    .main-menu {
        display: flex !important;
        justify-content: center !important;
        width: 100%;
        gap: 0;
        padding-left: 25px;
        /* Space between items */
    }

    /* Ensure submenus still align correctly */
    .main-menu .menu-item {
        float: none !important;
        /* Override standard float behaviors if present */
        display: inline-block;
    }

    .ps-new-container {
        max-width: 1500px !important;
        /* Ensure it overrides bootstrap default */
    }

    /* --- MID HEADER CONSTRAINT v2 --- */
    @media (min-width: 992px) {
        .mid-header.container {
            max-width: 850px;
            /* Ensure it overrides bootstrap default */
        }
    }

    /* --- POLISHING HEADER & MENU --- */

    /* Main Header Vertical Alignment */
    .mid-header {
        padding: 5px 0 !important;
        /* Slightly tighter */
        align-items: center !important;
    }

    /* Logo Alignment */
    .logo-area img {
        vertical-align: middle;
    }

    /* Search Bar Polish */
    .custom-search-form {
        height: 42px !important;
        /* Tweak height */
    }

    .custom-search-form input {
        font-size: 13px !important;
        color: #777 !important;
    }

    .custom-search-form button {
        width: 45px !important;
    }

    /* Button Polish */
    .btn-custom-header {
        height: 42px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 5px !important;
    }

    .btn-custom-header i {
        font-size: 14px !important;
    }

    /* MENU BAR POLISH */
    .main-menu-wrap {
        background: #fff !important;
        /* White background */
        border-bottom: 1px solid #eaeaea !important;
        padding: 10px 0 !important;
    }

    .main-menu>li>a {
        color: #000 !important;
        /* Pure black */
        font-weight: 700 !important;
        /* Bolder */
        font-size: 14px !important;
        text-transform: capitalize !important;
        /* As seen in screenshot */
        padding: 10px 12px !important;
        /* More breathing room */
    }

    .main-menu>li>a:hover {
        color: #ff6000 !important;
        background: transparent !important;
        /* No background change, just text color */
    }

    /* Ensure no weird borders on menu items */
    .main-menu>li {
        border: none !important;
    }

    /* =====================================================
    MOBİL ÜRÜN DETAY – SEPTE EKLE BOŞLUK & KARMAŞA FIX
    ===================================================== */

    @media (max-width: 768px) {

        /* Ürün bilgi alanını kolon yap */
        .product-detail-page .product-info-wrapper,
        .product-detail-page .summary,
        .product-detail-page form.cart {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        /* Fiyat yukarıda kalsın */
        .product-detail-page .single-product-price,
        .product-detail-page .product-info-price-wrapper {
            order: 1;
            margin-bottom: 0;
        }

        /* === SEPTE EKLE BUTONU === */
        .product-detail-page .single_add_to_cart_button {
            order: 2;
            width: 100% !important;
            margin-top: 5px;
            margin-bottom: 0;
            font-size: 16px;
            padding: 14px 20px;
            border-radius: 10px;
        }

        /* Hemen Al varsa */
        .product-detail-page .single_add_to_cart_button.alt {
            width: 100% !important;
            order: 3;
        }

        /* WhatsApp bilgi kutusu */
        .product-detail-page .woocommerce-message,
        .product-detail-page .woocommerce-info {
            order: 4;
            margin-top: 10px;
            font-size: 13px;
        }

        /* BOŞLUK YARATAN GİZLİ BLOKLARI NÖTRLE */
        .product-detail-page .modern-card-actions,
        .product-detail-page .mobile-sticky-placeholder {
            display: none !important;
            height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        /* Alt mobil bar ile çakışmayı önle */
        .product-detail-page {
            padding-bottom: 90px;
        }



        /* FIX: Mobil Görünümde Ürün Fotosunun Kesilmesini Engelle */
        .product-detail-page .product-detail-main-img {
            width: 100% !important;
            /* Ekrana tam otursun, %75 küçük kalıyor */
            height: auto !important;
            overflow: visible !important;
            /* Alt kısım kesilmesin */
            max-height: none !important;
            margin-bottom: 20px !important;
        }

        .product-detail-page .product-detail-main-img img {
            width: 100% !important;
            height: auto !important;
            object-fit: contain !important;
            /* Resim orantısını koru */
            max-height: none !important;
        }
    }

    /* --- DEBUG MODU TEMIZLIGI (Otomatik eklendi) --- */
    /* Eger sistemde bir debug modu acik kaldiysa ve yesil cizgiler olusturuyorsa bunlari gizler */
    *[style*="outline: 1px solid green"],
    *[style*="outline:1px solid green"],
    *[style*="border: 1px solid green"],
    *[style*="border:1px solid green"] {
        outline: none !important;
        border: none !important;
    }

    /* Sayi etiketleri olasiligi icin genel bir gizleme (dikkatli kullanilmalidir) */
    .debug-view,
    .debug-label,
    .pesticide {
        display: none !important;
    }

/* FIX: Mobil Listeleme (Grid) Görünümünde Resimlerin Kesilmesini Engelle */
@media (max-width: 768px) {

    .product-image,
    .product-image .inner,
    .modern-card-img-container {
        /* Yüksekliği sabitle ya da kareye zorla ki contain çalışsın */
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    .product-image img,
    .modern-card-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        /* Resmi kırpma, sığdır */
        object-position: center !important;
        background: #fff;
        /* Beyaz boşluklar için */
    }
}

/* Toastr Bildirim Stilleri - İyileştirilmiş Görünüm */
#toast-container {
    z-index: 99999 !important;
}

#toast-container > .toast {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    padding: 15px 20px !important;
}

#toast-container > .toast-success {
    background-color: #51a351 !important;
    border-left: 4px solid #2d7a2d !important;
}

#toast-container > .toast-info {
    background-color: #2f96b4 !important;
    border-left: 4px solid #1a6d85 !important;
}

#toast-container > .toast-error {
    background-color: #bd362f !important;
    border-left: 4px solid #8b1f1a !important;
}

#toast-container > .toast-warning {
    background-color: #f89406 !important;
    border-left: 4px solid #c67605 !important;
}

/* Favori Butonu Hover Efekti */
.favorite-btn {
    transition: all 0.3s ease !important;
}

.favorite-btn:hover {
    background-color: #9b3ce8 !important;
    transform: scale(1.05) !important;
}

.favorite-btn:active {
    transform: scale(0.95) !important;
}

@media (max-width: 767px) {
    #mbl-none-header {
        display: none;
    }
}