﻿.tp-pd {
    padding: 18px 0 26px 0;
}

.tp-pd__bc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
    margin: 6px 0 14px 0;
    letter-spacing: .02em;
}

.tp-pd__bcA {
    color: #64748b;
    text-decoration: none;
}

    .tp-pd__bcA:hover {
        color: #0f172a;
    }

.tp-pd__bcSep {
    opacity: .55;
}

.tp-pd__bcHere {
    color: #0f172a;
    font-weight: 500;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
}

.tp-pd__grid {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    gap: 22px;
    align-items: start;
}

.tp-pd__galGrid {
    display: grid;
    grid-template-columns: 74px minmax(0,1fr);
    gap: 14px;
}

.tp-pd__thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tp-pd__thumb {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    padding: 6px;
    cursor: pointer;
    opacity: .86;
    transition: transform .12s ease, box-shadow .14s ease, opacity .14s ease, border-color .14s ease;
}

    .tp-pd__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }

    .tp-pd__thumb:hover {
        opacity: 1;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(17,24,39,.10);
    }

    .tp-pd__thumb.is-active {
        border-color: rgba(15,23,42,.35);
        opacity: 1;
    }

.tp-pd__mainWrap {
    min-width: 0;
}

.tp-pd__main {
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.08);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15,23,42,.08);
    --mx: 50%;
    --my: 50%;
    cursor: zoom-in;
}

.tp-pd__mainImg {
    width: 100%;
    aspect-ratio: 4 / 6;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
    transform-origin: var(--mx) var(--my);
    transition: transform .12s ease;
    will-change: transform;
    transform: translateZ(0);
}

.tp-pd__main.is-zoom .tp-pd__mainImg {
    transform: scale(2.8);
}

@media (hover:none) {
    .tp-pd__main {
        cursor: default;
    }

        .tp-pd__main.is-zoom .tp-pd__mainImg {
            transform: none;
        }
}

.tp-pd__mainBadge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(15,23,42,.92);
    color: #fff;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
    letter-spacing: .02em;
}

.tp-pd__sum {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    padding: 16px 16px 14px 16px;
    box-shadow: 0 16px 40px rgba(15,23,42,.06);
}

.tp-pd__catLine {
    margin-bottom: 6px;
}

.tp-pd__catTag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #0f172a;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15,23,42,.03);
    border: 1px solid rgba(15,23,42,.08);
}

.tp-pd__campLine {
    margin: 2px 0 8px 0;
}

.tp-pd__campPill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(239,68,68,.10) 0%, rgba(249,115,22,.12) 100%);
    border: 1px solid rgba(249,115,22,.22);
    color: #7c2d12;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.1;
}

.tp-pd__campIc {
    font-size: 13px;
    line-height: 1;
}

.tp-pd__campTxt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 520px;
}

.tp-pd__title {
    margin: 6px 0 8px 0;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: -0.01em;
    font-weight: 500;
    color: #0f172a;
}

.tp-pd__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    margin-bottom: 10px;
}

.tp-stars {
    display: inline-flex;
    gap: 2px;
    line-height: 1;
}

    .tp-stars i {
        width: 14px;
        height: 14px;
        display: inline-flex;
    }

        .tp-stars i::before {
            content: "★";
            font-size: 14px;
            color: #d1d5db;
        }

        .tp-stars i.on::before {
            color: #f59e0b;
        }

.tp-pd__ratingNum {
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 12px;
}

.tp-pd__ratingCnt {
    color: #64748b;
    font-weight: 500;
    font-size: 12px;
}

.tp-pd__priceRow {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(15,23,42,.08);
    border-bottom: 1px solid rgba(15,23,42,.08);
}

.tp-pd__priceNow {
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.tp-pd__priceOld {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.tp-pd__discPill {
    margin-left: 6px;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(245,158,11,.16);
    color: #8a4b00;
    letter-spacing: .02em;
}

.tp-pd__desc {
    padding-top: 10px;
    color: #475569;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 400;
}

.tp-pd__metaRow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tp-pd__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(15,23,42,.03);
    border: 1px solid rgba(15,23,42,.08);
    color: #0f172a;
}

.tp-pd__pill--ok {
    background: rgba(16,185,129,.10);
    border-color: rgba(16,185,129,.20);
    color: #065f46;
}

.tp-pd__pill--bad {
    background: rgba(239,68,68,.09);
    border-color: rgba(239,68,68,.18);
    color: #991b1b;
}

.tp-pd__opt {
    margin-top: 12px;
}

.tp-pd__optTitle {
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.tp-pd__opts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tp-pd__optBtn {
    min-width: 44px;
    height: 36px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    color: #0f172a;
    font-family: var(--tp-font-body), system-ui, sans-serif;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: transform .1s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

    .tp-pd__optBtn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(15,23,42,.10);
    }

    .tp-pd__optBtn.is-active {
        border-color: rgba(15,23,42,.45);
        background: rgba(15,23,42,.03);
    }

    .tp-pd__optBtn:disabled {
        opacity: .45;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.tp-pd__ctaWrap {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tp-pd__btn {
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    color: #0f172a;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: transform .1s ease, box-shadow .14s ease, background .14s ease, filter .14s ease;
}

    .tp-pd__btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(15,23,42,.12);
    }

.tp-pd__btnIc {
    font-size: 14px;
    line-height: 1;
}

.tp-pd__btn--cart {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

    .tp-pd__btn--cart:hover {
        filter: brightness(.96);
    }

.tp-pd__btn--wa {
    background: #22c55e;
    color: #fff;
    border-color: #22c55e;
}

    .tp-pd__btn--wa:hover {
        filter: brightness(.96);
    }

.tp-pd__phoneCard {
    border: 1px dashed rgba(15,23,42,.18);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    background: rgba(15,23,42,.02);
}

.tp-pd__phoneHint {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.tp-pd__phone {
    display: inline-flex;
    margin-top: 6px;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    text-decoration: none;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.tp-pd__tabs {
    margin-top: 18px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15,23,42,.06);
}

.tp-pd__tabHead {
    display: flex;
    border-bottom: 1px solid rgba(15,23,42,.08);
}

.tp-pd__tabBtn {
    flex: 1 1 0;
    padding: 14px 10px;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #0f172a;
    opacity: .62;
    letter-spacing: .01em;
}

    .tp-pd__tabBtn.is-active {
        opacity: 1;
        box-shadow: inset 0 -2px 0 rgba(15,23,42,.85);
    }

.tp-pd__tabBody {
    padding: 16px;
}

.tp-pd__tabPane {
    display: none;
}

    .tp-pd__tabPane.is-active {
        display: block;
    }

.tp-pd__html {
    font-size: 13px;
    line-height: 1.75;
    color: #334155;
}

    .tp-pd__html img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

.tp-pd__empty {
    padding: 26px 14px;
    text-align: center;
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    border: 1px dashed rgba(15,23,42,.14);
    border-radius: 12px;
    background: rgba(15,23,42,.02);
}

.tp-pd__comments {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-pd__cItem {
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 12px;
    padding: 12px;
    background: #fff;
}

.tp-pd__cTop {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.tp-pd__cName {
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    color: #0f172a;
    font-size: 13px;
}

.tp-pd__cDate {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.tp-pd__cStars {
    margin-top: 6px;
    font-size: 12px;
    color: #f59e0b;
}

    .tp-pd__cStars .off {
        color: #e5e7eb;
    }

.tp-pd__cTxt {
    margin-top: 8px;
    color: #334155;
    font-size: 13px;
    line-height: 1.75;
    font-weight: 400;
}

.tp-pd__specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tp-pd__specRow {
    display: grid;
    grid-template-columns: 220px minmax(0,1fr);
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 12px;
    background: rgba(15,23,42,.02);
}

.tp-pd__specK {
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    color: #0f172a;
    font-size: 12px;
}

.tp-pd__specV {
    color: #334155;
    font-weight: 400;
    font-size: 12px;
}

.tp-pd__related {
    margin-top: 18px;
}

.tp-pd__relHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.tp-pd__relTitle {
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    color: #0f172a;
}

.tp-pd__relAll {
    color: #0f172a;
    text-decoration: none;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 12px;
    opacity: .7;
}

    .tp-pd__relAll:hover {
        opacity: 1;
    }

.tp-pd__relGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    align-items: stretch;
}

@media (min-width: 1400px) {
    .tp-pd__relGrid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 560px) {
    .tp-pd__relGrid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 10px;
    }
}

.tp-pd__relLoading {
    grid-column: 1 / -1;
    padding: 18px;
    text-align: center;
    color: #64748b;
    border: 1px dashed rgba(15,23,42,.14);
    border-radius: 12px;
    background: rgba(15,23,42,.02);
}

.tp-rp {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.08);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
    transition: transform .12s ease, box-shadow .14s ease, border-color .14s ease;
}

    .tp-rp:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 34px rgba(15,23,42,.10);
        border-color: rgba(15,23,42,.14);
    }

.tp-rp__img {
    width: 100%;
    aspect-ratio: 1 / 1.12; /*  kart boyu düşer */
    object-fit: cover;
    background: #f3f4f6;
    display: block;
}

.tp-rp__b {
    padding: 10px 10px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tp-rp__name {
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 12.5px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
    color: #0f172a;
}

.tp-rp__pr {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.tp-rp__now {
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}

.tp-rp__old {
    font-weight: 500;
    font-size: 11.5px;
    color: #94a3b8;
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.tp-rp__deal {
    margin-top: 2px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: .10em;
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgba(15,23,42,.90) 0%, #ff6a2a 100%);
}

#tpPdRelated img {
    max-width: 100%;
    height: auto;
    display: block;
}

.tp-lb {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

    .tp-lb.is-open {
        display: block;
    }

.tp-lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(2px);
}

.tp-lb__dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    box-shadow: none;
    overflow: visible;
    width: auto;
    max-width: calc(100% - 28px);
    max-height: calc(100% - 28px);
}

.tp-lb__img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
    object-fit: contain;
    border-radius: 14px;
    background: transparent;
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

.tp-lb__close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    z-index: 10;
}

.tp-lb__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: grid;
    place-items: center;
    z-index: 10;
}

.tp-lb__nav--prev {
    left: -18px;
}

.tp-lb__nav--next {
    right: -18px;
}

.tp-lb__nav:disabled {
    opacity: .35;
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .tp-pd__grid {
        grid-template-columns: 1fr;
    }

    .tp-pd__galGrid {
        grid-template-columns: 74px minmax(0,1fr);
    }
}

@media (max-width: 840px) {
    .tp-pd__specRow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .tp-pd__galGrid {
        grid-template-columns: 60px minmax(0,1fr);
    }

    .tp-pd__thumb {
        width: 60px;
        height: 60px;
    }

    .tp-pd__title {
        font-size: 22px;
    }

    .tp-pd__priceNow {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .tp-lb__close {
        top: 10px;
        right: 10px;
    }

    .tp-lb__nav {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }

    .tp-lb__nav--prev {
        left: 10px;
    }

    .tp-lb__nav--next {
        right: 10px;
    }
}
.tp-pd__relGrid .tp-pcard {
    width: 100%;
    margin: 0;
}
.tp-pd__cartRow {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

    .tp-pd__cartRow .tp-pd__btn--cart {
        flex: 1 1 auto;
    }

.tp-qty {
    height: 46px;
    display: flex;
    align-items: center;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
    overflow: hidden;
}

.tp-qty__btn {
    width: 38px;
    height: 46px;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tp-qty__btn:hover {
        background: rgba(15,23,42,.04);
    }

.tp-qty__input {
    width: 46px;
    height: 46px;
    border: 0;
    outline: none;
    text-align: center;
    background: transparent;
    color: #0f172a;
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 800;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.tp-qty:focus-within {
    border-color: rgba(15,23,42,.25);
    box-shadow: 0 0 0 3px rgba(15,23,42,.10);
}

@media (max-width: 560px) {
    .tp-qty__input {
        width: 40px;
    }

    .tp-qty__btn {
        width: 36px;
    }
}
.tp-toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%) translateY(16px);
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    max-width: min(560px, 92vw);
    padding: 12px 14px;
    border-radius: 999px;
    background: rgba(15,23,42,.92);
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
    font-family: var(--tp-font-display), var(--tp-font-body), system-ui, sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .01em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity .18s ease, transform .18s ease;
}

    .tp-toast.is-show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

.tp-toast__ic {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 560px) {
    .tp-toast {
        bottom: 14px;
    }
}