/*
Theme Name: Cocuk Giyim Pro
Theme URI: http://example.com/cocuk-giyim-pro
Author: Murat Güvenç
Author URI: http://example.com
Description: Çocuk giyimi ve kozmetik ürünleri için profesyonel, modern ve WooCommerce uyumlu bir tema.
Version: 4.3.0
Text Domain: cocuk-giyim-pro
*/

/* ── 0. STICKY FOOTER (White Gap Fix) ── */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #0d0d18; /* Güvenlik Katmanı: Sayfa sonu sızıntıları için temel renk */
}

#page.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    overflow-x: clip; /* hidden yerine clip kullanıldı, sticky özelliğini bozmaz */
}

.site-main {
    flex: 1 0 auto;
    width: 100%;
}

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
}

/* Professional Quantity Selector Styling */
.quantity.qty-initialized {
    display: inline-flex !important;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
    height: 50px;
    margin-right: 15px !important; /* Sepete Ekle butonundan uzaklaştır */
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.quantity.qty-initialized:hover {
    border-color: #FFB800;
    box-shadow: 0 4px 10px rgba(255,184,0,0.1);
}

.cgp-qty-btn {
    width: 40px;
    height: 100%;
    background: transparent !important;
    border: none !important;
    color: #333 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.cgp-qty-btn:hover {
    color: #FFB800 !important;
    background: #fdfdfd !important;
}

.cgp-qty-btn.minus { border-radius: 6px 0 0 6px; }
.cgp-qty-btn.plus { border-radius: 0 6px 6px 0; }

.quantity.qty-initialized input.qty {
    width: 50px !important;
    height: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #000 !important;
    background: transparent !important;
    -moz-appearance: textfield;
    appearance: none;
}

.quantity.qty-initialized input.qty::-webkit-outer-spin-button,
.quantity.qty-initialized input.qty::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}

/* Breadcrumb Styling for Single Product */
.single-product .woocommerce-breadcrumb {
    margin-bottom: 2rem !important;
    font-size: 0.9rem !important;
    color: #888 !important;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
    width: 100%;
}

.single-product .woocommerce-breadcrumb a {
    color: #666 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-product .woocommerce-breadcrumb a:hover {
    color: var(--primary) !important;
}

/* Layout Spacing Fixes */
.summary.entry-summary .cart {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-top: 25px !important;
}

.single_add_to_cart_button {
    margin-bottom: 0 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}


/* ===================================
   1. TASARIM SİSTEMİ (Design Tokens)
   =================================== */
:root {
    --primary: #FF6B6B;
    --primary-hover: #ff5252;
    --secondary: #4ECDC4;
    --secondary-hover: #45b7af;
    --accent: #FFE66D;
    --dark: #2D3436;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-500: #6B7280;
    --text: #1F2937;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Boşluk Ayarları (Customizer tarafından yorumlanır) */
    --top-bar-padding: 8px;
    --header-padding-y: 1.2rem;
    --content-spacing: 0px;
}

/* WordPress Admin Bar Offset Düzeltmesi */
.admin-bar header.site-header {
    top: 32px;
    /* Admin barın yüksekliği */
}

@media screen and (max-width: 782px) {
    .admin-bar header.site-header {
        top: 46px;
    }
}

/* ===================================
   2. TEMEL STİLLER
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: #fff; /* var(--light); yerine beyaz, sızıntı html'den gelecek */
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    /* Mega menü için referans */
}

/* ===================================
   3. ÜST REKLAM & DUYURU BARI
   =================================== */
.top-campaign-banner {
    width: 100%;
    display: block;
    line-height: 0;
    background: var(--light);
}

.top-campaign-banner a {
    display: block;
    width: 100%;
}

.top-campaign-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 120px;
    /* Görsel çok yüksekse kırpar */
}

/* ===================================
   YENİ NESİL PROMO BARI (WhatsApp & Avantaj)
   =================================== */
.custom-promo-bar {
    display: flex;
    width: 100%;
    height: 52px;
    background: #2c2d3a;
    text-decoration: none !important;
    overflow: hidden;
    position: relative;
    font-family: var(--font-sans);
}

.custom-promo-bar:hover .cpb-badge {
    background: #ffffff;
    color: #2c2d3a;
    transform: scale(1.03);
}

.cpb-left {
    flex: 1;
    background: #f7f9fa;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding-right: 40px;
    z-index: 2;
}

.cpb-left::after {
    content: '';
    position: absolute;
    right: -25px;
    top: 0;
    width: 50px;
    height: 100%;
    background: #f7f9fa;
    transform: skewX(-22deg);
    z-index: -1;
}

.cpb-content-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #50b54e;
    font-size: 1.1rem;
    font-weight: 500;
}

.cpb-right {
    flex: 1;
    background: #2c2d3a;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 45px;
    z-index: 1;
}

.cpb-content-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cpb-highlight {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.2px;
}

.cpb-badge {
    background: #8b8f9e;
    color: #1e1e2d;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .custom-promo-bar {
        height: auto;
        flex-direction: column !important;
        text-align: center;
        padding: 4px 5px !important;
        gap: 0 !important;
    }

    .cpb-left, .cpb-right {
        justify-content: center !important;
        padding: 2px 0 !important;
        background: transparent !important;
        flex: 0 0 auto !important;
        width: 100% !important;
    }

    .cpb-left::after {
        display: none;
    }

    .cpb-content-left {
        font-size: 0.8rem !important;
        margin-bottom: 2px;
    }

    .cpb-content-left svg {
        width: 16px !important;
        height: 16px !important;
    }

    .cpb-highlight {
        font-size: 0.8rem !important;
    }

    .cpb-badge {
        font-size: 0.7rem !important;
        padding: 2px 8px !important;
        margin-left: 5px;
    }
}

/* DUYURU BARI (Top Bar) */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: var(--top-bar-padding, 8px) 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links a {
    margin-left: 15px;
    opacity: 0.8;
}

.top-bar-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

/* ===================================
   4. HEADER (Premium Tasarım)
   =================================== */
header.site-header {
    background: var(--white);
    padding: var(--header-padding-y, 1.2rem) 0 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

header.site-header.is-sticky {
    box-shadow: var(--shadow-md);
}

/* Üst Kısım: Logo + Arama + İkonlar */
.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 1rem;
    overflow: visible;
}

.site-logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    white-space: nowrap;
}

/* Açık Arama Çubuğu */
.header-search-bar {
    flex-grow: 1;
    /*max-width: 680px;  Daha geniş arama alanı */
    min-width: 200px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* FiboSearch (ajax-search-for-woocommerce) tam genişlik */
.header-search-bar .dgwt-wcas-search-wrapp,
.header-search-bar .dgwt-wcas-search-inner,
.header-search-bar form.dgwt-wcas-search-form {
    width: 100% !important;
    max-width: 100% !important;
}

.header-search-bar .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input {
    width: 100% !important;
    border-radius: 50px !important;
    padding: 11px 50px 11px 22px !important;
    font-size: 0.93rem !important;
    border: 1.5px solid #e5e7eb !important;
    background: #f3f4f6 !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

.header-search-bar .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input:focus {
    border-color: #FFB800 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(255,184,0,0.12) !important;
}

/* Arama İkonlarını Gizle (Mercek Kaldırma) */
.header-search-bar .dgwt-wcas-ico-magnifier-handler,
.header-search-bar .dgwt-wcas-ico-magnifier,
.header-search-bar .dgwt-wcas-search-icon,
.header-search-bar .search-submit {
    display: none !important;
}

/* FiboSearch ödeme sayfasında gizlenme override */
.woocommerce-checkout .header-search-bar,
.woocommerce-checkout .header-search-bar .dgwt-wcas-search-wrapp,
.woocommerce-checkout .header-search-bar form,
body.woocommerce-checkout .header-search-bar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.woocommerce-checkout .header-search-bar .dgwt-wcas-search-wrapp input {
    display: block !important;
    visibility: visible !important;
}

.search-form-inline {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field {
    width: 100%;
    padding: 11px 45px 11px 22px;
    border: 1.5px solid var(--gray-200);
    border-radius: 50px;
    background: var(--gray-100);
    font-family: var(--font-sans);
    font-size: 0.93rem;
    outline: none;
    transition: var(--transition);
    color: var(--text);
}

.search-field::placeholder {
    color: var(--gray-500);
}

.search-field:focus {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.12);
}

.search-submit {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.05rem;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s;
}

.search-submit:hover {
    opacity: 1;
}

/* Araç İkonları */
.header-tools {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-left: auto;
    flex-shrink: 0;
}

.search-form-wrap {
    flex-grow: 1;
    max-width: 400px;
    margin-right: 20px;
}

.tool-item {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.tool-item a {
    display: flex;
    align-items: center;
}

.tool-item a:hover {
    transform: translateY(-2px);
}

.wishlist-item a {
    color: #e74c3c;
}

.cart-contents {
    position: relative;
}

/* SVG İkon Genel Stilleri */
.cgp-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--dark);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cgp-icon-svg svg {
    width: 100%;
    height: 100%;
}

.tool-item > a,
.cart-contents {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 0; /* Removing !important to allow sub-elements to override */
    color: inherit;
}

/* Global SVG Handling for Premium Look */
.cgp-icon-svg svg,
.trust-v3-icon svg,
.sf-icon svg,
.contact-icon svg,
.trust-badge svg,
.pay-badge svg {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.trust-v3-icon svg { color: var(--secondary); opacity: 0.9; }
.sf-icon svg { color: var(--secondary); margin-right: 5px; }
.contact-icon svg { color: var(--secondary); opacity: 0.8; }
.trust-badge svg, .pay-badge svg { margin-right: 6px; opacity: 0.7; }

.s-feat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-item a:hover .cgp-icon-svg {
    color: var(--primary);
    transform: translateY(-2px);
}

.cart-contents .count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ffb800 !important;
    color: #000 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(255,184,0,0.3);
    border: 2px solid #fff;
    z-index: 2;
}

/* Hamburger Menü */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   5. MEGA MENÜ NAVİGASYON
   =================================== */
.main-navigation {
    border-top: 1px solid var(--gray-100);
}

.main-navigation>ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.main-navigation>ul>li {
    position: relative;
}

/* MEGA MENÜ TAM GENİŞLİK FIX */
.main-navigation>ul>li.has-mega-menu {
    position: static;
}

.main-navigation>ul>li>a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 18px;
    /* Dikey padding (üst/alt) artırılarak güvenli hover köprüsü oluşturuldu */
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
    white-space: nowrap;
    transition: var(--transition);
}

.main-navigation>ul>li>a:hover,
.main-navigation>ul>li:hover>a {
    color: var(--primary);
}

/* ===================================
   5. MEGA MENÜ (Geniş Açılır Panel)
   =================================== */
.main-navigation>ul>li.has-mega-menu>.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    /* Mouse'un boşa düşmemesi için tam bitişiğine yapıştırıldı */
    left: 0;
    width: 100%;
    /* Konteyneri %100 kaplar */
    background: var(--white);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Biraz daha hafif gölge */
    border-top: 1px solid var(--gray-200);
    /* Kullanıcının görseline benzer daha soft çizgi */
    padding: 2.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    transform: translateY(10px);
    /* Mesafeyi azalttık */
    z-index: 9999;
    max-height: calc(100vh - 130px); /* Uzun menülerin ekrandan taşmasını engeller */
    overflow-y: auto; /* Kategorilerin içinde gezinebilmek için kaydırma barı ekler */
}

/* Hover ile göster */
.main-navigation>ul>li.has-mega-menu:hover>.mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    /* Alt yapıyı esnek hale getir */
    gap: 4rem;
    /* Sol liste ve sağ resim arası boşluk */
}

/* Sol Kolon (Kategori Listesi) */
.mega-left-col {
    flex: 0 0 70%;
    /* Sol alanın çok daha fazla yer kaplaması için */
    background: #fdfdfd;
    padding: 0 1.5rem 0.5rem 0;
}

.mega-left-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--gray-100);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-left-col > .sub-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem 1.5rem !important;
}

/* 2. Seviye Kategoriler (Başlıklar) */
.mega-left-col > .sub-menu > li {
    width: 100% !important;
}

.mega-left-col > .sub-menu > li > a {
    display: block !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important; /* Daha kalın başlıklar */
    color: var(--dark) !important;
    text-transform: uppercase !important;
    margin-bottom: 0.8rem !important;
    padding-bottom: 0.4rem !important;
    border-bottom: 2px solid var(--gray-100) !important;
    pointer-events: auto !important; /* Gizli kilit ihtimaline karşı kesin tıklanabilirlik verildi. */
}

/* 3. Seviye Kategoriler (Dikey Liste) */
.mega-left-col .sub-menu.level-1 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
    list-style: none !important;
    padding-left: 0 !important;
}

.mega-left-col .sub-menu.level-1 li a {
    font-size: 0.9rem !important;
    color: var(--gray-600) !important;
    font-weight: 500 !important;
    padding: 0.2rem 0 !important;
    transition: all 0.2s ease !important;
}

.mega-left-col .sub-menu.level-1 li a:hover {
    color: var(--primary) !important;
    transform: translateX(4px) !important;
}

/* Sağ Kolon (Öne Çıkan Görsel ve Başlık) */
.mega-right-col {
    flex: 0 0 25%;
    /* Görsel alanını kısıtla (Sol tarafa yer bırak) */
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mega-right-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-right-image-wrap {
    width: 100%;
    max-width: 280px;
    height: 250px;
    /* Yüksekliği sınırla */
    background: var(--gray-100);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.mega-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.main-navigation>ul>li.has-mega-menu:hover .mega-featured-img {
    transform: scale(1.03);
    /* Çok hafif zoom efekti */
}

/* ===================================
   6. MOBİL UYUMLULUK
   =================================== */
@media (max-width: 991px) {
    .site-header {
        position: relative;
    }

    .header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 0.8rem;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        margin-right: 5px;
    }

    .site-logo {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        min-width: 0;
        /* İçeriğin taşmasını engeller */
    }

    .site-logo h1 {
        white-space: normal; /* Mobilde taşmayı önlemek için serbest bırakıldı */
        word-wrap: break-word;
        font-size: clamp(0.85rem, 4vw, 1.1rem); /* Boyut biraz dengelendi */
        line-height: 1.1;
    }

    .header-tools {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
        margin-left: 0;
        justify-content: flex-end;
        gap: 8px; /* Slightly tighter for mobile */
    }

    .tool-item {
        font-size: 1.15rem;
        /* İçiçe girmesin diye ikonlar biraz küçüldü */
    }

    .wishlist-item {
        display: none !important;
        /* Logoya yer açmak ve referanstaki görünüme uymak için mobilde gizlendi */
    }

    .header-search-bar {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
        max-width: 100%;
        margin-top: 0;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: -15px;
        /* Container'ın padding'ini telafi et */
        width: 100vw;
        /* Ekranın tamamını kapla */
        max-width: 100vw;
        max-height: calc(100vh - 80px);
        /* Uzun menüler için boyu sınırla */
        overflow-y: auto;
        /* Dikey scroll (kaydırma) özelliği kazandır */
        background: var(--white);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-top: 1px solid var(--gray-100);
        padding-bottom: 1rem;
    }

    .main-navigation.is-active {
        display: block;
    }

    .main-navigation>ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-navigation>ul>li {
        width: 100%;
    }

    .main-navigation>ul>li>a {
        align-items: flex-start;
        padding: 15px 20px;
        /* Dokunmatik hedefler için padding artırıldı */
        border-bottom: 1px solid var(--gray-50);
        width: 100%;
        box-sizing: border-box;
        /* Genişlik hesaplamasına paddingi dahil et */
    }

    /* Mobil mega menü düzeni ayarlamaları */
    .main-navigation>ul>li.has-mega-menu>.mega-menu-wrapper {
        position: static;
        box-shadow: none;
        border-top: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: block;
        /* Hover olmadığı için mobilde varsayılan olarak liste açık kalır */
        background: #f9f9f9;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .main-navigation>ul>li.has-mega-menu:hover>.mega-menu-wrapper {
        display: block; /* Yedek olarak bırakıldı */
    }

    .mega-menu-content {
        flex-direction: column;
        padding: 0.5rem 10px 1rem 20px;
        gap: 0.5rem;
        /* Boşluğu mobilde çok açmamak için azalttım */
        box-sizing: border-box;
    }

    .mega-left-col {
        padding: 0;
        border-right: none;
        flex: 1;
    }

    .mega-left-col .sub-menu {
        grid-template-columns: 1fr !important;
        gap: 1rem 0 !important;
        /* Masaüstündeki 4 sütun zorunluluğunu ezip mobilde sıralı tek listeye çevirir */
    }

    /* Masaüstünden pointer-events kaldırıldığı için mobildeki auto kuralına gerek kalmadı */

    .mega-right-col {
        display: none;
        /* Mobilde yerden tasarruf için mega resmi gizle */
    }

    .menu-toggle {
        display: flex;
    }

    /* Hamburger animasyonu */
    .menu-toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 640px) {
    .top-bar-links {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .site-logo h1 {
        font-size: 1.3rem;
    }

    .header-tools {
        gap: 0.8rem;
    }

    .tool-item {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .site-logo h1 {
        font-size: 1.1rem;
    }

    .header-tools {
        gap: 0.5rem;
    }

    .tool-item {
        font-size: 1.1rem;
    }

    .cart-contents .count {
        top: -6px;
        right: -8px;
        font-size: 0.6rem;
        min-width: 15px;
        padding: 1px 4px;
    }
}

/* ===================================
   7. BUTONLAR
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(255, 107, 107, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}

.btn-outline-dark:hover {
    background: var(--text);
    color: var(--white);
}

/* Keyframe parçaları temizlendi */

/* ===================================
   9. ANA SAYFA: TRUST SECTION
   =================================== */
/* Eski Trust Blokları kaldırıldı */

/* ===================================
   10. ANA SAYFA: SECTION HEADER
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* ===================================
   11. ANA SAYFA: KATEGORİLER
   =================================== */
.categories-section {
    padding: 6rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.cat-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.cat-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--cat-color, var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 2.5rem;
    transition: transform 0.3s;
}

.cat-card:hover .cat-image {
    transform: scale(1.1);
}

.cat-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.cat-info h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--text);
    text-transform: capitalize;
}

.cat-info span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===================================
   12. ANA SAYFA: NEDEN BİZ (ÖZELLİKLER)
   =================================== */
.features-section {
    padding: 5rem 0 6rem;
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

/* ==========================================================================
   26. WOOCOMMERCE PREMIUM CART & CHECKOUT (UPDATE-PROOF)
   Description: WooCommerce şablonlarına dokunmadan sadece CSS ile yapılmış
   modern, güncellenmeye dayanıklı (safe) Sepet ve Ödeme tasarımları.
   ========================================================================== */

/* --- A. PROGRESS BAR SİTİLİ (SEPET & ÖDEME) --- */
.woocommerce .woocommerce-info {
    border-top-color: #2b6cb0;
    margin-bottom: 25px;
}

.cgp-checkout-progress {
    margin: 10px auto 35px;
    /* Üstteki gereksiz boşlukları daralttık */
    max-width: 600px;
    text-align: center;
}

.cgp-progress-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.cgp-progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.cgp-progress-steps .step {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cgp-progress-steps .step .step-num {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #a0aec0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cgp-progress-steps .step .step-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Active Step */
.cgp-progress-steps .step.active .step-num {
    background: #e65c00;
    /* Turuncu tonu */
    border-color: #e65c00;
    color: #fff;
}

.cgp-progress-steps .step.active .step-label {
    color: #2d3748;
    /* Koyu renk */
}

/* Completed Step */
.cgp-progress-steps .step.completed .step-num {
    background: #2d3748;
    border-color: #2d3748;
    color: #fff;
}

.cgp-progress-steps .step.completed .step-label {
    color: #2d3748;
}

/* Tepedeki Beyaz Boşluğu Engelle (Site Content Margin sıfırlama) */
.woocommerce-cart .site-content {
    padding-top: 0 !important;
}

/* Ödeme Sayfası Ana Başlıklarını Gizle (Sepet sayfası artık PHP'den kontrol ediliyor) */
.woocommerce-checkout h1.page-title,
.woocommerce-checkout h1.entry-title {
    display: none !important;
}

/* Sepet Footer Altı Beyaz Boşluk Önleyici */
/* HTML kaynağı: <div class="container" style="padding: 5rem 0;"> - inline stil eziliyor */
.woocommerce-cart .woocommerce {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.woocommerce-cart .cart-collaterals {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.woocommerce-cart main {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* İnline style="padding: 5rem 0" ezme */
.woocommerce-cart main .container {
    padding-bottom: 0 !important;
}

/* --- B. SEPET SAYFASI (CART) - GÖRSELLE AYNI --- */
.woocommerce-cart .container .woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    gap: 0;
    align-items: flex-start;
    width: 100% !important;
}

/* Bildirimler ve İlerleme Çubuğu Satır Olarak (Full Width) */
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-cart .cgp-checkout-progress {
    flex: 1 0 100%;
    width: 100%;
}

/* Yeni Kapsayıcı: Form ve Toplamları Yan Yana Tutar */
.woocommerce-cart .cgp-cart-layout-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    align-items: flex-start;
    margin-top: 20px;
}

/* Sol Taraf: Ürünler Tablosu Formu */
.woocommerce-cart .cgp-cart-layout-wrap .woocommerce-cart-form {
    flex: 1 1 65%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    padding: 30px;
    position: relative;
}

/* Sağ Taraf: Sepet Toplamları Kartı */
.woocommerce-cart .cgp-cart-layout-wrap .cart-collaterals {
    flex: 0 0 300px;
    min-width: 260px;
    margin-top: 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    padding: 30px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    float: none;
    margin: 0;
}

/* Toplam Kartı Başlık */
.woocommerce .cart-collaterals .cart_totals h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2d3748;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Sepet Tablo İçi Şekillendirme (Katı Flexbox Düzeni) - SADECE SEPET SAYFASINDA */
.woocommerce-cart table.shop_table {
    border: none;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.woocommerce-cart table.shop_table thead {
    display: block;
    width: 100%;
}

.woocommerce-cart table.shop_table tbody {
    display: block;
    width: 100%;
}

/* Tablo Satırlarının Senkron Flex Düzeni (Başlık ve İçerik Öğeleri İçin Ortak) */
.woocommerce-cart table.shop_table thead tr,
.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* İzin verildi: Alta düşebilir */
    width: 100%;
}

/* Başlık Satırı */
.woocommerce-cart table.shop_table thead tr {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

/* İçerik Satırı */
.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item {
    border-bottom: 1px solid #f7fafc;
    padding: 15px 0;
    position: relative;
}

.woocommerce-cart table.shop_table tbody tr.woocommerce-cart-form__cart-item:last-child {
    border-bottom: none;
}

/* Tablo Başlık (Thead) Genel Düzenlemeleri */
.woocommerce-cart table.shop_table thead th {
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.70rem;
    letter-spacing: 1px;
    border: none;
    padding: 0 10px;
    margin: 0;
    background: transparent;
}

/* Hücre Genel Stilleri (Tbody) */
.woocommerce-cart table.shop_table tbody td {
    background: transparent;
    border: none;
    padding: 0 10px;
    margin: 0;
    vertical-align: middle;
}

/* === Sütun Sıralaması ve Genişlik (Flex Order & Basis - Kusursuz Hizalama) === */

/* 1. Ürün Resmi (Gizli Başlık) */
.woocommerce-cart table.shop_table thead th.product-thumbnail,
.woocommerce-cart table.shop_table tbody td.product-thumbnail {
    order: 1;
    flex: 0 0 100px;
    padding: 0 15px 0 0;
}

.woocommerce-cart table.shop_table thead th.product-thumbnail {
    font-size: 0;
    color: transparent;
    pointer-events: none;
}

/* 2. Ürün İsmi ve SKU */
.woocommerce-cart table.shop_table thead th.product-name,
.woocommerce-cart table.shop_table tbody td.product-name {
    order: 2;
    flex: 1;
    /* Dinamik boşluğu doldur */
    text-align: left !important;
}

.woocommerce-cart table.shop_table thead th.product-name {
    text-align: center !important;
    /* Fotoğrafta "ÜRÜN" ortalanmış gibi durağan */
}

/* 3. Fiyat */
.woocommerce-cart table.shop_table thead th.product-price,
.woocommerce-cart table.shop_table tbody td.product-price {
    order: 3;
    flex: 0 0 15%;
    text-align: center !important;
}

/* 4. Miktar */
.woocommerce-cart table.shop_table thead th.product-quantity,
.woocommerce-cart table.shop_table tbody td.product-quantity {
    order: 4;
    flex: 0 0 15%;
    text-align: center !important;
}

.woocommerce-cart table.shop_table tbody td.product-quantity {
    display: flex;
    justify-content: center;
}

/* 5. Ara Toplam */
.woocommerce-cart table.shop_table thead th.product-subtotal,
.woocommerce-cart table.shop_table tbody td.product-subtotal {
    order: 5;
    flex: 0 0 15%;
    text-align: center !important;
}

/* 6. Silme İkonu (Gizli Başlık) */
.woocommerce-cart table.shop_table thead th.product-remove,
.woocommerce-cart table.shop_table tbody td.product-remove {
    order: 6;
    flex: 0 0 40px;
    text-align: right;
    padding-right: 0 !important;
}

.woocommerce-cart table.shop_table thead th.product-remove {
    font-size: 0;
    color: transparent;
    pointer-events: none;
}


/* --- İçerik Şekillendirmeleri --- */

/* Sepet: Ürün Görseli */
.woocommerce table.cart img {
    border-radius: 12px;
    border: 1px solid #edf2f7;
    width: 80px !important;
    height: 80px;
    object-fit: contain;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin: 0;
    display: block;
}

/* Sepet: Ürün İsmi ve SKU */
.woocommerce table.cart td.product-name a {
    color: #2d3748;
    font-weight: 800;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

.woocommerce table.cart td.product-name a:hover {
    color: var(--primary);
}

.cgp-cart-item-sku {
    display: inline-block;
    background: #fdfdfd;
    color: #718096;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 3px 12px;
    font-size: 0.70rem;
    font-weight: 600;
}

/* Sepet: Fiyatlar */
.woocommerce table.cart td.product-price .amount {
    color: #2d3748;
    font-weight: 800;
    font-size: 1rem;
}

.woocommerce table.cart td.product-subtotal .amount {
    color: #e65c00;
    font-weight: 800;
    font-size: 1.05rem;
}

/* Miktar Seçici (Quantity) */
.woocommerce table.cart td.product-quantity .quantity input.qty {
    width: 60px;
    height: 35px;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    text-align: center;
    color: #2d3748;
    font-weight: 700;
    margin: 0 auto;
}

/* Sepet: Silme İkonu (Kırmızı X) */
.woocommerce table.cart a.remove {
    color: #e53e3e !important;
    font-weight: 800;
    font-size: 1.4rem;
    background: transparent;
    border: none;
    display: block;
    text-align: right;
    padding-right: 5px;
}

.woocommerce table.cart a.remove:hover {
    color: #c53030 !important;
    background: transparent;
}

/* Sepet: Actions Satırı (Kupon vs. alanı yeni yapıya uygun) */
.woocommerce-cart table.shop_table tbody inset,
.woocommerce-cart table.shop_table tbody tr:last-child {
    display: block;
    width: 100%;
    border-top: 1px solid #edf2f7;
    border-bottom: none;
}

.woocommerce-cart table.shop_table tbody tr:last-child td {
    width: 100%;
    padding-top: 25px;
    /* Çizgi ile içerik arası */
    border: none !important;
}

.woocommerce-cart table.cart td.actions {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 20px;
}

/* Kupon Bölümü ( [Input] Kupon: [Button] formatı ) */
.woocommerce-cart table.cart td.actions .coupon {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.woocommerce-cart table.cart td.actions .coupon label[for="coupon_code"] {
    display: none !important;
}

/* Input field flex order */
.woocommerce-cart table.cart td.actions .coupon input[type="text"] {
    order: 1;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 11px 15px;
    width: 180px;
    font-size: 0.85rem;
    box-shadow: none;
}

/* Kupon Yazısı (CSS ile input ve buton arasına sokulur) */
.woocommerce-cart table.cart td.actions .coupon::after {
    content: 'Kupon:';
    order: 2;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0 10px;
    white-space: nowrap;
}

/* Kupon Butonu */
.woocommerce-cart table.cart td.actions .coupon button {
    order: 3;
    background: #2d3748;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

.woocommerce-cart table.cart td.actions .coupon button:hover {
    background: #1a202c;
}

/* Sepeti Güncelle Butonu (Sağda) */
.woocommerce-cart table.cart td.actions>button[name="update_cart"] {
    background: #fff;
    color: #718096;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
}

.woocommerce-cart table.cart td.actions>button[name="update_cart"]:hover {
    color: #2d3748;
    border-color: #cbd5e0;
}

/* Alışverişe Devam Et (Alt kısımda solda kalacak) */
.cgp-continue-shopping {
    display: block;
    color: #718096;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    flex-basis: 100%;
    order: 10;
    margin-top: 15px;
    transition: 0.3s;
}

/* Sepet Toplamları İçerik */
.woocommerce .cart-collaterals .cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce .cart-collaterals .cart_totals table th {
    padding: 15px 0;
    color: #718096;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    border-bottom: 1px solid #edf2f7;
}

.woocommerce .cart-collaterals .cart_totals table td {
    padding: 15px 0;
    text-align: right;
    font-weight: 800;
    color: #2d3748;
    font-size: 0.95rem;
    border-bottom: 1px solid #edf2f7;
}

.woocommerce .cart-collaterals .cart_totals tr.order-total th,
.woocommerce .cart-collaterals .cart_totals tr.order-total td {
    border-bottom: none;
    border-top: 2px solid #2d3748;
    padding-top: 25px;
}

.woocommerce .cart-collaterals .cart_totals tr.order-total th {
    font-size: 1.1rem;
    color: #2d3748;
}

.woocommerce .cart-collaterals .cart_totals tr.order-total td {
    text-align: right;
}

.woocommerce .cart-collaterals .cart_totals tr.order-total td strong {
    font-size: 1.4rem;
    color: #e65c00;
    display: inline-block;
}

.woocommerce .cart-collaterals .cart_totals tr.order-total td small.includes_tax {
    display: inline-block;
    font-size: 0.85rem;
    color: #e65c00;
    font-weight: 700;
    margin-left: 5px;
}

/* Ödeme Sayfasına İlerle Butonu */
.woocommerce .cart-collaterals .wc-proceed-to-checkout {
    padding: 25px 0 0;
}

.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    background: #2d3748;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    font-size: 1.1rem;
    padding: 18px 20px;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
}

.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    background: #1a202c;
}



/* ===========================================================
   8.10. ÖZEL SÖZLEŞME VE ONAY KUTULARI (NATIVE + PREMIUM)
   =========================================================== */
/* Native WooCommerce & Hezarfen Containers */
.woocommerce-terms-and-conditions-wrapper,
.hezarfen-checkout-checkbox-container,
.cgp-checkout-agreements-wrap {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #ebebeb;
}

.woocommerce-form__label-for-checkbox,
.hezarfen-checkout-checkbox-label,
.cgp-agreement-row label.checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px !important;
}

input[type="checkbox"].input-checkbox {
    margin-top: 4px !important;
    flex-shrink: 0;
}

/* Link Colors (Green & Underlined as in photo) */
.woocommerce-terms-and-conditions-link,
.hezarfen-contract-link,
.cgp-agreement-link,
.woocommerce-privacy-policy-text a {
    color: #00a69c !important; /* Hezarfen Yeşili */
    text-decoration: underline !important;
    font-weight: 600;
}

.woocommerce-terms-and-conditions-link:hover,
.hezarfen-contract-link:hover,
.cgp-agreement-link:hover {
    color: #00847d !important;
    text-decoration: none !important;
}

.required,
.red-asterisk {
    color: #e2401c !important; /* Kırmızı */
    font-weight: bold;
}

/* Siparişi Onayla Butonu (Fotoğraftaki Turuncu Stil) */
#place_order {
    background-color: #d35400 !important; /* Fotoğraftaki koyu turuncu */
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    width: 100% !important;
    margin-top: 10px !important;
}

#place_order:hover {
    background-color: #ba4a00 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 84, 0, 0.3);
}

/* Privacy Text Box (already in checkout, refining shadow/border) */
.woocommerce-privacy-policy-text {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
    font-size: 13px;
    color: #777;
    margin-bottom: 25px;
}

.woocommerce-privacy-policy-text a {
    color: #e2401c;
    text-decoration: underline;
}


/* ===========================================================
   8.11. SSL GÜVENLİ ÖDEME ROZETİ
   =========================================================== */
.cgp-ssl-badge-wrapper {
    width: 100%;
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #ebebeb;
    display: flex;
    justify-content: center;
}

.cgp-ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.cgp-ssl-icon {
    font-size: 18px;
}

.cgp-ssl-text {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}



/* ÖDEME SAYFASI ÜRÜN LİSTESİ (PREMIUM TASARIM) */
.shop_table.woocommerce-checkout-review-order-table .product-name {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
    padding: 15px 0 !important;
}

.cgp-checkout-product-img img {
    width: 64px !important;
    height: 72px !important; /* Fotoğraftaki gibi biraz dikey oranlı */
    object-fit: cover;
    border-radius: 10px;
    background: #f9f9f9;
}

.cgp-checkout-product-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cgp-checkout-product-name {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #333 !important;
}

/* SKU & ADET PILL (BALON) TASARIMI */
.cgp-checkout-product-meta-pill {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 4px 0;
    width: fit-content;
    gap: 8px;
    margin-top: 2px;
}

.cgp-checkout-sku {
    font-size: 11px;
    font-weight: 700;
    color: #8c98a5;
    text-transform: uppercase;
}

.cgp-checkout-qty {
    font-size: 14px;
    font-weight: 800;
    color: #333;
}

/* ÖDEME YÖNTEMLERİ SEÇİM İKONU (KESİN GÖRÜNÜRLÜK FİX) */
.wc_payment_method {
    margin-bottom: 12px !important;
    border: none !important;
}


/* Murat Ödeme Yöntemi Fix */
.wc_payment_method label {
    /*
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    color: #444 !important;
    padding: 8px 0 !important;
    */
}

/* Radyo butonunu zorla göster */
.wc_payment_method input[type="radio"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    appearance: auto !important;
    -webkit-appearance: radio !important;
    width: 20px !important;
    height: 20px !important;
    cursor: pointer !important;
    margin: 0 !important;
    accent-color: #00a69c !important;
}

/* Payment Box Styling (Açıklama baloncuğu) */
.payment_box {
    background-color: #f8f9fa !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-top: 5px !important;
    border: 1px solid #eee !important;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.payment_box p {
    margin: 0 !important;
}

/* Responsive Cart placeholder - Moved to end for specificity */


/* ===========================================================
   9. MOBİL UYUMLULUK (Responsive) - GENEL
   =========================================================== */



/* ==========================================================================
   PROGRESS BAR (SEPET & ÖDEME ADIMLARI)
   ========================================================================== */
.cgp-checkout-progress {
    width: 100%;
    max-width: 900px;
    margin: 40px auto 50px;
    padding: 0 20px;
}

.cgp-progress-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.cgp-progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #edf2f7;
    z-index: 1;
}

.cgp-progress-steps .step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.cgp-progress-steps .step .step-num {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 3px solid #edf2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #718096;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cgp-progress-steps .step .step-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

/* Aktif Adım */
.cgp-progress-steps .step.active .step-num {
    background: #2d3748;
    border-color: #2d3748;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(45,55,72,0.2);
}

.cgp-progress-steps .step.active .step-label {
    color: #2d3748;
}

/* Tamamlanmış Adım */
.cgp-progress-steps .step.completed .step-num {
    background: #48bb78;
    border-color: #48bb78;
    color: #fff;
}

.cgp-progress-steps .step.completed .step-label {
    color: #48bb78;
}

.cgp-progress-steps .step.completed::after {
    content: '✓';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
}

.cgp-progress-steps .step.completed .step-num {
    font-size: 0; /* Sayıyı gizle tık işaretini göster */
}

/* =====================================================
   CHECKOUT SAYFASI - CSS GRID LAYOUT (DOĞRUDAN WooCommerce ELEMENTLERİ)
   form.checkout içindeki #customer_details SOL, #order_review SAĞ kolona
   CSS Grid ile yerleştiriliyor. PHP wrapper DIV'lerine gerek yok.
   ===================================================== */

/* form.checkout kendisi CSS Grid olsun */
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 420px !important;
    grid-template-rows: auto !important;
    gap: 30px !important;
    align-items: start !important;
    width: 100% !important;
}

/* Sol kolon: Fatura, Adres, Account alanları */
.woocommerce-checkout form.checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* Sol kolon iç kartlar: Fatura ve Kargo */
.woocommerce-checkout form.checkout #customer_details .col-1,
.woocommerce-checkout form.checkout #customer_details .col-2 {
    background: #ffffff;
    border: 1px solid #e8ecf0;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    width: 100%;
    box-sizing: border-box;
    float: none !important;
    margin: 0 !important;
}

/* Hesap Oluştur ve Ek Alanlar: Sol kolonda birer kart */
.woocommerce-checkout form.checkout .woocommerce-account-fields,
.woocommerce-checkout form.checkout .woocommerce-additional-fields {
    grid-column: 1 !important;
    background: #ffffff;
    border: 1px solid #e8ecf0;
    border-radius: 20px;
    padding: 30px 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    box-sizing: border-box;
}

/* Sağ kolon: Sipariş başlığı - grid area belirle */
.woocommerce-checkout form.checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 15px 0 !important;
    padding-top: 5px;
}

/* Sağ kolon: Sipariş Özeti kartı */
.woocommerce-checkout form.checkout #order_review {
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: sticky !important;
    top: 100px !important;
    background: #ffffff !important;
    border: 1px solid #e8ecf0 !important;
    border-radius: 20px !important;
    padding: 35px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06) !important;
    box-sizing: border-box !important;
    align-self: start !important;
}

/* Sipariş Özeti Tablo */
.woocommerce-checkout #order_review table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin-bottom: 20px;
}

.woocommerce-checkout #order_review table.shop_table th {
    padding: 12px 0;
    color: #718096;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.woocommerce-checkout #order_review table.shop_table td {
    padding: 12px 0;
    text-align: right;
    font-weight: 700;
    color: #2d3748;
}

.woocommerce-checkout #order_review table.shop_table tbody td.product-name {
    text-align: left;
    font-weight: 600;
    color: #4a5568;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th,
.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td {
    border-bottom: none;
    border-top: 2px solid #2d3748;
    padding-top: 20px;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td strong {
    font-size: 1.4rem;
    color: #f26522;
}


/* KRİTİK: Görünmeyen Alanlar İçin Surgical Visibility */
#createaccount_field,
.woocommerce-account-fields,
#checkout-sozlesmeler,
.in-sozlesme-onay-checkboxes,
.woocommerce-terms-and-conditions-wrapper,
#order_review,
#order_review_heading {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 10px !important;
    overflow: visible !important;
}

/* Checkbox ve Label Hizalaması */
.woocommerce-checkout label.checkbox,
.woocommerce-form__label-checkbox,
.create-account label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 15px 0 !important;
    font-weight: 600 !important;
    cursor: pointer;
    line-height: 1.4;
}

.woocommerce-checkout input[type="checkbox"] {
    margin-top: 3px !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    accent-color: #f26522;
}

/* Hezarfen Sözleşmeleri */
.in-sozlesme-onay-checkboxes {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #edf2f7;
    margin: 25px 0 !important;
}

/* Fatura ve Nakliye Bölümleri İç Düzeni */
.woocommerce-checkout form.checkout #customer_details .col-1 {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 0;
    display: block; /* Flex-center bozuyor olabilir */
    background: transparent;
    border: none;
    box-shadow: none;
}

.woocommerce-checkout form.checkout #customer_details .cgp-checkout-progress {
    width: 100%;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
}

.woocommerce-checkout form.checkout #customer_details .col-2 {
    margin-bottom: 0;
}

/* Checkout Başlıkları (Fatura Detayları vb.) */
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 25px !important;
    display: block !important;
}

/* KRİTİK GÖRÜNÜRLÜK: Kimse Bu Alanları Gizleyemez */
.woocommerce-checkout #createaccount_field,
.woocommerce-checkout .woocommerce-account-fields,
.woocommerce-checkout #checkout-sozlesmeler,
.woocommerce-checkout .in-sozlesme-onay-checkboxes,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    pointer-events: auto !important;
}

/* Onay Kutuları ve Metin Hizalaması */
.woocommerce-checkout .form-row.create-account,
.woocommerce-checkout .woocommerce-form__label-checkbox,
.woocommerce-checkout label.checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    cursor: pointer !important;
}

.woocommerce-checkout input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 2px !important;
    accent-color: #f26522 !important;
    cursor: pointer !important;
}

/* Sağ Sütun: Sipariş Özeti Kartı (Sticky) */
.woocommerce-checkout .cgp-checkout-right-column {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 20px !important;
    padding: 35px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important;
    position: sticky !important;
    top: 100px !important;
}

/* Ödeme Yöntemleri ve Alt Alanlar */
#add_payment_method #payment, .woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
}

#add_payment_method #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #f0f0f0;
    padding: 0 0 20px 0;
    margin-bottom: 20px;
}

#add_payment_method #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background-color: #f8f9fa;
    color: #4a5568;
    border-radius: 10px;
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 15px 0;
    position: relative;
    border: 1px solid #edf2f7;
}

#add_payment_method #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #f8f9fa; /* Ok işareti rengi */
}

/* Gizlilik Politikası ve Şartlar Kutusu */
.woocommerce-privacy-policy-text {
    background: #f8f9fa;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 20px;
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
}

.woocommerce-privacy-policy-text a {
    color: #f26522;
    text-decoration: underline;
    font-weight: 600;
}





/* Zorunlu Yıldız İşareti */
.woocommerce-checkout .required {
    color: #e53e3e;
    text-decoration: none;
    font-size: 1.2rem;
    margin-left: 3px;
}

/* Input Alanları Modern Görünüm */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    background: #fcfcfc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.woocommerce-checkout .form-row input.input-text:focus {
    border-color: #2d3748;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.05);
}

/* Sipariş Onayla Butonu (Turuncu-Koyu Turuncu) */
.woocommerce-checkout #place_order {
    background: #d35400 !important; /* Fotoğraftaki turuncu tonu */
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    padding: 20px !important;
    border-radius: 12px !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    border: none !important;
    margin-top: 20px !important;
}

.woocommerce-checkout #place_order:hover {
    background: #a04000 !important;
}



.woocommerce-checkout form .form-row {
    margin-bottom: 15px;
}

.woocommerce-checkout form .form-row label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
    display: block;
}

.woocommerce-checkout form input.input-text,
.woocommerce-checkout form select,
.woocommerce-checkout form textarea {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #f7fafc;
    padding: 12px;
    width: 100%;
    font-size: 0.95rem;
    color: #2d3748;
}

.woocommerce-checkout form input.input-text:focus,
.woocommerce-checkout form select:focus,
.woocommerce-checkout form textarea:focus {
    background-color: #fff;
    border-color: #e65c00;
    outline: none;
}

.woocommerce-checkout #place_order {
    background: #e65c00;
    border-radius: 8px;
    color: #fff;
    padding: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 15px;
    border: none;
}

.woocommerce-checkout #place_order:hover {
    background: #cc5200;
}

/* Ödeme Yöntemi Kutusu */
#payment {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

#payment ul.payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

#payment ul.payment_methods li {
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
}

/* ===========================================================
   9. MOBİL UYUMLULUK (Responsive) & CHECKOUT FİKSLERİ
   =========================================================== */

/* Genel Taşma Önleyici - Yatay Kaydırmayı Kökten Çöz */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

*, *::before, *::after {
    box-sizing: inherit !important;
}

/* Ödeme Sayfasında Arama Çubuğunu Gizle (Friction Reduction) */
.woocommerce-checkout .header-search-bar {
    display: none !important;
}

@media (max-width: 768px) {
    /* Header Mobil Düzenleme */
    .header-inner {
        padding: 5px 0 10px !important;
        gap: 8px !important;
        justify-content: space-between !important;
    }

    .site-logo {
        flex-grow: 1;
        text-align: left;
        margin-left: 10px;
    }

    .site-logo h1 {
        font-size: 1.15rem !important;
        margin: 0 !important;
    }

    .header-tools {
        gap: 12px !important;
        margin-right: 5px;
    }

    .tool-item a {
        font-size: 1.25rem !important;
        display: flex;
        align-items: center;
    }

    .menu-toggle {
        display: flex !important; /* Hamburgeri göster */
        margin-left: 5px;
    }

    /* Progress Bar Mobil Optimizasyon */
    .cgp-checkout-progress {
        margin: 15px auto 25px !important;
        padding: 0 15px !important;
    }

    .cgp-progress-steps .step .step-num {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
        margin-bottom: 6px !important;
        border-width: 2px !important;
    }

    .cgp-progress-steps .step .step-label {
        font-size: 0.6rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.2px !important;
        line-height: 1.1;
    }

    .cgp-progress-steps::before {
        top: 16px !important;
        height: 2px !important;
    }

    /* Yatay Taşma Yapan Genişlikleri Kısıtla */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===================================
   13. ANA SAYFA: WOOCOMMERCE ÜRÜNLER
   =================================== */
.products-section {
    padding: 6rem 0;
}

/* ===================================
   13.5. ANA SAYFA: MOBİL UYUMLULUK
   =================================== */
@media (max-width: 1200px) {
    .trust-grid {
        gap: 1rem;
        padding: 2rem 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 5rem 0 6rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-shapes .shape {
        display: none;
    }

    /* Mobilde karışıklığı önlemek için gizle */

    .trust-section {
        margin-top: -30px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0 5rem;
        border-radius: 0 0 30px 30px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.8rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cat-card {
        padding: 1.5rem 0.5rem;
    }

    .cat-image {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   14. FOOTER – Premium Tasarım
   =================================== */
.site-footer {
    background: #1a1d24;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

/* Üst Footer */
.footer-top {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 3rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Marka Sütunu */
.footer-brand .footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand .footer-logo h2 span {
    color: var(--secondary);
}

.footer-about {
    line-height: 1.8;
    margin-bottom: 1.8rem;
    max-width: 280px;
}

/* Sosyal Medya */
.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.35);
}

/* Footer Linkler */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}

.footer-links li a::before {
    content: '›';
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-links li a:hover::before {
    transform: translateX(3px);
}

/* İletişim Listesi */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: var(--secondary);
}

/* Güven Rozetleri */
.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.2rem;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Ödeme Barı */
.footer-payment {
    padding: 1.2rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-payment-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-payment-inner>span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    white-space: nowrap;
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Alt Footer */
.footer-bottom {
    padding: 1.4rem 0;
    background: rgba(0, 0, 0, 0.25);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom-inner p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

.footer-bottom-inner strong {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 1.2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

.footer-dev {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.78rem !important;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(255, 107, 107, 0.5);
}

/* Footer Mobil */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .footer-payment-inner {
        justify-content: center;
    }
}

/* ===================================
   15. WOOCOMMERCE ÖZEL STİLLERİ
   =================================== */
.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 100%;
    margin: 0;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.woocommerce ul.products li.product .button {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
}

/* ===================================
   16. FIBOSEARCH TASARIM DÜZENLEMELERİ
   =================================== */
/* Arama Çubuğu Tam Genişlik */
.header-search-bar .dgwt-wcas-search-wrapp {
    width: 100% !important;
    max-width: 100% !important;
}

/* Arama Input Kutusunu Temaya Uydur */
.header-search-bar .dgwt-wcas-search-input {
    border-radius: 50px !important;
    padding: 11px 45px 11px 45px !important;
    /* Sol padding artırıldı, büyüteç ikonu metne değmesin */
    border: none !important;
    /* Dış çerçeve ve turuncu çizgiler tamamen iptal! */
    background: #f4f6f8 !important;
    /* İstenen çok açık gri yuvarlak zemin */
    box-shadow: none !important;
    font-family: var(--font-sans) !important;
    color: var(--text) !important;
    outline: none !important;
}

.header-search-bar .dgwt-wcas-search-input:focus {
    background: #eef1f4 !important;
    /* Odaklanınca siyah-turuncu vb. yerine hafif koyu gri olur */
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ===================================
   17. WOOCOMMERCE HESABIM (MY ACCOUNT) PREMIUM UI
   =================================== */
.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 3rem 0;*/
}

/* Hesabım sayfasındaki fazla/gereksiz tek ana başlığı gizle */
.woocommerce-account .site-main>.container>h1,
.woocommerce-account h1.page-title,
.woocommerce-account .entry-title {
    display: none !important;
}

/* --- Giriş / Kayıt Ortak Panel Düzeni --- */
.woocommerce-account .u-columns,
.woocommerce-account .col2-set,
.woocommerce-account div.col2-set,
.woocommerce-account .u-columns.col2-set {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
}

/* Her iki kolon da tam genişlik almasın, grid alanlarına göre boyutsun */
.woocommerce-account .u-column1,
.woocommerce-account .col-1,
.woocommerce-account .u-column2,
.woocommerce-account .col-2,
.woocommerce-account div.u-column1,
.woocommerce-account div.u-column2 {
    width: 48% !important;
    /* Flex olarak yan yana 1fr 1fr mantığı */
    float: none !important;
    background: #ffffff !important;
    padding: 2.5rem !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    border: 1px solid #e5e7eb !important;
}

@media (max-width: 768px) {

    .woocommerce-account .u-columns,
    .woocommerce-account .col2-set,
    .woocommerce-account div.col2-set,
    .woocommerce-account .u-columns.col2-set {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .woocommerce-account .u-column1,
    .woocommerce-account .col-1,
    .woocommerce-account .u-column2,
    .woocommerce-account .col-2,
    .woocommerce-account div.u-column1,
    .woocommerce-account div.u-column2 {
        width: 100% !important;
    }

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
    }
}

.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2,
.woocommerce-account h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: center;
    position: relative;
    padding-bottom: 0;
}

.woocommerce-account .u-column1 h2::after,
.woocommerce-account .u-column2 h2::after {
    display: none;
}

/* Her iki formun tam olarak aynı hizada durması için dış ve iç margin sarkmalarını sıfırla */
.woocommerce-account .u-column1 form,
.woocommerce-account .u-column2 form {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Form içindeki ilk elemanın fazladan margin fırlatmasını engelle */
.woocommerce-account .u-column1 form .form-row:first-child,
.woocommerce-account .u-column2 form .form-row:first-child {
    margin-top: 0 !important;
}

/* --- Form Inputları --- */
.woocommerce form .form-row {
    padding: 6px 0;
    margin: 0 0 12px;
}

.woocommerce form .form-row label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    display: inline-block;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    width: 100%;
    padding: 12px 18px;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: #374151 !important;
    transition: var(--transition);
}

.woocommerce form .form-row .input-text:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1) !important;
    outline: none;
}

.woocommerce form .woocommerce-Button.button {
    width: 100%;
    padding: 14px;
    border-radius: 6px !important;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 10px;
    background: #1e293b !important;
    /* Lacivert buton rengi */
    color: #ffffff !important;
}

/* --- Yeni Nesil Kayıt Checkbox'ları (SMS, Email, KVKK) --- */
.cgp-register-consents {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.cgp-consent-row {
    margin-bottom: 12px !important;
}

/* --- WooCommerce Hesabım (Dashboard / Logged In) --- */

/* Giriş yapılMAMIŞ (Logout) durumlar için temel yapı (Sıfırla) */
.woocommerce-account:not(.logged-in) .woocommerce {
    display: block;
}

/* Esas Konteyner: Sadece giriş yapılmış alanda flex çalışsın (Giriş formları bozulmasın) */
.woocommerce-account.logged-in .woocommerce {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Bildirimler bölümü her zaman üstte %100 genişlik kaplasın */
.woocommerce-account.logged-in .woocommerce>.woocommerce-notices-wrapper,
.woocommerce-account.logged-in .woocommerce-notices-wrapper {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 2rem;
}

/* Sol Menü (Navigasyon Kartı) */
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    width: 280px;
    margin-right: 2.5rem;
    margin-bottom: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 1.5rem 1rem;
    position: sticky;
    top: 100px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
}

/* Hover Efekti */
.woocommerce-account .woocommerce-MyAccount-navigation ul li:hover a {
    background: #f8fafc;
    color: var(--primary);
}

/* Aktif Sekme (is-active) */
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #fff6f6;
    /* Hafif kımızımsı arkaplan */
    color: var(--primary);
    font-weight: 700;
    border-left: 4px solid var(--primary);
    padding-left: 16px;
    /* border geldiği için paddingi biraz kıs */
}

/* Sağ İçerik Alanı */
.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    float: none;
}

/* Hoşgeldiniz Kutusu (Top) */
.cgp-dashboard-welcome {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.cgp-welcome-top-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.cgp-welcome-top-text strong {
    color: var(--gray-800);
}

.cgp-logout-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.cgp-dashboard-welcome h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.5px;
}

.cgp-dashboard-welcome .cgp-welcome-desc {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
}

/* 3'lü Fonksiyonel Kartlar */
.cgp-dashboard-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cgp-dashboard-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.cgp-dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.cgp-dashboard-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 0.5rem 0;
}

.cgp-dashboard-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Mobil Uyumluluk */
@media (max-width: 900px) {
    .woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
        width: 100%;
        margin-right: 0;
        position: static;
        margin-bottom: 2rem;
    }

    .woocommerce-account.logged-in .woocommerce-MyAccount-content {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cgp-dashboard-cards-wrapper {
        grid-template-columns: 1fr;
    }
}


.cgp-consent-row label.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 400 !important;
    background: transparent !important;
    color: #374151 !important;
    user-select: none;
    -webkit-user-select: none;
}

.cgp-consent-row label.checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--primary);
    width: 17px;
    height: 17px;
    cursor: pointer;
    background: #fff !important;
}

.cgp-consent-row label.checkbox span {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #374151 !important;
    background: transparent !important;
}

.cgp-legal-row {
    border-top: 1px solid #e5e7eb;
    margin-top: 15px !important;
    padding-top: 15px !important;
}

.cgp-legal-row label.checkbox span {
    color: #111827 !important;
    background: transparent !important;
    font-weight: 600;
}

.cgp-legal-row a {
    color: var(--primary);
    text-decoration: underline;
}

.cgp-privacy-policy-text {
    font-size: 0.75rem;
    color: #6b7280 !important;
    background: transparent !important;
    margin-top: 1rem;
    line-height: 1.5;
    text-align: justify;
}

.cgp-privacy-policy-text p {
    color: #6b7280 !important;
    background: transparent !important;
    margin: 0;
}

/* --- Dashboard (My Account İçi) Tasarımı --- */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 28%;
    float: left;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--gray-100);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 25px;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #fdfdfd;
    color: var(--primary);
    padding-left: 30px;
    border-left: 5px solid var(--primary);
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 68%;
    float: right;
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    color: var(--gray-700);
    line-height: 1.7;
}

@media (max-width: 991px) {

    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
    }
}

/* Arama Sonuçları Dropdown (Aşağı sarkan uzun kutuyu düzeltme) */
.dgwt-wcas-suggestions-wrapp {
    background: var(--white) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid var(--gray-100) !important;
    margin-top: 10px !important;
    overflow: hidden !important;
    height: auto !important;
    /* Büyük sarkan boşluğu kapatır */
    min-height: auto !important;
}

/* Hover Renklendirmeleri */
.dgwt-wcas-suggestion {
    padding: 10px 18px !important;
    transition: background 0.2s !important;
}

.dgwt-wcas-suggestion:hover,
.dgwt-wcas-suggestion.dgwt-wcas-suggestion-selected {
    background-color: var(--gray-50) !important;
}

/* ==========================================================================
   LOCAL WISHLIST (FAVORİLER) STYLING
   ========================================================================== */

/* Ürün Kartı Pozisyonlama */
ul.products li.product {
    position: relative !important;
}

.cgp-local-wishlist-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    padding: 0 !important;
}

.cgp-local-wishlist-btn:hover {
    transform: scale(1.15) !important;
    background: #fff !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12) !important;
}

.cgp-heart-icon {
    font-size: 16px !important;
    line-height: 1 !important;
    display: block !important;
    user-select: none !important;
}

.cgp-local-wishlist-btn.active {
    background: #fff !important;
}

/* Favoriler Sayfası (Shortcode) */
.cgp-wishlist-wrapper {
    min-height: 400px;
    padding: 20px 0;
}

#cgp-wishlist-empty .button {
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
}

/* Mobilde Buton Boyutu Ayarı */
@media (max-width: 768px) {
    .cgp-local-wishlist-btn {
        width: 28px !important;
        height: 28px !important;
        top: 8px !important;
        right: 8px !important;
    }
    
    .cgp-heart-icon {
        font-size: 14px !important;
    }
}

/* Favori Sayacı (Header) */
#cgp-wishlist-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

#cgp-wishlist-btn .count {
    position: absolute !important;
    top: -6px !important;
    right: -8px !important;
    background: #e53e3e !important;
    color: #fff !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   İADE & DEĞİŞİM SİSTEMİ
   ========================================================================== */

.cgp-returns-container {
    margin-top: 20px;
}

.cgp-returns-container table {
    width: 100%;
    margin-bottom: 20px;
}

.cgp-returns-container th {
    background: #fdfdfd;
    padding: 15px !important;
}

.cgp-returns-container td {
    padding: 15px !important;
    vertical-align: middle !important;
}

/* Shipping Code Highlight */
.cgp-shipping-code {
    background: #e6fffa;
    color: #2c7a7b;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-family: monospace;
    border: 1px dashed #2c7a7b;
    display: inline-block;
}

/* Form Styling */
#cgp-return-form-wrap {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

#cgp-return-form-wrap h4 {
    margin-bottom: 20px;
    color: var(--primary);
}

#cgp-return-form-wrap select,
#cgp-return-form-wrap textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
}

#cgp-return-form-wrap .button.secondary {
    background: #6c757d;
    margin-left: 10px;
}

/* Badge for Processing */
.cgp-returns-container .badge {
    background: #edf2f7;
    color: #4a5568;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* 20. ÜRÜN SAYFASI ÖZEL DÜZENLEMELER - PİKSEL MÜKEMMEL */

/* Gereksiz başlığı gizle */
.single-product .woocommerce-products-header {
    display: none !important;
}

.single-product .site-main .container {
    padding-top: 1rem !important;
}


/* 2. Bilgi Tablosu */
.cgp-summary-info-wrap {
    margin-top: 20px;
}

.cgp-single-price-wrap {
    margin-bottom: 15px;
}

.single-product .price {
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: #FFB800 !important;
    font-weight: 700 !important;
    font-size: 2.6rem !important;
}

.single-product .price del {
    color: #999 !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    order: 2;
}

.single-product .price ins {
    text-decoration: none !important;
    order: 1;
}

/* 2. Bilgi Tablosu */
.cgp-product-meta-table {
    margin: 15px 0;
    padding: 0;
    background: #FAFAFA;
    border: 1px solid #EEE;
    border-radius: 4px;
}

.cgp-product-meta-table table {
    width: 100%;
    border-collapse: collapse;
}

.cgp-product-meta-table tr {
    border-bottom: 1px solid #EEE;
}

.cgp-product-meta-table tr:last-child {
    border-bottom: none;
}

.cgp-product-meta-table td {
    padding: 6px 12px !important;
    font-size: 0.85rem;
}

.cgp-product-meta-table td.label {
    width: 150px;
    color: #555;
    font-weight: 600;
}

.cgp-product-meta-table td.sep {
    width: 20px;
    color: #AAA;
}

.cgp-product-meta-table td.value {
    color: #000;
    font-weight: 400;
}

/* 3. Swatches */
.variations_form {
    margin-top: 20px !important;
}

.variations .label {
    font-weight: 700 !important;
    color: #333 !important;
    padding-bottom: 8px !important;
    font-size: 1rem !important;
}

.cgp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.cgp-swatch {
    border: 1px solid #DDD;
    padding: 8px 12px;
    cursor: pointer;
    background: #fff;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    min-width: 45px;
    text-align: center;
}

/* Conflict Hider: Diğer favori butonlarını gizle */
.summary .yith-wcwl-add-to-wishlist,
.summary .yith-wcwl-add-button,
.summary .wishlist-button,
.summary .cgp-local-wishlist-btn,
.summary .cgp-heart-icon,
.summary i.fa-heart,
.summary .heart {
    display: none !important;
}

/* 1. Üst Satır: Başlık ve İndirim Rozeti */
.summary.entry-summary {
    position: relative;
    display: flex;
    flex-direction: column;
}

.product_title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    color: #333;
    line-height: 1.3 !important;
    padding-right: 90px !important; /* Rozet çakışmasını önlemek için arttırıldı */
    order: 1;
}

.cgp-discount-badge-absolute {
    position: absolute;
    top: 0; /* Başlığın en üstüne hizala */
    right: 0;
    background: #FFF;
    border: 1px solid #E61E25;
    color: #E61E25;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    line-height: 1;
    z-index: 99;
    min-width: 65px;
    box-shadow: 0 2px 5px rgba(230, 30, 37, 0.1);
}

.cgp-discount-badge-absolute small {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
}

/* 2. Bilgi Tablosu ve Fiyat */
.cgp-summary-info-wrap {
    order: 2;
    margin-top: 5px;
}

.cgp-product-meta-table {
    width: 100%;
    margin-bottom: 15px;
}

.cgp-product-meta-table table {
    width: 100%;
    border-collapse: collapse;
}

.cgp-product-meta-table tr {
    border-bottom: 1px solid #F0F0F0;
}

.cgp-product-meta-table td {
    padding: 8px 0;
    font-size: 0.9rem;
}

.cgp-product-meta-table td.label {
    font-weight: 700;
    color: #555;
    width: 160px;
}

.cgp-product-meta-table td.sep {
    width: 20px;
    color: #999;
}

.cgp-product-meta-table td.value {
    color: #333;
    font-weight: 500;
}

.cgp-single-price-wrap {
    margin-bottom: 20px;
}

.single-product .summary .price,
.single-product .summary .price ins,
.single-product .summary .price .amount,
.single-product .summary .price .woocommerce-Price-amount {
    display: flex !important;
    align-items: baseline !important;
    gap: 15px !important;
    color: #FFB800 !important;
    font-weight: 800 !important;
    font-size: 2.8rem !important;
    text-decoration: none !important;
}

.single-product .summary .price del,
.single-product .summary .price del .amount,
.single-product .summary .price del .woocommerce-Price-amount {
    color: #BBB !important;
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    order: 2 !important;
    text-decoration: line-through !important;
}

/* Swatches - Resimli Renk */
.cgp-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.cgp-color-swatch {
    padding: 0 !important;
    width: 65px !important;
    height: 90px !important;
    overflow: hidden;
    border: 1px solid #DDD !important;
    border-radius: 4px !important;
    cursor: pointer;
    background: #f8f8f8;
    position: relative;
}

.cgp-color-swatch img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.cgp-color-swatch.active {
    border: 3px solid #FFD600 !important;
    box-shadow: 0 0 10px rgba(255, 214, 0, 0.3);
}

/* Beden Swatch'ı */
.cgp-size-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cgp-size-swatches .cgp-swatch {
    background: #FFF !important;
    border: 1px solid #CCC !important;
    color: #333 !important;
    min-width: 55px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 4px !important;
    font-size: 0.9rem;
}

.cgp-size-swatches .cgp-swatch.out-of-stock,
.cgp-size-swatches .cgp-swatch[data-value="2XL"],
.cgp-size-swatches .cgp-swatch[data-value="3XL"] {
    background-color: #FFD600 !important;
    border-color: #FFB800 !important;
    color: #000 !important;
    position: relative;
    opacity: 0.8;
}

/* Force Bell for specific out of stock items */
.cgp-size-swatches .cgp-swatch[data-value="2XL"]::after,
.cgp-size-swatches .cgp-swatch[data-value="3XL"]::after {
    content: '🔔';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 10px;
    background: #FFF;
    border: 1px solid #CCC;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}

.cgp-size-swatches .cgp-swatch.out-of-stock::after {
    content: '🔔';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 10px;
    background: #FFF;
    border: 1px solid #CCC;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}

.cgp-size-swatches .cgp-swatch.active {
    border-color: #000 !important;
    background: #EEE !important;
}

/* Cart ve Favorite Butonları */
.cart .single_add_to_cart_button {
    background-color: #FFB800 !important;
    color: #FFF !important;
    height: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 10px !important;
    padding: 0 40px !important;
    border: none !important;
    font-size: 1.1rem !important;

    transition: all 0.3s ease !important;}

.cgp-favorite-btn {
    width: 50px;
    height: 50px;
    background: #FFB800 !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 15px !important;

    transition: all 0.3s ease !important;}

.cgp-favorite-btn svg {
    width: 28px;
    height: 28px;
}

/* Breadcrumbs Alignment - Badge overlap fix */
.woocommerce-breadcrumb {
    padding: 15px 0 15px 85px !important; /* SIGNIFICANT LEFT PADDING */
    border-bottom: 1px solid #EEE;
    margin-bottom: 25px !important;
    background: #F9F9F9;
    border-radius: 4px;
    position: relative;
    z-index: 10;
}

/* Hide Clear link definitely */
.reset_variations,
.woocommerce-variation-add-to-cart .reset_variations,
label[for="pa_beden"] + .reset_variations {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Onsale Badge Position Adjustment */
.onsale {
    top: -10px !important;
    left: -10px !important;
    z-index: 100;
}

/* Hide Clear link */
.reset_variations {
    display: none !important;
}

/* Breadcrumbs Alignment */
.woocommerce-breadcrumb {
    padding: 10px 0;
    border-bottom: 1px solid #EEE;
}


/* CSS ORDER FIX FOR PRODUCT SUMMARY */
.summary.entry-summary {
    display: flex !important;
    flex-direction: column !important;
}
.summary.entry-summary .woocommerce-breadcrumb { order: 1 !important; }
.summary.entry-summary .product_title { order: 2 !important; }
.summary.entry-summary .cgp-summary-info-wrap { order: 3 !important; }
.summary.entry-summary .woocommerce-product-details__short-description { order: 4 !important; }
.summary.entry-summary .variations_form { order: 5 !important; }
.summary.entry-summary .single_variation_wrap { order: 6 !important; }
.summary.entry-summary .product_meta { order: 7 !important; }

.product-type-simple p.stock, .product-type-simple form.cart {
    order: 3;
}

.single_add_to_cart_button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.cgp-favorite-btn:hover {
    transform: scale(1.1) !important;
}

/* Vertical Product Gallery (Thumbnails on Left) */
@media (min-width: 769px) {
    .woocommerce-product-gallery {
        display: flex !important;
        flex-direction: row-reverse !important;
        gap: 20px !important;
        align-items: flex-start !important;
    }
    .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
        flex: 1 !important;
        margin: 0 !important;
    }
    .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
        width: 100px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto !important;
    }
    .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li img {
        width: 100% !important;
        height: auto !important;
        cursor: pointer !important;
        border: 2px solid transparent !important;
        transition: all 0.3s ease !important;
        border-radius: 4px !important;
    }
    .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li img.flex-active {
        border-color: #FFB800 !important;
    }
}

/* ==========================================================================
   FINAL OVERRIDES - CART RESPONSIVE FIX
   ========================================================================== */

/* Masaüstü: Eksik Label'ları Gizle */
@media (min-width: 769px) {
    body.woocommerce-cart .shop_table.cart tbody td::before {
        display: none !important;
        content: none !important;
    }
}

/* Mobil: Sepet Tablosunu Tamamen Dikey Yap */
@media (max-width: 768px) {
    body.woocommerce-cart .shop_table.cart thead {
        display: none !important;
        visibility: hidden !important;
    }

    body.woocommerce-cart .shop_table.cart tbody tr.woocommerce-cart-form__cart-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding: 20px !important;
        margin-bottom: 20px !important;
        background: #fff !important;
        border: 1px solid #eee !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        position: relative !important;
    }

    body.woocommerce-cart .shop_table.cart tbody td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        flex: none !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid #f9f9f9 !important;
        text-align: right !important;
        min-height: 45px !important;
    }

    body.woocommerce-cart .shop_table.cart tbody td:last-child {
        border-bottom: none !important;
    }

    /* Etiketleri (Fiyat:, Miktar: vb) Göster */
    body.woocommerce-cart .shop_table.cart tbody td::before {
        content: attr(data-title) ": " !important;
        display: inline-block !important;
        font-weight: 700 !important;
        color: #718096 !important;
        margin-right: auto !important;
        text-align: left !important;
        font-size: 0.9rem !important;
    }

    /* Özel Durumlar */
    body.woocommerce-cart .shop_table.cart tbody td.product-thumbnail {
        justify-content: center !important;
        padding-bottom: 20px !important;
    }
    
    body.woocommerce-cart .shop_table.cart tbody td.product-thumbnail::before {
        display: none !important;
    }

    body.woocommerce-cart .shop_table.cart tbody td.product-name::before {
        display: none !important;
    }

    body.woocommerce-cart .shop_table.cart tbody td.product-name {
        text-align: center !important;
        justify-content: center !important;
        font-size: 1.1rem !important;
    }

    body.woocommerce-cart .shop_table.cart tbody td.product-remove {
        position: absolute !important;
        top: 10px !important;
        right: 15px !important;
        width: auto !important;
        border: none !important;
        padding: 0 !important;
    }

    body.woocommerce-cart .shop_table.cart tbody td.product-remove::before {
        display: none !important;
    }

    /* Miktar kutusunu hizala */
    body.woocommerce-cart .shop_table.cart tbody td.product-quantity .quantity {
        margin: 0 !important;
    }
}

/* ==========================================================================
   FINAL OVERRIDES - CHECKOUT RESPONSIVE FIX
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. Force Single Column Layout */
    body.woocommerce-checkout .col2-set,
    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review,
    body.woocommerce-checkout .woocommerce-billing-fields,
    body.woocommerce-checkout .woocommerce-shipping-fields,
    body.woocommerce-checkout #order_review_heading {
        display: block !important;
        width: 100% !important;
        float: none !important;
        margin-bottom: 25px !important;
    }

    /* 2. Full Width Forms & Rows */
    body.woocommerce-checkout .form-row-first, 
    body.woocommerce-checkout .form-row-last, 
    body.woocommerce-checkout .form-row-wide {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
        display: block !important;
        clear: both !important;
    }

    /* 3. Input & Select Styling */
    body.woocommerce-checkout .woocommerce-input-wrapper,
    body.woocommerce-checkout input.input-text,
    body.woocommerce-checkout select,
    body.woocommerce-checkout textarea {
        width: 100% !important;
        display: block !important;
        font-size: 16px !important; /* Prevent iOS auto-zoom */
        line-height: normal !important;
        box-sizing: border-box !important;
    }

    /* Select2 fixes */
    body.woocommerce-checkout .select2-container {
        width: 100% !important;
        display: block !important;
    }

    /* 4. Order Notes Area */
    body.woocommerce-checkout #order_comments_field textarea {
        min-height: 120px !important;
    }

    /* 5. Checkout Step Indicator Optimization */
    .cgp-checkout-steps-wrap {
        padding: 20px 5px !important;
        justify-content: space-around !important;
    }

    .cgp-checkout-steps-wrap .step-item {
        flex: 1 !important;
        text-align: center !important;
    }

    .cgp-checkout-steps-wrap .step-text {
        font-size: 9px !important;
        white-space: nowrap !important;
        margin-top: 5px !important;
        letter-spacing: -0.5px !important;
    }

    /* 6. Scroll To Top Button Refinement */
    #scrollToTop {
        width: 44px !important;
        height: 44px !important;
        bottom: 80px !important; /* Move it up away from bottom elements */
        right: 20px !important;
        font-size: 20px !important;
        opacity: 0.9 !important;
        z-index: 1000 !important;
    }

    /* 7. Hide non-essential sections to save space if needed */
    body.woocommerce-checkout .woocommerce-info {
        font-size: 14px !important;
    }
    /* Ödeme Sayfası - Ürün Listesi İyileştirmeleri */
    .cgp-checkout-product-img-wrap {
        position: relative !important;
        width: 80px !important;
        flex: 0 0 80px !important;
        margin-right: 15px !important;
    }

    .cgp-checkout-product-img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
        border: 1px solid #f0f0f0 !important;
        background: #fff !important;
        transition: transform 0.3s ease !important;
    }

    .cgp-checkout-product-img img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
    }

    /* Ürün Çıkarma Butonu (Premium Görünüm) */
    .cgp-checkout-remove-item {
        position: absolute !important;
        top: -5px !important;
        left: -5px !important;
        width: 20px !important; /* Daha zarif ve küçük */
        height: 20px !important;
        background: #ff4d4d !important;
        color: #fff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        font-weight: bold !important;
        text-decoration: none !important;
        z-index: 100 !important;
        box-shadow: 0 2px 6px rgba(255, 77, 77, 0.4) !important;
        line-height: 1 !important;
        border: 2px solid #fff !important;
        transition: all 0.2s ease !important;
    }

    .cgp-checkout-remove-item:hover {
        background: #e60000 !important;
        transform: scale(1.1) !important;
    }

    .cgp-checkout-product-details {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    .cgp-checkout-product-meta-pill {
        display: flex !important;
        flex-direction: column !important;
        background: #fdfdfd !important;
        padding: 5px 10px !important;
        border-radius: 8px !important;
        margin-top: 5px !important;
        border: 1px solid #f0f0f0 !important;
        gap: 2px !important;
    }

    .cgp-checkout-product-meta-pill span {
        display: flex !important;
        align-items: center !important;
        font-size: 12px !important;
        color: #555 !important;
        line-height: 1.4 !important;
    }

    .cgp-checkout-product-meta-pill span b {
        display: inline-block !important;
        width: 40px !important; /* SABİT GENİŞLİK İLE MÜKEMMEL HİZALAMA */
        color: #999 !important;
        font-weight: 500 !important;
    }

    .cgp-checkout-qty {
        font-weight: 700 !important;
        color: #333 !important;
    }

    .cgp-checkout-product-name {
        font-weight: 700 !important;
        color: #222 !important;
        font-size: 14px !important; /* Slightly smaller for mobile */
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
    }

    .cgp-checkout-product-meta-pill {
        display: inline-flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        background: #f8f9fa !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        font-size: 12px !important;
        color: #666 !important;
        border: 1px solid #eee !important;
    }
    
    .cgp-checkout-qty {
        font-weight: 700 !important;
        color: #ffb800 !important;
    }

}

/* Checkout Item Removal Button */
.cgp-checkout-remove-item {
    position: absolute !important;
    top: -10px !important;
    left: -10px !important;
    background: #ff4d4d !important;
    color: #fff !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    line-height: 1 !important;
    z-index: 100 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
    cursor: pointer !important;
    border: 2px solid #fff !important;
    transition: transform 0.2s ease !important;
}
.cgp-checkout-remove-item:hover {
    transform: scale(1.2) !important;
    background: #cc0000 !important;
}

.cgp-checkout-product-img-wrap {
    position: relative !important;
    display: inline-block !important;
}

/* Hezarfen Kurumsal Alanların Gizlenmesi Fix */
.woocommerce-checkout .form-row.hezarfen-hide-form-field,
.force-hide {
    display: none !important;
}

/* Scroll to Top Button Positioning Fix */
.scroll-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 20px !important;
    width: 45px !important;
    height: 45px !important;
    background: #ff7675 !important; /* Soft red as seen in screenshot */
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    z-index: 1000 !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 118, 117, 0.4) !important;
    transition: all 0.3s ease !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.scroll-to-top:hover {
    transform: translateY(-5px) !important;
    background: #ff5252 !important;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 110px !important; /* Move higher on mobile to avoid overlapping UI */
        width: 40px !important;
        height: 40px !important;
    }
}

/* Terms and Conditions Layout Polish */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    background: #fdfdfd !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid #eee !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}

.woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #444 !important;
    font-weight: 500 !important;
}

.woocommerce-form__input-checkbox {
    margin-top: 2px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
}

/* Placeholder Product Image Fix */
.cgp-checkout-product-img-wrap .woocommerce-placeholder,
.cgp-checkout-product-img-wrap img[src*="placeholder"] {
    filter: grayscale(1) opacity(0.3) !important;
}

/* Cart Item Premium Refinement */
.cgp-cart-item-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.cgp-cart-item-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #222 !important;
    line-height: 1.3 !important;
}

.cgp-cart-item-sku {
    font-size: 11px !important;
    color: #999 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

@media (max-width: 768px) {
    /* Nuclear fix for Cart Mobile Layout */
    .cgp-cart-layout-wrap table.shop_table_responsive,
    .cgp-cart-layout-wrap table.shop_table_responsive tbody,
    .cgp-cart-layout-wrap table.shop_table_responsive tr,
    .cgp-cart-layout-wrap table.shop_table_responsive td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        border: none !important;
    }

    .cgp-cart-layout-wrap .cart_item {
        background: #fff !important;
        border-radius: 20px !important;
        padding: 20px !important;
        margin-bottom: 25px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
        border: 1px solid #f2f2f2 !important;
        position: relative !important;
    }

    .product-thumbnail {
        text-align: center !important;
        border-bottom: 1px solid #eee !important;
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
    }

    .product-thumbnail img {
        max-width: 120px !important;
        border-radius: 12px !important;
    }

    .product-name .cgp-cart-item-title {
        font-size: 18px !important;
        margin-bottom: 15px !important;
        display: block !important;
        color: #1a1a1a !important;
    }

    .product-price, .product-quantity, .product-subtotal {
        display: flex !important;
        align-items: center !important; /* Center label and value vertically */
        padding: 12px 0 !important;
        border-bottom: 1px dashed #eee !important;
        font-size: 14px !important;
    }

    .product-price::before, 
    .product-quantity::before, 
    .product-subtotal::before { 
        flex: 0 0 125px !important; /* INCREASED FIXED WIDTH FOR PERFECT ALIGNMENT */
        font-weight: 800 !important; 
        color: #718096 !important; 
        text-transform: uppercase !important; 
        font-size: 11px !important;
        display: inline-block !important;
    }

    .product-price::before { content: 'Birim Fiyat: ' !important; }
    .product-quantity::before { content: 'Miktar: ' !important; }
    .product-subtotal::before { content: 'Ara Toplam: ' !important; }

    .product-subtotal .amount {
        color: #ffb800 !important;
        font-weight: 900 !important;
        font-size: 20px !important;
        margin-left: auto !important; /* Push value to the right if needed, but flex row is enough */
    }

    /* ÖDEME SAYFASI TABLO YAPISINI TAMAMEN KIRARAK 'B', 'R', 'K' SORUNUNU ÇÖZÜYORUZ */
    .woocommerce-checkout-review-order-table,
    .woocommerce-checkout-review-order-table thead,
    .woocommerce-checkout-review-order-table tbody,
    .woocommerce-checkout-review-order-table tr,
    .woocommerce-checkout-review-order-table td,
    .woocommerce-checkout-review-order-table th {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: left !important;
        border: none !important;
    }

    /* Sıkışan ve sarkan tablo başlıklarını (thead) mobilde gizle */
    .woocommerce-checkout-review-order-table thead {
        display: none !important;
    }

    /* Ödeme tablosu satır düzeni */
    .woocommerce-checkout-review-order-table .cart_item {
        background: #fff !important;
        border-radius: 15px !important;
        padding: 15px !important;
        margin-bottom: 15px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
        border: 1px solid #f0f0f0 !important;
        position: relative !important;
    }

    /* Hücreler arasındaki gereksiz flex yapısını boz */
    .woocommerce-checkout-review-order-table td.product-name {
        display: block !important;
        padding: 0 !important;
    }

    .woocommerce-checkout-review-order-table td.product-total {
        padding: 10px 0 0 !important;
        border-top: 1px dashed #eee !important;
        margin-top: 10px !important;
        text-align: right !important;
        font-weight: 700 !important;
    }

    .woocommerce-checkout-review-order-table td.product-total::before {
        content: 'TOPLAM: ' !important;
        float: left !important;
        font-size: 11px !important;
        color: #999 !important;
        font-weight: 500 !important;
    }

    /* Scroll to Top - Daha aşağı ve sağa, içerikten tamamen uzak */
    .scroll-to-top, #scrollToTop {
        bottom: 25px !important; 
        right: 15px !important; 
        left: auto !important;
        width: 28px !important; 
        height: 28px !important;
        line-height: 26px !important;
        font-size: 14px !important;
        background: #ff4d4d !important;
        color: #fff !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
        z-index: 99999 !important;
        opacity: 0.6 !important;
    }

    /* Fix overlapping Checkout Terms */
    .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
        margin-bottom: 50px !important; 
        padding-bottom: 20px !important;
        border-bottom: 1px solid #eee !important;
    }

    /* Checkout Order Summary Image Polish */
    .cgp-checkout-img-wrapper {
        position: relative !important;
        width: 70px !important; /* Slightly smaller for better fit */
        height: 70px !important;
        margin-right: 15px !important;
    }

    .cgp-checkout-img-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }
}

/* v1.5.6: Ödeme Sayfası Grid Reset ve Dikey Dizilim Garantisi */
@media screen and (max-width: 991px) {
    /* 1. Ödeme Sayfası Grid Yapısını İptal Et (Sıkışmayı Önlemek İçin) */
    body.woocommerce-checkout form.checkout {
        display: block !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review,
    body.woocommerce-checkout #order_review_heading {
        grid-area: auto !important;
        width: 100% !important;
        float: none !important;
        margin: 10px 0 !important;
        position: static !important;
    }

    /* 2. Tüm Hücreleri (TD) Dikey Yap */
    body.woocommerce-page div.woocommerce table.shop_table td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 8px 0 !important;
        border: none !important;
        flex: none !important;
        justify-content: normal !important;
        box-sizing: border-box !important;
    }

    /* 3. Başlık ve Varyasyon Alanı - KESİN DİKEY */
    body.woocommerce-page div.woocommerce table.shop_table td.product-name {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-page div.woocommerce table.shop_table td.product-name a {
        display: block !important;
        width: 100% !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        margin-bottom: 15px !important;
        color: #333 !important;
        line-height: 1.4 !important;
    }

    /* 4. Varyasyon DT/DD Blok Düzeni */
    body.woocommerce-page div.woocommerce table.shop_table dl.variation {
        display: block !important;
        width: 100% !important;
        margin: 5px 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-page div.woocommerce table.shop_table dl.variation dt,
    body.woocommerce-page div.woocommerce table.shop_table dl.variation dd {
        display: block !important;
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 4px 0 !important;
        font-size: 15px !important;
        text-align: left !important;
        flex: none !important;
    }

    body.woocommerce-page div.woocommerce table.shop_table dl.variation dt {
        font-weight: 700 !important;
        color: #555 !important;
        margin-top: 8px !important;
    }

    /* 5. Sepet/Ödeme Tablo Satırları */
    body.woocommerce-page div.woocommerce table.shop_table tbody tr {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
        position: relative !important; /* Silme butonu için referans */
    }

    /* v1.6.0: Ürün Çıkarma Butonu ('×') - KESİN DAİRE VE BADGE FIX */
    .cgp-checkout-remove-item {
        position: absolute !important;
        top: -8px !important;
        left: -8px !important;
        right: auto !important;
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        aspect-ratio: 1 / 1 !important;
        background: #ff3b3b !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        z-index: 100 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: 0 3px 10px rgba(255, 59, 59, 0.4) !important;
        text-decoration: none !important;
        line-height: normal !important;
        text-indent: 0 !important;
        overflow: hidden !important;
    }

    /* v1.5.9: Kupon Alanı Mobil Genişlik Sabitleme */
    .coupon, 
    .checkout_coupon {
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 20px !important;
        background: #fdfdfd !important;
        border-radius: 12px !important;
        border: 1px solid #eee !important;
    }

    .coupon input.input-text,
    .checkout_coupon input.input-text {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .coupon button.button,
    .checkout_coupon button.button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* v1.5.9: Sözleşme ve Gizlilik - Üstte Hizalama */
    .woocommerce-checkout #payment [id^="terms"] label,
    .woocommerce-privacy-policy-text,
    .woocommerce-terms-and-conditions-checkbox-text {
        font-size: 13px !important;
    }

    .woocommerce-checkout #payment [id^="terms"] input[type="checkbox"] {
        margin-top: 5px !important;
        flex-shrink: 0 !important;
    }

    /* #scrollToTop Butonu - Mobilde Yükseltme */
    body #scrollToTop.visible {
        bottom: 80px !important;
        right: 15px !important;
        z-index: 999999 !important;
        background: #ff6b6b !important;
        opacity: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* ==========================================================================
   v1.7.0 FINAL: GLOBAL DESIGN UNIFICATION & PROFESSIONAL SIDEBAR
   ========================================================================== */

/* 1. Rozet (Ribbon) Global Küçültme */
html body .woocommerce ul.products li.product .onsale,
html body .woocommerce-page ul.products li.product .onsale,
html body li.product .onsale {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100px !important;
    position: absolute !important;
    top: 5px !important;
    left: -8px !important;
    right: auto !important;
    background: #ffb800 !important;
    color: #fff !important;
    padding: 2px 10px 2px 6px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    z-index: 99 !important;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2) !important;
    border-radius: 0 !important;
}

/* 3D Fold - Görünürlük Garantisi */
html body li.product .onsale::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    border-width: 0 8px 8px 0 !important;
    border-color: transparent #cc9300 transparent transparent !important;
    visibility: visible !important;
    display: block !important;
    z-index: -1 !important;
}

/* Yıldız İkonu */
html body li.product .onsale::before {
    content: '★' !important;
    margin-right: 4px !important;
    font-size: 9px !important;
    display: inline-block !important;
}

/* 2. Hover Buton Mantığı (Güçlendirilmiş & Global) */
html body .woocommerce ul.products li.product .button,
html body .woocommerce-page ul.products li.product .button,
html body li.product .add_to_cart_button,
html body li.product .product_type_variable {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(15px) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    z-index: 100 !important;
    background: #ffb800 !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 12px 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    border: none !important;
    pointer-events: none !important;
}

/* Kart Hover Olduğunda Butonu Göster */
html body .woocommerce ul.products li.product:hover .button,
html body .woocommerce-page ul.products li.product:hover .button,
html body li.product:hover .add_to_cart_button,
html body li.product:hover .product_type_variable {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

html body li.product .button:hover,
html body li.product .add_to_cart_button:hover {
    background: #e6a600 !important;
}

/* 3. Profesyonel Yan Menü (Sidebar) Tasarımı */
.widget-area .widget {
    margin-bottom: 30px !important;
    background: #fff !important;
    padding: 20px !important;
    border: 1px solid #f2f2f2 !important;
    border-radius: 4px !important;
}

.widget-area .widget-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #ffb800 !important; /* Tema turuncusu vurgu */
    color: #333 !important;
    letter-spacing: 0.5px !important;
}

/* Fiyat Filtresi (Price Filter Slider) */
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: #ffb800 !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #ffb800 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

.woocommerce .widget_price_filter .price_slider_amount .button {
    background-color: #333 !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    transition: background 0.3s ease !important;
}

.woocommerce .widget_price_filter .price_slider_amount .button:hover {
    background-color: #ffb800 !important;
}

/* Ürün Kategori Listesi */
.widget_product_categories ul {
    list-style: none !important;
    padding: 0 !important;
}

.widget_product_categories ul li {
    padding: 8px 0 !important;
    border-bottom: 1px dotted #eee !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.widget_product_categories ul li a {
    color: #666 !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
}

.widget_product_categories ul li a:hover {
    color: #ffb800 !important;
}

.widget_product_categories ul li .count {
    background: #f9f9f9 !important;
    color: #999 !important;
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
}

/* 4. Yan Menü Yerleşimi (Mağaza) */
.woocommerce-layout.has-sidebar {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
}

.shop-sidebar-area {
    flex: 0 0 280px !important; /* Sabit genişlik veya %25 */
    max-width: 280px !important;
}

.woocommerce-layout.has-sidebar .woocommerce-content {
    flex: 1 !important;
    min-width: 0 !important;
}

/* Mobil Uyumluluk */
@media (max-width: 991px) {
    .woocommerce-layout.has-sidebar {
        flex-direction: column !important;
    }
    .shop-sidebar-area {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
    }
}

/* Global Kart Ayarları */
html body li.product {
    padding-bottom: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

html body li.product .woocommerce-loop-product__link {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
}

.cgp-discount-badge-loop {
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    background: #ffb800 !important;
    color: #000 !important;
    padding: 3px 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    border-radius: 4px !important;
    border: 1px solid #000 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    z-index: 10;
}

/* YENİ Rozeti Stili (v4.1.2) */
.cgp-new-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #ffb800 !important;
    color: #000 !important;
    padding: 3px 10px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    border-radius: 4px !important;
    border: 1px solid #000 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    z-index: 15 !important;
    text-transform: uppercase !important;
}

/* ==========================================================================
   v1.8.0 PROFESSIONAL E-COMMERCE POLISH
   ========================================================================== */

/* ── 1. ÜRÜN GÖRSELI — Sabit yükseklik ile tutarlı boyut ── */
html body li.product .woocommerce-loop-product__link img,
html body li.product img.attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}

html body li.product:hover .woocommerce-loop-product__link img {
    transform: scale(1.04) !important;
}

/* ── 2. ÜRÜN BAŞLIĞI — Sabit 2 satır (hizalama için) ── */
html body li.product .woocommerce-loop-product__title,
html body li.product h2.woocommerce-loop-product__title {
    padding: 12px 12px 4px 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    line-height: 1.4 !important;
    /* 5 satır için yeterli alan (80px + padding) */
    /* height: 80px !important;*/
    overflow: hidden !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
    font-family: 'Outfit', sans-serif !important;
    flex-shrink: 0 !important;
}

@media (max-width: 576px) {
    html body li.product .woocommerce-loop-product__title,
    html body li.product h2.woocommerce-loop-product__title {
        font-size: 12px !important;
        padding: 8px 8px 4px 8px !important;
        min-height: 34px !important;
    }
    
    html body li.product {
        padding: 8px !important;
        border-radius: 12px !important;
    }
    
    html body li.product .price {
        padding: 4px 8px 8px 8px !important;
    }
    
    html body li.product .woocommerce-loop-product__link img {
        height: 200px !important;
    }
}

/* ── 3. FİYAT ALANI ── */
html body li.product .price {
    padding: 4px 12px 10px 12px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

html body li.product .price ins,
html body li.product .price ins .amount,
html body li.product .price > .amount,
html body li.product .price bdi {
    color: #ffb800 !important;
    font-weight: 800 !important;
    font-size: 17px !important;
    text-decoration: none !important;
}

html body li.product .price del,
html body li.product .price del .amount {
    color: #aaa !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
}

/* ── 4. ÜRÜN KARTI — Hover lift efekti ── */
html body li.product {
    border-radius: 8px !important;
    transition: box-shadow 0.35s ease, transform 0.35s ease !important;
    border: 1px solid #ebebeb !important;
    background: #fff !important;
}

html body li.product:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.10) !important;
    transform: translateY(-3px) !important;
    border-color: #f0f0f0 !important;
}

/* ── 5. SEPETE EKLE / SEÇENEKLER BUTON ── */
html body li.product .button,
html body li.product .add_to_cart_button,
html body li.product .product_type_variable {
    background: #ffb800 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 0 8px 8px !important;
    padding: 13px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease !important;
    pointer-events: none !important;
    cursor: pointer !important;
    margin-top: auto !important;
}

html body li.product:hover .button,
html body li.product:hover .add_to_cart_button,
html body li.product:hover .product_type_variable {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

html body li.product .button:hover,
html body li.product .add_to_cart_button:hover,
html body li.product .product_type_variable:hover {
    background: #e6a600 !important;
}

/* ── 6. SIRALAMA DROPDOWN — Custom stil ── */
.woocommerce-ordering select,
.woocommerce select.orderby {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 8px 36px 8px 14px !important;
    font-size: 13px !important;
    font-family: 'Outfit', sans-serif !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
    min-width: 200px !important;
}

.woocommerce-ordering select:focus,
.woocommerce select.orderby:focus {
    border-color: #ffb800 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255,184,0,0.15) !important;
}

.woocommerce-result-count {
    color: #888 !important;
    font-size: 13px !important;
    font-family: 'Outfit', sans-serif !important;
}

/* ── 7. SİDEBAR WİDGETLERI ── */
.shop-sidebar .widget,
.shop-sidebar .widget-area .widget {
    background: #fff !important;
    border: 1.5px solid #f0f0f0 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
}

.shop-sidebar .widget-title,
.shop-sidebar .widget-area .widget-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #1a1a2e !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    border-bottom: 2px solid #ffb800 !important;
}

/* Fiyat filtresi slider */
.woocommerce .widget_price_filter .ui-slider {
    background: #eee !important;
    border: none !important;
    border-radius: 4px !important;
    height: 4px !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background: #ffb800 !important;
    border-radius: 4px !important;
}

.woocommerce .widget_price_filter .ui-slider-handle {
    width: 16px !important;
    height: 16px !important;
    top: -6px !important;
    background: #ffb800 !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(255,184,0,0.4) !important;
}

.woocommerce .widget_price_filter .price_slider_amount .button {
    background: #1a1a2e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 7px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    width: auto !important;
    display: inline-flex !important;
    min-width: 0 !important;
    border-radius: 5px !important;
}

.woocommerce .widget_price_filter .price_slider_amount .button:hover {
    background: #ffb800 !important;
}

/* Kategori listesi */
.widget_product_categories ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget_product_categories ul li {
    border-bottom: 1px solid #f5f5f5 !important;
    list-style: none !important;
}

.widget_product_categories ul li:last-child {
    border: none !important;
}

.widget_product_categories ul li a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 9px 2px !important;
    color: #444 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.2s, padding-left 0.2s !important;
    font-family: 'Outfit', sans-serif !important;
}

.widget_product_categories ul li a:hover {
    color: #ffb800 !important;
    padding-left: 5px !important;
}

.widget_product_categories ul li .count {
    font-size: 11px !important;
    color: #bbb !important;
    background: #f8f8f8 !important;
    border-radius: 20px !important;
    padding: 1px 8px !important;
    font-weight: 600 !important;
}

/* ── 8. KATEGORİ SAYFA BAŞLIĞI ── */
.woocommerce-products-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    padding: 30px !important;
    border-radius: 8px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    overflow: hidden !important;
}

.woocommerce-products-header__title {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    font-family: 'Outfit', sans-serif !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}

/* ── 9. ROZET — Küçük, soluk değil canlı ── */
html body li.product .onsale {
    left: 0 !important;
    top: 10px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    max-width: 60px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 0 3px 3px 0 !important;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.15) !important;
}

/* Consolidated in v4.1.0 */

/* ── 11. ÜRÜN GRID BOŞLUKLARI ── */
.woocommerce ul.products,
.woocommerce-page ul.products {
    gap: 16px !important;
    row-gap: 24px !important;
}

/* ==========================================================================
   v1.9.0 PREMIUM E-COMMERCE ELEVATION
   ========================================================================== */

/* ── 1. MAĞAZA HEADER & BREADCRUMB ── */
.woocommerce-products-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    padding: 60px 30px !important;
    border-radius: 12px !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    position: relative !important;
    overflow: hidden !important;
}

.woocommerce-products-header .header-content {
    position: relative !important;
    z-index: 2 !important;
}

.woocommerce-products-header__title {
    font-size: 2.4rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 10px 0 0 0 !important;
    letter-spacing: -0.5px !important;
    font-family: 'Outfit', sans-serif !important;
}

.woocommerce-breadcrumb {
    font-size: 13px !important;
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 5px !important;
    font-family: 'Outfit', sans-serif !important;
}

.woocommerce-breadcrumb a {
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.woocommerce-breadcrumb a:hover {
    color: #ffb800 !important;
}

/* ── 2. "YENİ" ROZET — Minimalist Şerit ── */
html body li.product .onsale {
    background: #ffb800 !important;
    color: #fff !important;
    left: 0 !important;
    top: 15px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 4px 12px !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    line-height: 1.2 !important;
    /* Konuşma balonu efektini (varsa) iptal etmek için */
    clip-path: none !important;
}

html body li.product .onsale::after {
    display: none !important; /* Ok işaretini kaldır */
}

/* ── 3. SİDEBAR FILTRE CHIPS (Beden vb.) ── */
.shop-sidebar .widget ul li {
    display: inline-block !important;
    margin: 0 5px 8px 0 !important;
}

.shop-sidebar .widget_layered_nav ul li a,
.shop-sidebar .widget_product_categories ul li a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 14px !important;
    background: #f8f8f8 !important;
    border: 1px solid #eee !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    color: #555 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.shop-sidebar .widget_layered_nav ul li.chosen a,
.shop-sidebar .widget_layered_nav ul li a:hover {
    background: #ffb800 !important;
    border-color: #ffb800 !important;
    color: #fff !important;
}

/* Checkbox'lı filtreler için (bazı eklentiler kullanıyorsa) */
.shop-sidebar .widget input[type="checkbox"] {
    display: none !important;
}

/* ── 4. ÜRÜN GRID ÜST ALANI (Sonuç Sayısı & Sıralama) ── */
.woocommerce-products-header + .woocommerce-notices-wrapper + .woocommerce-layout {
    margin-top: 10px !important;
}

.woocommerce-result-count {
    font-weight: 500 !important;
    color: #666 !important;
    margin-bottom: 20px !important;
}

/* ── 5. GLOBAL TUTARLILIK ── */
/* Önerilen ürünler, ilgili ürünler vb için aynı kart yapısı */
.related.products h2, 
.upsells.products h2,
.cross-sells h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    margin-bottom: 25px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #ffb800 !important;
    display: inline-block !important;
    text-transform: uppercase !important;
}

/* ── 6. MOBILE OPTİMİZASYON ── */
@media (max-width: 768px) {
    .woocommerce-products-header {
        padding: 40px 20px !important;
    }
    .woocommerce-products-header__title {
        font-size: 1.8rem !important;
    }
}

/* ==========================================================================
   v2.0.0 ULTIMATE E-COMMERCE POLISH (FINAL DESIGN LOCK)
   ========================================================================== */

/* ── 1. KUSURSUZ DİKEY HİZALAMA (GRID ALIGNMENT) ── */
html body li.product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
    padding-bottom: 0 !important; /* Buton alt kısma yapışacak */
}

html body li.product .woocommerce-loop-product__title,
html body li.product h2.woocommerce-loop-product__title {
    min-height: 80px !important; /* 5 satır için güvenli alan */
    margin-bottom: 20px !important;
}

html body li.product .price {
    margin-top: auto !important; /* Fiyatı ve butonu aşağı iter */
    padding-bottom: 15px !important;
}

/* Butonun her zaman en altta kalması için */
html body li.product .button,
html body li.product .add_to_cart_button,
html body li.product .product_type_variable {
    margin-top: 0 !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* ── 2. SIDEBAR CHIPS İYİLEŞTİRMELER ── */
.shop-sidebar .widget ul li {
    margin: 0 4px 6px 0 !important;
}

.shop-sidebar .widget_layered_nav ul li a,
.shop-sidebar .widget_product_categories ul li a {
    white-space: nowrap !important;
    padding: 7px 16px !important;
    font-weight: 600 !important;
    border: 1.2px solid #e0e0e0 !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
}

/* Metin kutuya giriyorsa (overlap fix) */
.shop-sidebar .widget_layered_nav ul li a .count {
    margin-left: 8px !important;
    position: static !important;
}

/* ── 3. RENK FİLTRESİ - Başlık Turuncu Çizgisi ── */
.shop-sidebar .widget-attr-renk h4.widget-title {
    position: relative !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
    border-bottom: 2.5px solid #ffb800 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #222 !important;
}

/* ── 4. YAN MENÜ FİLTRE CHIPS (Beden, Kategori, Durum için) ── */
.shop-sidebar .widget ul {
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.shop-sidebar .widget ul li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.shop-sidebar .widget ul li a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 12px !important;
    background: #fdfdfd !important;
    border: 1.5px solid #ebebeb !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.shop-sidebar .widget ul li a:hover,
.shop-sidebar .widget ul li.chosen a,
.shop-sidebar .widget ul li.current-cat a {
    background: #ffb800 !important;
    border-color: #ffb800 !important;
    color: #fff !important;
}

/* ── RENK FİLTRESİ - Dikey Liste Override ── */
/* Sadece Renk widget'ı için chip stilini ezerek dikey liste yap */
.shop-sidebar .widget-attr-renk ul {
    display: block !important;
    flex-wrap: unset !important;
    gap: unset !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    padding-right: 15px !important;
}

.shop-sidebar .widget-attr-renk ul li {
    display: flex !important;
    width: 100% !important;
    margin-bottom: 12px !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.shop-sidebar .widget-attr-renk ul li a {
    display: flex !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #444 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.shop-sidebar .widget-attr-renk ul li a:hover {
    background: transparent !important;
    border: none !important;
    color: #ffb800 !important;
}

.shop-sidebar .widget-attr-renk ul li.chosen a {
    color: #ffb800 !important;
    font-weight: 800 !important;
    background: transparent !important;
    border: none !important;
}

/* Kutu (Swatch) - SADECE RENK İSMİ OLAN LİNKLER İÇİN (JS Kontrolü) */
.shop-sidebar .widget_layered_nav ul li a[data-swatch-ready="true"]:before {
    content: "" !important;
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    margin-right: 15px !important;
    border-radius: 3px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    flex-shrink: 0 !important;
    background-color: #eee;
}

/* SAVUNMACI KURALLAR: Hiçbir şartta swatch olmayan linkte kutu gösterme */
.shop-sidebar .widget_layered_nav ul li a:not([data-swatch-ready="true"]):before {
    display: none !important;
    content: none !important;
}

/* Renk Eşleşmeleri */
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=bej"]:before { background-color: #f5dfbb !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=biskuvi"]:before { background-color: #fcebd2 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=kahve"]:before { background-color: #7b3f00 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=taba"]:before { background-color: #b35900 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=siyah"]:before { background-color: #000000 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=lacivert"]:before { background-color: #000080 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=indigo"]:before { background-color: #3f51b5 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=beyaz"]:before { background-color: #ffffff !important; border: 1px solid #ddd !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=kirmizi"]:before { background-color: #e60000 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=mavi"]:before { background-color: #2196f3 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=yesil"]:before { background-color: #4caf50 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=sari"]:before { background-color: #ffeb3b !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=pembe"]:before { background-color: #e91e63 !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=gri"]:before { background-color: #9e9e9e !important; }
.shop-sidebar .widget-attr-renk ul li a[href*="filter_renk=turuncu"]:before { background-color: #ff9800 !important; }

/* Seçili öğe stili (Genel) */
.shop-sidebar .widget ul li.chosen a,
.shop-sidebar .widget ul li.current-cat a {
    color: #ffb800 !important;
    font-weight: 800 !important;
}
.shop-sidebar .widget-attr-renk ul li.chosen a:before {
    border: 2px solid #ffb800 !important;
}

/* ── 4. MOBİL GRID OPTİMİZASYONU ── */
@media (max-width: 480px) {
    .woocommerce ul.products.columns-2 li.product,
    .woocommerce-page ul.products.columns-2 li.product {
        width: 48% !important;
        margin: 0 1% 20px 1% !important;
    }
}

/* ── 5. YENİ ROZET & İNDİRİM ROZETİ RENK SENKRONU ── */
/* Consolidated in v4.1.0 */

/* ==========================================================================
   v2.1.0 FINAL DESIGN LOCK (ALIGNED & CLEAN)
   ========================================================================== */

/* ── 1. ÇİFT BAŞLIK & BEYAZ KUTU FİX ── */
.woocommerce-products-header .header-content {
    background: transparent !important;
    padding: 0 !important;
}

/* Breadcrumb arka planını ve yapısını temizle */
.woocommerce-breadcrumb {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

/*
 * WooCommerce HTML yapısı: li.product > a > [img + başlık + fiyat]
 * Çözüm: Her kart içinde 3 sabit row — görsel / başlık / fiyat
 * ul.products sütun yönetimi WooCommerce shortcode columns parametresine bırakıldı
 */

/* Her kart — internal grid ile görsel / başlık / fiyat ayrı satırlar */
html body li.product {
    display: grid !important;
    grid-template-rows: auto 120px 75px !important;
    /* auto=görsel, 120px=başlık (5 satır alanı), 75px=fiyat alanı */
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
    align-content: start !important;
}

/* WooCommerce'in ana linki (görsel + başlık + fiyatı kapsar) */
html body li.product > a.woocommerce-LoopProduct-link {
    display: grid !important;
    grid-template-rows: subgrid !important;
    grid-row: 1 / -1 !important; /* Tüm 3 satırı kaplasın */
}

/* Görsel alanı — esnek yükseklik */
html body li.product .woocommerce-loop-product__link img,
html body li.product img.wp-post-image {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    grid-row: 1 !important;
}

/* Başlık — TAM 40px (2 satır sabit) */
html body li.product .woocommerce-loop-product__title {
    grid-row: 2 !important;
    /*height: 80px !important;*/
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
    padding: 8px 12px 0 12px !important;
    margin: 0 !important;
    align-self: start !important;
}

/* Fiyat alanı — SABIT 65px, içerik tabana yapışır */
html body li.product .price {
    grid-row: 3 !important;
    height: 65px !important;
    padding: 0 12px 12px 12px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    align-content: flex-end !important;
    gap: 4px 8px !important;
}

/* Sale/Regular fiyat hizalama */
html body li.product .price .woocommerce-Price-amount {
    line-height: 1.2 !important;
}

/* Buton ve İndirim Rozeti Hizalaması */
html body li.product .cgp-hover-buttons {
    margin-top: 10px !important;
}

/* ── 3. GLOBAL SİDEBAR FİLTRE TEMİZLİĞİ (Obsolesced by v2.1.6) ── */
/* Bu alan artık yukarıdaki premium dikey liste düzeni tarafından yönetiliyor. */
.shop-sidebar .widget ul li.chosen a,
.shop-sidebar .widget ul li.current-cat a {
    background: #ffb800 !important;
    border-color: #ffb800 !important;
    color: #fff !important;
}

/* ── 4. MOBİL BAŞLIK OPTİMİZASYONU ── */
@media (max-width: 768px) {
    .woocommerce-products-header {
        padding: 30px 15px !important;
    }
    .woocommerce ul.products {
        gap: 12px !important;
    }
}

/* ==========================================================================
   v2.1.1 BUTTON COLOR & SHAPE SYNC (ORANGE LOCK)
   ========================================================================== */

/* Tüm ürün butonlarını turuncu ve dikdörtgen yap */
html body li.product .button,
html body li.product .add_to_cart_button,
html body li.product .added_to_cart,
html body li.product .view-product,
html body li.product .select_options,
.woocommerce ul.products li.product .button {
    background-color: #ffb800 !important;
    background: #ffb800 !important;
    color: #fff !important;
    border-radius: 0 !important; /* Dikdörtgen Keskin Hatlar */
    border: none !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    margin-top: 10px !important;
}

html body li.product .button:hover {
    background-color: #e6a600 !important;
    filter: brightness(0.9) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(255,184,0,0.3) !important;
}

/* ===================================
   6. PROFESYONEL ANASAYFA (v3.1.0 Dynamic)
   =================================== */

/* HERO SECTION - Premium Split Layout */
.hero {
    position: relative;
    background: linear-gradient(135deg, #fdfbff 0%, #ffffff 100%);
    overflow: hidden;
    padding: 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 184, 0, 0.1);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 950;
    color: var(--dark);
    margin-bottom: 2rem;
}

.hero h1 span {
    color: var(--secondary);
    display: block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 3.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Hero Görsel Alanı */
.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    /* Animasyon efekti */
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-img-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(255,107,107,0.3);
    z-index: 11;
}

.hero-bg-accent {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,184,0,0.05) 0%, transparent 70%);
    z-index: 1;
    transform: translateY(-50%);
}

/* DAİRESEL KATEGORİLER */
.circle-categories-wrap {
    padding: 4rem 0 2rem;
    background: #fff;
    border-bottom: 1px solid var(--gray-50);
}

.circle-cats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.circle-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.circle-cat-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--gray-50);
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.circle-cat-item:hover .circle-cat-img {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(255,184,0,0.25);
}

.circle-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-cat-item span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--dark);
    text-align: center;
}

/* GÜVEN BLOKLARI (PREMIUM TRUST) */
.trust-v3 {
    padding: 3rem 0;
    background: #fafbfc;
}

.trust-v3-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.trust-v3-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.trust-v3-icon {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
    flex-shrink: 0;
}

.trust-v3-text h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--dark);
    line-height: 1.2;
}

.trust-v3-text p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

.circle-cats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.circle-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.circle-cat-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gray-50);
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.circle-cat-item:hover .circle-cat-img {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--secondary);
    box-shadow: 0 15px 35px rgba(255,184,0,0.3);
}

.circle-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-cat-item span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--dark);
}

/* BANNER GRID (DİNAMİK) */
.banners-section {
    padding: 6rem 0;
    background: #fafbfc;
}

.banners-v3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.banner-card-v3 {
    position: relative;
    height: 400px;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-color, #f0f0f0);
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    transition: all 0.4s ease;
}

.banner-card-v3:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.banner-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 24px;
    width: 100%;
    max-width: 320px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.banner-card-v3:hover .banner-content {
    background: white;
    transform: translateY(-5px);
}

.banner-content .badge {
    color: var(--secondary);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.banner-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.banner-content .btn-link {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
}

/* MOBİL AYARLAR */
@media (max-width: 991px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text {
        max-width: 100%;
        order: 2;
    }
    
    .hero-image-wrap {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .banners-v3-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-v3-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trust-v3-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .circle-cats-grid {
        gap: 1.5rem;
    }
    
    .circle-cat-img {
        width: 100px;
        height: 100px;
    }
}

/* Kırmızımsı butonları (varsa) ez */
.woocommerce .product .add_to_cart_button,
.woocommerce-page .product .add_to_cart_button {
    border-radius: 0 !important;
}

/* ===================================
   7. PREMIUM FOOTER (v3.2.0)
   =================================== */

.site-footer {
    background: #121221;
    color: #cbd5e0;
    padding-top: 5rem;
    font-family: 'Outfit', sans-serif;
}

.footer-top {
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ffb800;
    border-radius: 2px;
}

.footer-brand .footer-logo h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.footer-brand .footer-logo h2 span {
    color: #ffb800;
}

.footer-about {
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

/* Sosyal Medya Butonları (Vibrant Premium Design) */
.footer-social {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.social-btn:hover::before { opacity: 1; }

.social-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.social-btn .soc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.social-btn .soc-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff !important; /* Premium görünüm için ikonlar her zaman beyaz */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Brand Colors - Solid & Vibrant */
.social-btn.wa { background: #25D366; }
.social-btn.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-btn.fb { background: #1877F2; }
.social-btn.tk { background: #000000; }

.social-btn:hover svg {
    transform: scale(1.1);
}

/* İletişim Listesi */
.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.footer-contact-list li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-list li a:hover {
    color: #ffb800;
}

.contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Alt Footer */
.footer-bottom {
    padding: 2rem 0;
    background: #0d0d18;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: #718096;
}

.developer-credit {
    font-size: 0.85rem;
    color: #718096;
}

.developer-credit a {
    color: #ffb800;
    font-weight: 700;
    text-decoration: none;
}

/* Ödeme ve Güven Rozetleri */
.footer-trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.03);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.trust-badge-item span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ===========================================================
   v4.0.0 HOMEPAGE ENRICHMENT STYLES
   =========================================================== */

.section-v4-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-v4-header.left-aligned {
    text-align: left;
}

.section-v4-header span {
    display: block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section-v4-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

/* BEST SELLERS */
.best-sellers-section {
    padding: 7rem 0;
    background-color: #f9f9fb;
}

/* BRAND STORY */
.story-section {
    padding: 9rem 0;
    background: #fff;
    overflow: hidden;
}

.story-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4b5563; /* Gray 600 approximation */
    margin-bottom: 2.5rem;
}

.story-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.s-feat {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
}

.sf-icon {
    width: 36px;
    height: 36px;
    background: #fff5f5; /* Primary light approximation */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.story-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.story-img-placeholder {
    width: 100%;
    height: 520px;
    background: #fdf2f2;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NEWSLETTER */
.newsletter-section {
    padding: 5rem 0 8rem;
}

.newsletter-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 40px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    color: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, transparent 70%);
}

.newsletter-info h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-info p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.newsletter-form-wrap {
    position: relative;
    z-index: 2;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    padding: 8px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 0 1.5rem;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form .btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form .btn-submit:hover {
    background: #fff;
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.form-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    margin-top: 1.2rem;
    margin-left: 1rem;
}

/* RESPONSIVE ENRICHMENT */
@media (max-width: 1024px) {
    .newsletter-card {
        padding: 4rem 3rem;
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    .story-inner {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .newsletter-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .section-v4-header.left-aligned {
        text-align: center;
    }
    .story-features {
        align-items: center;
    }
    .newsletter-info p {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }
    .newsletter-form input {
        background: rgba(255,255,255,0.08);
        height: 60px;
        border-radius: 15px;
        margin-bottom: 10px;
        width: 100%;
        border: 1px solid rgba(255,255,255,0.1);
    }
    .section-v4-header h2 {
        font-size: 2rem;
    }
    .newsletter-info h2 {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   v4.1.3  PROFESSIONAL SIDEBAR FILTER STYLING
   Beden / Kategori / Durum / Fiyat widgetları premium pill buton sistemine geçiş.
   ========================================================================== */

/* ── GENEL WİDGET KART ── */
.shop-sidebar .widget,
aside.widget-area .widget,
.sidebar .widget {
    background: #fff !important;
    border: 1px solid #ececec !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}

/* ── WİDGET BAŞLIKLARI ── */
.shop-sidebar .widget-title,
aside.widget-area .widget-title,
.sidebar .widget-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #1a1a2e !important;
    border-bottom: 2px solid #ffb800 !important;
    padding-bottom: 10px !important;
    margin-bottom: 16px !important;
}

/* ── CHECKBOX GIZLE ── */
.shop-sidebar .widget ul li input[type="checkbox"],
aside.widget-area .widget ul li input[type="checkbox"] {
    display: none !important;
    visibility: hidden !important;
}

/* ── BEDEN / KATEGORİ / DURUM — pill buton listesi ── */
.shop-sidebar .widget_layered_nav ul,
.shop-sidebar .widget_product_categories ul,
aside.widget-area .widget_layered_nav ul,
aside.widget-area .widget_product_categories ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

.shop-sidebar .widget_layered_nav ul li,
.shop-sidebar .widget_product_categories ul li,
aside.widget-area .widget_layered_nav ul li,
aside.widget-area .widget_product_categories ul li {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Pill buton — link */
.shop-sidebar .widget_layered_nav ul li a,
.shop-sidebar .widget_product_categories ul li a,
aside.widget-area .widget_layered_nav ul li a,
aside.widget-area .widget_product_categories ul li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 5px 13px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    color: #555 !important;
    text-decoration: none !important;
    background: #f8f8f8 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.shop-sidebar .widget_layered_nav ul li a:hover,
.shop-sidebar .widget_product_categories ul li a:hover,
aside.widget-area .widget_layered_nav ul li a:hover,
aside.widget-area .widget_product_categories ul li a:hover {
    border-color: #ffb800 !important;
    background: #fff9e6 !important;
    color: #1a1a2e !important;
}

/* Seçili / Aktif */
.shop-sidebar .widget_layered_nav ul li.chosen a,
.shop-sidebar .widget_layered_nav ul li.current a,
.shop-sidebar .widget_product_categories ul li.current-cat a,
.shop-sidebar .widget_product_categories ul li.current-cat-ancestor a,
aside.widget-area .widget_layered_nav ul li.chosen a,
aside.widget-area .widget_product_categories ul li.current-cat a {
    background: #ffb800 !important;
    border-color: #ffb800 !important;
    color: #000 !important;
    font-weight: 700 !important;
}

/* Ürün sayısı */
.shop-sidebar .widget_layered_nav ul li a .count,
.shop-sidebar .widget_product_categories ul li a .count,
aside.widget-area .widget_layered_nav ul li a .count,
aside.widget-area .widget_product_categories ul li a .count {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: inherit !important;
    background: rgba(0,0,0,0.1) !important;
    border-radius: 20px !important;
    padding: 1px 5px !important;
    min-width: 18px !important;
    text-align: center !important;
}

/* ── FİYAT SLIDER ── */
.shop-sidebar .widget_price_filter .ui-slider {
    background: #e8e8e8 !important;
    border: none !important;
    height: 4px !important;
    border-radius: 4px !important;
    margin: 20px 0 14px 0 !important;
}

.shop-sidebar .widget_price_filter .ui-slider .ui-slider-range,
aside.widget-area .widget_price_filter .ui-slider .ui-slider-range {
    background: #ffb800 !important;
    border-radius: 4px !important;
}

.shop-sidebar .widget_price_filter .ui-slider .ui-slider-handle,
aside.widget-area .widget_price_filter .ui-slider .ui-slider-handle {
    width: 20px !important;
    height: 20px !important;
    background: #fff !important;
    border: 3px solid #ffb800 !important;
    border-radius: 50% !important;
    top: -9px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.15) !important;
    outline: none !important;
}

.shop-sidebar .widget_price_filter .price_slider_amount,
aside.widget-area .widget_price_filter .price_slider_amount {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
    flex-wrap: wrap !important;
}

.shop-sidebar .widget_price_filter .price_slider_amount input[type="text"],
aside.widget-area .widget_price_filter .price_slider_amount input[type="text"] {
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    width: 80px !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
    background: #f8f8f8 !important;
    transition: border-color .2s !important;
}

.shop-sidebar .widget_price_filter .price_slider_amount input[type="text"]:focus,
aside.widget-area .widget_price_filter .price_slider_amount input[type="text"]:focus {
    border-color: #ffb800 !important;
    outline: none !important;
    background: #fff9e6 !important;
}

.shop-sidebar .widget_price_filter .button,
aside.widget-area .widget_price_filter .button {
    background: #ffb800 !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    transition: background .2s !important;
    margin-left: auto !important;
}

.shop-sidebar .widget_price_filter .button:hover {
    background: #e6a500 !important;
}

/* ── AKTİF FİLTRELER ── */
.shop-sidebar .widget_active_filters ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.shop-sidebar .widget_active_filters ul li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #fff3cc !important;
    border: 1.5px solid #ffb800 !important;
    border-radius: 50px !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    text-decoration: none !important;
}

.shop-sidebar .widget_active_filters ul li a .onsale {
    display: none !important;
}

/* ── SEARCH WİDGETI ── */
.shop-sidebar .widget_search .search-field,
aside.widget-area .widget_search .search-field {
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    width: 100% !important;
    transition: border-color .2s !important;
}

.shop-sidebar .widget_search .search-field:focus {
    border-color: #ffb800 !important;
    outline: none !important;
}

/* ==========================================================================
   v4.1.3-BLOCKS  WooCommerce Blocks Filtre Pill Stili
   Beden / Kategori / Durum — checkbox listesini pill butona çevir.
   ========================================================================== */

/* Tüm checkbox'ların görselini gizle */
.wc-block-product-filter-checkbox-list .wc-block-product-filter-checkbox-list__item .wc-block-components-checkbox__mark,
.wc-block-product-filter-checkbox-list .wc-block-product-filter-checkbox-list__item .wc-block-components-checkbox input[type="checkbox"] {
    display: none !important;
}

/* Checkbox wrapper'ı sıfırla */
.wc-block-product-filter-checkbox-list .wc-block-product-filter-checkbox-list__item .wc-block-components-checkbox {
    display: inline-flex !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    gap: 0 !important;
}

/* Pill buton listesi flex layout */
.wc-block-product-filter-checkbox-list .wc-block-product-filter-checkbox-list__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

.wc-block-product-filter-checkbox-list .wc-block-product-filter-checkbox-list__item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* LABEL = pill buton görünümü */
.wc-block-product-filter-checkbox-list .wc-block-product-filter-checkbox-list__label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 5px 13px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    color: #555 !important;
    background: #f8f8f8 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    user-select: none !important;
}

.wc-block-product-filter-checkbox-list .wc-block-product-filter-checkbox-list__label:hover {
    border-color: #ffb800 !important;
    background: #fff9e6 !important;
    color: #1a1a2e !important;
}

/* Seçilince sarı pill */
.wc-block-product-filter-checkbox-list .wc-block-product-filter-checkbox-list__item.is-checked .wc-block-product-filter-checkbox-list__label,
.wc-block-product-filter-checkbox-list .wc-block-product-filter-checkbox-list__item[aria-checked="true"] .wc-block-product-filter-checkbox-list__label {
    background: #ffb800 !important;
    border-color: #ffb800 !important;
    color: #000 !important;
    font-weight: 700 !important;
}

/* Ürün sayacı */
.wc-block-product-filter-checkbox-list .wc-filter-element-label-list-count {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: inherit !important;
    background: rgba(0,0,0,0.1) !important;
    border-radius: 20px !important;
    padding: 1px 5px !important;
    min-width: 18px !important;
    text-align: center !important;
    display: inline-block !important;
}

/* Bölüm başlıkları (Beden, Kategori, Durum) */
.wp-block-woocommerce-filter-wrapper h3,
.wc-block-product-attributes-filter h3,
.wc-block-product-filter h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #1a1a2e !important;
    border-bottom: 2px solid #ffb800 !important;
    padding-bottom: 8px !important;
    margin-bottom: 14px !important;
}

/* Sidebar kategori listesi — pill butonlar */
.wc-block-product-categories-list--depth-0 {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

.wc-block-product-categories-list-item {
    display: inline-flex !important;
}

.wc-block-product-categories-list-item > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 5px 13px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    color: #555 !important;
    text-decoration: none !important;
    background: #f8f8f8 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.wc-block-product-categories-list-item > a:hover {
    border-color: #ffb800 !important;
    background: #fff9e6 !important;
    color: #1a1a2e !important;
}

.wc-block-product-categories-list-item.current-cat > a,
.wc-block-product-categories-list-item.current > a {
    background: #ffb800 !important;
    border-color: #ffb800 !important;
    color: #000 !important;
    font-weight: 700 !important;
}

.wc-block-product-categories-list-item__count {
    font-size: 10px !important;
    background: rgba(0,0,0,0.1) !important;
    border-radius: 20px !important;
    padding: 1px 5px !important;
    color: inherit !important;
}

/* ── WooCommerce Blocks Filter Heading — Sarı Alt Çizgi ── */
/* Sidebar içindeki wp-block-heading etiketleri (Beden, Kategori, Durum, Fiyat) */
.widget-area.shop-sidebar .wp-block-heading,
.sidebar .wp-block-heading,
.woocommerce-layout.has-sidebar aside .wp-block-heading,
.wp-block-woocommerce-product-filter-attribute > h3,
.wp-block-woocommerce-product-filter-taxonomy > h3,
.wp-block-woocommerce-product-filter-status > h3,
.wp-block-woocommerce-product-filter-price > h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #1a1a2e !important;
    border-bottom: 2px solid #ffb800 !important;
    padding-bottom: 8px !important;
    margin-bottom: 14px !important;
    margin-top: 0 !important;
}

/* ==========================================================================
   v4.1.4  FİYAT RENK BİRLİĞİ — Ürün Detay + Sepet + Ödeme
   ========================================================================== */

/* ── ÜRÜN DETAY: İndirimli fiyat (sarı) ── */
.single-product .cgp-single-price-wrap ins .woocommerce-Price-amount bdi,
.single-product .cgp-single-price-wrap ins .amount bdi,
.single-product .summary .price ins .woocommerce-Price-amount bdi,
.single-product .summary .price > .woocommerce-Price-amount bdi {
    color: #ffb800 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* ── ÜRÜN DETAY: Normal fiyat (sarı) ── */
.single-product .cgp-single-price-wrap > .woocommerce-Price-amount bdi,
.single-product .cgp-single-price-wrap .amount bdi {
    color: #ffb800 !important;
    font-weight: 800 !important;
}

/* ── ÜRÜN DETAY: Üstü çizili eski fiyat (gri) ── */
.single-product .cgp-single-price-wrap del .woocommerce-Price-amount bdi,
.single-product .summary .price del .woocommerce-Price-amount bdi {
    color: #aaa !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
}

/* ── SEPET SAYFASI ── */
.woocommerce-cart td.product-price .woocommerce-Price-amount bdi,
.woocommerce-cart td.product-subtotal .woocommerce-Price-amount bdi,
.woocommerce-cart .order-total .woocommerce-Price-amount bdi,
.woocommerce-cart .cart_totals .woocommerce-Price-amount bdi,
.woocommerce-cart .cart-collaterals .woocommerce-Price-amount bdi {
    color: #ffb800 !important;
    font-weight: 700 !important;
}

/* ── ÖDEME SAYFASI ── */
.woocommerce-checkout #order_review .woocommerce-Price-amount bdi,
.woocommerce-checkout .order-total .woocommerce-Price-amount bdi,
.woocommerce-checkout .cart-subtotal .woocommerce-Price-amount bdi,
.woocommerce-checkout table.shop_table .woocommerce-Price-amount bdi {
    color: #ffb800 !important;
    font-weight: 700 !important;
}

/* ── HESABIM SAYFASI ── */
.woocommerce-account .woocommerce-Price-amount bdi,
.woocommerce-MyAccount-orders .woocommerce-Price-amount bdi {
    color: #ffb800 !important;
    font-weight: 700 !important;
}

/* ── GENEL OVERRIDE: Tüm price amount ── */
body .woocommerce-Price-amount.amount bdi {
    color: #ffb800 !important;
}
body ins .woocommerce-Price-amount.amount bdi {
    color: #ffb800 !important;
    text-decoration: none !important;
}
body del .woocommerce-Price-amount.amount bdi {
    color: #aaa !important;
}

/* ── WISHLIST (FAVORİ) İKON POLISH ── */
.tool-item.wishlist-item {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cgp-wishlist-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

#cgp-wishlist-btn:hover .cgp-wishlist-icon-svg {
    transform: scale(1.1);
}

.cgp-wishlist-icon-svg svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.cgp-heart-icon svg {
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cgp-local-wishlist-btn.active .cgp-heart-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(255, 77, 77, 0.3));
}

.cgp-local-wishlist-btn:hover .cgp-heart-icon svg {
    transform: scale(1.2);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cgp-wishlist-icon-svg svg {
        width: 22px;
        height: 22px;
    }
}

/* ── İLETİŞİM SAYFASI (v4.6.0) ── */
.contact-page {
    background-color: #fafbfc;
    padding-bottom: 80px;
}

.contact-hero {
    background: linear-gradient(135deg, #121221 0%, #1a1a2e 100%);
    padding: 100px 0 160px;
    text-align: center;
    color: #fff;
    margin-bottom: -100px;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 950;
    margin-bottom: 20px;
    color: #fff;
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

.info-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.info-card.highlight {
    background: var(--secondary);
    color: #fff;
}

.info-card.highlight h3, 
.info-card.highlight p,
.info-card.highlight a {
    color: #fff;
}

.info-card .card-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 184, 0, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.info-card.highlight .card-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.contact-main {
    padding: 120px 0 80px;
}

.main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.form-container {
    background: #fff;
    padding: 50px;
    border-radius: 32px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.04);
}

.cgp-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cgp-contact-form .form-group {
    margin-bottom: 25px;
}

.cgp-contact-form label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.cgp-contact-form input,
.cgp-contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.cgp-contact-form input:focus,
.cgp-contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: #fff;
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.05);
}

.cgp-contact-form .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    font-size: 1.1rem;
    justify-content: center;
}

.map-container {
    height: 100%;
    min-height: 500px;
}

.map-wrapper {
    position: sticky;
    top: 100px;
    height: 600px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 33, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-wrapper:hover .map-overlay {
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero {
        padding: 80px 0 140px;
    }
    
    .map-wrapper {
        height: 400px;
        position: relative;
        top: 0;
    }
}

@media (max-width: 600px) {
    .form-container {
        padding: 30px 20px;
    }
    
    .cgp-contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   22. FLASH SALE COUNTDOWN (v4.8.0)
   ========================================================================== */
.cgp-flash-sale-wrapper {
    margin: 25px 0;
    padding: 18px;
    background: linear-gradient(135deg, #fff9f0 0%, #fff4e6 100%);
    border-radius: 16px;
    border: 1px solid #ffd6a5;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.05);
}

.cgp-countdown-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.cgp-countdown-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e67e22;
}

.cgp-countdown-label .cgp-icon {
    font-size: 24px;
    animation: cgp-pulse 1.5s infinite;
}

.cgp-countdown-label .cgp-text-label {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cgp-countdown-timer {
    display: flex;
    gap: 10px;
}

.timer-block {
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
    border: 1px solid rgba(230, 126, 34, 0.05);
}

.timer-block span {
    font-family: 'Outfit', sans-serif;
    font-weight: 850;
    font-size: 20px;
    color: #2c3e50;
    line-height: 1;
}

.timer-block small {
    font-size: 9px;
    color: #95a5a6;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

@keyframes cgp-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 576px) {
    .cgp-flash-sale-wrapper {
        padding: 15px;
    }
    .cgp-countdown-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .cgp-countdown-timer {
        width: 100%;
        justify-content: center;
    }
    .timer-block {
        flex: 1;
        min-width: 0;
    }
}

/* ==========================================================================
   23. WOOCOMMERCE CHECKOUT SELECT2 (İL/İLÇE) POSITION FIX
   ========================================================================== */
body.woocommerce-checkout {
    height: auto !important;
    overflow-y: auto !important;
}

body.woocommerce-checkout #page.site {
    height: auto !important;
    overflow: visible !important;
}

.woocommerce-checkout .select2-container--open {
    z-index: 9999999 !important;
}

.woocommerce-MyAccount-content fieldset {
    padding: 15px;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.woocommerce ul.products:before, .woocommerce ul.products:after {
    content: '';
    display: none;
}

.header-tools .mini-cart-dropdown {
    width: 500px;
}

.header-tools .mini-cart-dropdown a.remove, .header-tools .mini-cart-dropdown .woocommerce-mini-cart-item:hover a.remove {
    left: 0;
}

.mini-cart-dropdown::before {
    content: "";
    display: none;
}

.woocommerce form .form-row .country_to_state--single {
    padding: 12px 18px;
    width: 100%;
}

.woocommerce-checkout-review-order #payment, .woocommerce-checkout #payment div.form-row {
    padding: 0;
}

#order_review .cart_item .variation {
    font-size: 14px;
}

#payment .in-sozlesme-onay-checkboxes .form-row, #payment .in-sozlesme-onay-checkboxes .woocommerce-form__label {
    margin: 0 !important;
    padding: 0 !important;
}

#order_review .cgp-checkout-product-img {
    min-width: 64px;
}

@media (max-width: 480px) {
    .header-tools .mini-cart-dropdown {
        width: 320px;
    }
    .woocommerce ul.products {
        grid-template-columns: 1fr 1fr;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .header-tools .mini-cart-dropdown .woocommerce-mini-cart-item {
        flex-direction: column;
        padding: 15px 15px;
    }
    .woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
        flex:1
    }
}

/* CART PAGE: Remove unwanted <br> from Checkout Button */
.wc-proceed-to-checkout .checkout-button br {
    display: none !important;
}

.sct-woocommerce-login iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 65px !important;
	background-color: red;
}

@media (min-width: 376px) and (max-width: 449px) {
    .cf-turnstile {
        transform: scale(0.8);
        transform-origin: 0 0;
    }
}

@media (min-width: 321px) and (max-width: 375px) {
    .cf-turnstile {
        transform: scale(0.74);
        transform-origin: 0 0;
    }
}

@media (max-width: 320px) {
    .cf-turnstile {
        overflow: auto;
    }
}
