    /* Quantity stepper — native spinner gizle, dokunma-dostu büyük tıklama alanı */
    .qty-input::-webkit-outer-spin-button,
    .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .qty-input { -moz-appearance: textfield; }
    .qty-stepper { user-select: none; }
    .qty-btn:focus-visible { outline: 2px solid var(--color-primary, #2563eb); outline-offset: -2px; }

    /* Custom select (En Yeniler dropdown) */
    .custom-select {
        position: relative;
        display: inline-block;
        min-width: 180px;
    }
    .custom-select__btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .5rem;
        width: 100%;
        padding: .65rem 1rem;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: .75rem;
        font-size: .875rem;
        font-weight: 700;
        color: #0f172a;
        cursor: pointer;
        transition: all .18s ease;
        box-shadow: 0 1px 2px rgba(15,23,42,.04);
    }
    .custom-select__btn:hover { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(15,23,42,.06); }
    .custom-select__btn[aria-expanded="true"] { border-color: var(--color-primary, #2563eb); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
    .custom-select__btn .chev { transition: transform .2s; color: #64748b; }
    .custom-select__btn[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--color-primary, #2563eb); }
    .custom-select__menu {
        position: absolute; top: calc(100% + .35rem); right: 0; left: 0; z-index: 50;
        background: #fff; border: 1px solid #e2e8f0; border-radius: .75rem;
        box-shadow: 0 14px 36px rgba(15,23,42,.12);
        padding: .35rem; max-height: 280px; overflow-y: auto;
        opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none;
        transition: opacity .14s ease, transform .14s ease;
    }
    .custom-select.open .custom-select__menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
    .custom-select__opt {
        display: flex; align-items: center; justify-content: space-between; gap: .5rem;
        padding: .55rem .75rem; border-radius: .5rem;
        font-size: .85rem; font-weight: 600; color: #334155; cursor: pointer;
        transition: background .12s, color .12s;
    }
    .custom-select__opt:hover { background: #f1f5f9; color: #0f172a; }
    .custom-select__opt[aria-selected="true"] { background: var(--color-primary, #2563eb); color: #fff; }
    .custom-select__opt[aria-selected="true"]::after { content: "\2713"; font-size: .75rem; }

    /* Other-models thumbnail row — yatay kayma + sabit sıra */
    .other-models-row {
        display: flex; gap: .75rem; flex-wrap: wrap;
    }
    .other-models-row .om-thumb {
        position: relative; flex: 0 0 auto;
        width: 64px; height: 64px;
        border-radius: .5rem; padding: 2px;
        background: #fff; border: 1px solid #e2e8f0;
        transition: all .18s ease; opacity: .82;
    }
    .other-models-row .om-thumb:hover { opacity: 1; border-color: var(--color-primary, #2563eb); transform: translateY(-2px); }
    .other-models-row .om-thumb.is-current {
        border-width: 2px; border-color: var(--color-primary, #2563eb);
        opacity: 1; cursor: default; transform: none;
        box-shadow: 0 0 0 3px rgba(37,99,235,.12);
    }
    .other-models-row .om-thumb.is-current::after {
        content: "\2713";
        position: absolute; top: -6px; right: -6px;
        background: var(--color-primary, #2563eb); color: #fff;
        width: 18px; height: 18px; border-radius: 50%;
        font-size: 10px; line-height: 18px; text-align: center;
        box-shadow: 0 2px 6px rgba(0,0,0,.18);
    }

    .variant-sold-out {
        position: relative;
        overflow: hidden;
    }

    .variant-sold-out::before {
        content: "";
        position: absolute;
        width: 150%;
        height: 1.5px;
        background-color: #94a3b8;
        top: 50%;
        left: -25%;
        transform: rotate(-35deg);
    }

    .detail-slider-wrap {
        position: relative;
        width: 100%;
        border-radius: 1rem;
        overflow: hidden;
    }

    .detail-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
    }

    .detail-slider::-webkit-scrollbar {
        display: none;
    }

    .detail-slide {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .detail-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #334155;
        cursor: pointer;
        opacity: 0;
        transition: all 0.2s ease;
        z-index: 15;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(4px);
    }

    .detail-arrow:hover {
        background: #fff;
        color: #000;
        transform: translateY(-50%) scale(1.1);
    }

    .detail-arrow-left {
        left: 10px;
    }

    .detail-arrow-right {
        right: 10px;
    }

    .detail-slider-wrap:hover .detail-arrow {
        opacity: 1;
    }

    @media (max-width: 1024px) {
        .detail-arrow {
            opacity: 1;
            width: 32px;
            height: 32px;
        }

        .detail-arrow-left {
            left: 8px;
        }

        .detail-arrow-right {
            right: 8px;
        }
    }

    /* --- LIGHTBOX --- */
    .lightbox-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        -webkit-user-select: none;
        user-select: none;
    }
    .lightbox-overlay.active {
        display: flex;
        opacity: 1;
    }
    .lightbox-overlay.closing {
        opacity: 0;
    }

    .lightbox-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        z-index: 10;
        backdrop-filter: blur(8px);
    }
    .lightbox-close:hover {
        background: rgba(255,255,255,0.25);
        transform: scale(1.1);
    }

    .lightbox-counter {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255,255,255,0.7);
        font-size: 13px;
        font-weight: 600;
        z-index: 10;
        background: rgba(0,0,0,0.4);
        padding: 4px 14px;
        border-radius: 999px;
        backdrop-filter: blur(8px);
    }

    .lightbox-img-wrap {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        cursor: grab;
        touch-action: none;
    }
    .lightbox-img-wrap.dragging {
        cursor: grabbing;
    }
    .lightbox-img-wrap img {
        max-width: 90vw;
        max-height: 85vh;
        object-fit: contain;
        transition: transform 0.25s ease;
        will-change: transform;
        pointer-events: none;
    }
    @media (max-width: 768px) {
        .lightbox-img-wrap img {
            max-width: 98vw;
            max-height: 80vh;
        }
    }

    .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.15);
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        z-index: 10;
        backdrop-filter: blur(8px);
    }
    .lightbox-nav:hover {
        background: rgba(255,255,255,0.25);
        transform: translateY(-50%) scale(1.1);
    }
    .lightbox-nav-left { left: 16px; }
    .lightbox-nav-right { right: 16px; }

    @media (max-width: 768px) {
        .lightbox-nav { width: 40px; height: 40px; font-size: 15px; }
        .lightbox-nav-left { left: 8px; }
        .lightbox-nav-right { right: 8px; }
        .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 17px; }
    }

    .lightbox-thumbs {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 10;
        max-width: 90vw;
        overflow-x: auto;
        padding: 8px 12px;
        background: rgba(0,0,0,0.4);
        border-radius: 12px;
        backdrop-filter: blur(8px);
        scrollbar-width: none;
    }
    .lightbox-thumbs::-webkit-scrollbar { display: none; }
    .lightbox-thumb {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid transparent;
        opacity: 0.5;
        cursor: pointer;
        transition: all 0.2s;
    }
    .lightbox-thumb.active {
        border-color: #fff;
        opacity: 1;
    }
    .lightbox-thumb:hover { opacity: 0.85; }
    .lightbox-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }

    .lightbox-zoom-hint {
        position: absolute;
        bottom: 90px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255,255,255,0.5);
        font-size: 11px;
        z-index: 10;
        background: rgba(0,0,0,0.3);
        padding: 4px 12px;
        border-radius: 999px;
        pointer-events: none;
        transition: opacity 0.5s;
    }

    /* --- SIZE CHART MODAL --- */
    .sizechart-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 9998;
        display: none;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        backdrop-filter: blur(4px);
    }
    .sizechart-overlay.active {
        display: flex;
        opacity: 1;
    }
    .sizechart-modal {
        background: #fff;
        border-radius: 1rem;
        max-width: 700px;
        width: 95vw;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 25px 60px rgba(0,0,0,0.3);
        animation: scModalIn 0.3s ease;
    }
    @keyframes scModalIn {
        from { transform: scale(0.95) translateY(20px); opacity: 0; }
        to { transform: scale(1) translateY(0); opacity: 1; }
    }
    .sizechart-modal img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Card Slider (Benzer Ürünler) */
    .card-slider-wrap { position: relative; width: 100%; height: 100%; cursor: default; }
    .card-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; width: 100%; height: 100%; }
    .card-slider::-webkit-scrollbar { display: none; }
    .card-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
    .card-slide img { width: 100%; height: 100%; object-fit: cover; }
    .card-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.9); border: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: center; font-size: 10px; color: #334155; cursor: pointer; opacity: 0; transition: all 0.2s ease; z-index: 15; box-shadow: 0 2px 8px rgba(0,0,0,0.1); backdrop-filter: blur(4px); }
    .card-arrow:hover { background: #fff; color: #000; transform: translateY(-50%) scale(1.1); }
    .card-arrow-left { left: 6px; }
    .card-arrow-right { right: 6px; }
    .card-slider-wrap:hover .card-arrow { opacity: 1; }
    .card-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 15; padding: 3px 8px; border-radius: 20px; background: rgba(0,0,0,0.25); backdrop-filter: blur(6px); }
    .card-dot { width: 6px; height: 6px; border-radius: 50%; border: none; cursor: pointer; padding: 0; background: rgba(255,255,255,0.5); transition: all 0.25s ease; }
    .card-dot.active { background: #fff; width: 16px; border-radius: 4px; }
    .card-dot:hover { background: rgba(255,255,255,0.85); }
                    #paytr_taksit_tablosu {
                        clear: both;
                        font-size: 12px;
                        max-width: 1200px;
                        text-align: center;
                        font-family: Arial, sans-serif;
                        margin: 0 auto;
                    }

                    #paytr_taksit_tablosu::before {
                        display: table;
                        content: " ";
                    }

                    #paytr_taksit_tablosu::after {
                        content: "";
                        clear: both;
                        display: table;
                    }

                    .taksit-tablosu-wrapper {
                        margin: 5px;
                        width: 280px;
                        padding: 12px;
                        cursor: default;
                        text-align: center;
                        display: inline-block;
                        border: 1px solid #e1e1e1;
                        border-radius: 12px;
                        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
                    }

                    .taksit-logo img {
                        max-height: 28px;
                        padding-bottom: 10px;
                    }

                    .taksit-tutari-text {
                        float: left;
                        width: 126px;
                        color: #94a3b8;
                        margin-bottom: 5px;
                    }

                    .taksit-tutar-wrapper {
                        display: inline-block;
                        background-color: #f8fafc;
                    }

                    .taksit-tutar-wrapper:hover {
                        background-color: #f1f5f9;
                    }

                    .taksit-tutari {
                        float: left;
                        width: 126px;
                        padding: 6px 0;
                        color: #334155;
                        border: 2px solid #ffffff;
                    }

                    .taksit-tutari-bold {
                        font-weight: bold;
                    }

                    @media all and (max-width: 600px) {
                        .taksit-tablosu-wrapper {
                            margin: 5px 0;
                        }
                    }

/* Sticky bottom bar spacing for mobile */
@media (max-width: 639px) {
    body { padding-bottom: 90px; }
    
    /* WhatsApp butonunun sabit bar ile çakışmaması için yukarı kaydırıyoruz */
    a.fixed.bottom-6.right-6.bg-\[\#25D366\] {
        bottom: 100px !important;
    }
}

/* similar slider scrollbar (partials/product/similar.php) */
.similar-slider{scrollbar-width:none;-ms-overflow-style:none}
.similar-slider::-webkit-scrollbar{display:none}
