/* Ürün detay sayfası — Arena */

.pd-page {
    --pd-rank-yeni: #94a3b8;
    --pd-rank-teslim: #22c55e;
    --pd-rank-guvenilir: #14b8a6;
    --pd-rank-onayli: #3b82f6;
    --pd-rank-tercih: #e0a317;
    --pd-rank-uzman: #c47f12;
    --pd-rank-elit: #ec4899;
    --pd-rank-vitrin: #f59e0b;
    --pd-rank-arena: #f3cc6a;
    --pd-rank-efsane: #f5b544;
    padding-top: 16px;
}

.pd-crumbs { margin-bottom: 16px; }
.pd-crumbs .uc-breadcrumb [aria-current] {
    display: inline-block; max-width: min(520px, 60vw); vertical-align: bottom;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.pd-admin-flash { margin-bottom: 16px; align-items: center; flex-wrap: wrap; }
.pd-admin-flash__text { flex: 1; min-width: 200px; }
.pd-admin-flash__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Yerleşim ---------- */
.pd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    grid-template-areas:
        "gallery aside"
        "content aside";
    grid-template-rows: auto 1fr;
    gap: 20px 24px;
    align-items: start;
}
.pd-gallery { grid-area: gallery; }
.pd-aside { grid-area: aside; }
.pd-content { grid-area: content; }

.pd-aside {
    position: sticky; top: calc(var(--uc-header-h) + 16px);
    display: flex; flex-direction: column; gap: 14px;
}

/* ---------- Galeri ---------- */
.pd-gallery { padding: 12px; overflow: hidden; }
.pd-gallery__stage {
    position: relative; aspect-ratio: 16 / 10; border-radius: var(--uc-radius);
    overflow: hidden; isolation: isolate;
    background:
        radial-gradient(420px 220px at 85% 0%, color-mix(in srgb, var(--uc-primary-2) 22%, transparent), transparent 70%),
        radial-gradient(420px 240px at 0% 100%, color-mix(in srgb, var(--uc-primary) 20%, transparent), transparent 70%),
        var(--uc-surface-2);
}
.pd-gallery__img {
    width: 100%; height: 100%; object-fit: contain; cursor: zoom-in;
    transition: opacity .25s var(--uc-ease), transform .5s var(--uc-ease);
}
.pd-gallery__stage:hover .pd-gallery__img:not(.default-logo-image) { transform: scale(1.02); }
.pd-gallery__stage.is-logo .pd-gallery__img,
.pd-gallery__img.default-logo-image { object-fit: contain; padding: 16%; cursor: default; opacity: .9; }
.pd-gallery__img.fade-out { opacity: 0; }
.pd-gallery__img.fade-in { animation: pdFadeIn .45s var(--uc-ease); }
@keyframes pdFadeIn { from { opacity: 0; } to { opacity: 1; } }

.pd-ribbon {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 13px; border-radius: 10px;
    font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.pd-ribbon--showcase { background: linear-gradient(90deg, #0f9f86, #14b8a6); color: #fff; }
.pd-ribbon--featured { background: var(--uc-gradient); color: var(--uc-text-inverse); }

.pd-gallery__sold {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    padding: 7px 13px; border-radius: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    background: var(--uc-danger); color: #fff;
}

.pd-gallery__zoom, .pd-gallery__nav, .pd-gallery__count {
    position: absolute; z-index: 2;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid rgba(255, 255, 255, .14); color: #fff;
    background: rgba(12, 13, 22, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pd-gallery__zoom { right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 11px; transition: background var(--uc-t); }
.pd-gallery__zoom:hover, .pd-gallery__nav:hover { background: var(--uc-primary); }
.pd-gallery__nav {
    top: 50%; width: 42px; height: 42px; border-radius: 50%; margin-top: -21px;
    opacity: 0; transition: opacity var(--uc-t), background var(--uc-t), transform var(--uc-t);
}
.pd-gallery__nav--prev { left: 12px; transform: translateX(-6px); }
.pd-gallery__nav--next { right: 12px; transform: translateX(6px); }
.pd-gallery__stage:hover .pd-gallery__nav { opacity: 1; transform: none; }
.pd-gallery__count { left: 12px; bottom: 12px; height: 30px; padding: 0 10px; border-radius: 9px; font-size: .76rem; font-weight: 700; pointer-events: none; }

.pd-gallery__thumbs {
    display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin;
    padding-bottom: 2px; scroll-snap-type: x proximity;
}
.pd-gallery__thumb {
    flex: none; width: 92px; aspect-ratio: 16 / 11; padding: 0; overflow: hidden;
    border-radius: 10px; border: 2px solid transparent; background: var(--uc-surface-2);
    opacity: .65; scroll-snap-align: start;
    transition: opacity var(--uc-t), border-color var(--uc-t), transform var(--uc-t);
}
.pd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__thumb:hover { opacity: 1; }
.pd-gallery__thumb.active { opacity: 1; border-color: var(--uc-primary); box-shadow: 0 0 0 3px var(--uc-primary-ring); }

/* ---------- Satın alma kartı ---------- */
.pd-buy { padding: 20px; position: relative; overflow: hidden; }
.pd-buy::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--uc-gradient); }
.pd-buy__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }

.pd-cat {
    --c: var(--uc-primary);
    display: inline-flex; align-items: center; gap: 9px; min-width: 0;
    padding: 4px 12px 4px 4px; border-radius: var(--uc-radius-pill);
    background: color-mix(in srgb, var(--c) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 26%, transparent);
    color: var(--uc-text); font-size: .8rem; font-weight: 700;
    transition: background var(--uc-t), border-color var(--uc-t);
}
.pd-cat:hover { color: var(--uc-text); background: color-mix(in srgb, var(--c) 20%, transparent); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.pd-cat__ico {
    width: 28px; height: 28px; border-radius: 50%; flex: none;
    display: grid; place-items: center; font-size: .78rem;
    background: var(--c); color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--c) 40%, transparent);
}
.pd-cat__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pd-icon-btn {
    width: 36px; height: 36px; flex: none; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--uc-surface-2); border: 1px solid var(--uc-border); color: var(--uc-text-2);
    transition: all var(--uc-t);
}
.pd-icon-btn:hover { color: var(--uc-text-inverse); background: var(--uc-primary); border-color: var(--uc-primary); }

.pd-title {
    margin: 0 0 10px; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.3; font-weight: 600;
    overflow-wrap: anywhere;
}

.pd-meta { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pd-meta li { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--uc-text-3); }
.pd-meta li i { font-size: .74rem; }
.pd-meta strong { color: var(--uc-text-2); font-weight: 700; }
.pd-meta__rating { color: var(--uc-gold) !important; font-weight: 700; }
.pd-meta__rating span { color: var(--uc-text-3); font-weight: 500; }

.pd-price-box {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 14px 16px; margin-bottom: 14px; border-radius: var(--uc-radius);
    background: var(--uc-gradient-soft); border: 1px solid color-mix(in srgb, var(--uc-primary) 22%, var(--uc-border));
}
.pd-price-box__main { display: flex; flex-direction: column; min-width: 0; }
.pd-price-box__label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--uc-text-3); }
.pd-price {
    font-family: var(--uc-font-display); font-size: clamp(1.7rem, 2.6vw, 2.05rem); font-weight: 700; line-height: 1.15;
    color: var(--uc-success); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pd-price-box__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pd-delivery {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--uc-radius-pill);
    font-size: .74rem; font-weight: 700;
}
.pd-delivery.is-auto { background: var(--uc-success-soft); color: var(--uc-success); }
.pd-delivery.is-manual { background: var(--uc-info-soft); color: var(--uc-info); }
.pd-stock { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 600; color: var(--uc-text-2); }
.pd-stock.is-out { color: var(--uc-danger); }

.pd-purchase { display: flex; flex-direction: column; gap: 10px; }
.pd-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-qty-row__label { font-size: .84rem; font-weight: 600; color: var(--uc-text-2); }
.pd-qty button { width: 40px; height: 40px; }
.pd-qty input { width: 52px; height: 40px; }
.pd-cta { box-shadow: var(--uc-shadow-primary); font-size: 1rem; }
.pd-cta:disabled { box-shadow: none; }
.pd-purchase__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-cta-alt { min-height: 44px; }
.pd-purchase__hint { margin: 2px 0 0; font-size: .78rem; color: var(--uc-text-3); display: flex; align-items: center; gap: 6px; justify-content: center; }
.pd-note { font-size: .86rem; }

.pd-guarantees {
    list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--uc-border);
    display: grid; gap: 10px;
}
.pd-guarantees li { --c: var(--uc-primary); display: flex; align-items: center; gap: 12px; min-width: 0; }
.pd-guarantees__ico {
    width: 34px; height: 34px; border-radius: 10px; flex: none;
    display: grid; place-items: center; font-size: .85rem;
    background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c);
}
.pd-guarantees strong { display: block; font-size: .84rem; font-weight: 700; color: var(--uc-text); line-height: 1.3; }
.pd-guarantees small { display: block; font-size: .74rem; color: var(--uc-text-3); line-height: 1.35; }

/* ---------- Satıcı kartı ---------- */
.pd-seller { --rank-c: var(--uc-primary); padding: 18px; }
.pd-seller__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pd-seller__avatar {
    position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; padding: 2px;
    background: conic-gradient(from 200deg, var(--rank-c), color-mix(in srgb, var(--rank-c) 30%, transparent), var(--rank-c));
}
.pd-seller__avatar img { width: 56px !important; height: 56px !important; border-radius: 50%; border: 2px solid var(--uc-surface); object-fit: cover; display: block; }
.pd-seller--epin .pd-seller__avatar img,
.pd-msg__seller img { object-fit: contain; background: var(--uc-surface-2); }
.pd-seller__check {
    position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: .6rem;
    background: var(--uc-info); color: #fff; border: 2px solid var(--uc-surface);
}
.pd-seller__meta { min-width: 0; flex: 1; }
.pd-seller__label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--uc-text-3); }
.pd-seller__name {
    display: block; font-family: var(--uc-font-display); font-size: 1.05rem; font-weight: 600; color: var(--uc-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-seller__name:hover { color: var(--uc-primary-text); }
.pd-seller__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.pd-seller__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.pd-seller__stat {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0;
    padding: 10px 6px; border-radius: 11px; text-align: center;
    background: var(--uc-surface-2); border: 1px solid var(--uc-border);
}
.pd-seller__stat strong {
    font-family: var(--uc-font-display); font-size: 1rem; font-weight: 700; color: var(--uc-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
    display: inline-flex; align-items: center; gap: 5px;
}
.pd-seller__stat strong.is-success { color: var(--uc-success); }
.pd-seller__stat strong.is-gold { color: var(--uc-gold); }
.pd-seller__stat strong.is-rank { color: var(--rank-c); font-size: .86rem; }
.pd-seller__stat strong.is-rank a { color: inherit; text-decoration: none; }
.pd-seller__stat span { font-size: .7rem; color: var(--uc-text-3); font-weight: 600; }

.pd-seller__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pd-seller__actions .uc-btn { min-height: 40px; padding: 0 12px; }
.pd-seller__actions .uc-btn:only-child { grid-column: 1 / -1; }

/* Rütbe rozetleri (sales-rank.php çıktısı).
   header.php eski assets/css/sales-rank.css dosyasını !important ile yüklüyor;
   bu yüzden seçiciler .pd-page .pd-seller ile güçlendirildi. */
.pd-page .pd-seller .pd__rank-pill {
    --rk: var(--uc-primary);
    display: inline-flex !important; align-items: center; gap: 5px;
    padding: 3px 9px; border-radius: var(--uc-radius-pill);
    font-family: var(--uc-font) !important; font-style: normal !important;
    font-size: .7rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
    text-transform: none; letter-spacing: 0; box-shadow: none;
    background: color-mix(in srgb, var(--rk) 15%, transparent) !important;
    color: var(--rk) !important;
    border: 1px solid color-mix(in srgb, var(--rk) 30%, transparent) !important;
}
.pd-page .pd-seller .pd__rank-pill--verified { --rk: var(--uc-info); }
.pd-page .pd-seller .pd__rank-pill--featured-seller { --rk: var(--uc-primary); }
.pd-page .pd-seller .pd__rank-pill--yeni, .pd-page .pd-seller .pd__medal--yeni { --rk: var(--pd-rank-yeni); }
.pd-page .pd-seller .pd__rank-pill--teslim, .pd-page .pd-seller .pd__medal--teslim { --rk: var(--pd-rank-teslim); }
.pd-page .pd-seller .pd__rank-pill--guvenilir, .pd-page .pd-seller .pd__medal--guvenilir { --rk: var(--pd-rank-guvenilir); }
.pd-page .pd-seller .pd__rank-pill--onayli, .pd-page .pd-seller .pd__medal--onayli { --rk: var(--pd-rank-onayli); }
.pd-page .pd-seller .pd__rank-pill--tercih, .pd-page .pd-seller .pd__medal--tercih { --rk: var(--pd-rank-tercih); }
.pd-page .pd-seller .pd__rank-pill--uzman, .pd-page .pd-seller .pd__medal--uzman { --rk: var(--pd-rank-uzman); }
.pd-page .pd-seller .pd__rank-pill--elit, .pd-page .pd-seller .pd__medal--elit { --rk: var(--pd-rank-elit); }
.pd-page .pd-seller .pd__rank-pill--vitrin, .pd-page .pd-seller .pd__medal--vitrin { --rk: var(--pd-rank-vitrin); }
.pd-page .pd-seller .pd__rank-pill--arena, .pd-page .pd-seller .pd__medal--arena { --rk: var(--pd-rank-arena); }
.pd-page .pd-seller .pd__rank-pill--efsane, .pd-page .pd-seller .pd__medal--efsane { --rk: var(--pd-rank-efsane); }

.pd-page .pd-seller .pd__seller-ranks {
    display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important; margin: 0 !important;
}
.pd-page .pd-seller .pd__medal {
    --rk: var(--uc-primary);
    position: relative; min-width: 0; min-height: 0;
    display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px;
    padding: 9px 4px 8px; text-align: center;
    border-radius: 11px !important; font-style: normal !important;
    color: var(--uc-text) !important; box-shadow: none !important;
    background: color-mix(in srgb, var(--rk) 9%, var(--uc-surface-2)) !important;
    border: 1px solid color-mix(in srgb, var(--rk) 26%, var(--uc-border)) !important;
}
.pd-page .pd-seller .pd__medal .pd__medal-icon {
    width: 30px; height: 30px; border-radius: 50%; display: grid !important; place-items: center; font-size: .78rem;
    border: 0; box-shadow: none;
    background: color-mix(in srgb, var(--rk) 20%, transparent); color: var(--rk);
}
.pd-page .pd-seller .pd__medal.is-on .pd__medal-icon { background: var(--rk); color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--rk) 40%, transparent); }
.pd-page .pd-seller .pd__medal .pd__medal-name {
    display: block !important; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-family: var(--uc-font) !important; font-size: .7rem !important; font-weight: 700 !important; font-style: normal !important;
    text-transform: none; letter-spacing: 0; color: var(--uc-text) !important;
}
.pd-page .pd-seller .pd__medal .pd__medal-meta {
    display: block !important; font-size: .62rem !important; font-style: normal !important;
    color: var(--uc-text-3) !important; white-space: nowrap;
}
.pd-page .pd-seller .pd__medal.is-off { filter: grayscale(1); opacity: .55; border-style: dashed !important; }
.pd-page .pd-seller .pd__medal .pd__medal-lock { position: absolute; top: 4px; right: 5px; font-size: .56rem; color: var(--uc-text-3); }

.pd-page .pd-seller .pd__rank-progress {
    display: block; margin: 10px 0 0; padding: 0; border: 0; border-radius: 0; background: none;
}
.pd-page .pd-seller .pd__rank-progress .pd__rank-progress-top { display: flex; justify-content: space-between; gap: 10px; font-size: .74rem; color: var(--uc-text-3); margin-bottom: 6px; }
.pd-page .pd-seller .pd__rank-progress .pd__rank-progress-top strong { color: var(--uc-text); font-family: var(--uc-font); }
.pd-page .pd-seller .pd__rank-progress .pd__rank-progress-bar { height: 7px; border-radius: 99px; background: var(--uc-surface-3); border: 0; overflow: hidden; }
.pd-page .pd-seller .pd__rank-progress .pd__rank-progress-fill { display: block; height: 100%; border-radius: inherit; background: var(--uc-gradient); box-shadow: none; }

.pd-report {
    align-self: center; display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px; border-radius: var(--uc-radius-pill);
    font-size: .78rem; font-weight: 600; color: var(--uc-text-3);
}
.pd-report:hover { color: var(--uc-danger); background: var(--uc-danger-soft); }

/* ---------- Sekmeli içerik ---------- */
.pd-content { overflow: hidden; }
.pd-content__tabs { padding: 0 20px; border-bottom: 1px solid var(--uc-border); background: var(--uc-surface); }
.pd-tabs { border-bottom: 0; gap: 22px; }
.pd-tabs .uc-tab { min-height: 52px; margin-bottom: 0; font-size: .88rem; }
.pd-tabs .uc-tab i { font-size: .82rem; opacity: .8; }
.pd-tabs .uc-tab.is-active i { color: var(--uc-primary-text); opacity: 1; }
.pd-tabs__count {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px;
    display: inline-grid; place-items: center; font-size: .68rem; font-weight: 800;
    background: var(--uc-primary-soft); color: var(--uc-primary-text);
}

.pd-panel { padding: 22px; animation: ucFadeUp .3s var(--uc-ease) both; }
.pd-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pd-panel__title { margin: 0 0 14px; font-size: 1.05rem; font-weight: 600; }
.pd-panel__head .pd-panel__title { margin: 0; }

.pd-desc { position: relative; }
.pd-desc__body { overflow-wrap: break-word; font-size: .95rem; line-height: 1.75; color: var(--uc-text-2); }
.pd-desc__body > :first-child, .pd-desc__body .description-text-enhanced > :first-child { margin-top: 0; }
.pd-desc__body p { margin: 0 0 .85em; }
.pd-desc__body strong, .pd-desc__body b { color: var(--uc-text); font-weight: 700; }
.pd-desc__body u { text-underline-offset: 3px; }
.pd-desc__body h3, .pd-desc__body h4 {
    margin: 1.35em 0 .55em; color: var(--uc-text); font-size: 1.02rem; font-weight: 700;
}
.pd-desc__body ul, .pd-desc__body ol { margin: .2em 0 1em; padding: 0; list-style: none; }
.pd-desc__body li {
    position: relative; padding-left: 18px; margin: .38em 0; color: var(--uc-text-2);
}
.pd-desc__body ul li::before {
    content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%;
    background: var(--uc-primary);
}
.pd-desc__body ol { counter-reset: pd-desc; }
.pd-desc__body ol li { counter-increment: pd-desc; }
.pd-desc__body ol li::before {
    content: counter(pd-desc) "."; position: absolute; left: 0; top: 0;
    color: var(--uc-primary-text); font-weight: 800; font-size: .82rem;
}
.pd-desc__body li > ul, .pd-desc__body li > ol { margin: .3em 0 .2em; }
.pd-desc__body a { color: var(--uc-primary-text); text-decoration: underline; text-underline-offset: 3px; }
.pd-desc__body li.ql-indent-1 { padding-left: 36px; }
.pd-desc__body li.ql-indent-2 { padding-left: 54px; }
.pd-desc__body .pd-desc__warn {
    margin: 1em 0; padding: 12px 14px; border-radius: 12px;
    background: color-mix(in srgb, var(--uc-danger) 10%, var(--uc-surface-2));
    border: 1px solid color-mix(in srgb, var(--uc-danger) 28%, transparent);
    color: #fca5a5;
}
.pd-desc__body img { border-radius: var(--uc-radius-sm); }
.pd-desc__body blockquote {
    margin: 1em 0; padding: 10px 14px; border-left: 3px solid var(--uc-primary);
    background: var(--uc-surface-2); border-radius: 0 var(--uc-radius-sm) var(--uc-radius-sm) 0;
}
.pd-desc__body code, .pd-desc__body pre { background: var(--uc-surface-2); border-radius: 6px; padding: 2px 6px; font-size: .86em; }
.pd-desc__body pre { padding: 12px; overflow-x: auto; }
.pd-desc__body.collapsed {
    max-height: 420px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
    mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.pd-desc__empty, .pd-desc__body .description-placeholder { color: var(--uc-text-3); font-style: italic; margin: 0; }
.pd-desc__more {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
    padding: 8px 16px; border-radius: var(--uc-radius-pill);
    border: 1px solid var(--uc-border); background: var(--uc-surface-2);
    color: var(--uc-text); font-size: .84rem; font-weight: 600;
}
.pd-desc__more:hover { border-color: var(--uc-primary); color: var(--uc-primary-text); }
.pd-desc__more i { transition: transform var(--uc-t); font-size: .72rem; }
.pd-desc__more.is-open i { transform: rotate(180deg); }

.pd-specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pd-specs > div {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0;
    padding: 12px 14px; border-radius: 11px; background: var(--uc-surface-2); border: 1px solid var(--uc-border);
}
.pd-specs dt { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--uc-text-3); white-space: nowrap; }
.pd-specs dt i { width: 16px; text-align: center; color: var(--uc-primary-text); font-size: .8rem; }
.pd-specs dd { margin: 0; font-size: .86rem; font-weight: 700; color: var(--uc-text); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.pd-specs dd.is-success { color: var(--uc-success); }

.pd-features { margin-top: 18px; }
.pd-features__title { font-size: .95rem; margin: 0 0 8px; }
.pd-features ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.pd-features li { position: relative; padding-left: 24px; margin: 0; }
.pd-features li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 2px; font-size: .72rem; color: var(--uc-success);
}

.pd-reviews__summary { margin-bottom: 14px; }
.pd-reviews__score {
    display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 12px 16px; border-radius: var(--uc-radius); background: var(--uc-gold-soft);
}
.pd-reviews__score strong { font-family: var(--uc-font-display); font-size: 1.6rem; line-height: 1; color: var(--uc-text); }
.pd-reviews__score small { color: var(--uc-text-2); font-size: .8rem; }
.pd-stars { display: inline-flex; gap: 2px; color: var(--uc-gold); font-size: .8rem; }
.pd-reviews { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pd-review { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--uc-divider); }
.pd-review:last-child { border-bottom: 0; }
.pd-review__avatar {
    width: 38px; height: 38px; border-radius: 50%; flex: none; overflow: hidden;
    display: grid; place-items: center; background: var(--uc-surface-2);
}
.pd-review__avatar img, .pd-review__img {
    width: 38px !important; height: 38px !important; border-radius: 50% !important; object-fit: cover;
}
.pd-review__body { min-width: 0; flex: 1; }
.pd-review__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.pd-review__top strong { font-size: .9rem; }
.pd-review__top .rv-chip { margin-left: auto; }
.rv-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 8px; border-radius: 999px;
    font-size: .7rem; font-weight: 700; line-height: 1.3;
    color: var(--uc-success); background: var(--uc-success-soft);
    border: 1px solid color-mix(in srgb, var(--uc-success) 22%, transparent);
    white-space: nowrap;
}
.rv-chip i { font-size: .62rem; }
.pd-review p { margin: 0; font-size: .88rem; color: var(--uc-text-2); overflow-wrap: anywhere; }
.pd-empty { padding: 28px 12px; }

.pd-safety { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pd-safety__item {
    --c: var(--uc-primary);
    display: flex; gap: 12px; padding: 14px; border-radius: var(--uc-radius);
    background: var(--uc-surface-2); border: 1px solid var(--uc-border);
}
.pd-safety__ico {
    width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center;
    background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c);
}
.pd-safety__item strong { display: block; font-size: .88rem; margin-bottom: 3px; color: var(--uc-text); }
.pd-safety__item p { margin: 0; font-size: .82rem; color: var(--uc-text-2); line-height: 1.5; }
.pd-safety__cta { margin-top: 14px; display: flex; justify-content: flex-end; }

/* ---------- İlgili ilanlar ---------- */
.pd-rail { padding-top: 34px; padding-bottom: 6px; }
.pd-rail + .pd-rail { padding-top: 18px; }

/* ---------- Görsel lightbox (galeri) ---------- */
.pd-lightbox {
    position: fixed; inset: 0; z-index: 9600;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 56px 16px 16px;
    background: rgba(8, 9, 16, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.pd-lightbox.active { opacity: 1; visibility: visible; }
.pd-lightbox__stage { flex: 1; width: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.pd-lightbox__img {
    max-width: min(1200px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain;
    border-radius: var(--uc-radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
    transition: opacity .15s;
}
.pd-lightbox__img.fade-out { opacity: 0; }
.pd-lightbox__img.fade-in { animation: pdFadeIn .3s var(--uc-ease); }
.pd-lightbox__close, .pd-lightbox__nav {
    position: absolute; z-index: 2; display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff;
    transition: background var(--uc-t);
}
.pd-lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 12px; font-size: 1.05rem; }
.pd-lightbox__nav { top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; }
.pd-lightbox__nav--prev { left: 16px; }
.pd-lightbox__nav--next { right: 16px; }
.pd-lightbox__close:hover, .pd-lightbox__nav:hover { background: var(--uc-primary); border-color: var(--uc-primary); }
.pd-lightbox--single .pd-lightbox__nav, .pd-lightbox--single .pd-lightbox__dock { display: none; }
.pd-lightbox__dock { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 12px; }
.pd-lightbox__thumbs { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.pd-lightbox__thumb {
    flex: none; width: 72px; height: 50px; padding: 0; overflow: hidden; border-radius: 8px;
    border: 2px solid transparent; background: rgba(255, 255, 255, .06); opacity: .55; transition: all var(--uc-t);
}
.pd-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-lightbox__thumb:hover { opacity: .9; }
.pd-lightbox__thumb.active { opacity: 1; border-color: var(--uc-primary); }
.pd-lightbox__count { margin: 0; font-size: .82rem; font-weight: 600; color: rgba(255, 255, 255, .7); }

/* ---------- Mesaj modalı ---------- */
.pd-msg__sub { margin: 0 0 14px; font-size: .86rem; color: var(--uc-text-2); }
.pd-msg__seller {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
    padding: 12px; border-radius: var(--uc-radius); background: var(--uc-surface-2); border: 1px solid var(--uc-border);
}
.pd-msg__seller > div { min-width: 0; }
.pd-msg__name { font-weight: 700; color: var(--uc-text); }
.pd-msg__about { font-size: .78rem; color: var(--uc-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-msg__alert { display: none; padding: 10px 14px; border-radius: 10px; font-size: .86rem; font-weight: 600; }
.pd-msg__alert.show { display: block; }
.pd-msg__alert.success { background: var(--uc-success-soft); color: var(--uc-success); }
.pd-msg__alert.error { background: var(--uc-danger-soft); color: var(--uc-danger); }
.pd-msg__actions { display: flex; justify-content: flex-end; gap: 10px; }
.uc-modal__title i { color: var(--uc-primary-text); margin-right: 4px; }

/* Paylaş yedek modalı */
.pd-share {
    position: fixed; inset: 0; z-index: 9700; display: flex; align-items: center; justify-content: center; padding: 20px;
    background: var(--uc-overlay); backdrop-filter: blur(4px);
}
.pd-share__box {
    width: 100%; max-width: 460px; padding: 22px; display: flex; flex-direction: column; gap: 12px;
    background: var(--uc-surface); border: 1px solid var(--uc-border); border-radius: var(--uc-radius-xl); box-shadow: var(--uc-shadow-lg);
}
.pd-share__box h3 { margin: 0; }
.pd-share__box .uc-btn { align-self: flex-end; }

/* ---------- Mobil satın alma çubuğu ---------- */
.pd-mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .pd-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 18px 20px; }
}

@media (max-width: 991px) {
    .pd-page { padding-top: 12px; padding-bottom: 76px; }
    .pd-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "gallery" "aside" "content";
        grid-template-rows: auto;
        gap: 14px;
    }
    .pd-aside { position: static; }
    .pd-gallery__nav { opacity: 1; transform: none; }

    .pd-mbar {
        position: fixed; left: 0; right: 0; z-index: 890;
        bottom: calc(64px + env(safe-area-inset-bottom));
        display: flex; align-items: center; gap: 10px;
        padding: 10px var(--uc-gutter);
        background: var(--uc-header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--uc-border);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
    }
    .pd-mbar__price { display: flex; flex-direction: column; min-width: 0; flex: 1; }
    .pd-mbar__price small { font-size: .68rem; font-weight: 600; color: var(--uc-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pd-mbar__price strong {
        font-family: var(--uc-font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.2;
        color: var(--uc-success); white-space: nowrap; font-variant-numeric: tabular-nums;
    }
    .pd-mbar__btn { min-height: 46px; padding: 0 20px; flex: none; }
    .pd-mbar__cart { min-height: 46px; width: 46px; flex: none; }
}

@media (max-width: 640px) {
    .pd-gallery { padding: 8px; }
    .pd-gallery__stage { aspect-ratio: 4 / 3; }
    .pd-gallery__thumb { width: 72px; }
    .pd-buy { padding: 16px; }
    .pd-seller { padding: 16px; }
    .pd-content__tabs { padding: 0 12px; }
    .pd-tabs { gap: 16px; }
    .pd-tabs .uc-tab { min-height: 48px; font-size: .84rem; }
    .pd-tabs .uc-tab i { display: none; }
    .pd-panel { padding: 16px; }
    .pd-specs, .pd-safety, .pd-features ul { grid-template-columns: minmax(0, 1fr); }
    .pd-lightbox__nav { width: 40px; height: 40px; margin-top: -20px; }
    .pd-lightbox__nav--prev { left: 6px; }
    .pd-lightbox__nav--next { right: 6px; }
    .pd-rail { padding-top: 24px; }
}

@media (max-width: 400px) {
    .pd-price-box { padding: 12px; }
    .pd-price-box__side { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .pd-purchase__row, .pd-seller__actions { grid-template-columns: minmax(0, 1fr); }
    .pd-seller__stats { gap: 6px; }
    .pd-seller__stat { padding: 8px 4px; }
    .pd-page .pd-seller .pd__seller-ranks { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .pd-mbar__btn { padding: 0 14px; }
    .pd-mbar__price strong { font-size: 1.08rem; }
}
