/* =========================================================
   ÜRÜN DETAY SAYFASI CSS
   ========================================================= */

/* GENEL DÜZEN VE CONTAINER */
.phm-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
}

.phm-section {
    padding: 70px 0;
}

.phm-detay-main-section {
    background-color: #F8FAFC;
}

/* ---------------------------------------------------------
   1. HERO BANNER & BREADCRUMB
   --------------------------------------------------------- */
.phm-page-banner {
    position: relative;
    padding: 85px 0 65px 0;
    background-color: #0A2B5E;
    color: #FFFFFF;
    overflow: hidden;
    text-align: center;
}

.phm-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.70;
}

.phm-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 43, 94, 0.45) 0%, rgba(6, 26, 58, 0.75) 100%);
    z-index: 2;
}

.phm-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 850px;
    margin: 0 auto;
}

.phm-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 43, 94, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 22px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.phm-breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.25s ease;
}

.phm-breadcrumb a:hover {
    color: #FF6B00;
}

.phm-breadcrumb-sep {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
}

.phm-breadcrumb-current {
    color: #FF6B00;
    font-weight: 700;
}

.phm-banner-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.phm-banner-subtitle {
    font-size: 1.1rem;
    color: #F1F5F9;
    margin: 0;
    font-weight: 600;
}

/* ---------------------------------------------------------
   2. DETAY GRID (SOL GALERİ - SAĞ BİLGİ)
   --------------------------------------------------------- */
.phm-detay-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 15px 35px rgba(10, 43, 94, 0.05);
    margin-bottom: 50px;
}

/* SOL: GÖRSEL SAHNESİ */
.phm-detay-gallery {
    position: relative;
}

.phm-detay-stage {
    position: relative;
    background: #F8FAFC;
    border-radius: 20px;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E2E8F0;
    min-height: 420px;
    overflow: hidden;
}

.phm-stage-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 107, 0, 0.12);
    border-radius: 50%;
    filter: blur(50px);
}

.phm-detay-img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 25px rgba(10, 43, 94, 0.18));
    transition: transform 0.3s ease;
}

.phm-detay-img {
    cursor: zoom-in;
}

.phm-detay-stage:hover .phm-detay-img {
    transform: scale(1.05);
}

/* BÜYÜT BUTONU */
.phm-zoom-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    color: #0A2B5E;
    border: 1px solid #CBD5E1;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(10, 43, 94, 0.10);
    transition: background .2s, color .2s, transform .2s;
}

.phm-zoom-btn:hover,
.phm-zoom-btn:focus-visible {
    background: #FF6B00;
    border-color: #FF6B00;
    color: #FFFFFF;
    transform: scale(1.08);
    outline: none;
}

.phm-detay-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #FFFFFF;
    color: #0A2B5E;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid #CBD5E1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.phm-detay-badge i {
    color: #FF6B00;
}

/* SAĞ: BİLGİ ALANI */
.phm-info-header {
    margin-bottom: 20px;
}

.phm-cat-tag {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0A2B5E;
    background: #F1F5F9;
    padding: 6px 14px;
    border-radius: 8px;
    text-transform: uppercase;
    margin-right: 8px;
}

.phm-feature-tag {
    font-size: 0.78rem;
    font-weight: 800;
    color: #FF6B00;
    background: #FFF7ED;
    border: 1px solid rgba(255, 107, 0, 0.25);
    padding: 6px 14px;
    border-radius: 8px;
}

/* MARKA ROZETİ (sadece logo; logo yoksa isim) */
.phm-brand-chip {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    min-height: 40px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0A2B5E;
    box-shadow: 0 2px 6px rgba(10, 43, 94, 0.05);
}

.phm-brand-logo {
    display: block;
    height: 30px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.phm-product-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0A2B5E;
    margin: 15px 0 0 0;
    line-height: 1.25;
}

.phm-brand-name {
    color: #FF6B00;
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phm-short-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 25px;
}

/* HIZLI ÖZELLİKLER */
.phm-quick-specs {
    background: #F8FAFC;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #E2E8F0;
    margin-bottom: 30px;
}

.phm-quick-specs h4 {
    font-size: 0.95rem;
    color: #0A2B5E;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phm-quick-specs h4 i {
    color: #FF6B00;
}

.phm-quick-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phm-quick-specs li {
    font-size: 0.9rem;
    color: #334155;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phm-quick-specs li i {
    color: #22C55E;
    flex-shrink: 0;
}

.phm-quick-specs li strong {
    color: #0A2B5E;
}

/* İLETİŞİM VE DÖNÜŞÜM KUTUSU */
.phm-action-box {
    background: linear-gradient(135deg, #0A2B5E 0%, #061A3A 100%);
    padding: 24px;
    border-radius: 18px;
    color: #FFFFFF;
}

.phm-action-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #E2E8F0;
}

.phm-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.phm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    white-space: nowrap;
}

/* ARAMA BUTONU */
.phm-btn-call {
    background: #FFFFFF;
    color: #0A2B5E;
}

.phm-btn-call:hover {
    background: #E2E8F0;
    color: #0A2B5E;
}

/* WHATSAPP BUTONU */
.phm-btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
}

.phm-btn-whatsapp:hover {
    background: #1DA851;
    color: #FFFFFF;
}

/* RANDEVU BUTONU */
.phm-btn-appointment {
    background: #FF6B00;
    color: #FFFFFF;
}

.phm-btn-appointment:hover {
    background: #E05D00;
    color: #FFFFFF;
}

/* ---------------------------------------------------------
   3. SEKMELİ ALAN (TABS)
   --------------------------------------------------------- */
.phm-tabs-wrapper {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 25px rgba(10, 43, 94, 0.04);
}

.phm-tab-headers {
    display: flex;
    background: #F1F5F9;
    border-bottom: 1px solid #E2E8F0;
}

.phm-tab-btn {
    padding: 16px 30px;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 0.95rem;
    color: #64748B;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phm-tab-btn.active {
    background: #FFFFFF;
    color: #FF6B00;
    border-bottom: 3px solid #FF6B00;
}

.phm-tab-contents {
    padding: 35px;
}

.phm-tab-pane {
    display: none;
}

.phm-tab-pane.active {
    display: block;
}

.phm-tab-pane h3 {
    font-size: 1.3rem;
    color: #0A2B5E;
    font-weight: 800;
    margin-bottom: 15px;
}

.phm-tab-pane p {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* TEKNİK DETAY TABLOSU */
.phm-tech-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.phm-tech-table th,
.phm-tech-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.92rem;
}

.phm-tech-table th {
    background: #F8FAFC;
    color: #0A2B5E;
    font-weight: 700;
    width: 35%;
}

.phm-tech-table td {
    color: #334155;
    font-weight: 600;
}

.phm-table-scroll {
    width: 100%;
    overflow-x: auto;
}

/* ---------------------------------------------------------
   ÜRÜN BULUNAMADI
   --------------------------------------------------------- */
.phm-not-found {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 30px;
    text-align: center;
    background: #FFFFFF;
    border: 1px dashed #CBD5E1;
    border-radius: 24px;
}

.phm-not-found > i {
    font-size: 2.6rem;
    color: #FF6B00;
    margin-bottom: 14px;
    display: block;
}

.phm-not-found h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0A2B5E;
    margin: 0 0 8px;
}

.phm-not-found p {
    color: #64748B;
    margin: 0 0 24px;
    line-height: 1.6;
}

.phm-not-found .phm-btn {
    flex: 0 0 auto;
}

/* ---------------------------------------------------------
   4. DİĞER İLGİLİ ÜRÜNLER
   --------------------------------------------------------- */
.phm-other-products {
    text-align: center;
}

.phm-sub-heading {
    display: block;
    color: #FF6B00;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.phm-other-products h2 {
    font-size: 1.8rem;
    color: #0A2B5E;
    font-weight: 800;
    margin-bottom: 30px;
}

.phm-other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.phm-other-card {
    background: #FFFFFF;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid #E2E8F0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phm-other-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 43, 94, 0.08);
}

.phm-other-card img {
    display: block;
    width: auto;
    height: 120px;
    max-width: 100%;
    margin: 0 auto 15px;
    object-fit: contain;
}

.phm-other-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-bottom: 10px;
    padding: 4px 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0A2B5E;
}

.phm-other-brand img {
    display: block;
    height: 26px;
    width: auto;
    max-width: 90px;
    margin: 0;
    object-fit: contain;
}

.phm-other-card h4 {
    font-size: 1.1rem;
    color: #0A2B5E;
    font-weight: 800;
    margin-bottom: 5px;
}

.phm-other-card p {
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 15px;
}

.phm-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FF6B00;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
}

.phm-link-btn:hover {
    color: #0A2B5E;
}

/* ---------------------------------------------------------
   TAM EKRAN GÖRSEL (LIGHTBOX)
   --------------------------------------------------------- */
html.phm-lb-lock,
html.phm-lb-lock body {
    overflow: hidden;
}

.phm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    background: rgba(6, 26, 58, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.phm-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.phm-lb-toolbar {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.phm-lb-toolbar button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s;
}

.phm-lb-toolbar button:hover,
.phm-lb-toolbar button:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

.phm-lb-toolbar .phm-lb-close {
    background: #FF6B00;
}

.phm-lb-toolbar .phm-lb-close:hover,
.phm-lb-toolbar .phm-lb-close:focus-visible {
    background: #E05D00;
}

.phm-lb-level {
    min-width: 46px;
    text-align: center;
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
}

.phm-lb-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: zoom-in;
}

.phm-lb-stage.is-zoomed {
    cursor: grab;
}

.phm-lb-stage.is-zoomed:active {
    cursor: grabbing;
}

.phm-lb-stage img {
    max-width: 92vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.phm-lb-hint {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    padding: 0 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    pointer-events: none;
}

/* ---------------------------------------------------------
   RESPONSIVE UYUMLULUK
   --------------------------------------------------------- */
@media (max-width: 992px) {
    .phm-detay-grid {
        grid-template-columns: 1fr;
    }

    .phm-other-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .phm-banner-title {
        font-size: 2rem;
    }

    .phm-action-buttons {
        flex-direction: column;
    }

    .phm-other-grid {
        grid-template-columns: 1fr;
    }

    .phm-detay-grid {
        padding: 20px;
    }

    .phm-tab-headers {
        flex-direction: column;
    }

    .phm-tab-contents {
        padding: 22px 18px;
    }

    .phm-lb-stage img {
        padding: 10px;
        border-radius: 12px;
    }

    .phm-lb-hint {
        font-size: 0.72rem;
    }

    .phm-tech-table th {
        width: 40%;
    }
}