@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
/* Font Awesome artık head'de yükleniyor, burada import'a gerek yok */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: var(--theme-color, #D4AF37);
    --secondary-color: #54595F;
    --text-color: #7A7A7A;
    --accent-color: var(--theme-color, #D4AF37);
    --dark-color: #101010;
    --light-bg: #F6F6F6;
    --white: #FFFFFF;
    --border-color: #DBDBDB9C;
    --yellow: #FFC107;
    --gold: #D4AF37;
    /* --theme-color dinamik olarak index.php'de set ediliyor */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-top: 0;
}

main {
    padding-top: 100px;
    margin-top: 0;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Header - Glass & Elegant */
.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0 0 22px 22px;
    margin-bottom: 0;
}

.header-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.header-btn {
    width: 40px;
    height: 40px;
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 12%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color, #D4AF37);
    font-size: 17px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--theme-color, #D4AF37) 15%, transparent);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--theme-color, #D4AF37) 10%, transparent);
    position: relative;
}

.header-btn button {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: inherit;
}

.header-btn i {
    /* font-weight BURADA AYARLANMAMALI.
       Font Awesome, hangi glif setinin kullanılacağını font ağırlığından seçer:
       katı (fas/fa-solid) = 900, normal (far) = 400, marka (fab) = 400.
       Buraya 300 yazıldığında tarayıcı yanlış sete düşüyordu ve ikon
       "kırık kutu" (⊠) olarak görünüyordu — ana sayfaya dön butonunda
       tam olarak bu oluyordu. */
    font-style: normal;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    text-align: center !important;
    vertical-align: middle !important;
}
.header-btn i.fa-globe,
.header-btn i.fa-home,
.header-btn i.fa-comments {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 17px !important;
}
.header-btn button {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-btn svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--theme-color, #D4AF37) !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.header-btn:hover {
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 20%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--theme-color, #D4AF37) 20%, transparent);
    border-color: color-mix(in srgb, var(--theme-color, #D4AF37) 30%, transparent);
}

.header-btn-left {
    order: 1;
}

.header-btn-right {
    order: 3;
}

.header-btn-placeholder {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.header-btn-placeholder:first-child {
    order: 1;
}

.header-btn-placeholder:last-child {
    order: 3;
}

.logo {
    text-align: center;
    flex: 1;
    order: 2;
}

.logo img {
    max-height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.logo h1 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    letter-spacing: -0.3px;
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.floating-btn-back {
    left: 20px;
    bottom: 20px;
    background: var(--theme-color, #D4AF37);
}

.floating-btn-whatsapp {
    right: 20px;
    bottom: 20px;
    background: #25D366;
}

.floating-btn-language {
    right: 20px;
    bottom: 90px;
    background: var(--theme-color, #D4AF37);
    cursor: pointer;
}

@media (max-width: 767px) {
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-btn-back {
        left: 15px;
        bottom: 15px;
    }
    
    .floating-btn-whatsapp {
        right: 15px;
        bottom: 15px;
    }
    
    .floating-btn-language {
        right: 15px;
        bottom: 75px;
    }
}

.lang-selector {
    position: relative;
}

#google_translate_element {
    display: none;
}

/* Floating Action Button Group */
.fab-group {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
    z-index: 100;
}

.fab-btn {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid var(--theme-color, #D4AF37);
    color: var(--theme-color, #D4AF37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    overflow: hidden;
    outline: none;
    border: none;
}

.fab-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--theme-color, #D4AF37);
    background: #FFFFFF;
    z-index: -1;
}

.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.fab-btn:active {
    transform: scale(0.95);
}

.fab-btn-left {
    left: 20px;
    bottom: 20px;
}

.fab-btn-right {
    right: 20px;
    bottom: 20px;
}

.fab-ripple {
    position: absolute;
    border-radius: 50%;
    background: var(--theme-color, #D4AF37);
    opacity: 0;
    transform: scale(0);
    transition: transform 0.6s, opacity 0.6s;
    pointer-events: none;
}

.fab-ripple.active {
    opacity: 0.3;
    transform: scale(2);
}

/* Search Modal */
.fab-search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fab-search-modal.active {
    opacity: 1;
}

.fab-search-modal-content {
    background: #FFFFFF;
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-search-modal.active .fab-search-modal-content {
    transform: scale(1);
}

.fab-search-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    color: var(--dark-color);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.fab-search-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.fab-search-modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--dark-color);
    padding: 24px 24px 16px 24px;
    margin: 0;
}

.fab-search-input-wrapper {
    position: relative;
    margin: 0 24px 20px 24px;
    display: flex;
    align-items: center;
}

.fab-search-input-icon {
    position: absolute;
    left: 16px;
    color: color-mix(in srgb, var(--theme-color, #D4AF37) 60%, rgba(0, 0, 0, 0.4));
    font-size: 18px;
    pointer-events: none;
    z-index: 1;
}

.fab-search-input {
    width: 100%;
    height: 50px;
    padding: 0 50px 0 48px;
    border: 2px solid color-mix(in srgb, var(--theme-color, #D4AF37) 20%, rgba(0, 0, 0, 0.1));
    border-radius: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--dark-color);
    outline: none;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.fab-search-input:focus {
    border-color: var(--theme-color, #D4AF37);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-color, #D4AF37) 15%, transparent);
}

.fab-search-input::placeholder {
    color: color-mix(in srgb, var(--text-color, #7A7A7A) 60%, rgba(255, 255, 255, 0.8));
}

.fab-search-clear {
    position: absolute;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 12%, transparent);
    border: none;
    border-radius: 50%;
    color: var(--theme-color, #D4AF37);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.fab-search-clear:hover {
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 20%, transparent);
    transform: scale(1.1);
}

.fab-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px 24px 24px;
    min-height: 0;
}

.fab-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--light-bg);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.fab-search-result-item:hover {
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 5%, var(--light-bg));
    border-color: color-mix(in srgb, var(--theme-color, #D4AF37) 20%, transparent);
    transform: translateX(4px);
}

.fab-search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.fab-search-result-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fab-search-result-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fab-search-result-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--theme-color, #D4AF37);
}

.fab-search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-color);
    font-size: 15px;
}

@media (max-width: 767px) {
    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .fab-btn-left {
        left: 16px;
        bottom: 16px;
    }
    
    .fab-btn-right {
        right: 16px;
        bottom: 16px;
    }
    
    .fab-search-modal {
        padding: 16px;
    }
    
    .fab-search-modal-content {
        max-height: 85vh;
    }
    
    .fab-search-modal-title {
        font-size: 18px;
        padding: 20px 20px 12px 20px;
    }
    
    .fab-search-input-wrapper {
        margin: 0 20px 16px 20px;
    }
    
    .fab-search-input {
        height: 48px;
        font-size: 14px;
    }
    
    .fab-search-results {
        padding: 0 20px 20px 20px;
    }
}

/* Hero/Banner Section */
.hero-slider-container {
    /* Sabit 410px yerine akışkan genişlik: sayfadaki diğer bölümlerle aynı
       kenar boşluğunu kullanır (.section-container ile hizalı) ve oranı
       koruyarak ölçeklenir. Negatif alt boşluk kaldırıldı; "Kategoriler"
       başlık şeridinin banner'ın altına girmesine neden oluyordu. */
    width: calc(100% - 40px);
    max-width: 410px;
    aspect-ratio: 41 / 24;
    height: auto;
    margin: 0 auto 20px;
    padding: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f0f0f0;
    position: relative;
    margin: 0 auto;
}

.hero-swiper.swiper-initialized {
    background: transparent;
}

.hero-swiper .swiper-wrapper {
    overflow: hidden !important;
}

.hero-swiper .swiper-slide {
    overflow: hidden !important;
}


.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 5px;
    flex-direction: column;
    background-attachment: scroll;
}

/* Resim yüklenene kadar placeholder */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f0f0f0;
    z-index: 0;
    transition: opacity 0.3s;
}

.hero-slide[style*="background-image"]::before {
    opacity: 0;
}

/* Slider card (hero banner) */
.slider-card {
    width: 100%;
    /* Sabit 240px kaldırıldı: kapsayıcı oran ile ölçeklendiği için kart
       ondan taşıyor ve banner görseli beklenenden farklı kırpılıyordu. */
    height: 100%;
    margin-right: 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.slider-card::before {
    border-radius: 20px;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff0;
    background-image: linear-gradient(200deg, #10101047 0%, #101010 100%);
    z-index: 1;
    border-radius: 10px;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    margin-top: auto;
    max-width: 100%;
    text-align: left;
    width: calc((1 - var(--container-widget-flex-grow, 0)) * 100%);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 0;
    color: #FFFFFF;
    margin-top: 0;
    text-align: left;
}

.hero-description {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #FFFFFF;
    margin: 0;
    text-align: left;
}

@media (min-width: 768px) {
    /* Geniş ekranda banner sayfa içeriğiyle aynı genişlikte, oranı korunur */
    .hero-slider-container {
        max-width: 720px;
        margin: 0 auto 28px;
        padding: 0;
    }

    .hero-swiper {
        border-radius: 18px;
    }

    .hero-slide {
        border-radius: 18px;
        padding: 25px;
    }
}

/* NOT: .swiper-slide genişliği ve sağ boşluğu artık CSS'te zorlanmıyor.
   Zorlandığında Swiper'ın kaydırma mesafesi hesabı ile gerçek genişlik
   uyuşmuyor ve her geçişte slaytlar kayıyordu. Ölçüleri Swiper yönetir. */

/* Section Titles */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--dark-color);
    margin: -5px auto 20px auto;
    padding: 12px 20px;
    text-align: center;
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--theme-color, #D4AF37) 12%, rgba(255,255,255,0)) 0, transparent 55%),
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--theme-color, #D4AF37) 12%, rgba(255,255,255,0)) 0, transparent 55%),
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--theme-color, #D4AF37) 6%, rgba(255,255,255,0.96)) 0%,
            color-mix(in srgb, var(--theme-color, #D4AF37) 3%, rgba(255,255,255,0.98)) 50%,
            rgba(255,255,255,0.98) 100%
        );
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 22px;
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.7);
    border: 1px solid color-mix(in srgb, var(--theme-color, #D4AF37) 18%, rgba(255, 255, 255, 0.6));
    width: calc(100% - 40px);
    max-width: 100%;
    position: relative;
}

.section-container {
    max-width: 100%;
    width: calc(100% - 40px);
    margin: 40px auto;
    padding: 30px 20px;
    box-sizing: border-box;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Ürün Arama Alanı */
.product-search-container {
    width: 100%;
    margin: 20px 0 30px 0;
    display: flex;
    justify-content: center;
}

.product-search-bar {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 48px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1.5px solid color-mix(in srgb, var(--theme-color, #D4AF37) 20%, rgba(255, 255, 255, 0.8));
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.product-search-bar:focus-within {
    border-color: color-mix(in srgb, var(--theme-color, #D4AF37) 40%, rgba(255, 255, 255, 0.8));
    box-shadow: 
        0 6px 24px color-mix(in srgb, var(--theme-color, #D4AF37) 15%, rgba(0, 0, 0, 0.12)),
        0 0 0 3px color-mix(in srgb, var(--theme-color, #D4AF37) 10%, transparent);
    transform: translateY(-1px);
}

.product-search-icon {
    position: absolute;
    left: 18px;
    color: color-mix(in srgb, var(--theme-color, #D4AF37) 60%, rgba(0, 0, 0, 0.4));
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

.product-search-bar:focus-within .product-search-icon {
    color: var(--theme-color, #D4AF37);
}

.product-search-input {
    width: 100%;
    height: 100%;
    padding: 0 50px 0 48px;
    border: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--dark-color);
    outline: none;
    transition: all 0.3s ease;
}

.product-search-input::placeholder {
    color: color-mix(in srgb, var(--text-color, #7A7A7A) 60%, rgba(255, 255, 255, 0.8));
    font-weight: 400;
}

.product-search-clear {
    position: absolute;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 12%, transparent);
    border: none;
    border-radius: 50%;
    color: var(--theme-color, #D4AF37);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.product-search-clear:hover {
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 20%, transparent);
    transform: scale(1.1);
}

.product-search-clear:active {
    transform: scale(0.95);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 230px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block !important;
    z-index: 1 !important;
    pointer-events: auto !important;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0000007A;
    transition: background-color 1500ms;
    z-index: 1;
    pointer-events: none !important; /* Overlay tıklamayı engellemesin */
}

.category-card:not(:hover)::before {
    background-color: #0000007A;
}

.category-card:hover::before {
    background-color: rgba(0, 0, 0, 0.3);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    min-height: 230px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    pointer-events: none !important; /* Content tıklamayı engellemesin, link tıklanabilir olsun */
}

.category-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--white);
    margin: 0;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    gap: 2%;
    min-width: 0;
    align-items: stretch;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.product-image {
    width: 20%;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 100px;
    max-width: 120px;
    /* Yükseklik "auto" iken dikey görseller kart yüksekliğini büyütüyor ve
       listedeki kartlar farklı boylarda görünüyordu. Sabit oran + object-fit
       ile tüm kartlar aynı yükseklikte kalır, görsel kırpılarak sığar. */
    height: 100%;
    aspect-ratio: 1 / 1;
    min-height: 120px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
    align-self: stretch;
}

.product-content {
    flex: 1;
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 7px;
    background-color: var(--light-bg);
    border-radius: 0 10px 10px 0;
    overflow: hidden;
}

.product-content > div:first-child {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-badges {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    margin-bottom: 0;
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.product-badge {
    padding: 5px 13px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background: var(--theme-color, #D4AF37);
    margin: 1px;
}

/* Ürün Sticker'ları - Fiyat Badge Yanında */
.product-sticker {
    position: relative;
    padding: 4px 10px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.product-sticker-populer {
    background: linear-gradient(135deg, var(--theme-color, #D4AF37) 0%, color-mix(in srgb, var(--theme-color, #D4AF37) 85%, black) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.product-sticker-yeni {
    background: linear-gradient(135deg, color-mix(in srgb, var(--theme-color, #D4AF37) 70%, #4ECDC4) 0%, color-mix(in srgb, var(--theme-color, #D4AF37) 60%, #44A08D) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.product-sticker-kampanya {
    background: linear-gradient(135deg, color-mix(in srgb, var(--theme-color, #D4AF37) 80%, #E91E63) 0%, color-mix(in srgb, var(--theme-color, #D4AF37) 70%, #C2185B) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.product-sticker i {
    font-size: 8px;
}

.product-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.4;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 400;
    line-height: 22px;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
}

.product-info-item i {
    font-size: 14px;
    color: var(--theme-color, #D4AF37);
    transition: color 0.3s;
}

.product-info-item a {
    text-decoration: none;
    color: inherit;
}

/* Wi-Fi Section */
.wifi-section {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto;
    max-width: 100%;
    width: calc(100% - 40px);
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.wifi-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.wifi-icon {
    width: 50px;
    height: 50px;
    background: var(--theme-color, #D4AF37);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

.wifi-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--dark-color);
}

.wifi-description {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.wifi-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.branches-section {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    margin: 40px auto;
    width: calc(100% - 40px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.branches-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.branch-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 18px;
    background: linear-gradient(145deg, #fff, #f9fafb);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.branch-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--dark-color);
}

.branch-info {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-color);
    align-items: flex-start;
}

.branch-info i {
    color: var(--theme-color);
    margin-top: 3px;
}

.branch-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.branch-actions a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.branch-actions .map-link {
    background: var(--theme-color);
    color: var(--white);
}

.branch-actions .call-link {
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 10%, transparent);
    color: var(--theme-color, #D4AF37);
    border: 1px solid color-mix(in srgb, var(--theme-color, #D4AF37) 20%, transparent);
}

.branch-actions .call-link:hover {
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 20%, transparent);
    border-color: var(--theme-color, #D4AF37);
    transform: translateY(-1px);
}

.branch-actions .map-link:hover {
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 90%, black);
    transform: translateY(-1px);
}

.wifi-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wifi-item-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.wifi-item-button {
    flex: 1;
    padding: 10px 15px;
    background: var(--light-bg);
    border: 1px solid color-mix(in srgb, var(--theme-color, #D4AF37) 20%, transparent);
    border-radius: 5px;
    text-align: left;
    font-size: 14px;
    color: var(--dark-color);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.wifi-item-button:hover {
    border-color: var(--theme-color, #D4AF37);
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 5%, var(--light-bg));
}

.wifi-item-button b {
    color: var(--theme-color, #D4AF37);
}

/* Google Review Section */
.google-section {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto;
    max-width: 100%;
    width: calc(100% - 40px);
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.google-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.google-icon {
    width: 50px;
    height: 50px;
    background: var(--theme-color, #D4AF37);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.google-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--dark-color);
}

.google-description {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.google-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid var(--theme-color, #D4AF37);
    border-radius: 5px;
    background: var(--white);
    color: var(--theme-color, #D4AF37);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.google-button:hover {
    background: var(--theme-color, #D4AF37);
    color: var(--white);
}

/* Footer */
.site-footer {
    background: var(--white);
    padding: 40px 20px;
    margin-top: 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
}

.footer-description {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.8;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-link:hover {
    color: var(--theme-color, #D4AF37);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--theme-color, #D4AF37);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Künye bloğu: yazılım bilgisi + iletişim numaraları.
   Önceden 12 px tek satırdı ve gözden kaçıyordu. */
.footer-kunye {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-credit {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0 auto;
    max-width: 420px;
}

/* Alt çizgi border-bottom ile verilmemeli: satır yüksekliği 1.6 olduğu için
   çizgi metnin epey altına düşüyor ve kopuk bir şerit gibi duruyordu.
   text-decoration çizgiyi metne bağlı tutar. */
.footer-kunye-marka {
    color: var(--theme-color, #D4AF37);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Künye metninin hemen altındaki site adresi.
   Blok öğe: kendi satırında dursun. 44 px dokunma hedefi için satır yüksekliği
   yerine padding kullanılıyor, böylece metin akışı bozulmuyor. */
.footer-kunye-site {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--theme-color, #D4AF37);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    letter-spacing: .2px;
}

.footer-kunye-site:hover,
.footer-kunye-site:focus-visible {
    opacity: .8;
}

/* Numaraların üstündeki çağrı satırı */
.footer-kunye-cagri {
    margin: 18px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: .2px;
}

.footer-telefonlar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

/* En az 44 px yükseklik: telefonda parmakla rahat dokunulsun */
.footer-telefon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--theme-color, #D4AF37);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s, box-shadow .2s;
}

.footer-telefon i {
    font-size: 14px;
}

.footer-telefon:hover,
.footer-telefon:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Çok dar ekranda numaralar alt alta ve tam genişlikte */
@media (max-width: 360px) {
    .footer-telefonlar {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-telefon {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-content {
        min-height: 220px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-image {
        width: 30%;
    }
    
    .product-content {
        width: 68%;
    }
    
    .product-info-item {
        line-height: 22px;
    }
}

@media (max-width: 767px) {
    .product-search-bar {
        height: 44px;
        border-radius: 22px;
    }
    
    .product-search-input {
        font-size: 14px;
        padding: 0 45px 0 44px;
    }
    
    .product-search-icon {
        left: 16px;
        font-size: 15px;
    }
    
    .product-search-clear {
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    /* Mobilde banner, alttaki kartlarla aynı kenar boşluğunu kullanır.
       Önceden 410px sabit genişlik + max-width:100% ile ekranın iki
       kenarına dayanıyordu; alttaki içerik içeride kaldığı için hizasız
       görünüyordu. Yükseklik oran ile ölçekleniyor. */
    .hero-slider-container {
        width: calc(100% - 30px);
        max-width: 100%;
        margin: 0 auto 16px;
        padding: 0;
    }

    .hero-slide {
        padding: 15px;
    }
    
    .hero-content {
        max-width: calc(100% - 20px);
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 13px;
    }
    
    .section-container {
        padding: 20px 15px;
        width: calc(100% - 30px);
        margin: 30px auto;
        border-radius: 16px;
    }
    
    .section-title {
        margin: 30px auto 15px auto;
        padding: 10px 15px;
        border-radius: 18px;
        font-size: 16px;
        width: calc(100% - 30px);
    }
    
    .wifi-section,
    .google-section {
        margin: 20px 10px;
        padding: 20px;
        width: calc(100% - 20px);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .category-card {
        min-height: 150px;
    }
    
    .category-content {
        min-height: 150px;
        text-align: left;
        padding: 15px;
    }
    
    .category-title {
        font-size: 15px;
        text-align: left;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        flex-direction: row;
        justify-content: space-between;
        gap: 2%;
        align-items: stretch;
    }
    
    .product-image {
        width: 30%;
        min-width: 80px;
        max-width: 100px;
        /* Bkz. yukarıdaki not: sabit oran, eşit kart yükseklikleri */
        height: 100%;
        aspect-ratio: 1 / 1;
        min-height: 100px;
        object-fit: cover;
        align-self: stretch;
    }
    
    .product-content {
        width: 68%;
        gap: 5px;
        padding: 10px;
    }
    
    .product-badges {
        gap: 5px;
    }
    
    .product-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .product-badges {
        gap: 6px;
    }
    
    .product-sticker {
        padding: 3px 8px;
        font-size: 8px;
        border-radius: 10px;
        gap: 2px;
    }
    
    .product-sticker i {
        font-size: 7px;
    }
    
    .product-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .product-info-item {
        font-size: 12px;
        line-height: 21px;
    }
    
    .product-info-item i {
        font-size: 12px;
    }
    
    .wifi-section,
    .google-section {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (min-width: 768px) {
    .product-image {
        width: 20%;
    }
    
    .product-content {
        width: 78%;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .product-image {
        width: 30%;
    }
    
    .product-content {
        width: 68%;
    }
}

/* ============================================================
   Stok durumu rozetleri
   Ürün "tükendi" veya "tükenmek üzere" işaretlendiğinde menüde
   görünür hale gelir. "Stokta" durumunda rozet basılmaz.
   ============================================================ */
.stok-rozet {
    padding: 4px 9px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.stok-azaliyor {
    background: linear-gradient(135deg, #E8A33D 0%, #C97F16 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stok-tukendi {
    background: linear-gradient(135deg, #8A8A8A 0%, #5E5E5E 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Tükenen ürünün kartı soluk görünür ama tıklanabilir kalır
   (misafir yine de içeriğe bakabilsin) */
.product-card.urun-tukendi .product-image {
    filter: grayscale(0.85);
    opacity: 0.6;
}

.product-card.urun-tukendi .product-title {
    color: #8A8A8A;
}

/* Ürün detay sayfasındaki büyük stok uyarısı */
.stok-uyari {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 18px;
    line-height: 1.4;
}

.stok-uyari i {
    font-size: 16px;
    flex-shrink: 0;
}

.stok-uyari-tukendi {
    background: #F0F0F0;
    color: #4A4A4A;
    border: 1px solid #DEDEDE;
}

.stok-uyari-azaliyor {
    background: #FDF3E3;
    color: #8A5A08;
    border: 1px solid #F3DFB8;
}

@media (prefers-color-scheme: dark) {
    .stok-uyari-tukendi { background: #242424; color: #C6C6C6; border-color: #343434; }
    .stok-uyari-azaliyor { background: #2E2513; color: #EBC17A; border-color: #4A3B1B; }
}

/* İndirimli üründe üstü çizili eski fiyat */
.eski-fiyat {
    opacity: .6;
    font-weight: 500;
    margin-right: 5px;
    text-decoration-thickness: 1px;
}

/* Ekran okuyucular için görünür, gözle görünmeyen başlık */
.gorsel-gizli {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Footer marka yazısı (eski h1 yerine) */
.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

/* Footer bağlantıları: dokunma hedefi en az 44px olsun */
.footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 2px 4px;
}

/* Dokunma hedefi boyutları (WCAG 2.5.5 / mobil kullanım)
   Logo bağlantıları ve alt bilgi künyesi 44px'e tamamlanır. */
.logo a,
.footer-logo a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* Yalnızca bağlantıya dokunma hedefi verilir. Paragrafın kendisine
   inline-flex verildiğinde metin parçaları flex öğesine dönüşüp
   "Bu site / Softxio Yazılım / tarafından..." şeklinde alt alta diziliyordu. */
.site-footer a[href*="softxio"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
}

/* ============================================================
   Font Awesome ikon ağırlığı koruması
   Sitedeki bir kural ikon ağırlığını değiştirdiğinde ikon "kırık kutu"
   olarak görünür. Aşağıdaki kurallar doğru glif setini her koşulda geri alır.
   ============================================================ */
i.fas, i.fa-solid, .fas, .fa-solid { font-weight: 900 !important; }
i.far, i.fa-regular, .far, .fa-regular { font-weight: 400 !important; }
i.fab, i.fa-brands, .fab, .fa-brands { font-weight: 400 !important; }

/* ============================================================
   Dil seçimi penceresi — güvenlik ağı
   Pencerenin asıl stilleri includes/translate-scripts.php içinde.
   O dosya bir sayfada eksik kalırsa pencere HTML'i stilsiz basılıp
   içeriği sayfanın altına düz metin gibi döküyordu. Aşağıdaki kurallar
   her koşulda pencereyi gizli ve konumlanmış tutar.
   ============================================================ */
.language-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
}

.language-popup.active,
.language-popup.show {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ============================================================
   Sabit alt butonların (FAB) içeriği kapatmaması için alt boşluk.
   Butonlar position:fixed olduğundan sayfa akışında yer kaplamıyor;
   boşluk olmadan sayfa sonuna inildiğinde alt bilgi metninin ve son
   kartın üstüne biniyordu.  /* fab-alt-bosluk */
   ============================================================ */
.site-footer {
    padding-bottom: 84px;
}

@media (max-width: 767px) {
    .site-footer {
        padding-bottom: 78px;
    }
}

/* ============================================================
   Aktif şube göstergesi ve şube seçici
   Şube bazlı fiyatlandırma açıkken misafir hangi şubenin fiyatlarını
   gördüğünü bilmeli; önceden hiçbir yerde belirtilmiyordu.
   ============================================================ */
.aktif-sube-bar {
    width: calc(100% - 30px);
    max-width: 720px;
    margin: 0 auto 14px;
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 10%, var(--white));
    border: 1px solid color-mix(in srgb, var(--theme-color, #D4AF37) 22%, transparent);
    border-radius: 14px;
    padding: 10px 14px;
}

.aktif-sube-icerik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.aktif-sube-etiket {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: var(--dark-color);
    line-height: 1.35;
}

.aktif-sube-etiket i {
    color: var(--theme-color, #D4AF37);
    font-size: 14px;
    flex-shrink: 0;
}

.aktif-sube-degistir {
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--theme-color, #D4AF37) 45%, transparent);
    color: var(--theme-color, #D4AF37);
    border-radius: 999px;
    padding: 0 14px;
    min-height: 36px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.aktif-sube-degistir:hover,
.aktif-sube-degistir:focus-visible {
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 14%, transparent);
}

/* Şube seçici pencere */
.sube-secici {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99995;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.sube-secici.acik {
    display: flex;
}

.sube-secici-icerik {
    background: var(--white);
    border-radius: 20px;
    padding: 24px 20px 20px;
    width: 100%;
    max-width: 380px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.sube-secici-icerik h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 52px 6px 0;
}

.sube-secici-not {
    font-size: 13px;
    color: var(--text-color);
    margin: 0 0 16px;
}

.sube-secici-kapat {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: var(--dark-color);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sube-secici-liste {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sube-secici-oge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--light-bg);
    color: var(--dark-color);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sube-secici-oge:hover,
.sube-secici-oge:focus-visible {
    border-color: var(--theme-color, #D4AF37);
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 8%, var(--white));
}

.sube-secici-oge-aktif {
    border-color: var(--theme-color, #D4AF37);
    background: color-mix(in srgb, var(--theme-color, #D4AF37) 12%, var(--white));
}

.sube-secici-isaret {
    color: var(--theme-color, #D4AF37);
    font-size: 13px;
}

@media (max-width: 767px) {
    .aktif-sube-bar {
        width: calc(100% - 30px);
        margin-bottom: 12px;
        padding: 9px 12px;
    }
    .aktif-sube-etiket { font-size: 12.5px; }
}
