.ud-bc {
    padding: 12px 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line)
}

.ud-bc-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-2);
    margin: 0;
    padding: 0;
    list-style: none
}

.ud-bc-list a {
    color: var(--text-2);
    text-decoration: none;
    transition: color .25s
}

.ud-bc-list a:hover {
    color: var(--primary)
}

.ud-bc-sep {
    font-size: 10px;
    opacity: .4
}

.ud-bc-cur {
    color: var(--main);
    font-weight: 600;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.ud-wrap {
    padding: 28px 0 48px
}

.ud-wrap .container {
    max-width: 1560px
}

.ud-grid {
    display: grid;
    grid-template-columns:1.25fr 1fr;
    gap: 44px;
    align-items: start
}

.ud-gal {
    position: sticky;
    top: 100px;
    display: grid;
    grid-template-columns:100px 1fr;
    gap: 14px
}

.ud-th-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 720px;
    overflow: hidden
}

.ud-th {
    width: 92px;
    height: 92px;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .25s;
    opacity: .5;
    background: var(--bg-2)
}

.ud-th:hover {
    opacity: .75;
    border-color: var(--line-2)
}

.ud-th.on {
    border-color: var(--main);
    opacity: 1;
    box-shadow: 0 0 0 1px var(--main)
}

.ud-th img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ud-main-wrap {
    position: relative
}

.ud-main {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-2);
    aspect-ratio: 1/1.15;
    cursor: grab;
    user-select: none
}

.ud-main.grabbing {
    cursor: grabbing
}

.ud-slide {
    display: none;
    width: 100%;
    height: 100%;
    pointer-events: none
}

.ud-slide.on {
    display: block
}

.ud-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: auto;
    cursor: zoom-in
}

.ud-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all .25s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    color: var(--main)
}

.ud-nav:hover {
    background: var(--main);
    color: var(--white);
    border-color: var(--main)
}

.ud-nav-p {
    left: 12px
}

.ud-nav-n {
    right: 12px
}

.ud-gal-cnt {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 10
}

.ud-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    z-index: 10
}

.ud-auto-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    z-index: 10;
    border-radius: 0 2px 0 0;
    transition: none;
    width: 0
}

.ud-video-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 71, 87, .35);
    transition: all .3s;
    animation: udVP 2s infinite
}

.ud-video-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(255, 71, 87, .45)
}

@keyframes udVP {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(255, 71, 87, .35)
    }
    50% {
        box-shadow: 0 4px 24px rgba(255, 71, 87, .55)
    }
}

.ud-vid-ov {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center
}

.ud-vid-ov.open {
    display: flex
}

.ud-vid-box {
    position: relative;
    width: 90vw;
    max-width: 900px;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    background: #000
}

.ud-vid-box video {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.ud-vid-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border: none;
    z-index: 2
}

.ud-lb {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .94);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.ud-lb.open {
    display: flex
}

.ud-lb-iw {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center
}

.ud-lb img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity .2s
}

.ud-lb-x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    border: none;
    z-index: 2
}

.ud-lb-nv {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    z-index: 2
}

.ud-lb-pv {
    left: 16px
}

.ud-lb-nx {
    right: 16px
}

.ud-lb-cnt {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px
}

.ud-info {
    min-width: 0;
    overflow: hidden;
}

.ud-brand {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary);
    margin-bottom: 8px
}

.ud-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--main);
    line-height: 1.3;
    margin: 0 0 4px
}

.ud-title .ud-vl {
    font-weight: 500;
    color: var(--text-2)
}

.ud-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 12px 0 20px
}

.ud-meta-i {
    font-size: 13px;
    color: var(--text-2)
}

.ud-meta-i strong {
    color: var(--main);
    font-weight: 600
}

.ud-price {
    background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden
}

.ud-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 4px 0 0 4px
}

.ud-pf-base {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap
}

.ud-pf-old {
    font-size: 15px;
    color: var(--text-3);
    text-decoration: line-through;
    font-weight: 500
}

.ud-pf-cur {
    font-size: 30px;
    font-weight: 800;
    color: var(--main);
    letter-spacing: -.02em
}

.ud-pf-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px
}

.ud-pf-tag.exc {
    color: var(--text-2);
    background: rgba(0, 0, 0, .05)
}

.ud-pf-tag.inc {
    color: var(--success);
    background: rgba(49, 165, 109, .1)
}

.ud-pf-disc {
    display: inline-flex;
    padding: 4px 10px;
    background: var(--primary-rgba-1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px
}

.ud-pf-sub {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line)
}

.ud-pf-total-lbl {
    font-size: 13px;
    color: var(--text-2);
    font-weight: 500
}

.ud-pf-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary)
}

.ud-pf-tl {
    font-size: 14px;
    color: var(--text-2);
    font-weight: 700;
    padding: 4px 10px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 6px;
    letter-spacing: -0.01em;
}

.ud-pf-inc-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap
}

.ud-vars {
    margin-bottom: 24px;
    overflow: hidden;
    max-width: 100%;
}

.ud-vars-label {
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 10px
}

.ud-vars-label strong {
    color: var(--main);
    font-weight: 600
}

.ud-vars-scroll {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.ud-vars-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    max-width: 100%;
}

.ud-vars-track::-webkit-scrollbar {
    display: none
}

.ud-vars-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    color: var(--main);
    transition: all .2s
}

.ud-vars-arr:hover {
    background: var(--main);
    color: var(--white);
    border-color: var(--main)
}

.ud-vars-arr.prev {
    left: -6px
}

.ud-vars-arr.next {
    right: -6px
}

.ud-vars-arr.hide {
    opacity: 0;
    pointer-events: none
}

.ud-vb {
    position: relative;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    transition: all .25s;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0
}

.ud-vb:hover {
    border-color: var(--text-2)
}

.ud-vb.on {
    border-color: var(--main);
    box-shadow: 0 0 0 1px var(--main)
}

.ud-vb input {
    display: none
}

.ud-vb.img {
    width: 74px
}

.ud-vb.img .ud-vb-imgw {
    width: 100%;
    height: 74px;
    overflow: hidden
}

.ud-vb.img .ud-vb-imgw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ud-vb.img .ud-vb-val {
    font-size: 10px;
    font-weight: 600;
    color: var(--main);
    padding: 3px 4px;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%
}

.ud-vb.txt {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--main);
    white-space: nowrap
}

.ud-vb-tip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) scale(.9);
    background: var(--main);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .25s;
    z-index: 10
}

.ud-vb-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--main)
}

.ud-vb:hover .ud-vb-tip {
    opacity: 1;
    transform: translateX(-50%) scale(1)
}

.ud-acts {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 28px
}

.ud-qty {
    display: flex;
    align-items: center;
    border: 2px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    flex-shrink: 0
}

.ud-qty-b {
    width: 44px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--main);
    transition: background .25s;
    user-select: none
}

.ud-qty-b:hover {
    background: var(--bg-2)
}

.ud-qty-i {
    width: 48px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--main);
    background: transparent;
    outline: none;
    -moz-appearance: textfield
}

.ud-qty-i::-webkit-inner-spin-button, .ud-qty-i::-webkit-outer-spin-button {
    -webkit-appearance: none
}

.ud-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    background: var(--main);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s
}

.ud-cart:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--primary-rgba-2)
}

.ud-cart svg {
    flex-shrink: 0
}

.ud-specs {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden
}

.ud-specs table {
    width: 100%;
    border-collapse: collapse
}

.ud-specs tr:not(:last-child) {
    border-bottom: 1px solid var(--line)
}

.ud-specs th {
    width: 150px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    background: var(--bg-1);
    text-align: left
}

.ud-specs td {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--main);
    font-weight: 500
}

.ud-tabs {
    padding: 0 0 48px
}

.ud-tabs .container {
    max-width: 1560px
}

.ud-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--line);
    margin-bottom: 24px
}

.ud-tab-b {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    transition: color .25s
}

.ud-tab-b::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background .25s
}

.ud-tab-b:hover {
    color: var(--main)
}

.ud-tab-b.on {
    color: var(--main)
}

.ud-tab-b.on::after {
    background: var(--main)
}

.ud-tab-p {
    display: none;
    animation: udFi .3s ease
}

.ud-tab-p.on {
    display: block
}

@keyframes udFi {
    from {
        opacity: 0;
        transform: translateY(6px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.ud-tab-p .ud-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text)
}

.ud-tab-p .ud-desc img {
    max-width: 100%;
    border-radius: 8px
}

.ud-rel {
    padding: 0 0 64px
}

.ud-rel .container {
    max-width: 1560px
}

.ud-sec-t {
    font-size: 22px;
    font-weight: 700;
    color: var(--main);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px
}

.ud-sec-t::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px
}

.ud-rc {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all .3s;
    height: 100%;
    display: flex;
    flex-direction: column
}

.ud-rc:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
    border-color: var(--line-2);
    transform: translateY(-2px)
}

.ud-rc-img {
    position: relative;
    aspect-ratio: 1/1.15;
    overflow: hidden;
    background: var(--bg-2)
}

.ud-rc-img a {
    display: block;
    width: 100%;
    height: 100%
}

.ud-rc-img .ri {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .35s
}

.ud-rc-img .rh {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .35s
}

.ud-rc:hover .rh {
    opacity: 1
}

.ud-rc-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px
}

.ud-rc-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center
}

.ud-rc-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
    margin-bottom: 4px
}

.ud-rc-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--main);
    line-height: 1.4;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color .25s
}

.ud-rc-title:hover {
    color: var(--primary)
}

.ud-rc-vars {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px 0
}

.ud-rc-vc {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 2px solid var(--line);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .25s;
    flex-shrink: 0
}

.ud-rc-vc:hover, .ud-rc-vc.on {
    border-color: var(--main)
}

.ud-rc-vc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.ud-rc-price {
    margin-top: auto;
    padding: 6px 0 12px
}

.ud-rc-price .po {
    font-size: 12px;
    color: var(--text-3);
    text-decoration: line-through;
    margin-right: 6px
}

.ud-rc-price .pc {
    font-size: 16px;
    font-weight: 800;
    color: var(--main)
}

.ud-rc-price .pk {
    font-size: 10px;
    font-weight: 700;
    color: var(--success);
    margin-left: 4px
}

.ud-rc-go {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-2);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: all .25s
}

.ud-rc-go:hover {
    background: var(--main);
    color: var(--white)
}

.ud-rc-go svg {
    transition: transform .25s
}

.ud-rc-go:hover svg {
    transform: translateX(3px)
}

.ud-rc.switching .ud-rc-img, .ud-rc.switching .ud-rc-body {
    opacity: .5;
    transition: opacity .15s
}

/* ══ STICKY — masaüstü detaylı, mobil sadece buton ══ */
.ud-stick {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    z-index: 1000;
    transition: bottom .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .05)
}

.ud-stick.vis {
    bottom: 0
}

.ud-stick-in {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 64px;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 20px
}

.ud-stick-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden
}

.ud-stick-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--line)
}

.ud-stick-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ud-stick-meta {
    min-width: 0;
    overflow: hidden
}

.ud-stick-t {
    font-size: 14px;
    font-weight: 600;
    color: var(--main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3
}

.ud-stick-var {
    font-size: 12px;
    color: var(--text-2);
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.ud-stick-center {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap
}

.ud-stick-pcur {
    font-size: 20px;
    font-weight: 800;
    color: var(--main)
}

.ud-stick-ptag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px
}

.ud-stick-ptag.exc {
    color: var(--text-2);
    background: rgba(0, 0, 0, .05)
}

.ud-stick-ptag.inc {
    color: var(--success);
    background: rgba(49, 165, 109, .1)
}

.ud-stick-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.ud-stick-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    height: 38px
}

.ud-stick-qb {
    width: 30px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--main)
}

.ud-stick-qb:hover {
    background: var(--bg-2)
}

.ud-stick-qi {
    width: 28px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--main);
    background: transparent;
    outline: none;
    -moz-appearance: textfield
}

.ud-stick-qi::-webkit-inner-spin-button {
    -webkit-appearance: none
}

.ud-stick-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 20px;
    background: var(--main);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap
}

.ud-stick-btn:hover {
    background: var(--primary);
    color: var(--white)
}

/* Mobil sticky — sadece buton */
.ud-stick-mob {
    display: none
}

body.ud-stick-active #goTop {
    bottom: 140px !important;
    transition: bottom .35s cubic-bezier(.4, 0, .2, 1)
}

/* ══════════════════════════════════════════
   İLİŞKİLİ ÜRÜNLER — KOMPLE CSS
   ══════════════════════════════════════════ */

/* Ana container */
.ud-vars-related {
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 24px;
}

.ud-vars-related .ud-vars-label {
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 10px;
}

/* Scroll wrapper */
.ud-vars-related .ud-vars-scroll {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

/* Track — yatay slider */
.ud-vars-related .ud-vars-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
    will-change: scroll-position;
}

.ud-vars-related .ud-vars-track::-webkit-scrollbar {
    display: none;
}

/* Drag sırasında */
.ud-vars-related .ud-vars-track.dragging {
    cursor: grabbing !important;
    user-select: none;
    -webkit-user-select: none;
}

.ud-vars-related .ud-vars-track.dragging * {
    pointer-events: none;
}

.ud-vars-related .ud-vars-track:not(.dragging) {
    cursor: grab;
}

/* ══ KUTUCUK ══ */
.ud-rel-link {
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: border-color .25s, opacity .25s;
    opacity: .85;
}

.ud-rel-link:hover:not(.no-hover) {
    border-color: var(--primary);
    opacity: 1;
}

.ud-rel-link.active {
    border-color: var(--primary);
    opacity: 1;
}

/* ══ OK BUTONLARI ══ */
.ud-vars-related .ud-vars-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white, #fff);
    border: 1px solid var(--line, #e4e6ef);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    color: var(--main, #1e1e2d);
    transition: all .2s;
}

.ud-vars-related .ud-vars-arr:hover {
    background: var(--main, #1e1e2d);
    color: var(--white, #fff);
    border-color: var(--main, #1e1e2d);
}

.ud-vars-related .ud-vars-arr.prev {
    left: -6px;
}

.ud-vars-related .ud-vars-arr.next {
    right: -6px;
}

.ud-vars-related .ud-vars-arr.hide {
    opacity: 0;
    pointer-events: none;
}

/* ══ FLOATING TOOLTIP — body seviyesinde ══ */
#udRelFloatTip {
    position: fixed;
    z-index: 999999;
    background: var(--main, #1e1e2d);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
    min-width: 140px;
    max-width: 240px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
    pointer-events: none;
    opacity: 0;
    display: none;
    transition: opacity .15s ease;
}

/* ════════════════════════════════════════════════
★ ÜRÜN DETAY — STOK ALERT (Tema renklerine uyumlu)
════════════════════════════════════════════════ */

.ud-stock-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1.5px solid transparent;
}

.ud-stock-alert-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ud-stock-alert-txt {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.ud-stock-alert-txt strong {
    font-weight: 800;
    font-size: 15px;
}

/* ── Pasif (satışta değil) — sarı/amber tonu ── */
.ud-stock-alert.ud-stock-pasif {
    background: linear-gradient(135deg, rgba(245,158,11,.08) 0%, rgba(245,158,11,.03) 100%);
    border-color: rgba(245,158,11,.22);
}
.ud-stock-alert.ud-stock-pasif .ud-stock-alert-ico {
    background: rgba(245,158,11,.12);
    color: #d97706;
}
.ud-stock-alert.ud-stock-pasif .ud-stock-alert-txt {
    color: #92400e;
}

/* ── Kritik stok — primary tema rengi ── */
.ud-stock-alert.ud-stock-kritik {
    background: linear-gradient(135deg, var(--primary-rgba-1) 0%, rgba(255,255,255,0) 100%);
    border-color: var(--primary-rgba-2);
}
.ud-stock-alert.ud-stock-kritik .ud-stock-alert-ico {
    background: var(--primary-rgba-2);
    color: var(--primary);
}
.ud-stock-alert.ud-stock-kritik .ud-stock-alert-txt {
    color: var(--main);
}

/* ── Info (stok göster aktif, adet gösterimi) — success tonu ── */
.ud-stock-alert.ud-stock-info {
    background: linear-gradient(135deg, rgba(22,163,74,.06) 0%, rgba(22,163,74,.02) 100%);
    border-color: rgba(22,163,74,.18);
}
.ud-stock-alert.ud-stock-info .ud-stock-alert-ico {
    background: rgba(22,163,74,.1);
    color: var(--success);
}
.ud-stock-alert.ud-stock-info .ud-stock-alert-txt {
    color: var(--main);
}
.ud-stock-alert.ud-stock-info .ud-stock-alert-txt strong {
    color: var(--success);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 991px) {
    .ud-vars-related .ud-vars-arr {
        display: none;
    }

    .ud-vars-related .ud-vars-track {
        scroll-snap-type: x mandatory;
        gap: 8px;
    }

    .ud-rel-link {
        scroll-snap-align: start;
    }

    #udRelFloatTip {
        min-width: 120px;
        max-width: 200px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .ud-vars-related {
        margin-bottom: 16px;
    }

    .ud-vars-related .ud-vars-label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    #udRelFloatTip {
        min-width: 100px;
        max-width: 180px;
        padding: 6px 10px;
        font-size: 10px;
    }
}

@media (max-width: 991px) {
    .ud-grid {
        grid-template-columns:1fr;
        gap: 20px
    }

    .ud-gal {
        position: static;
        grid-template-columns:1fr;
        gap: 8px
    }

    .ud-th-list {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        order: 2;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px
    }

    .ud-th-list::-webkit-scrollbar {
        display: none
    }

    .ud-main-wrap {
        order: 1
    }

    .ud-th {
        width: 64px;
        height: 64px
    }

    .ud-main {
        aspect-ratio: 1/1;
        border-radius: 12px
    }

    .ud-title {
        font-size: 20px
    }

    .ud-price {
        padding: 16px 18px;
        margin-bottom: 16px;
        border-radius: 14px
    }

    .ud-pf-cur {
        font-size: 24px
    }

    .ud-pf-old {
        font-size: 13px
    }

    .ud-pf-sub {
        margin-top: 10px;
        padding-top: 10px
    }

    .ud-pf-total {
        font-size: 16px
    }

    .ud-acts {
        gap: 8px;
        margin-bottom: 20px
    }

    .ud-qty {
        border-radius: 10px
    }

    .ud-qty-b {
        width: 36px;
        height: 40px;
        font-size: 16px
    }

    .ud-qty-i {
        width: 38px;
        height: 40px;
        font-size: 14px
    }

    .ud-cart {
        height: 40px;
        font-size: 14px;
        border-radius: 10px;
        gap: 8px
    }

    .ud-vars {
        margin-bottom: 16px
    }

    .ud-vb.img {
        width: 64px
    }

    .ud-vb.img .ud-vb-imgw {
        height: 64px
    }

    .ud-vb.txt {
        padding: 8px 14px;
        font-size: 12px
    }

    /* Mobil sticky — masaüstü içeriği gizle, sadece buton göster */
    .ud-stick.vis {
        bottom: 65px
    }

    .ud-stick-in {
        display: none
    }

    .ud-stick-mob {
        display: flex;
        justify-content: center;
        padding: 0 0 12px
    }

    .ud-stick {
        background: none;
        border-top: none;
        box-shadow: none;
        backdrop-filter: none;
        pointer-events: none
    }

    .ud-stick-mob-btn {
        pointer-events: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 44px;
        padding: 0 28px;
        background: var(--main);
        color: var(--white);
        border: none;
        border-radius: 44px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .04em;
        cursor: pointer;
        text-decoration: none;
        box-shadow: 0 3px 16px rgba(0, 0, 0, .18);
        transition: all .25s
    }

    .ud-stick-mob-btn:active {
        transform: scale(.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, .25)
    }

    .ud-stick-mob-btn svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0
    }


    body.ud-stick-active #goTop {
        bottom: 125px !important
    }

    /* Görsel — kare yap */
    .ud-main {
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }

    /* Varyant ok butonlarını mobilde gizle, sadece swipe */
    .ud-vars-arr {
        display: none;
    }

    /* Varyant track — mobilde kenar padding ver ki son eleman kesilmesin */
    .ud-vars-track {
        padding: 4px 4px 4px 0;
        gap: 8px;
        scroll-snap-type: x mandatory;
    }

    .ud-vb {
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    /* Resimli varyant kutuları mobilde biraz küçülsün */
    .ud-vb.img {
        width: 64px;
        min-width: 64px;
    }

    .ud-vb.img .ud-vb-imgw {
        height: 64px;
    }

    /* Yazılı varyant kutuları */
    .ud-vb.txt {
        padding: 8px 14px;
        font-size: 12px;
        min-width: max-content;
    }
}

@media (max-width: 576px) {
    .ud-wrap {
        padding: 16px 0 24px
    }

    .ud-th {
        width: 52px;
        height: 52px
    }

    .ud-price {
        padding: 14px 16px
    }

    .ud-pf-cur {
        font-size: 22px
    }

    .ud-pf-total {
        font-size: 15px
    }

    .ud-vb.img {
        width: 56px
    }

    .ud-vb.img .ud-vb-imgw {
        height: 56px
    }

    .ud-tab-b {
        padding: 10px 14px;
        font-size: 13px
    }

    .ud-stick-mob-btn {
        height: 42px;
        font-size: 14px;
        border-radius: 10px
    }

    /* Görsel daha da kompakt */
    .ud-main {
        aspect-ratio: 1 / 1;
        border-radius: 10px;
    }

    /* Thumbnail'ler küçülsün */
    .ud-th {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }

    /* Varyant kutuları 576'da daha küçük */
    .ud-vb.img {
        width: 52px;
        min-width: 52px;
    }

    .ud-vb.img .ud-vb-imgw {
        height: 52px;
    }

    .ud-vb.txt {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Genel info taşma engeli */
    .ud-info {
        overflow: hidden;
        max-width: 100%;
    }
}