@charset "UTF-8";

/* =====================================================================
 * PromoLife  |  softiga-menu.css
 * Yerlesim  : assets/css/softiga-menu.css
 * ---------------------------------------------------------------------
 * softiga-ui.css'ten SONRA yuklenir. Mevcut hicbir sinifi yeniden
 * tanimlamaz; yalnizca yeni bilesenlere (sf-tb-*, sf-cnav-*, sf-cpanel-*,
 * sf-cmore-*, sf-mnav-*, sf-mq-*, sf-fcard-*) stil verir. Tum renk ve
 * olculer tema motorunun --pl-* degiskenlerinden okunur.
 *
 * ICINDEKILER
 *   01. Ust serit menusu (Katalog / Baski Fiyat Listesi / Kurumsal / Iletisim)
 *   02. Ana kategori menusu (masaustu)
 *   02b. Tum kategoriler - dikey liste + alt kategori paneli
 *   03. Kategori mega panelleri
 *   04. Panel urun kartlari + yukleniyor / bos durumlar
 *   05. "Diger" kategoriler paneli
 *   06. Mobil kategori menusu (offcanvas)
 *   07. Anasayfa - One cikan urunler (kayan vitrin)
 *   08. Hareket azaltma tercihi
 *   09. Header - arama kutusu ve butonlarin esitlenmesi + animasyonlu logo
 *   10. Sag alt kayan butonlar - kompakt boyut
 * ===================================================================== */


/* =====================================================================
 * 01. UST SERIT MENUSU
 * ===================================================================== */

/* Acilir menuler logo/arama bandinin (z-index: 2) uzerinde kalsin */
header > .bg_pl_light_blue.py-2 {
    position: relative;
    z-index: 1030;
}

header > .bg_pl_light_blue.py-2 .row {
    align-items: center;
    row-gap: 4px;
}

.sf-tb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 4px;
}

.sf-tb-item {
    position: relative;
    display: inline-flex;
}

header .bg_pl_light_blue.py-2 .sf-tb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--pl-radius-pill);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none;
    opacity: .94;
    transition: background var(--pl-speed-fast) ease, opacity var(--pl-speed-fast) ease;
}

header .bg_pl_light_blue.py-2 .sf-tb-link:hover,
header .bg_pl_light_blue.py-2 .sf-tb-link[aria-expanded="true"] {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    opacity: 1;
}

header .bg_pl_light_blue.py-2 .sf-tb-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 1px;
}

.sf-tb-ic {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    opacity: .9;
}

.sf-tb-caret {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    opacity: .85;
    transition: transform var(--pl-speed) var(--pl-ease);
}

.sf-tb-link[aria-expanded="true"] .sf-tb-caret { transform: rotate(180deg); }

header .bg_pl_light_blue.py-2 .sf-tb-menu {
    min-width: 220px;
    z-index: 1080;
}

header .bg_pl_light_blue.py-2 .sf-tb-menu .dropdown-item {
    display: flex;
    align-items: center;
    opacity: 1;
    font-size: 13.6px;
    line-height: 1.4;
    color: var(--pl-ink);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .sf-tb-nav {
        justify-content: flex-start;
        margin-left: -10px;
    }
}

/* Ust seritte baglanti sayisi arttigi icin sol kolon genisletilir;
   sagdaki kur + bayrak alani icin gereken ~360px korunur.
   Boylece baglantilar hicbir genislikte alt satira dusmez. */
@media (min-width: 1200px) {
    header > .bg_pl_light_blue.py-2 .row > .col-md-6 { flex: 0 0 66.6667%; max-width: 66.6667%; }
    header > .bg_pl_light_blue.py-2 .row > .col-6.text-end { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    header > .bg_pl_light_blue.py-2 .row > .col-md-6 { flex: 0 0 58.3333%; max-width: 58.3333%; }
    header > .bg_pl_light_blue.py-2 .row > .col-6.text-end { flex: 0 0 41.6667%; max-width: 41.6667%; }
}

/* Tablet ve telefon: ikonlar gizlenir, olculer sikistirilir */
@media (max-width: 991.98px) {
    header .bg_pl_light_blue.py-2 .sf-tb-link {
        gap: 5px;
        padding: 4px 7px;
        font-size: 12.4px;
    }

    .sf-tb-nav { gap: 2px 3px; }
}

/* Dar masaustu / tablet: yil ve "Listesi" ifadeleri kisaltilir */
@media (max-width: 1199.98px) {
    .sf-tb-opt { display: none; }
}

/* Tablet ve telefon: yer kazanmak icin ikonlar gizlenir ve "Rehber"
   ust seritten cikarilir (mobil menude "Promosyon Rehberi" olarak durur) */
@media (max-width: 991.98px) {
    .sf-tb-ic { display: none; }

    header .bg_pl_light_blue.py-2 .sf-tb-guide { display: none; }
}

@media (max-width: 575.98px) {

    header .bg_pl_light_blue.py-2 .sf-tb-link {
        gap: 4px;
        padding: 4px 6px;
        font-size: 12px;
    }
}

@media (max-width: 419.98px) {
    header .bg_pl_light_blue.py-2 .sf-tb-link { padding: 4px 5px; font-size: 11.6px; }

    .sf-tb-caret { width: 11px; height: 11px; flex-basis: 11px; }
}


/* =====================================================================
 * 02. ANA KATEGORI MENUSU (MASAUSTU)
 * ===================================================================== */

@media (min-width: 992px) {

    header > .bg25_gri_1 .navbar > .container { flex-wrap: nowrap; }

    /* Offcanvas masaustunde statiktir; kalan tum genisligi alir */
    header > .bg25_gri_1 .sf-cnav-host {
        flex: 1 1 auto;
        min-width: 0;
    }
}

.sf-cnav {
    width: 100%;
    min-width: 0;
}

.sf-cnav-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* JS hazir olana kadar tasma olmaz */
.sf-cnav:not(.is-ready) .sf-cnav-list { overflow: hidden; }

.sf-cnav-item {
    position: static;           /* panel, menu seridi genisligine hizalanir */
    flex: 0 0 auto;
}

.sf-cnav-item.is-overflow { display: none; }

.sf-cnav-more { display: none; }
.sf-cnav-more.is-visible { display: block; }

.sf-cnav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--pl-ink);
    font-family: inherit;
    font-size: 13.6px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .1px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--pl-speed-fast) ease, color var(--pl-speed-fast) ease, box-shadow var(--pl-speed-fast) ease;
}

/* Hap (yuvarlak zemin) yerine ince alt cizgi gostergesi */
.sf-cnav-link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background: var(--pl-blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--pl-speed) var(--pl-ease);
}

.sf-cnav-link:hover,
.sf-cnav-item.is-open > .sf-cnav-link {
    background: transparent;
    color: var(--pl-navy);
    box-shadow: none;
    text-decoration: none;
}

.sf-cnav-link:hover::after,
.sf-cnav-item.is-open > .sf-cnav-link::after { transform: scaleX(1); }

.sf-cnav-link:focus-visible {
    outline: 2px solid var(--pl-blue);
    outline-offset: -2px;
}

/* Ok isareti: acilir menu oldugu ilk bakista anlasilir */
.sf-cnav-link .sf-ico-caret {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    opacity: .5;
    transition: transform var(--pl-speed) var(--pl-ease), opacity var(--pl-speed-fast) ease, color var(--pl-speed-fast) ease;
}

.sf-cnav-link:hover .sf-ico-caret,
.sf-cnav-item.is-open > .sf-cnav-link .sf-ico-caret {
    color: var(--pl-blue);
    opacity: 1;
}

.sf-cnav-item.is-open > .sf-cnav-link .sf-ico-caret { transform: rotate(180deg); }


/* =====================================================================
 * 02b. TUM KATEGORILER - DIKEY LISTE + ALT KATEGORI PANELI
 * ---------------------------------------------------------------------
 * Fare ile uzerine gelince acilir; kategoriler tek sutunda yukaridan
 * asagiya sirayla belirir. Alt kategorisi olan satirin uzerine
 * gelindiginde sagda alt kategori paneli acilir.
 * ===================================================================== */

.sf-allcat {
    position: relative;
    flex: 0 0 auto;
    margin-right: 12px;
}

.sf-allcat-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 40px;
    padding: 0 14px 0 13px;
    border: 0;
    border-radius: var(--pl-radius-sm);
    background: var(--pl-navy);
    color: var(--pl-on-navy);
    font-family: inherit;
    font-size: 13.8px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--pl-speed-fast) ease;
}

.sf-allcat-btn:hover,
.sf-allcat.is-open .sf-allcat-btn { background: var(--pl-navy-deep); }

.sf-allcat-btn:focus-visible {
    outline: 2px solid var(--pl-blue);
    outline-offset: 2px;
}

.sf-allcat-ic { width: 18px; height: 18px; flex: 0 0 18px; }

.sf-allcat-btn .sf-ico-caret {
    width: 14px;
    height: 14px;
    opacity: .85;
    transition: transform var(--pl-speed) var(--pl-ease);
}

.sf-allcat.is-open .sf-allcat-btn .sf-ico-caret { transform: rotate(180deg); }

.sf-allcat-panel {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    z-index: 1065;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--pl-speed) var(--pl-ease),
                transform var(--pl-speed) var(--pl-ease),
                visibility 0s linear var(--pl-speed);
}

/* Buton ile panel arasindaki bosluk: fare gecerken kapanmaz */
.sf-allcat-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.sf-allcat.is-open .sf-allcat-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.sf-allcat-box {
    display: flex;
    flex-direction: column;
    width: 340px;
    max-height: min(74vh, 620px);
    padding: 16px 14px 10px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-lg);
    background: var(--pl-surface);
}

.sf-allcat-head,
.sf-allcat-flyhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 6px 12px;
    border-bottom: 1px solid var(--pl-line);
}

.sf-allcat-title {
    position: relative;
    padding-left: 12px;
    color: var(--pl-ink);
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.2;
}

.sf-allcat-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 16px;
    border-radius: 2px;
    background: var(--pl-navy);
    transform: translateY(-50%);
}

.sf-allcat-headlink {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--pl-navy);
    font-size: 12.6px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.sf-allcat-headlink:hover { color: var(--pl-blue); text-decoration: none; }
.sf-allcat-headlink svg { width: 14px; height: 14px; }

.sf-allcat-body {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 12px;
    padding: 6px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius);
    background: var(--pl-surface-2);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--pl-line-strong) transparent;
}

.sf-allcat-body::-webkit-scrollbar { width: 6px; }
.sf-allcat-body::-webkit-scrollbar-thumb { background: var(--pl-line-strong); border-radius: 6px; }

.sf-allcat-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-allcat-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 8px 12px 8px 6px;
    border: 1px solid transparent;
    border-radius: var(--pl-radius);
    background: var(--pl-surface);
    color: var(--pl-ink);
    text-decoration: none;
    transition: border-color var(--pl-speed-fast) ease, color var(--pl-speed-fast) ease;
}

.sf-allcat-link:hover,
.sf-allcat-item.is-active > .sf-allcat-link {
    border-color: var(--pl-line-strong);
    color: var(--pl-navy);
    text-decoration: none;
}

.sf-allcat-link:focus-visible,
.sf-allcat-flylink:focus-visible {
    outline: 2px solid var(--pl-blue);
    outline-offset: -2px;
}

.sf-allcat-num {
    flex: 0 0 22px;
    color: var(--pl-line-strong);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.sf-allcat-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-sm);
    background: var(--pl-surface-2);
    overflow: hidden;
}

.sf-allcat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sf-allcat-thumb-sm { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 8px; }

.sf-allcat-thumb-empty { color: var(--pl-blue); }
.sf-allcat-thumb-empty svg { width: 52%; height: 52%; }

.sf-allcat-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.sf-allcat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-pill);
    background: var(--pl-surface-2);
    color: var(--pl-muted);
    font-size: 11.6px;
    font-weight: 700;
}

.sf-allcat-link .sf-ico-chev {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin-left: -4px;
    color: var(--pl-muted);
    opacity: .55;
    transition: transform var(--pl-speed-fast) ease, opacity var(--pl-speed-fast) ease, color var(--pl-speed-fast) ease;
}

.sf-allcat-item.is-active > .sf-allcat-link .sf-ico-chev {
    color: var(--pl-blue);
    opacity: 1;
    transform: translateX(2px);
}

/* Acilista satirlar yukaridan asagiya sirayla belirir */
.sf-allcat.is-open .sf-allcat-item {
    animation: sfAllcatIn .34s var(--pl-ease) both;
    animation-delay: calc(var(--sf-i, 1) * 26ms);
}

@keyframes sfAllcatIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}

.sf-allcat-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 6px 2px;
    border-top: 1px solid var(--pl-line);
    color: var(--pl-muted);
    font-size: 11.8px;
    font-weight: 600;
}

.sf-allcat-foot svg { width: 14px; height: 14px; flex: 0 0 14px; }

/* --- Alt kategori paneli --- */
.sf-allcat-fly {
    width: 300px;
    max-height: min(74vh, 620px);
    padding: 16px 14px 12px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-lg);
    background: var(--pl-surface);
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: sfAllcatFly .2s var(--pl-ease) both;
}

.sf-allcat-fly[hidden] { display: none; }

@keyframes sfAllcatFly {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: none; }
}

.sf-allcat-flyhead { margin-bottom: 8px; }

.sf-allcat-flytitle {
    min-width: 0;
    color: var(--pl-navy);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

.sf-allcat-flylist {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-allcat-flylink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: var(--pl-radius-sm);
    color: var(--pl-ink);
    text-decoration: none;
    transition: background var(--pl-speed-fast) ease, color var(--pl-speed-fast) ease;
}

.sf-allcat-flylink:hover {
    background: var(--pl-surface-2);
    color: var(--pl-navy);
    text-decoration: none;
}

.sf-allcat-flylink .sf-allcat-name { font-size: 13.4px; }

@media (max-width: 1199.98px) {
    .sf-allcat { margin-right: 8px; }
    .sf-allcat-box { width: 320px; }
    .sf-allcat-fly { width: 270px; }
}


/* =====================================================================
 * 03. KATEGORI MEGA PANELLERI
 * ===================================================================== */

.sf-cpanel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: var(--pl-surface);
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius);
    text-align: left;
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--pl-speed) var(--pl-ease),
                transform var(--pl-speed) var(--pl-ease),
                visibility 0s linear var(--pl-speed);
}

/* Link ile panel arasindaki bosluk: fare gecerken panel kapanmaz */
.sf-cpanel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.sf-cnav-item.is-open > .sf-cpanel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.sf-cpanel-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    max-height: min(72vh, 640px);
    border-radius: calc(var(--pl-radius) - 1px);
    overflow: hidden;
}

/* --- Sol kolon --- */
.sf-cpanel-side {
    background: var(--pl-surface-2);
    border-right: 1px solid var(--pl-line);
    padding: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sf-cpanel-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: var(--pl-radius-sm);
    color: var(--pl-ink);
    font-size: 13.4px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background var(--pl-speed-fast) ease, border-color var(--pl-speed-fast) ease, color var(--pl-speed-fast) ease;
}

.sf-cpanel-sub:hover,
.sf-cpanel-sub.is-active {
    background: var(--pl-surface);
    border-color: var(--pl-line);
    color: var(--pl-navy);
    text-decoration: none;
}

.sf-cpanel-sub:focus-visible {
    outline: 2px solid var(--pl-blue);
    outline-offset: -2px;
}

.sf-cpanel-sub .sf-ico-chev {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-left: auto;
    color: var(--pl-blue);
    opacity: 0;
    transform: translateX(-3px);
    transition: opacity var(--pl-speed-fast) ease, transform var(--pl-speed-fast) ease;
}

.sf-cpanel-sub:hover .sf-ico-chev,
.sf-cpanel-sub.is-active .sf-ico-chev {
    opacity: 1;
    transform: none;
}

.sf-cpanel-sub-all { padding: 9px 10px; }

.sf-cpanel-subtext {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.sf-cpanel-subname {
    min-width: 0;
    overflow-wrap: anywhere;
}

.sf-cpanel-sub-all .sf-cpanel-subname { font-size: 14px; font-weight: 700; }

.sf-cpanel-subnote {
    color: var(--pl-muted);
    font-size: 11.6px;
    font-weight: 500;
}

.sf-cpanel-subs {
    display: grid;
    gap: 2px;
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid var(--pl-line);
    list-style: none;
}

.sf-cpanel-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: var(--pl-radius-sm);
    background: var(--pl-surface);
    border: 1px solid var(--pl-line);
    overflow: hidden;
}

.sf-cpanel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sf-cpanel-thumb-sm {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
}

.sf-cpanel-thumb-empty { color: var(--pl-blue); }
.sf-cpanel-thumb-empty svg { width: 55%; height: 55%; }

/* Alt kategorisi olmayan gruplar: gorselli tanitim karti */
.sf-cpanel-feature {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--pl-ink);
    text-decoration: none;
}

.sf-cpanel-feature:hover { color: var(--pl-ink); text-decoration: none; }

.sf-cpanel-feature-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-sm);
    background: var(--pl-surface);
    overflow: hidden;
}

.sf-cpanel-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--pl-speed-slow) var(--pl-ease);
}

.sf-cpanel-feature:hover .sf-cpanel-feature-media img { transform: scale(1.04); }

.sf-cpanel-feature-media.sf-cpanel-thumb-empty svg { width: 34%; height: 34%; }

.sf-cpanel-feature-name {
    color: var(--pl-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.sf-cpanel-feature-text {
    color: var(--pl-muted);
    font-size: 12.8px;
    line-height: 1.5;
}

.sf-cpanel-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    padding: 9px 15px;
    border-radius: var(--pl-radius-pill);
    background: var(--pl-navy);
    color: var(--pl-on-navy);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--pl-speed-fast) ease;
}

.sf-cpanel-feature:hover .sf-cpanel-btn { background: var(--pl-blue); color: var(--pl-on-blue); }

.sf-cpanel-btn svg { width: 15px; height: 15px; }

/* --- Sag kolon --- */
.sf-cpanel-main {
    padding: 16px 18px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    min-width: 0;
}

.sf-cpanel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sf-cpanel-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    min-width: 0;
}

.sf-cpanel-title {
    color: var(--pl-navy);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
}

.sf-cpanel-count {
    padding: 2px 9px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-pill);
    background: var(--pl-surface-2);
    color: var(--pl-muted);
    font-size: 11.8px;
    font-weight: 600;
    line-height: 1.5;
}

.sf-cpanel-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: var(--pl-navy);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.sf-cpanel-all:hover { color: var(--pl-blue); text-decoration: none; }

.sf-cpanel-all svg {
    width: 15px;
    height: 15px;
    transition: transform var(--pl-speed-fast) ease;
}

.sf-cpanel-all:hover svg { transform: translateX(3px); }


/* =====================================================================
 * 04. PANEL URUN KARTLARI
 * ===================================================================== */

.sf-cpanel-products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.sf-cprod {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-sm);
    background: var(--pl-surface);
    color: var(--pl-ink);
    text-decoration: none;
    transition: border-color var(--pl-speed-fast) ease, transform var(--pl-speed) var(--pl-ease);
}

a.sf-cprod:hover {
    border-color: var(--pl-blue);
    color: var(--pl-ink);
    text-decoration: none;
    transform: translateY(-2px);
}

a.sf-cprod:focus-visible {
    outline: 2px solid var(--pl-blue);
    outline-offset: 1px;
}

.sf-cprod-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 5 / 4;
    border-radius: 8px;
    background: var(--pl-surface-2);
    overflow: hidden;
}

.sf-cprod-media img {
    width: 100%;
    height: 100%;
    padding: 6px;
    object-fit: contain;
    mix-blend-mode: multiply;
    display: block;
    transition: transform var(--pl-speed-slow) var(--pl-ease);
}

a.sf-cprod:hover .sf-cprod-media img { transform: scale(1.05); }

.sf-cprod-ph {
    display: none;
    width: 34%;
    height: 34%;
    color: var(--pl-line-strong);
}

.sf-cprod-media.is-noimg img { display: none; }
.sf-cprod-media.is-noimg .sf-cprod-ph { display: block; }

.sf-cprod-code {
    overflow: hidden;
    color: var(--pl-navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sf-cprod-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    font-size: 12.6px;
    font-weight: 600;
    line-height: 1.35;
}

/* Yukleniyor iskeleti */
.sf-cprod.is-skel { pointer-events: none; }

.sf-cprod.is-skel .sf-cprod-media,
.sf-skel-line {
    background: linear-gradient(90deg, var(--pl-surface-2) 25%, var(--pl-surface-3) 50%, var(--pl-surface-2) 75%);
    background-size: 200% 100%;
    animation: sfMenuShimmer 1.2s linear infinite;
}

.sf-skel-line {
    display: block;
    height: 10px;
    margin-top: 4px;
    border-radius: 6px;
}

.sf-skel-line.is-short { width: 55%; }

@keyframes sfMenuShimmer {
    from { background-position: 100% 0; }
    to   { background-position: -100% 0; }
}

/* Bos / hata durumu */
.sf-cpanel-empty {
    grid-column: 1 / -1;
    padding: 34px 20px;
    border: 1px dashed var(--pl-line-strong);
    border-radius: var(--pl-radius);
    color: var(--pl-muted);
    font-size: 13.4px;
    text-align: center;
}

.sf-cpanel-empty a {
    color: var(--pl-navy);
    font-weight: 700;
    text-decoration: none;
}

.sf-cpanel-empty a:hover { color: var(--pl-blue); }

@media (max-width: 1199.98px) {

    .sf-cpanel-grid { grid-template-columns: 228px minmax(0, 1fr); }

    .sf-cpanel-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .sf-cpanel-products > .sf-cprod:nth-child(n+9) { display: none; }
}


/* =====================================================================
 * 05. "DIGER" KATEGORILER PANELI
 * ===================================================================== */

.sf-cnav-more-btn .sf-ico-caret { opacity: .8; }

.sf-cmore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px 24px;
    max-height: min(72vh, 640px);
    padding: 18px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sf-cmore-title {
    display: block;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--pl-line);
    color: var(--pl-navy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.sf-cmore-title:hover { color: var(--pl-blue); text-decoration: none; }

.sf-cmore-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-cmore-links a {
    display: block;
    padding: 4px 0;
    color: var(--pl-ink);
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

.sf-cmore-links a:hover { color: var(--pl-blue); text-decoration: none; }

.sf-cmore-links a.sf-cmore-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    color: var(--pl-muted);
    font-size: 12.4px;
    font-weight: 600;
}

.sf-cmore-all svg { width: 13px; height: 13px; }


/* =====================================================================
 * 06. MOBIL KATEGORI MENUSU (OFFCANVAS)
 * ===================================================================== */

.sf-mnav { padding-top: 4px; }

.sf-mnav-title {
    margin: 16px 0 8px;
    color: var(--pl-muted);
    font-size: 13px;
    font-weight: 700;
}

.sf-mnav-title:first-child { margin-top: 8px; }

.sf-mnav-list,
.sf-mnav-links,
.sf-mnav-sub {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-mnav-list {
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius);
    background: var(--pl-surface);
    overflow: hidden;
}

.sf-mnav-item + .sf-mnav-item { border-top: 1px solid var(--pl-line); }

.sf-mnav-row {
    display: flex;
    align-items: stretch;
}

.sf-mnav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 50px;
    padding: 8px 12px;
    color: var(--pl-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.sf-mnav-link:hover,
.sf-mnav-link:active { color: var(--pl-navy); text-decoration: none; }

.sf-mnav-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 9px;
    background: var(--pl-surface-2);
    overflow: hidden;
}

.sf-mnav-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sf-mnav-thumb-empty { color: var(--pl-blue); }
.sf-mnav-thumb-empty svg { width: 55%; height: 55%; }

.sf-mnav-name { min-width: 0; overflow-wrap: anywhere; }

.sf-mnav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--pl-line);
    background: transparent;
    color: var(--pl-muted);
    cursor: pointer;
    transition: background var(--pl-speed-fast) ease, color var(--pl-speed-fast) ease;
}

.sf-mnav-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform var(--pl-speed) var(--pl-ease);
}

.sf-mnav-toggle:not(.collapsed) {
    background: var(--pl-surface-2);
    color: var(--pl-navy);
}

.sf-mnav-toggle:not(.collapsed) svg { transform: rotate(180deg); }

.sf-mnav-toggle:focus-visible,
.sf-mnav-link:focus-visible {
    outline: 2px solid var(--pl-blue);
    outline-offset: -2px;
}

.sf-mnav-sub {
    padding: 4px 0 8px;
    border-top: 1px solid var(--pl-line);
    background: var(--pl-surface-2);
}

.sf-mnav-sublink {
    display: block;
    padding: 10px 14px 10px 56px;
    color: var(--pl-ink);
    font-size: 13.6px;
    line-height: 1.35;
    text-decoration: none;
}

.sf-mnav-sublink:hover,
.sf-mnav-sublink:active { color: var(--pl-blue); text-decoration: none; }

.sf-mnav-sublink-all { color: var(--pl-navy); font-weight: 700; }

.sf-mnav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.sf-mnav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-sm);
    background: var(--pl-surface);
    color: var(--pl-ink);
    font-size: 13.2px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.sf-mnav-links a:hover,
.sf-mnav-links a:active { border-color: var(--pl-blue); color: var(--pl-navy); text-decoration: none; }

.sf-mnav-contact {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-bottom: 6px;
}

.sf-mnav-cbtn {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: var(--pl-radius-sm);
    background: var(--pl-navy-tint);
    color: var(--pl-navy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sf-mnav-cbtn:hover,
.sf-mnav-cbtn:active { background: var(--pl-navy); color: var(--pl-on-navy); text-decoration: none; }

.sf-mnav-cbtn svg { width: 18px; height: 18px; flex: 0 0 18px; }

@media (max-width: 359.98px) {
    .sf-mnav-links { grid-template-columns: 1fr; }
}


/* =====================================================================
 * 07. ANASAYFA - ONE CIKAN URUNLER (KAYAN VITRIN)
 * ---------------------------------------------------------------------
 * Cercevesiz, acik tasarim: kartlar sayfa zemininde dogrudan kayar.
 * Sol ve sag kenarlarda beyaz yumusak gecis katmani vardir; kartlar
 * kenara yaklastikca beyaza eriyerek kaybolur. Katmanlar tiklamayi ve
 * suruklemeyi engellemez (pointer-events: none).
 * Gecis rengi --sf-mq-fade degiskeninden degistirilebilir.
 * JS yoksa veya "hareket azaltma" aciksa serit parmakla kaydirilir.
 * ===================================================================== */

.sf-mq {
    --sf-mq-fade: #ffffff;
    --sf-mq-fade-width: 14%;
    position: relative;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

/* Kenarlarda beyaz yumusak gecis */
.sf-mq::before,
.sf-mq::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: var(--sf-mq-fade-width);
    pointer-events: none;
}

.sf-mq::before {
    left: 0;
    background: linear-gradient(90deg,
                var(--sf-mq-fade) 0%,
                rgba(255, 255, 255, .86) 32%,
                rgba(255, 255, 255, 0) 100%);
}

.sf-mq::after {
    right: 0;
    background: linear-gradient(270deg,
                var(--sf-mq-fade) 0%,
                rgba(255, 255, 255, .86) 32%,
                rgba(255, 255, 255, 0) 100%);
}

.sf-mq-viewport {
    position: relative;
    z-index: 1;
    padding: 10px 0 14px;    /* kart yukselme efekti kesilmez */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sf-mq-viewport::-webkit-scrollbar { display: none; }

.sf-mq.is-ready .sf-mq-viewport {
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.sf-mq.is-dragging .sf-mq-viewport { cursor: grabbing; }

.sf-mq-track {
    display: flex;
    width: max-content;
}

.sf-mq.is-ready .sf-mq-track { will-change: transform; }

.sf-mq-list {
    display: flex;
    flex: 0 0 auto;
    gap: 18px;
    margin: 0;
    padding: 0 9px;          /* ardisik listeler arasi bosluk = gap */
    list-style: none;
}

.sf-mq-item {
    flex: 0 0 auto;
    width: 226px;
}

/* ---------------------------------------------------------------------
 * Elle ilerletme: sol / sag ok butonlari  (softiga-menu.js > setupMarquee)
 * Butonlar JS ile eklenir; JS calismazsa serit parmakla kaydirilir.
 * ------------------------------------------------------------------ */

.sf-mq-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 2px);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.sf-mq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 6px;
    padding: 0;
    border: 1px solid var(--pl-line);
    border-radius: 50%;
    cursor: pointer;
    color: var(--pl-navy);
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    pointer-events: auto;
    opacity: .55;
    transition: opacity var(--pl-speed, .25s) var(--pl-ease, ease),
                color var(--pl-speed, .25s) var(--pl-ease, ease),
                background var(--pl-speed, .25s) var(--pl-ease, ease),
                border-color var(--pl-speed, .25s) var(--pl-ease, ease),
                transform var(--pl-speed, .25s) var(--pl-ease, ease);
}

.sf-mq-btn svg { width: 18px; height: 18px; }

.sf-mq:hover .sf-mq-btn,
.sf-mq:focus-within .sf-mq-btn { opacity: 1; }

.sf-mq-btn:hover {
    color: #fff;
    background: var(--pl-blue);
    border-color: var(--pl-blue);
    transform: scale(1.06);
}

.sf-mq-btn:active { transform: scale(.96); }

.sf-mq-btn:focus-visible {
    opacity: 1;
    outline: 2px solid var(--pl-blue);
    outline-offset: 2px;
}

/* Dokunmatik cihazlarda oklar her zaman gorunur (hover yok) */
@media (hover: none), (pointer: coarse) {
    .sf-mq-btn { opacity: .92; }
    .sf-mq-btn:hover { color: var(--pl-navy); background: rgba(255, 255, 255, .94); border-color: var(--pl-line); transform: none; }
}

.sf-fcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-lg);
    background: var(--pl-surface);
    color: var(--pl-ink);
    text-decoration: none;
    -webkit-user-select: none;
            user-select: none;
    -webkit-user-drag: none;
    transition: border-color var(--pl-speed-fast) ease, transform var(--pl-speed) var(--pl-ease);
}

.sf-fcard:hover {
    border-color: var(--pl-blue);
    color: var(--pl-ink);
    text-decoration: none;
    transform: translateY(-3px);
}

.sf-fcard:focus-visible {
    outline: 2px solid var(--pl-blue);
    outline-offset: -2px;
}

.sf-fcard-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: var(--pl-radius);
    background: var(--pl-surface-2);
    overflow: hidden;
}

.sf-fcard-media img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    mix-blend-mode: multiply;
    pointer-events: none;
    -webkit-user-drag: none;
    transition: transform var(--pl-speed-slow) var(--pl-ease);
}

.sf-fcard:hover .sf-fcard-media img { transform: scale(1.05); }

.sf-fcard-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 5px;
    padding: 10px 2px 2px;
    min-width: 0;
}

.sf-fcard-cat {
    overflow: hidden;
    color: var(--pl-muted);
    font-size: 11.4px;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sf-fcard-code {
    align-self: flex-start;
    max-width: 100%;
    overflow: hidden;
    padding: 3px 8px;
    border: 1px solid var(--pl-line);
    border-radius: var(--pl-radius-pill);
    background: var(--pl-surface-2);
    color: var(--pl-navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sf-fcard-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.76em;
    font-size: 13.2px;
    font-weight: 600;
    line-height: 1.38;
}

.sf-fcard-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    color: var(--pl-navy);
    font-size: 12.4px;
    font-weight: 700;
}

.sf-fcard-cta svg {
    width: 14px;
    height: 14px;
    transition: transform var(--pl-speed-fast) ease;
}

.sf-fcard:hover .sf-fcard-cta { color: var(--pl-blue); }
.sf-fcard:hover .sf-fcard-cta svg { transform: translateX(3px); }

@media (max-width: 767.98px) {

    .sf-mq { --sf-mq-fade-width: 9%; }

    .sf-mq-viewport { padding: 6px 0 10px; }

    .sf-mq-list { gap: 12px; padding: 0 6px; }
    .sf-mq-btn { width: 34px; height: 34px; margin: 0 4px; }
    .sf-mq-btn svg { width: 16px; height: 16px; }

    .sf-mq-item { width: 168px; }

    .sf-fcard { padding: 9px; border-radius: var(--pl-radius); }

    .sf-fcard-media { border-radius: var(--pl-radius-sm); }

    .sf-fcard-media img { padding: 8px; }

    .sf-fcard-name { font-size: 12.6px; }

    /* Dokunmatikte kart yukselmesi yok */
    .sf-fcard:hover { transform: none; }
}

@media (max-width: 400px) {
    .sf-mq { --sf-mq-fade-width: 7%; }

    .sf-mq-item { width: 152px; }
    .sf-mq-btn { width: 30px; height: 30px; margin: 0 2px; }
    .sf-mq-btn svg { width: 14px; height: 14px; }
}


/* =====================================================================
 * 08. HAREKET AZALTMA TERCIHI
 * ===================================================================== */

@media (prefers-reduced-motion: reduce) {

    .sf-cpanel,
    .sf-allcat-panel,
    .sf-cnav-link,
    .sf-cnav-link::after,
    .sf-cprod,
    .sf-cprod-media img,
    .sf-fcard,
    .sf-fcard-media img,
    .sf-tb-caret,
    .sf-mq-btn,
    .sf-mnav-toggle svg {
        transition: none !important;
    }

    .sf-mq-btn:hover,
    .sf-mq-btn:active { transform: none; }

    .sf-cpanel,
    .sf-allcat-panel { transform: none; }

    .sf-allcat.is-open .sf-allcat-item,
    .sf-allcat-fly { animation: none; }

    .sf-cprod.is-skel .sf-cprod-media,
    .sf-skel-line { animation: none; }
}


/* =====================================================================
 * 09. HEADER - ARAMA KUTUSU VE BUTONLARIN ESITLENMESI + LOGO
 * ---------------------------------------------------------------------
 * Arama kutusu, Bayi Girisi / Uye Ol (veya Hesabim / Sepetim) ve
 * WhatsApp butonu AYNI yukseklik ve AYNI kose yuvarlakligini kullanir.
 * Olculer tek yerden yonetilir: --sf-hdr-h (yukseklik), --sf-hdr-r (kose).
 * ===================================================================== */

header {
    --sf-hdr-h: 44px;
    --sf-hdr-r: 12px;
}

/* --- Sabit header katman sirasi ---
   custom.css'teki ".fixed-header { z-index: 2 }" kurali, kaydirinca sabitlenen
   header'in z-index degerini eziyordu; sayfa icerigi (ornegin kategori filtre
   paneli) header'in ustune cikiyordu. Modal, acilir panel ve AI asistan
   (1040+) yine header'in ustunde kalir. */
@media (min-width: 992px) {
    header .fixed-header.header-fixed { z-index: 1030 !important; }
}

/* --- Logo --- */
header .sf-logo {
    display: block;
    height: auto;
    max-width: 100%;
}

/* Yazisiz logo ince oldugu icin telefonda bir miktar buyutulur */
@media (max-width: 575.98px) {
    header .navbar-brand img.sf-logo { width: 185px !important; }
}

@media (max-width: 400px) {
    header .navbar-brand img.sf-logo { width: 170px !important; }
}

/* --- Arama kutusu --- */
header #header_search_query.form-control {
    height: var(--sf-hdr-h) !important;
    min-height: var(--sf-hdr-h) !important;
    border-radius: var(--sf-hdr-r) 0 0 var(--sf-hdr-r) !important;
    padding-left: 16px;
    font-size: 14px;
}

header .btn_header_search {
    width: calc(var(--sf-hdr-h) + 8px) !important;
    height: var(--sf-hdr-h) !important;
    min-height: var(--sf-hdr-h) !important;
    border-radius: 0 var(--sf-hdr-r) var(--sf-hdr-r) 0 !important;
}

header .btn_header_search svg { width: 18px; height: 18px; }

/* --- Bayi Girisi / Uye Ol / Hesabim / Sepetim --- */
header button.btn_header_order.badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--sf-hdr-h);
    min-height: var(--sf-hdr-h);
    margin: 0;
    padding: 0 16px !important;
    border: 1px solid var(--pl-navy) !important;
    border-radius: var(--sf-hdr-r) !important;
    background: var(--pl-navy) !important;
    color: var(--pl-on-navy) !important;
    font-family: inherit;
    font-size: 13.6px !important;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .1px;
    white-space: nowrap;
    vertical-align: middle;
    box-shadow: none !important;
    cursor: pointer;
    transition: background var(--pl-speed-fast) ease, border-color var(--pl-speed-fast) ease, color var(--pl-speed-fast) ease;
}

header button.btn_header_order.badge:hover {
    background: var(--pl-navy-deep) !important;
    border-color: var(--pl-navy-deep) !important;
}

/* Ikinci buton sade (cerceveli) */
header button.btn_header_order.badge + button.btn_header_order.badge {
    background: var(--pl-surface) !important;
    border-color: var(--pl-line-strong) !important;
    color: var(--pl-navy) !important;
}

header button.btn_header_order.badge + button.btn_header_order.badge:hover {
    background: var(--pl-surface-2) !important;
    border-color: var(--pl-navy) !important;
}

header button.btn_header_order.badge:focus-visible {
    outline: 2px solid var(--pl-blue) !important;
    outline-offset: 2px;
}

header button.btn_header_order.badge i {
    font-size: 14px;
    line-height: 1;
}

/* Sepet adet rozeti */
header button.btn_header_order.badge .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--pl-radius-pill);
    background: var(--pl-navy) !important;
    color: var(--pl-on-navy) !important;
    font-size: 11px;
    font-weight: 700;
}

/* --- WhatsApp ve ikon butonlar --- */
header .sf-hbtn.sf-hbtn-icon,
header .sf-hbtn.sf-hbtn-wa.sf-hbtn-icon {
    width: var(--sf-hdr-h);
    height: var(--sf-hdr-h);
    min-height: var(--sf-hdr-h);
    border-radius: var(--sf-hdr-r);
}

header .sf-hbtn.sf-hbtn-icon svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

header .sf-header-actions-outer,
header .sf-ha-item { gap: 8px; }

/* --- Telefon: menu seridindeki Bayi Girisi / Uye Ol --- */
@media (max-width: 575.98px) {

    header .bg25_gri_1 .col-12.d-sm-none {
        display: flex !important;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    header button.btn_header_order.badge {
        flex: 1 1 0;
        max-width: 190px;
        padding: 0 12px !important;
        font-size: 13px !important;
    }
}


/* =====================================================================
 * 10. SAG ALT KAYAN BUTONLAR - KOMPAKT BOYUT
 * ---------------------------------------------------------------------
 * WhatsApp / Arama / Canli destek ve Yukari Cik butonlari kucultuldu.
 *   Masaustu: 3 x 44px + 2 x 8px = 148px, alt bosluk 18px -> ust 166px
 *             Yukari Cik 10px bosluk ile 176px'e yerlesir.
 *   Mobil   : 3 x 40px + 2 x 8px = 136px, alt bosluk 64px -> ust 200px
 *             Yukari Cik 10px bosluk ile 210px'e yerlesir.
 * ===================================================================== */

.sf-fab { gap: 8px; }

.sf-fab .sf-fab-btn,
.sf-fab .sf-fab-btn:hover {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.sf-fab .sf-fab-ico {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
}

.sf-fab .sf-fab-ico svg { width: 19px; height: 19px; }

.sf-fab .sf-fab-label {
    padding: 8px 12px;
    font-size: 12.4px;
}

#scroll-to-top {
    width: 44px;
    height: 44px;
    bottom: 176px;
    border-radius: 12px;
}

#scroll-to-top .sf-totop-arrow { width: 18px; height: 18px; }

@media (max-width: 767.98px) {

    .sf-fab { gap: 8px; }

    .sf-fab .sf-fab-btn,
    .sf-fab .sf-fab-btn:hover {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .sf-fab .sf-fab-ico {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .sf-fab .sf-fab-ico svg { width: 18px; height: 18px; }

    #scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: calc(210px + env(safe-area-inset-bottom, 0px));
        border-radius: 11px;
    }

    #scroll-to-top .sf-totop-ring { width: 40px; height: 40px; }

    #scroll-to-top .sf-totop-arrow { width: 17px; height: 17px; }
}

