/* ==========================================
   🖼️ GALERİ - TEMİZLENMİŞ v1.0
   Masaüstü: Ana resim + 4 thumbnail altında
   Mobil: Swipe galeri
   ========================================== */

/* ---------- MASAÜSTÜ GALERİ ---------- */
.product-gallery {
    flex: 0 0 60%;
    max-width: 60%;
    position: static;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Ana Resim Alanı */
.main-display-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
}

.main-image-column {
    flex: 1;
    cursor: zoom-in;
    min-width: 0;
}

.main-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid var(--dk-border);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transform: translateZ(0);
    filter: contrast(1.02) brightness(1.01);
}

/* Thumbnail'ler — ana resimlerin altına tam otursun */
.gallery-thumbnail-list {
    display: flex;
    gap: 10px;              /* ana resimlerle aynı gap */
    width: 100%;
}

.gallery-thumbnail-list .thumbnail-item {
    flex: 1;                /* ← eşit paylaşım, kaç tane olursa olsun */
    /* width: 20%; */       /* ← BUNU SİL */
    min-width: 0;           /* ← taşmayı engelle */
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
    image-rendering: -webkit-optimize-contrast;
}

.gallery-thumbnail-list .thumbnail-item.selected,
.gallery-thumbnail-list .thumbnail-item:hover {
    border-color: var(--dk-text);
}

/* ---------- MOBİL GALERİ (Swipe) ---------- */
.mobile-gallery-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: none;
}

.mobile-gallery-track {
    display: flex;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.mobile-gallery-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-gallery-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 3/4;
}

.mobile-gallery-counter {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.6);
    color: var(--dk-white);
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    z-index: 5;
}

.mobile-gallery-scrollbar {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    z-index: 5;
}

.mobile-gallery-scrollbar-thumb {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--dk-accent);
    border-radius: 3px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s ease;
    min-width: 20px;
    opacity: 0.9;
}

/* ---------- LIGHTBOX (Sadece Masaüstü) ---------- */
.custom-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dk-white);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    transform: translateZ(0);
}

.custom-lightbox-overlay.active {
    display: flex;
}

body:has(.custom-lightbox-overlay.active) {
    overflow: hidden;
}

.lightbox-desktop-layout {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.lightbox-thumbnail-sidebar {
    width: 120px;
    height: 100%;
    background: var(--dk-secondary);
    border-right: 1px solid var(--dk-border);
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 2;
}

.lightbox-thumbnail-sidebar::-webkit-scrollbar {
    width: 4px;
}

.lightbox-thumbnail-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-thumbnail-sidebar::-webkit-scrollbar-thumb {
    background: var(--dk-border);
    border-radius: 2px;
}

.lightbox-thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lightbox-thumb-item-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--dk-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--dk-transition);
    opacity: 0.6;
}

.lightbox-thumb-item-container:hover {
    opacity: 1;
    border-color: var(--dk-accent);
}

.lightbox-thumb-item-container.selected {
    opacity: 1;
    border-color: var(--dk-primary);
}

.lightbox-thumbnail-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox-main-area {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dk-secondary);
    border: 1px solid var(--dk-border);
    color: var(--dk-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: var(--dk-transition);
    box-shadow: var(--dk-shadow);
    pointer-events: auto;
}

.lightbox-close-btn:hover {
    background: var(--dk-accent);
    color: var(--dk-white);
    transform: scale(1.05);
    border-color: var(--dk-accent);
}

.lightbox-image-container {
    width: 100%;
    height: calc(100% - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    z-index: 1;
}

.lightbox-image-wrapper {
    transition: transform 0.3s ease;
    transform-origin: center center;
    will-change: transform;
}

.lightbox-image-wrapper.zoomed {
    cursor: grab;
    will-change: transform;
}

.lightbox-image-wrapper.zoomed:active {
    cursor: grabbing;
}

.lightbox-main-image {
    max-width: 85vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
    pointer-events: auto;
}

.lightbox-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245, 240, 235, 0.9);
    border: 1px solid var(--dk-border);
    color: var(--dk-primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--dk-transition);
}

.lightbox-nav-btn:hover:not(:disabled) {
    background: var(--dk-accent);
    color: var(--dk-white);
    transform: scale(1.05);
    border-color: var(--dk-accent);
}

.lightbox-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-counter {
    font-size: 14px;
    font-weight: 500;
    color: var(--dk-text-light);
    min-width: 60px;
    text-align: center;
}

.lightbox-zoom-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.6);
    color: var(--dk-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    animation: hintFade 3s ease forwards;
    z-index: 100;
}

@keyframes hintFade {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    20% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* ---------- MOBİL RESPONSIVE ---------- */
@media (max-width: 768px) {
    .custom-lightbox-overlay {
        display: none !important;
    }

    .desktop-gallery,
    .desktop-thumbs,
    .gallery-thumbnail-list {
        display: none !important;
    }

    .mobile-gallery-wrapper {
        display: block !important;
    }

    .product-gallery {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .main-display-wrapper {
        display: none !important;
    }
}



/* ==========================================
   🌐 GLOBAL TEMEL STILLER
   ========================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--dk-font-body);
    color: var(--dk-text);
    background-color: var(--dk-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--dk-accent);
    color: var(--dk-white);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dk-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--dk-border);
    border-radius: 4px;
    transition: var(--dk-transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dk-accent);
}

*:focus-visible {
    outline: 2px solid var(--dk-accent);
    outline-offset: 2px;
}

a {
    color: var(--dk-text);
    transition: var(--dk-transition);
}

a:hover {
    color: var(--dk-accent);
}

button:not(:disabled),
[role="button"] {
    transition: var(--dk-transition);
}

/* ==========================================
   ✨ ACCENT HOVER ETKİLEŞİMLERİ
   ========================================== */

.product-card,
.variant-drawer-item,
.size-option {
    transition: var(--dk-transition);
}

.thumbnail-item,
.variant-drawer-item,
.size-option,
.variant-selector {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}





/* ==========================================
   3 AKORDİYON — KOMPAKT & MODERN
   ========================================== */

.product-accordion-wrapper {
    margin-top: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--dk-border, #e8e8e8);
    border-radius: 2px;
    background: var(--dk-white, #fff);
    overflow: hidden;
}

.product-accordion-item {
    border-bottom: 1px solid var(--dk-border, #e8e8e8);
}

.product-accordion-item:last-child {
    border-bottom: none;
}

/* === HEADER === */
.product-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    transition: all 0.2s ease;
    position: relative;
    gap: 10px;
}

.product-accordion-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 16px;
    background: var(--dk-accent, #c9a96e);
    border-radius: 0 2px 2px 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-accordion-header:hover {
    background: rgba(0,0,0,0.02);
    padding-left: 20px;
}

.product-accordion-header:hover::before {
    transform: translateY(-50%) scaleY(1);
}

.product-accordion-item.active .product-accordion-header {
    background: rgba(0,0,0,0.01);
}

.product-accordion-item.active .product-accordion-header::before {
    transform: translateY(-50%) scaleY(1);
}

.product-accordion-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dk-primary, #1a1a1a);
    margin: 0;
    letter-spacing: -0.1px;
    text-align: left;
    flex: 1;
}

.product-accordion-header svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 12px;
    color: var(--dk-text-light, #999);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
    flex-shrink: 0;
}

.product-accordion-item.active .product-accordion-header svg {
    transform: rotate(180deg);
    color: var(--dk-accent, #c9a96e);
    background: rgba(201,169,110,0.1);
}

/* === CONTENT KAPSAYICI === */
.product-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: var(--dk-white, #fff);
}

.product-accordion-item.active .product-accordion-content {
    max-height: 2000px;
    transition: max-height 0.45s ease-in-out;
}

/* === TEMEL TİPOGRAFİ === */
.product-accordion-content {
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
    color: var(--dk-text, #333);
}

/* Tüm direkt çocuklara padding */
.product-accordion-content > * {
    padding: 5px 10px;
    margin: 0;
}

/* === PARAGRAF === */
.product-accordion-content p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--dk-text, #333);
}

.product-accordion-content p:last-child {
    margin-bottom: 0;
}

/* === BAŞLIKLAR (İçerikte h2, h3, h4 varsa) === */
.product-accordion-content h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dk-primary, #1a1a1a);
    margin: 18px 0 8px 0;
    padding: 0 18px;
    line-height: 1.3;
}

.product-accordion-content h3 {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--dk-primary, #1a1a1a);
    margin: 14px 0 6px 0;
    padding: 0 18px;
    line-height: 1.3;
}

.product-accordion-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dk-primary, #1a1a1a);
    margin: 12px 0 4px 0;
    padding: 0 18px;
    line-height: 1.3;
}

/* İlk başlığın üst margin'i kaldır */
.product-accordion-content > h2:first-child,
.product-accordion-content > h3:first-child,
.product-accordion-content > h4:first-child {
    margin-top: 0;
}

/* === VURGU & LİNK === */
.product-accordion-content strong,
.product-accordion-content b {
    font-weight: 600;
    color: var(--dk-primary, #1a1a1a);
}

.product-accordion-content em,
.product-accordion-content i {
    font-style: italic;
    color: var(--dk-text, #444);
}

.product-accordion-content a {
    color: var(--dk-accent, #c9a96e);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.product-accordion-content a:hover {
    border-bottom-color: var(--dk-accent, #c9a96e);
}

/* === SIRALI & SIRASIZ LİSTELER === */
.product-accordion-content ul,
.product-accordion-content ol {
    margin: 0 0 10px 0;
    padding: 0 18px 0 34px;
    list-style-position: outside;
}

.product-accordion-content ul {
    list-style-type: disc;
}

.product-accordion-content ol {
    list-style-type: decimal;
}

.product-accordion-content ul li,
.product-accordion-content ol li {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dk-text, #333);
}

.product-accordion-content ul li::marker,
.product-accordion-content ol li::marker {
    color: var(--dk-accent, #c9a96e);
    font-weight: 600;
}

.product-accordion-content li:last-child {
    margin-bottom: 0;
}

/* === SPEC GRID (2 Sütunlu Tablo) === */
.spec-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0;
    border: 1px solid var(--dk-border, #e8e8e8);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 18px;
}

.product-accordion-content > .spec-grid {
    padding: 0;
}

.spec-grid .spec-row {
    display: contents;
}

.spec-grid .spec-label,
.spec-grid .spec-value {
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.45;
    border-bottom: 1px solid var(--dk-border, #e8e8e8);
}

.spec-grid .spec-label {
    background: #fafafa;
    font-weight: 600;
    color: var(--dk-primary, #1a1a1a);
    border-right: 1px solid var(--dk-border, #e8e8e8);
}

.spec-grid .spec-value {
    color: var(--dk-text, #444);
}

.spec-grid .spec-row:last-child .spec-label,
.spec-grid .spec-row:last-child .spec-value {
    border-bottom: none;
}

/* === LEVERANS KARTLARI === */
.delivery-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.delivery-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid var(--dk-border, #e8e8e8);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.delivery-info-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.delivery-info-item .delivery-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--dk-white, #fff);
    border: 1px solid var(--dk-border, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dk-accent, #c9a96e);
    font-size: 14px;
    flex-shrink: 0;
}

.delivery-info-item .delivery-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.delivery-info-item .delivery-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--dk-text-light, #888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.delivery-info-item .delivery-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--dk-primary, #1a1a1a);
}

/* === BİLGİ KUTUSU === */
.accordion-notice {
    padding: 10px 14px;
    border-radius: 6px;
    margin: 0 18px 12px 18px;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.accordion-notice.info {
    background: #f0f7ff;
    border-left: 3px solid #3b82f6;
    color: #1e40af;
}

/* === DÜZ METİN DESTEĞİ (JS düz string atarsa) === */
.product-accordion-content {
    white-space: normal;
}

/* === MOBİL === */
@media (max-width: 767px) {
    .product-accordion-header {
        padding: 12px 16px;
    }

    .product-accordion-header h3 {
        font-size: 13px;
    }

    .product-accordion-content > * {
        padding: 5px 10px;
    }

    .product-accordion-content p,
    .product-accordion-content ul li,
    .product-accordion-content ol li {
        font-size: 13.5px;
    }

    .product-accordion-content h2 {
        font-size: 15px;
        padding: 0 16px;
    }

    .product-accordion-content h3 {
        font-size: 14px;
        padding: 0 16px;
    }

    .product-accordion-content h4 {
        font-size: 13px;
        padding: 0 16px;
    }

    .product-accordion-content ul,
    .product-accordion-content ol {
        padding: 0 16px 0 32px;
    }

    .spec-grid {
        grid-template-columns: 1fr;
        margin: 0 16px;
    }

    .spec-grid .spec-label {
        border-right: none;
        border-bottom: none;
        padding-bottom: 2px;
        background: transparent;
        font-size: 11px;
        color: var(--dk-text-light, #888);
    }

    .spec-grid .spec-value {
        padding-top: 2px;
        padding-bottom: 10px;
    }

    .spec-grid .spec-row:not(:last-child) .spec-value {
        border-bottom: 1px solid var(--dk-border, #e8e8e8);
    }

    .delivery-info-item {
        padding: 10px 12px;
    }

    .accordion-notice {
        margin: 0 16px 10px 16px;
    }
}


/* ==========================================
   GÜVEN ROZETLERİ
   ========================================== */

.product-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0 25px 0;
    padding: 16px;
    background-color: var(--dk-secondary);
    border-radius: var(--dk-radius);
    border: 1px solid var(--dk-border);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dk-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    font-family: var(--dk-font-body);
}

.badge-item svg {
    color: var(--dk-accent);
    font-size: 16px;
    width: 24px;
    text-align: center;
    transition: var(--dk-transition);
}

.product-trust-badges:hover .badge-item svg {
    color: var(--dk-accent-hover);
}

.badge-item span strong {
    font-weight: 700;
    color: var(--dk-primary);
}

/* ==========================================
   TEMEL YERLEŞİM (PRODUCT CONTENT)
   ========================================== */

.container {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.product-content {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    align-items: flex-start;
}

/* Sağ Alan: Ürün Detayları (Sticky) */
.product-details {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    padding-right: 20px;
    position: -webkit-sticky;
    position: sticky !important;
    top: 20px !important;
    height: fit-content !important;
    align-self: flex-start !important;
}

/* Ürün İsmi */
#product-main-name-desktop {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.brand-label-top {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--dk-text-light);
    text-transform: uppercase;
}


.tax-info-static {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dk-text-light);
    margin-top: -5px;
    text-align: left;
}

/* Aksiyon Butonları */
.action-buttons {
    display: flex;
    gap: 0px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.add-to-cart-btn {
    flex-grow: 1;
    background-color: var(--dk-primary);
    color: var(--dk-accent);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 2px;
    transition: background-color 0.2s;
    border: none;
}

.add-to-cart-btn:hover {
    background-color: var(--dk-accent);
    color: var(--dk-primary);
    transform: translateY(-1px);
    box-shadow: var(--dk-shadow-lg);
}

.add-to-cart-btn svg {
    margin-right: 10px;
}

/* ==========================================
   MODERN DRAWER TOOLTIP - v2.0 (Yumuşak Animasyon)
   ========================================== */

:root {
    --drawer-width: 420px;
    --drawer-bg: #ffffff;
    --drawer-overlay: rgba(0,0,0,0);
    --drawer-overlay-active: rgba(0,0,0,0.45);
    --drawer-border: #e8e8e8;
    --drawer-text: #1a1a1a;
    --drawer-text-light: #666;
    --drawer-accent: #1a1a1a;
    --drawer-radius: 16px;
    --drawer-shadow: 0 0 40px rgba(0,0,0,0.15);
    
    /* 🔥 Yeni easing değerleri - daha yumuşak */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    
    /* 🔥 Daha yavaş süreler */
    --transition-overlay: 0.6s;
    --transition-panel: 0.6s;
    --transition-content: 0.35s;
}

/* Product Label Row */
.product-label-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    margin-top: -5px;
}

.selected-size-display {
    font-size: 16px;
    color: #999 !important;
    font-weight: 600;
}

/* Toggle Button */
.drawer-tooltip-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    border-radius: 20px;
    transition: all 0.2s ease;
}


.drawer-tooltip-toggle svg {
    width: 20px;
    height: 20px;
    color: #666;
    flex-shrink: 0;
}

.drawer-tooltip-toggle span {
    font-size: 13px;
    color: #444;
    font-weight: 500;
}

/* ==========================================
   OVERLAY - Yumuşak fade + blur
   ========================================== */

.drawer-tooltip-overlay {
    position: fixed;
    inset: 0;
    background: var(--drawer-overlay);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: 
        opacity var(--transition-overlay) var(--ease-out-expo),
        visibility var(--transition-overlay) var(--ease-out-expo),
        background var(--transition-overlay) var(--ease-out-expo),
        backdrop-filter var(--transition-overlay) var(--ease-out-expo);
}

.drawer-tooltip-overlay.active {
    opacity: 1;
    visibility: visible;
    background: var(--drawer-overlay-active);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ==========================================
   PANEL - Yumuşak slide + stagger
   ========================================== */

.drawer-tooltip-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--drawer-width);
    max-width: 90vw;
    height: 100vh;
    background: var(--drawer-bg);
    z-index: 100000;
    transform: translateX(100%);
    transition: transform var(--transition-panel) var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.drawer-tooltip-panel.active {
    transform: translateX(0);
    box-shadow: var(--drawer-shadow);
}

/* Panel içeriği - stagger animasyonu */
.drawer-tooltip-panel .drawer-tooltip-header,
.drawer-tooltip-panel .drawer-tooltip-body,
.drawer-tooltip-panel .drawer-tooltip-footer {
    opacity: 0;
    transform: translateY(20px);
    transition: 
        opacity var(--transition-content) var(--ease-out-expo),
        transform var(--transition-content) var(--ease-out-expo);
}

/* Açıldığında içerikler sırayla görünsün */
.drawer-tooltip-panel.active .drawer-tooltip-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.drawer-tooltip-panel.active .drawer-tooltip-body {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
}

.drawer-tooltip-panel.active .drawer-tooltip-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.26s;
}

/* Kapatma butonu hover */
.drawer-tooltip-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease-out-back);
    padding: 0;
}

.drawer-tooltip-close:hover {
    background: rgba(0,0,0,0.1);
    transform: scale(1.1) rotate(90deg);
}

.drawer-tooltip-close svg {
    width: 18px;
    height: 18px;
    color: #444;
    transition: color 0.2s;
}

/* ==========================================
   HEADER
   ========================================== */

.drawer-tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--drawer-border);
    flex-shrink: 0;
}

.drawer-tooltip-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--drawer-text);
    margin: 0;
}

/* ==========================================
   BODY
   ========================================== */

.drawer-tooltip-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}

.drawer-tooltip-body::-webkit-scrollbar {
    width: 4px;
}

.drawer-tooltip-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

/* Size Table */
.drawer-tooltip-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.drawer-tooltip-body thead th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #f0f0f0;
}

.drawer-tooltip-body tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f5f5f5;
    color: var(--drawer-text);
    transition: background 0.15s ease;
}

.drawer-tooltip-body tbody tr:hover td {
    background: #fafafa;
}

.drawer-tooltip-body tbody tr:last-child td {
    border-bottom: none;
}

.drawer-tooltip-body .price-cell {
    text-align: right;
    font-weight: 600;
    color: var(--drawer-accent);
}

.drawer-tooltip-body .size-cell {
    font-weight: 500;
}

/* Info Sections */
.drawer-tooltip-body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--drawer-text);
    margin: 24px 0 12px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.drawer-tooltip-body h4:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.drawer-tooltip-body p {
    font-size: 13px;
    color: var(--drawer-text-light);
    line-height: 1.7;
    margin: 0;
}

.drawer-tooltip-body a {
    color: var(--drawer-accent);
    text-decoration: underline;
    font-weight: 500;
}

/* ==========================================
   FOOTER
   ========================================== */

.drawer-tooltip-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--drawer-border);
    flex-shrink: 0;
}

.drawer-tooltip-footer button {
    width: 100%;
    padding: 14px;
    background: var(--drawer-accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease-out-back);
}

.drawer-tooltip-footer button:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.drawer-tooltip-footer button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Swipe handle */
.drawer-swipe-handle {
    display: none;
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 12px auto 0;
    transition: width 0.3s var(--ease-out-back);
}

/* Body lock */
body.drawer-open {
    overflow: hidden;
}

/* ==========================================
   MOBILE - Bottom Sheet Yumuşak Animasyon
   ========================================== */

@media (max-width: 768px) {
    .drawer-tooltip-panel {
        width: 100vw;
        max-width: 100vw;
        border-radius: var(--drawer-radius) var(--drawer-radius) 0 0;
        transform: translateY(100%);
        top: auto;
        bottom: 0;
        height: 85vh;
        transition: transform var(--transition-panel) var(--ease-out-expo),
                    box-shadow var(--transition-panel) var(--ease-out-expo);
    }

    .drawer-tooltip-panel.active {
        transform: translateY(0);
        box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    }

    .drawer-swipe-handle {
        display: block;
        animation: handlePulse 2s ease-in-out infinite;
    }

    @keyframes handlePulse {
        0%, 100% { opacity: 0.6; }
        50% { opacity: 1; }
    }

    .drawer-tooltip-header {
        padding-top: 8px;
    }

    /* Mobilde stagger daha hızlı */
    .drawer-tooltip-panel.active .drawer-tooltip-header {
        transition-delay: 0.08s;
    }

    .drawer-tooltip-panel.active .drawer-tooltip-body {
        transition-delay: 0.14s;
    }

    .drawer-tooltip-panel.active .drawer-tooltip-footer {
        transition-delay: 0.2s;
    }
}

/* ==========================================
   FAVORİ / WISHLIST — ÜRÜN SAYFASI
   ========================================== */

/* Buton kutusu: sepete ekle butonunun yanında inline durur */
.ana-urun-favori-buton {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin-left: 15px !important;
    width: 55px !important;
    height: 55px !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: var(--dk-white) !important;
    border: 1px solid var(--dk-primary) !important;
    border-radius: 1px !important;
    cursor: pointer !important;
    padding: 0 !important;
    vertical-align: middle;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
    overflow: visible !important; /* Kalp patlama animasyonu için */
}

.ana-urun-favori-buton:hover {
    border-color: var(--dk-primary) !important;
    background-color: var(--dk-white) !important;
    box-shadow: 0 0 0 1px var(--dk-primary) !important;
}

/* ==========================================
   KALP İKONU — Karttaki ile aynı stil
   ========================================== */

.ana-urun-favori-buton svg,
.ana-urun-favori-buton .heart-icon {
    width: 22px;
    height: 22px;
     color: #111;
    transition: color 0.2s ease;
    display: block;
}

/* Hover & Active — Karttaki ile birebir aynı */
.ana-urun-favori-buton:hover svg,
.ana-urun-favori-buton.active svg,
.ana-urun-favori-buton:hover .heart-icon,
.ana-urun-favori-buton.active .heart-icon {
    color: #D30000;
}

/* Eğer kartta fill/stroke da varsa ürün sayfasında da ekle */
.ana-urun-favori-buton.active svg,
.ana-urun-favori-buton.active .heart-icon {
    fill: #D30000;
    stroke: #D30000;
}

/* ==========================================
   KALP PATLAMA ANİMASYONU — Ürün Sayfası
   ========================================== */

.ana-urun-favori-buton {
    /* Taşan parçacıkların görünmesi için */
    overflow: visible !important;
    position: relative;
}

/* Kalp zıplama */
.ana-urun-favori-buton.animating svg {
    animation: heartPop 0.35s cubic-bezier(0.17, 0.89, 0.32, 1.49) forwards;
}

@keyframes heartPop {
    0%   { transform: scale(1); }
    30%  { transform: scale(0.75); }
    70%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Konfeti / Baloncuk konteyneri */
.ana-urun-favori-buton .heart-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
}

.ana-urun-favori-buton .heart-burst .dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #D30000;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

/* Sadece animating class'ı geldiğinde patlasın */
.ana-urun-favori-buton.animating .heart-burst .dot {
    animation: burstParticle 0.38s ease-out forwards;
}

/* 6 farklı yöne dağılım */
.ana-urun-favori-buton .heart-burst .d1 { --tx: 0px;   --ty: -18px; animation-delay: 0.02s; }
.ana-urun-favori-buton .heart-burst .d2 { --tx: 16px;  --ty: -8px;  animation-delay: 0.04s; }
.ana-urun-favori-buton .heart-burst .d3 { --tx: 16px;  --ty: 10px;  animation-delay: 0.02s; }
.ana-urun-favori-buton .heart-burst .d4 { --tx: 0px;   --ty: 18px;  animation-delay: 0.05s; }
.ana-urun-favori-buton .heart-burst .d5 { --tx: -16px; --ty: 10px;  animation-delay: 0.03s; }
.ana-urun-favori-buton .heart-burst .d6 { --tx: -16px; --ty: -8px;  animation-delay: 0.01s; }

@keyframes burstParticle {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.4);
    }
    60% {
        opacity: 0.9;
        transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--tx) * 1.2), calc(-50% + var(--ty) * 1.2)) scale(0);
    }
}





/* ==========================================
   GOOGLE TRUST
   ========================================== */

.product-price-trust-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 40px;
    position: relative;
}

.google-mini-trust {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 5;
    pointer-events: none;
}

.g-stars {
    color: var(--dk-accent);
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 1;
}

.g-text {
    font-size: 12px;
    color: var(--dk-text-light);
    margin-top: 4px;
    white-space: nowrap;
}

.g-brand {
    font-size: 12px;
    color: var(--dk-text-light);
    letter-spacing: 0.5px;
    font-weight: 500;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .custom-cat-breadcrumb-unique {
        display: none !important;
    }

    .container {
        padding: 0 !important;
    }

    .product-content {
        flex-direction: column;
        gap: 0;
    }

    .product-gallery {
        order: 1;
        width: 100%;
        max-width: 100%;
        position: static;
        z-index: 5;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .product-details {
        order: 2;
        padding: 20px !important;
        width: 100%;
        max-width: 100%;
        background-color: var(--dk-white);
        position: static;
        top: auto;
        text-align: left !important;
    }

    .action-buttons {
        margin: 20px 0 !important;
        max-width: 100%;
        justify-content: space-between;
        width: 100%;
    }

    .add-to-cart-btn {
        width: 75%;
    }

    .wishlist-btn {
        width: 25%;
    }

    .size-selector-wrapper {
        margin: 15px 0 !important;
        max-width: 100%;
        display: flex !important;
        justify-content: space-between !important;
    }

    #product-main-name-desktop {
        font-size: 1.2rem !important;
        font-weight: 700;
        text-align: left !important;
        margin-top: 5px !important;
        margin-bottom: 0px !important;
        padding-left: 0px !important;
        line-height: 1.3;
    }

    .product-price-display {
        margin-top: 0px !important;
        margin-bottom: 10px !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
    }

    .tax-info-static {
        font-size: 0.85rem !important;
        margin-top: 0px !important;
        text-align: left !important;
    }

    .related-title {
        font-size: 20px !important;
        margin-top: 20px !important;
        margin-bottom: 5px !important;
        padding-left: 10px;
    }

    .variant-drawer {
        max-width: 100%;
    }

    .tooltip-popup-box {
        left: -40px;
        width: 70vw;
        max-width: 300px;
        position: absolute;
        bottom: 40px;
    }

    .g-stars {
        font-size: 15px;
        letter-spacing: 0.5px;
    }

    .g-text, .g-brand {
        font-size: 11px;
    }

    .product-details {
        position: relative;
    }

    #product-price .original-price {
        font-size: 20px !important;
    }

    #product-price .discount-price {
        font-size: 20px !important;
    }
}

@media (max-width: 600px) {
    .input-grid,
    .action-grid,
    .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .action-grid {
        align-items: stretch;
    }

    .btn-calculate,
    .btn-reset {
        width: 100%;
        flex: none;
    }

    .suspension-grid {
        flex-direction: row;
    }
}

@media (min-width: 769px) {
    .lightbox-mobile-layout {
        display: none !important;
    }
}

/* ==========================================
   PRODUCT PAGE BUTON RENKLERİ
   ========================================== */

.product-page .add-to-cart-btn {
    background-color: var(--dk-primary) !important;
    color: var(--dk-white) !important;
    border: none !important;
}

/* ==========================================
   PRODUCT PAGE - INLINE CSS YERINE CLASS'LAR
   ========================================== */

/* Renk swatch içi */
.color-swatch-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Varyasyon drawer fiyat */
.variant-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.variant-price .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.variant-price .current-price.price-discount {
    color: #e54d42;
    font-weight: 600;
}

/* Ana ürün fiyat alanı */
#product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#product-price .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 22px;
    order: 2;
}

#product-price .discount-price {
    color: #e54d42;
    font-weight: 600;
    font-size: 22px;
    order: 1;
}

#product-price .normal-price {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}

/* Main image cursor */
.main-image {
    cursor: zoom-in;
}

/* Lightbox thumb cursor */
.lightbox-thumb-item-container {
    cursor: pointer;
}







/* Akordiyonun açılan içerik alanı */
.product-accordion-content {
    /* Üst-Alt: 5px, Sağ-Sol: 20px iç boşluk bıraktık */
    padding: 15px 20px 25px 20px; 
    
    /* Yazıların okunabilirliğini artırmak için ideal satır yüksekliği */
    line-height: 1.6; 
    
    /* Admin panelinden çok uzun kelimeler gelirse kutuyu patlatmasın diye */
    word-wrap: break-word; 
    overflow-wrap: break-word;
}



/* Skeleton Base */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    display: block;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Skeleton Variants */
.skeleton-text { height: 14px; margin-bottom: 10px; }
.skeleton-text-sm { height: 11px; margin-bottom: 6px; }
.skeleton-title { height: 32px; margin-bottom: 14px; border-radius: 6px; }
.skeleton-title-sm { height: 22px; margin-bottom: 10px; border-radius: 5px; }
.skeleton-price { height: 28px; width: 100px; border-radius: 6px; }
.skeleton-image { border-radius: 10px; }
.skeleton-circle { border-radius: 50%; width: 36px; height: 36px; display: inline-block; }
.skeleton-button { height: 52px; border-radius: 10px; width: 100%; }
.skeleton-badge { height: 18px; width: 140px; border-radius: 4px; margin-bottom: 8px; }
.skeleton-accordion { height: 56px; border-radius: 10px; margin-bottom: 8px; }
.skeleton-trust { height: 20px; width: 80%; margin-bottom: 10px; }

/* Gallery Skeletons */
.skeleton-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}
.skeleton-gallery-grid .skeleton-image {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 12px;
}
.skeleton-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.skeleton-slide .skeleton-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Related Products Skeleton */
.skeleton-card-wrapper {
    min-width: 260px;
    flex-shrink: 0;
}
.skeleton-card-wrapper .skeleton-image {
    width: 100%;
    aspect-ratio: 3/4;
    margin-bottom: 14px;
    border-radius: 12px;
}
.skeleton-card-wrapper .skeleton-text { width: 75%; }
.skeleton-card-wrapper .skeleton-price { width: 50px; height: 18px; margin-top: 8px; }

/* Color swatches skeleton row */
.skeleton-swatches-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Mobile counter skeleton */
.skeleton-counter {
    width: 50px;
    height: 20px;
    margin: 0 auto;
    border-radius: 10px;
}

/* Responsive: Mobile gallery skeleton */
@media (max-width: 768px) {
    .skeleton-gallery-grid {
        display: none;
    }
}
@media (min-width: 769px) {
    .skeleton-mobile-gallery {
        display: none !important;
    }
}







/* ==========================================
   INLINE SVG GLOBAL STILLER
   ========================================== */

/* SVG ikonlar genel ayar */
svg[stroke="currentColor"],
svg[fill="currentColor"] {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* --- ACCORDION CHEVRON (Ok) --- */
.product-accordion-header svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--dk-text-light, #999);
    width: 26px;           /* 22 → 26 */
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
    flex-shrink: 0;
    padding: 4px;          /* 3 → 4 (dokunmatik alan için) */
    box-sizing: border-box;
}

.product-accordion-item.active .product-accordion-header svg {
    transform: rotate(180deg);
    color: var(--dk-accent, #c9a96e);
    background: rgba(201,169,110,0.1);
}



/* --- SLIDER OKLARI (İlgili Ürünler) --- */
.slider-arrow svg {
    width: 20px;           /* 16 → 20 */
    height: 20px;
    color: var(--dk-primary);
}

/* --- LIGHTBOX OKLARI & KAPATMA --- */
.lightbox-nav-btn svg,
.lightbox-close-btn svg {
    width: 20px;           /* 16 → 20 */
    height: 20px;
    color: var(--dk-primary);
}

/* --- VARIANT DRAWER KAPATMA --- */
.close-drawer-btn svg {
    width: 22px;           /* 20 → 22 */
    height: 22px;
    color: var(--dk-primary);
}

/* --- BADGE İKONLARI (Kamyon, Dönüş, Kalkan) --- */
.badge-item svg {
    color: var(--dk-accent);
    width: 22px;           /* 20 → 22 */
    height: 22px;
    transition: var(--dk-transition);
}

.product-trust-badges:hover .badge-item svg {
    color: var(--dk-accent-hover);
}

/* --- DELIVERY İKONLARI --- */
.delivery-info-item .delivery-icon svg {
    width: 18px;           /* 16 → 18 */
    height: 18px;
    color: var(--dk-accent, #c9a96e);
}

/* --- FOOTER ACCORDION CHEVRON --- */
.acc-trigger svg {
    width: 16px;           /* 14 → 16 */
    height: 16px;
    transition: transform 0.3s ease;
    color: var(--dk-text-light);
}

.acc-trigger.active svg,
.acc-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}


/* --- VARIANT CHECK İKONU --- */
.variant-check svg {
    width: 22px;           /* 20 → 22 */
    height: 22px;
    color: var(--dk-accent);
}

/* Google reviews yıldızları */
.review-stars {
    color: var(--dk-accent);
    font-size: 14px;
    letter-spacing: 1px;
}

.variant-accordion-header .accordion-chevron {
    width: 22px;
    height: 22px;
    color: var(--dk-text-light, #000);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

/* Açık durumda 90 derece döndür (sağ ok → aşağı ok) */
.variant-accordion-box.open .variant-accordion-header .accordion-chevron,
.variant-accordion-header[aria-expanded="true"] .accordion-chevron {
    transform: rotate(90deg);
    color:#000);
}


/* ==========================================
   GALERİ BADGE — Z-INDEX FIX
   ========================================== */

.main-image-column,
.mobile-gallery-slide {
    position: relative;
    overflow: hidden;
    z-index: 1;  /* katman oluştur */
}

/* Tüm eski konumları sıfırla ve Z-INDEX'İ MAX yap */
.main-image-column .card-corner-badge,
.main-image-column .card-corner-badge-secondary,
.mobile-gallery-slide .card-corner-badge,
.mobile-gallery-slide .card-corner-badge-secondary {
    position: absolute !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 6px 12px;
    border-radius: 20px;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    backdrop-filter: none !important;
    border: none !important;
    
    /* ⬇️ Z-INDEX'İ RESİMDEN VE OVERLAY'DEN YÜKSEK TUT */
    z-index: 9999 !important;
}

/* Resmin kendisini altta tut — bazen img'nin z-index'i yüksek oluyor */
.main-image-column .main-image,
.mobile-gallery-slide img {
    position: relative;
    z-index: 1 !important;
}

/* Birincil badge → İlk resim SOL ÜST */
.main-image-column:first-child .card-corner-badge,
.mobile-gallery-slide:first-child .card-corner-badge {
    top: 12px !important;
    left: 12px !important;
    background: linear-gradient(135deg, #fff 0%, #fff 100%) !important;
    color: #1a1a1a !important;
    z-index: 9999 !important;
}

/* İkincil badge → İkinci resim SAĞ ÜST */
.main-image-column:nth-child(2) .card-corner-badge-secondary,
.mobile-gallery-slide:nth-child(2) .card-corner-badge-secondary {
    top: 12px !important;
    right: 12px !important;
    background: linear-gradient(135deg, #fff 0%, #fff 100%) !important;
    color: #1a1a1a !important;
    z-index: 9999 !important;
}

/* Mobil */
@media (max-width: 768px) {
    .main-image-column .card-corner-badge,
    .main-image-column .card-corner-badge-secondary,
    .mobile-gallery-slide .card-corner-badge,
    .mobile-gallery-slide .card-corner-badge-secondary {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .main-image-column:first-child .card-corner-badge,
    .mobile-gallery-slide:first-child .card-corner-badge {
        top: 8px !important;
        left: 8px !important;
    }
    
    .main-image-column:nth-child(2) .card-corner-badge-secondary,
    .mobile-gallery-slide:nth-child(2) .card-corner-badge-secondary {
        top: 8px !important;
        right: 8px !important;
    }
}