﻿:root {
    --brand: #c04f2d;
    --brand-deep: #a0462e;
    --muted: #6a6a6a;
    --card: #fff;
    /* reveal ayarları (PilatesVibes / Classes hissi) */
    --wipe-color: #ffffff; /* maskenin rengi; istersen #fff yerine #f8f8f8 */
    --wipe-dur: 900ms; /* maske süresi */
    --wipe-ease: cubic-bezier(.2,.85,.15,1); /* maske eğrisi */
    --content-dur: 900ms; /* içerik fade/zoom süresi */
    --content-ease: cubic-bezier(.16,.84,.16,1);
    --content-translate: 20px; /* içerik hafif alttan gelsin */
    --content-scale: .985; /* micro scale */
    --row-delay-step: 120ms; /* aynı satırdaki kartlar arası gecikme */
}

/* HEADER */

.svc-hero .btn-brand {
    background: #c04f2d;
    color: #fff;
}

.btn-outline-brand {
    border: 1px solid #c04f2d;
    color: #c04f2d;
}

.btn-outline-brand:hover {
    background: #c04f2d;
    color: #fff;
}

.branch-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.badge.bg-dark-subtle {
    background: rgba(0,0,0,.55) !important;
    color: #fff;
    font-weight: 600;
}

/*.svc-header {
    padding: 40px 0 18px;
    background: radial-gradient(900px 300px at 0% -10%, rgba(192,79,45,.12), transparent 60%), linear-gradient(180deg, rgba(192,79,45,.08), rgba(192,79,45,.03));
}*/

.svc-header {
    position: relative;
    color: #1f1f1f;
    background: #f7f1ec;
    padding: 42px 0 30px;
    border-bottom: 1px solid rgba(192, 79, 45, 0.05);
    overflow: hidden;
}

.svc-header::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    top: -210px;
    right: -120px;
    background: radial-gradient(circle, rgba(192,79,45,0.10) 0%, rgba(192,79,45,0.00) 68%);
    pointer-events: none;
}

.svc-header::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    left: -120px;
    bottom: -200px;
    background: radial-gradient(circle, rgba(250,165,85,0.08) 0%, rgba(250,165,85,0.00) 70%);
    pointer-events: none;
}

.svc-header .container {
    position: relative;
    z-index: 1;
    max-width: 1180px;
}
/*
.svc-title {
    font-size: 40px;
    font-weight: 800;
    margin: 0 0 6px;
}*/

.svc-title {
    font-size: clamp(1.95rem, 2.6vw, 2.7rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: #1b1b1b;
    text-align: center;
}

/*.svc-lead {
    color: #5b5b5b;
    margin-bottom: 16px;
}*/

.svc-lead {
    color: #4a4643;
    font-size: 16px;
    line-height: 1.65;
    max-width: 760px;
    margin: 0 auto 20px;
    text-align: center;
}

.svc-controls {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}


.svc-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    flex: 1;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .svc-controls {
        grid-template-columns: 1fr;
    }
}

/*CHIP ALANI*/
.cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cats-parent,
.cats-child {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

/*.pill {
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid #eadfd8;
    background: #fffaf7;
    font-weight: 500;
    transition: .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2e2926;
}*/

.pill {
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid #eadfd8;
    background: rgba(255, 250, 247, 0.92);
    font-weight: 500;
    transition: .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2e2926;
}

.pill:hover {
    border-color: #c04f2d;
    color: #fff;
    background: #c04f2d;
}

.pill.active {
    background: #c04f2d;
    color: #fff;
    border-color: #c04f2d;
    box-shadow: 0 6px 16px rgba(192, 79, 45, 0.18);
}

.pill-child {
    padding: .38rem .8rem;
    font-size: 0.92rem;
    font-weight: 500;
    background: rgba(255, 250, 247, 0.92);
    border-color: #efd8cd;
    color: #6b4a3c;
}

.pill-child:hover {
    border-color: #c04f2d;
    color: #fff;
    background: #c04f2d;
}

/*.pill-branch {
    margin-left: auto;
    border-color: #c04f2d;
    color: #c04f2d;
}
*/

.pill-branch {
    margin-left: 24px;
    border-color: #d8a28f;
    color: #b1593f;
    background: rgba(255, 250, 247, 0.96);
    flex-shrink: 0;
    align-self: flex-start;
}

.pill-branch:hover {
    background: #c04f2d;
    color: #fff;
    border-color: #c04f2d;
}

.cats .pill[hidden] {
    display: none !important;
}

.svc-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/*.cats-parent,
.cats-child {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}*/

/*.pill-child {
    padding: .38rem .8rem;
    font-size: 0.92rem;
    font-weight: 500;
    background: #fffaf7;
    border-color: #efd8cd;
    color: #6b4a3c;
}

.pill-child:hover {
    border-color: #c04f2d;
    color: #fff;
    background: #c04f2d;
}*/

.pill.has-children {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pill-arrow {
    font-size: 0.8rem;
    opacity: 0.75;
}

.pill.active .pill-arrow {
    opacity: 1;
}

/* GRID */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin: 22px 0 64px;
}

@media (max-width:1200px) {
    .svc-grid {
        grid-template-columns: repeat(8,1fr);
    }
}
@media (max-width: 768px) {
    .svc-grid {
        grid-template-columns: repeat(4,1fr);
    }

    .svc-header {
        padding: 34px 0 24px;
    }

    .svc-title {
        font-size: 2rem;
    }

    .svc-lead {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 16px;
    }

    .svc-controls {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px 16px;
        flex-wrap: wrap;
    }

    .svc-filters {
        flex: 1 1 100%;
        width: 100%;
        align-items: flex-start;
    }

    .cats-parent,
    .cats-child {
        justify-content: flex-start;
    }

    .pill-branch {
        margin-left: auto;
        align-self: flex-start;
    }
}

/* CARD (maske için position/overflow şart) */
.card-svc {
    grid-column: span 4;
    position: relative; /* ::after mask için */
    background: var(--card);
    border-radius: 16px;
    overflow: hidden; /* maskenin taşmaması için */
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
    /* içerik başlangıç: görünmez + hafif alttan + scale */
    opacity: 0;
    transform: translateY(var(--content-translate)) scale(var(--content-scale));
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.card-svc.wide {
    grid-column: span 8;
}

.card-svc .card-body {
    display: flex;
    flex-direction: column;
}

/* Butonu kart gövdesinin en alt-sağına it */
.card-svc .btn-brand {
    align-self: flex-end; /* sağa hizala */
    margin-top: auto; /* yukarıdaki içerikten boşluk alıp alta ittirir */
}

    /* === MASKE (perde) ===
Kartın üstünde brand/white renkli bir layer, scaleX(1) → scaleX(0) ile “arkadan açılma” verir. */
    .card-svc::after {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--wipe-color, #fff);
        transform-origin: left center;
        transform: scaleX(1);
        will-change: transform, opacity;
        z-index: 2;
        pointer-events: none;
    }

    /* === REVEAL (IO tetikler) ===
- Maske: soldan sağa çekilir (scaleX 1→0)
- İçerik: aynı anda fade-in + yukarı kayış + micro zoom-out */
    .card-svc.m-reveal::after {
        animation: wipeLeft var(--wipe-dur, 900ms) var(--wipe-ease, cubic-bezier(.2,.85,.15,1)) forwards;
        animation-delay: var(--delay, 0ms);
    }

    .card-svc.m-reveal {
        animation: contentIn var(--content-dur, 900ms) var(--content-ease, cubic-bezier(.16,.84,.16,1)) forwards;
        animation-delay: calc(var(--delay, 0ms) + 90ms);
    }

    .card-svc.is-in::after {
        display: none; /* maske artık yok */
    }

@keyframes wipeLeft {
    to {
        transform: scaleX(0);
    }
}

@keyframes contentIn {
    from {
        opacity: 0;
        transform: translateY(var(--content-translate)) scale(var(--content-scale));
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* IO sonrası kalıcı durum */
.card-svc.is-in {
    opacity: 1;
    transform: none;
}

/* MEDIA alanı – reflow hissini kesmek için sabit oran */
.card-media {
    position: relative;
    aspect-ratio: 5 / 4;
    background: #000;
    overflow: hidden;
    /*background-image: url('../../../images/hero_section/pathoj pilates fotoğraflar (10).jpg');*/
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*transform: scale(1.06);*/ /* çok hafif yakın açı ile başlasın */
    transition: transform .45s ease; /* hover zoom için */
    will-change: transform;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .85rem;
}

/* CARD body */
.card-body {
    padding: 14px 14px 16px;
}

.card-title {
    /*margin: 0 0 6px;
    font-weight: 800;
    letter-spacing: .3px;*/
    font-size: 1.7rem; /* biraz daha büyük */
    font-weight: 750; /* daha kalın */
    letter-spacing: 0.02em; /* hafif açalım */
    margin-bottom: 0.25rem;
    color: #202020;
}

.card-desc {
    font-size: 0.98rem;
    line-height: 1.60;
    color: #4a4a4a; /* mevcut açık griden daha koyu */
    margin-bottom: 1rem;
}



/* Hover — minik brand border + lift + görsel zoom */
.card-svc:hover {
    box-shadow: 0 16px 44px rgba(0,0,0,.10);
    outline: 2px solid var(--brand);
    outline-offset: -2px;
    transform: translateY(-4px) !important;
}

.card-svc:hover .card-media img {
    transform: scale(1.04);
}

.btn-brand {
    background: var(--brand);
    color: #fff;
    border: 0;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 450;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
}

.btn-brand:hover {
    background: var(--brand-deep);
}

/* SKELETON (branch/kategori değişimleri) */
.skel {
    grid-column: span 4;
    height: 310px;
    border-radius: 16px;
    background: linear-gradient(90deg,#eee 25%, #f6f6f6 37%, #eee 63%);
    background-size: 400% 100%;
    animation: shimmer 1.1s infinite;
}

    .skel.wide {
        grid-column: span 8;
    }

@keyframes shimmer {
    0% {
        background-position: 100% 0
    }

    100% {
        background-position: 0 0
    }
}

/* reduce-motion */
@media (prefers-reduced-motion: reduce) {
.card-svc, .card-svc.m-reveal, .card-svc::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.card-svc::after {
    display: none !important;
    }
}

/* ============= DETAY & RANDEVU BLOĞU ==================*/
/* Parent blok (ana paket) */
/* Modal ana kutu */
.pkg-modal {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 22px 70px rgba(0,0,0,0.14);
    background: #fcfbf9;
}

.pkg-modal .modal-header {
    padding: 1.5rem 1.6rem 0.8rem;
}

.pkg-modal .modal-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
}

.pkg-modal-sub {
    margin: 0;
    font-size: 0.98rem;
    color: #6f6a66;
    line-height: 1.45;
}

.pkg-modal .modal-body {
    padding: 1.2rem 1.6rem 1.6rem;
}

/* iki kolonun daha bütün görünmesi */
.pkg-modal .row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* bölüm başlığı */
.pkg-section-title {
    font-size: 1.15rem;
    font-weight: 650;
    color: #2b2b2b;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

/* SOL LISTE */
.pkg-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Parent blok */
.pkg-parent {
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.06);
    background: #f8f5f2;
    overflow: hidden;
    transition: box-shadow .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
    position: relative;
}

.pkg-parent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 10px;
    background: rgba(192,79,45,.26);
    opacity: .85;
}

.pkg-parent:hover {
    background: #fbfaf8;
    border-color: rgba(192,79,45,.22);
    box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

/* Başlık satırı */
.pkg-parent-head {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 16px 18px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
}

.pkg-parent-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.pkg-parent-title {
    font-weight: 650;
    font-size: 1.04rem;
    color: #222;
    line-height: 1.25;
}

.pkg-parent-sub {
    font-size: .9rem;
    color: #746d67;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pkg-parent-chevron {
    font-size: .95rem;
    opacity: .45;
    transition: transform .18s ease;
}

.pkg-parent.is-open .pkg-parent-chevron,
.pkg-parent-head[aria-expanded="true"] .pkg-parent-chevron {
    transform: rotate(180deg);
}

/* Body */
.pkg-parent-body {
    padding: 0 18px 18px 18px;
}

.pkg-parent-desc {
    font-size: .9rem;
    color: #6f6964;
    margin: 0 0 12px 0;
    line-height: 1.45;
}

/* grid */
.pkg-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 576px) {
    .pkg-feature-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

/* Paket kartı */
.pkg-feature {
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 14px 14px;
    text-align: left;
    cursor: pointer;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}

.pkg-feature:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: rgba(192,79,45,.24);
    box-shadow: 0 8px 18px rgba(0,0,0,.05);
}

.pkg-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.pkg-feature-count {
    font-weight: 700;
    font-size: 1rem;
    color: #202020;
}

.pkg-feature-badge {
    font-weight: 700;
    font-size: .72rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(192,79,45,.10);
    color: var(--brand);
    white-space: nowrap;
}

.pkg-feature-meta {
    font-size: .88rem;
    color: #6f6b67;
    line-height: 1.35;
}

/* Seçili */
.pkg-feature.is-selected {
    border-color: rgba(192,79,45,.65);
    background: #fffaf7;
    box-shadow: 0 0 0 3px rgba(192,79,45,.10);
}

/* Empty */
.pkg-parent-empty {
    font-size: .9rem;
    color: #777;
    background: rgba(0,0,0,0.025);
    border: 1px dashed rgba(0,0,0,0.10);
    border-radius: 14px;
    padding: 12px 14px;
}

/* SAĞ TARAF */
.pkg-lead-box {
    border-radius: 18px;
    background: #f7f3ef;
    padding: 1.15rem 1.15rem 1.2rem;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: none;
    height: 100%;
}

.pkg-lead-text {
    font-size: 0.92rem;
    color: #645d58;
    line-height: 1.55;
    margin-bottom: 1rem;
}

/* form label */
.pkg-modal .form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d2d2d;
    margin-bottom: 0.45rem;
}

/* input */
.pkg-modal .form-control,
.pkg-modal .form-select {
    border-radius: 12px;
    min-height: 46px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    color: #222;
    padding: 0.78rem 0.9rem;
    box-shadow: none;
}

.pkg-modal .form-control::placeholder {
    color: #9a938d;
}

.pkg-modal .form-control:focus,
.pkg-modal .form-select:focus {
    border-color: rgba(192, 79, 45, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(192, 79, 45, 0.13);
    outline: 0;
}

/* checkbox */
.pkg-modal .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pkg-modal .form-check-input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.pkg-modal .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.pkg-modal .form-check-input:focus {
    border-color: rgba(192,79,45,.55);
    box-shadow: 0 0 0 0.2rem rgba(192,79,45,.13);
    outline: 0;
}

/*.pkg-subproducts {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pkg-subproduct-block {
    padding-top: 14px;
    border-top: 1px dashed rgba(0,0,0,.08);
}

.pkg-subproduct-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 4px;
}

.pkg-subproduct-sub {
    font-size: 0.92rem;
    color: #7b7b7b;
    margin-bottom: 8px;
}

.pkg-subproduct-desc {
    font-size: 0.92rem;
    color: #666;
    margin-bottom: 10px;
}

.pkg-modal .form-check-label {
    font-size: 0.92rem;
    color: #59534f;
    line-height: 1.45;
}*/
.pkg-subproducts {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pkg-subproduct-block {
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 16px;
}

.pkg-subproduct-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.pkg-subproduct-title {
    font-weight: 700;
    font-size: 1rem;
    color: #2a2a2a;
    line-height: 1.25;
}

.pkg-subproduct-sub {
    font-size: .9rem;
    color: #8a817b;
    margin-top: 4px;
    line-height: 1.35;
}

.pkg-subproduct-desc {
    font-size: .92rem;
    color: #6f6964;
    margin: 0 0 12px 0;
    line-height: 1.45;
}


/* Happy Hours özel görünüm */
.pkg-subproduct-block.is-happy-hours {
    margin-top: 4px;
    padding: 16px;
    border-top: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff8f4 0%, #fffdfb 100%);
    border: 1px solid rgba(192,79,45,.14);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
    position: relative;
}

.pkg-subproduct-block.is-happy-hours::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 999px;
    background: rgba(192,79,45,.35);
}

.pkg-subproduct-block.is-happy-hours .pkg-subproduct-head,
.pkg-subproduct-block.is-happy-hours .pkg-subproduct-desc,
.pkg-subproduct-block.is-happy-hours .pkg-feature-grid,
.pkg-subproduct-block.is-happy-hours .pkg-parent-empty {
    margin-left: 10px;
}

.pkg-subproduct-block.is-happy-hours .pkg-subproduct-title {
    color: #7a3b26;
}






/* buton */
.pkg-modal .btn-brand,
.pkg-lead-box .btn-brand {
    min-height: 46px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.96rem;
    letter-spacing: -0.01em;
}

/* close */
.pkg-modal .btn-close {
    opacity: .55;
    transition: opacity .15s ease, transform .15s ease;
}

.pkg-modal .btn-close:hover {
    opacity: 1;
    transform: scale(1.04);
}

.pkg-lead-box {
    position: relative;
}

.pkg-lead-loading {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(2px);
    border-radius: 24px;
    pointer-events: all;
}

.pkg-lead-loading.d-none {
    display: none !important;
}

.pkg-lead-loading-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    padding: 18px;
}

.pkg-lead-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(192, 79, 45, 0.18);
    border-top-color: #c04f2d;
    border-radius: 50%;
    animation: pkgSpin 0.8s linear infinite;
}

.pkg-lead-loading-text {
    font-size: 0.98rem;
    font-weight: 600;
    color: #5e3428;
}

@keyframes pkgSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991.98px) {
    .pkg-modal .modal-header {
        padding: 1.2rem 1.2rem 0.7rem;
    }

    .pkg-modal .modal-body {
        padding: 1rem 1.2rem 1.2rem;
    }

    .pkg-lead-box {
        margin-top: 0.3rem;
    }
}


/*======BRANCH PANEL ======*/
/* ===== Şube filtresi yan paneli ===== */

.branch-panel {
    width: 360px;
    max-width: 360px;
}

/* Desktop’ta tam ekran yerine yandan, daha kısa bir panel gibi dursun */
@media (min-width: 768px) {

    .branch-panel.offcanvas-end {
        right: auto !important;
        left: var(--bp-left, auto) !important;
        top: var(--bp-top, 120px) !important;
        bottom: auto !important;
        height: auto;
        max-height: calc(100vh - 2rem);
        overflow: hidden;
        border-radius: 1.25rem;
        box-shadow: 0 18px 40px rgba(0,0,0,.18);
        /* Kayarak gelme hissi: kendi konumundan sağdan hafif kayıp gelsin */
        transform: translateX(24px) !important;
        opacity: 0;
    }

    .branch-panel.offcanvas-end.showing,
    .branch-panel.offcanvas-end.show {
        transform: translateX(0) !important;
        opacity: 1;
    }
}

/* Backdrop çok karartmasın (0.95 aşırı koyu) */
.offcanvas-backdrop.show {
    background-color: rgba(0, 0, 0, 0.35);
    /*opacity: 1;*/
}

.branch-panel.show {
    transform: translateX(0) translateY(-50%) !important;
}

.branch-panel .offcanvas-header {
    padding: 0.75rem 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.branch-panel .offcanvas-title {
    font-weight: 700;
    font-size: 1rem;
}

/* Liste – tema renkleri */

.branch-panel .list-group {
    margin-top: 0.75rem;
}

.branch-panel .list-group-item {
    border: none;
    border-radius: 0.75rem;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

/* Aktif (mavi yerine Pathoja turuncusu) */
.branch-panel .list-group-item.active {
    background-color: #b1593f; /* ana turuncu */
    border-color: #b1593f;
    color: #fff;
    /*box-shadow: 0 0 0 2px rgba(227, 97, 60, 0.25);*/
}

/* Hover’da hafif turuncu arka plan */
.branch-panel .list-group-item:hover:not(.active) {
    background-color: #fff4eb;
}

/* Açıldığında arka plan dim’i biraz yumuşak olsun istersen: */
.offcanvas-backdrop.show {
    background-color: rgba(0, 0, 0, 0.95);
}

/*======================= BRANCH PANEL MOBİL ====================*/
@media (max-width: 767.98px) {
    .branch-panel {
        width: min(86vw, 360px);
        max-width: min(86vw, 360px);
        border-radius: 0 !important;
    }

    .branch-panel.offcanvas-end {
        left: auto !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        transform: translateX(100%) !important;
        opacity: 1 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .branch-panel.offcanvas-end.show,
    .branch-panel.offcanvas-end.showing {
        transform: translateX(0) !important;
    }

    .branch-panel .offcanvas-header {
        padding: 1rem 1rem 0.75rem;
    }

    .branch-panel .offcanvas-body {
        padding: 0.75rem 1rem 1rem;
        overflow-y: auto;
    }

    .branch-panel .list-group-item {
        font-size: 0.98rem;
        padding: 0.9rem 1rem;
        border-radius: 14px !important;
        margin-bottom: 0.5rem;
    }

    .branch-panel .offcanvas-title {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .branch-panel.show {
        transform: translateX(0) !important;
    }
}
