/*
==========================================================================
   TürkTrafik — İç sayfalar (demo turktrafik-web düzeni)
   Ürünler, ürün detay, Kurumsal. home-v2.css ile birlikte yüklenir
   (renk değişkenleri ve ürün kartı .hv2-pcard oradan gelir).
   Tüm sınıflar "pv2-" ile başlar.
==========================================================================
*/
.pv2 { padding-bottom: 8px; }
.pv2 h1, .pv2 h2, .pv2 h3 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }
.pv2 .tt-ph-inner { padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .pv2 .tt-ph-inner { padding-left: 24px; padding-right: 24px; } }

/* ================================ ÜRÜNLER ================================ */
.pv2-browse { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 24px; }
@media (min-width: 1024px) { .pv2-browse { grid-template-columns: 260px minmax(0, 1fr); } }

/* Kategoriler paneli */
.pv2-side-card { background: #fff; border-radius: 24px; padding: 16px; box-shadow: 0 0 0 1px #E2E8F0; }
@media (min-width: 1024px) {
    .pv2-side-card { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; }
}
.pv2-side-title { margin: 0; padding: 0 12px 12px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #94A3B8; }
.pv2-side-title--sub { padding-top: 20px; }
.pv2-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pv2-cats a {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 12px; border-radius: 12px;
    font-size: .875rem; font-weight: 600; color: #334155;
    transition: background .2s, color .2s;
}
.pv2-cats a:hover { background: #F1F5F9; color: var(--n9); }
.pv2-cats a span { font-size: .75rem; opacity: .7; font-weight: 600; }
.pv2-cats a.is-on { background: var(--n9); color: #fff; }
.pv2-cats a.is-on:hover { background: var(--n8); color: #fff; }
.pv2-cat-deal i { color: var(--y7); margin-right: 4px; }
.pv2-cat-deal { justify-content: flex-start !important; }
.pv2-cat-deal span { margin-left: auto; }
.pv2-cats a.pv2-cat-deal.is-on i { color: var(--y); }

.pv2-facet { border-top: 1px solid #EEF2F7; }
.pv2-facet summary {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 12px; cursor: pointer; list-style: none;
    font-size: .85rem; font-weight: 600; color: #334155;
}
.pv2-facet summary::-webkit-details-marker { display: none; }
.pv2-facet summary::after { content: "+"; font-weight: 700; color: #94A3B8; }
.pv2-facet[open] summary::after { content: "–"; }
.pv2-facet summary em { margin-left: auto; font-style: normal; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--y50); color: var(--y7); }
.pv2-facet-opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; }
.pv2-facet-opts a { display: inline-flex; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #334155; background: #F1F5F9; }
.pv2-facet-opts a span { opacity: .6; }
.pv2-facet-opts a:hover { background: var(--n50); color: var(--n9); }
.pv2-facet-opts a.is-on { background: var(--n9); color: #fff; }

/* Mobil: alttan açılan panel */
.pv2-sheet-handle { display: none; }
.pv2-sheet-backdrop { position: fixed; inset: 0; z-index: 1090; background: rgba(6, 18, 49, .5); backdrop-filter: blur(4px); }
.pv2-sheet-backdrop[hidden] { display: none; }
@media (max-width: 1023px) {
    .pv2-side {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
        max-height: 80vh; overflow-y: auto;
        transform: translateY(105%); transition: transform .35s var(--ease);
        visibility: hidden;
    }
    .pv2-side.is-open { transform: none; visibility: visible; }
    .pv2-side-card { border-radius: 24px 24px 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 40px -20px rgba(6,18,49,.4); }
    .pv2-sheet-handle { display: block; width: 48px; height: 6px; margin: 0 auto 16px; border-radius: 999px; background: #E2E8F0; }
}

/* Arama + sıralama */
.pv2-bar { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .pv2-bar { flex-direction: row; } }
.pv2-search { position: relative; flex: 1; margin: 0; }
.pv2-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94A3B8; pointer-events: none; }
.pv2-search input {
    width: 100%; height: 48px; padding: 0 16px 0 46px;
    border: 1px solid #E2E8F0; border-radius: 16px; background: #fff;
    font: inherit; font-size: .875rem; color: var(--ink); outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.pv2-search input:focus { border-color: var(--n5); box-shadow: 0 0 0 4px #D9E3F7; }
.pv2-bar-right { display: flex; gap: 12px; }
.pv2-cat-btn {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 16px; border: 1px solid #E2E8F0; border-radius: 16px; background: #fff;
    font: inherit; font-size: .875rem; font-weight: 600; color: var(--n9); cursor: pointer;
}
@media (min-width: 1024px) { .pv2-cat-btn { display: none; } }
.pv2-sort { flex: 1; margin: 0; }
@media (min-width: 640px) { .pv2-sort { flex: none; } }
.pv2-sort select {
    width: 100%; height: 48px; padding: 0 40px 0 16px;
    border: 1px solid #E2E8F0; border-radius: 16px; background: #fff;
    font: inherit; font-size: .875rem; font-weight: 600; color: var(--n9); outline: none; cursor: pointer;
}

.pv2-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: .875rem; color: #475569; }
.pv2-info > i { color: var(--y6); }
.pv2-info strong { color: var(--n9); }
.pv2-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--y50); color: var(--y7); font-weight: 600; }
.pv2-chip:hover { background: #FFF3C4; color: var(--y7); }
.pv2-chip i { font-size: .7rem; }

/* Ürün ızgarası (demo: 2 / 3 / 4 sütun) */
.pv2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .pv2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .pv2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pv2-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pv2-in { animation: pv2-in .35s var(--ease) both; }
@keyframes pv2-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.pv2-more-wrap { margin-top: 40px; text-align: center; }
.pv2-more {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 999px; background: var(--n9);
    font-size: .875rem; font-weight: 700; color: #fff !important;
    transition: background .2s;
}
.pv2-more:hover { background: var(--n7); }
.pv2-more.is-loading { opacity: .6; pointer-events: none; }

.pv2-empty { margin-top: 40px; padding: 48px 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px #E2E8F0; text-align: center; }
.pv2-empty p { margin: 0 0 8px; color: #64748B; }
.pv2-empty strong { font-size: 1.125rem; color: var(--n9); }
.pv2-empty .hv2-btn { margin-top: 16px; }

/* ================================ ÜRÜN DETAY ================================ */
.pv2-crumbbar { border-bottom: 1px solid #E2E8F0; background: #fff; }
.pv2-crumbbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.pv2-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; font-size: .875rem; color: #64748B; }
.pv2-crumbs a { color: #64748B; }
.pv2-crumbs a:hover { color: var(--n9); }
.pv2-crumbs i { font-size: .6rem; }
.pv2-crumbs span { font-weight: 600; color: var(--n9); }
.pv2-pager { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.pv2-pager a, .pv2-pager .is-off { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #E2E8F0; color: var(--n9); font-size: .75rem; }
.pv2-pager a:hover { background: var(--y); border-color: var(--y); color: var(--n95); }
.pv2-pager .is-off { opacity: .35; }
.pv2-pager small { min-width: 48px; text-align: center; font-size: .75rem; font-weight: 600; color: #64748B; }
@media (max-width: 639px) { .pv2-crumbs span, .pv2-crumbs i:last-of-type { display: none; } }

.pv2-detail { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 1024px) { .pv2-detail { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

.pv2-media-main {
    position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
    box-shadow: 0 0 0 1px #E2E8F0;
}
.pv2-media-hz { position: absolute; left: 0; top: 0; width: 100%; height: 8px; opacity: .9; z-index: 2; }
.pv2-media-main .hv2-pcard-floor { bottom: 10%; }
.pv2-media-main img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 40px; object-fit: contain; mix-blend-mode: multiply; }
.pv2-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pv2-thumbs button { width: 72px; height: 72px; padding: 6px; border-radius: 14px; border: 2px solid #E2E8F0; background: #fff; cursor: pointer; }
.pv2-thumbs button.is-on { border-color: var(--y); }
.pv2-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

@media (min-width: 1024px) { .pv2-dinfo { position: sticky; top: 112px; } }
.pv2-badge { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--y50); color: var(--y7) !important; font-size: .75rem; font-weight: 700; }
.pv2-title { margin: 16px 0 0; font-size: clamp(1.875rem, 3.4vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--n9); }
.pv2-code { margin: 8px 0 0; font-size: .875rem; font-weight: 600; color: #64748B; }
.pv2-code span { color: var(--n9); }
.pv2-desc { margin-top: 24px; color: #475569; line-height: 1.65; }
.pv2-desc p { margin: 0 0 8px; }

.pv2-feats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .pv2-feats { grid-template-columns: 1fr 1fr; } }
.pv2-feats li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E2E8F0; font-size: .875rem; font-weight: 600; color: var(--n9); }
.pv2-feats i { width: 20px; text-align: center; font-size: 1.05rem; color: var(--y6); }

.pv2-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .pv2-ctas { flex-direction: row; } }
.pv2-btn-wa, .pv2-btn-call {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 24px; border-radius: 999px; font-weight: 700; color: #fff !important;
    transition: transform .2s, background .2s;
}
.pv2-btn-wa { background: #25D366; box-shadow: 0 12px 24px -10px rgba(22, 163, 74, .45); }
.pv2-btn-wa:hover { transform: translateY(-2px); }
.pv2-btn-wa i { font-size: 1.25rem; }
.pv2-btn-call { background: var(--n9); }
.pv2-btn-call:hover { background: var(--n7); }

.pv2-buy { display: flex; gap: 12px; margin-top: 12px; }
.pv2-qty { display: inline-flex; align-items: center; border: 1px solid #E2E8F0; border-radius: 999px; background: #fff; overflow: hidden; }
.pv2-qty button { width: 42px; height: 50px; border: 0; background: transparent; color: var(--n9); cursor: pointer; }
.pv2-qty button:hover { background: #F1F5F9; }
.pv2-qty input { width: 48px; height: 50px; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--n9); -moz-appearance: textfield; }
.pv2-qty input::-webkit-outer-spin-button, .pv2-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pv2-btn-cart {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; border: 2px solid var(--n9); border-radius: 999px; background: #fff;
    font: inherit; font-weight: 700; color: var(--n9); cursor: pointer; transition: background .2s, color .2s;
}
.pv2-btn-cart:hover { background: var(--n9); color: #fff; }

.pv2-specs { margin-top: 28px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #E2E8F0; }
.pv2-specs h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 800; color: var(--n9); }
.pv2-specs p { margin: 0; color: #475569; line-height: 1.6; }
.pv2-specs dl { margin: 0; display: grid; }
.pv2-specs dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid #EEF2F7; font-size: .875rem; }
.pv2-specs dl div:first-child { border-top: 0; }
.pv2-specs dt { color: #64748B; }
.pv2-specs dd { margin: 0; font-weight: 600; color: var(--n9); text-align: right; }

.pv2-related { padding-bottom: 24px; }
.pv2-related h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 1.875rem); font-weight: 800; color: var(--n9); }
.pv2-related .pv2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .pv2-related .pv2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ================================ KURUMSAL ================================ */
.pv2-about { display: grid; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 1024px) { .pv2-about { grid-template-columns: 1fr 1fr; } }
.pv2-about-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; }
.pv2-about-img img { width: 100%; height: 100%; object-fit: cover; }
.pv2-about-stat { position: absolute; left: 0; bottom: 0; padding: 16px 24px; border-top-right-radius: 24px; background: var(--y); color: var(--n95); }
.pv2-about-stat strong { display: block; font-size: 1.875rem; font-weight: 800; line-height: 1.1; }
.pv2-about-stat span { font-size: .875rem; font-weight: 600; }
.pv2-eyebrow { margin: 0; font-size: .875rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--y7); }
.pv2-about-text h2 { margin: 8px 0 0; font-size: clamp(1.875rem, 3.4vw, 2.25rem); font-weight: 800; letter-spacing: -.025em; color: var(--n9); }
.pv2-about-text p:not(.pv2-eyebrow) { margin: 24px 0 0; line-height: 1.7; color: #475569; }
.pv2-about-text p + p:not(.pv2-eyebrow) { margin-top: 16px; }
.pv2-values { display: grid; gap: 20px; padding-bottom: 24px; }
@media (min-width: 768px) { .pv2-values { grid-template-columns: repeat(3, 1fr); } }
.pv2-value { padding: 32px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px #E2E8F0; }
.pv2-value > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--y50); color: var(--y7); font-size: 1.2rem; }
.pv2-value h3 { margin: 20px 0 0; font-size: 1.125rem; font-weight: 700; color: var(--n9); }
.pv2-value p { margin: 8px 0 0; font-size: .875rem; line-height: 1.65; color: #475569; }
