/* Temel Sıfırlama ve Arkaplan */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.p-page-body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #e8f0ed;
    background-image: 
        linear-gradient(135deg, rgba(239, 243, 246, 0.9) 0%, rgba(220, 226, 230, 0.9) 100%);
    background-attachment: fixed;
    color: #1b3d4a;
    line-height: 1.6;
    min-height: 100vh;
}

.p-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    flex: 1;
    padding-bottom: 60px;
}

/* Breadcrumb / Geri Dönüş Linki */
.breadcrumb {
    margin-bottom: 20px;
    margin-top: 20px;
}

.breadcrumb a {
    color: #092e3d;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #6bc0ae;
}

/* Başlık Alanı */
.product-header {
    border-bottom: 2px solid #092e3d;
    padding-bottom: 15px;
    margin-bottom: 35px;
}

.category-tag {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #6bc0ae;
    display: block;
    margin-bottom: 5px;
}

.product-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #092e3d;
    line-height: 1.1;
}

.product-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444444;
    letter-spacing: 0.5px;
}

/* Ana Görsel ve Bilgi Alanı (Grid) */
.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    
}

/* Sol Görsel Kutusu (Tüm ürün detay sayfaları için sabitlendi) */
.product-image-container .image-box {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 0; /* İç boşluğu sıfırlayarak resmin kutuyu doldurmasını sağlıyoruz */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 450px; /* Bütün ürünlerdeki görsel kutusu yüksekliği sabitlendi */
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Görselin oranını bozmadan kutuya tam sığdırır */
    padding: 15px; /* Resmi kenarlardan hafifçe uzak tutar */
}


/* Sol Görsel Kutusu bi önceki */
/* .product-image-container .image-box {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-image-container img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
} */

/* Sağ Bilgi Kutuları */
.info-block {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #6bc0ae;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.info-block h2 {
    font-size: 16px;
    font-weight: 700;
    color: #092e3d;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.info-block p {
    font-size: 15px;
    color: #333333;
}

/* Key Features Liste Stili */
.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14.5px;
    color: #222222;
}

.feature-list li::before {
    content: "•";
    color: #6bc0ae;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Teknik Detaylar ve Arayüz Çizimi (Grid) */
.product-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.spec-block {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.spec-block h2 {
    font-size: 18px;
    font-weight: 700;
    color: #092e3d;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.product-spec-grid .spec-block {
    display: flex;
    flex-direction: column;
    
}

/*MODULE SCOPE kutusunu kartın en altına iter */
.product-spec-grid .spec-block .scope-box {
    margin-top: auto;
}

/* Technical Data Tablosu */
.tech-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-table tr {
    border-bottom: 2px solid #f0f0f0;
}

.tech-table tr:last-child {
    border-bottom: none;
}

.tech-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 13.5px;
    color: #092e3d;
    font-weight: 700;
    width: 45%;
    background-color: #f0f7f5;
}

.tech-table td {
    padding: 10px 12px;
    font-size: 13.5px;
    color: #444444;
}

/* Interface Envelope & Scope */
.diagram-box {
    text-align: center;
    background: #fafafa;
    padding: 15px;
    border: 1px dashed #cccccc;
    border-radius: 6px;
    margin-bottom: 10px;
}

.diagram-box img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

.diagram-note {
    font-size: 12px;
    color: #777777;
    font-style: italic;
    margin-bottom: 20px;
}

.scope-box {
    background-color: #f0f7f5;
    border: 1px solid #6bc0ae;
    border-radius: 6px;
    padding: 15px;
}

.scope-box h3 {
    font-size: 13px;
    font-weight: 700;
    color: #092e3d;
    margin-bottom: 5px;
}

.scope-box p {
    font-size: 13px;
    color: #333333;
}

.full-width-block {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.full-width-block h2 {
    font-size: 18px;
    font-weight: 700;
    color: #092e3d;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.section-subheading {
    font-size: 13px;
    font-weight: 700;
    color: #6bc0ae;
    letter-spacing: 0.5px;
    margin-top: -5px;
    margin-bottom: 20px;
}

.highlight-block {
    border-left: 4px solid #6bc0ae;
}

.interface-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.interface-pills .pill {
    background-color: #f0f7f5;
    border: 1px solid #6bc0ae;
    color: #092e3d;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.interface-pills .pill-bullet {
    color: #6bc0ae;
    font-weight: bold;
    font-size: 16px;
}

.interface-tags {
    font-size: 13px;
    font-weight: 700;
    color: #092e3d;
    line-height: 1.8;
}

.interface-tags span {
    background-color: #f0f7f5;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #6bc0ae;
    display: inline-block;
    margin: 2px 0;
}

/* Programlama Adımları (Sequence Grid) */
.sequence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.step-card {
    background-color: #f9fbfb;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #6bc0ae;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: #092e3d;
    color: #ffffff;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    font-size: 14px;
}

.step-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #092e3d;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.step-card p {
    font-size: 13px;
    color: #555555;
    line-height: 1.4;
}

/* Çizim Yan Yana Izgara */
.diagram-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 15px;
}

.diagram-item {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.diagram-item h3 {
    font-size: 14px;
    font-weight: 700;
    color: #092e3d;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.diagram-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    margin-bottom: 15px;
}

.dimension-tag {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.diagram-img-box img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.diagram-caption {
    font-size: 13px;
    font-weight: 600;
    color: #092e3d;
    margin-top: 10px;
}
/* proximity sensors*/
/* --- PROXIMITY SENSORS ÖZEL STİLLERİ --- */

/* .product-main-grid.full-width-grid {
    grid-template-columns: 1fr;
} */



.ps-tech-block {
    padding: 0 !important;
    overflow: hidden;
    margin-bottom: 40px;
}

.ps-tech-header {
    background-color: #0b2533;
    padding: 12px 25px;
}

.ps-tech-header h2 {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    border: none !important;
    padding: 0 !important;
}

.ps-tech-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px;
}

.ps-tech-list {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.ps-list-item {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
}

.ps-list-item:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.ps-list-item:last-child {
    border-bottom: 1px solid #e2e8f0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.ps-tech-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-tech-image img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
}


/* fsu-127*/

.env-power-section {
    position: relative;
    overflow: hidden; /* Görselin kart dışına taşmasını engeller */
}

.env-power-wrapper {
    display: flex;
    position: relative;
    align-items: center;
}

/* Tablonun genişliğini sağdaki görsele yer kalacak şekilde daraltıyoruz */
.env-power-wrapper .env-table {
    width: 70%;
    position: relative;
    z-index: 2; /* Tablonun görselin üstünde kalmasını sağlar */
}

/* Sağdaki Mühimmat Görseli */
.env-side-image {
    position: absolute;
    right: 0px; /* Görseli hafifçe sağa dayar */
    bottom: 0px; /* Görseli kartın altına doğru oturtur */
    top: -20px;
    width: 38%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 1;
}

.env-side-image img {
    max-height: 120%;
    height: auto;
    width: auto;
    object-fit: contain;
    /* Görselin arka planı beyaz ise sol tarafa doğru yumuşak geçiş vermesini sağlar */
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
}


/* Responsive Düzenlemeler (Mobil & Tablet) */
@media (max-width: 992px) {
    .product-main-grid,
    .product-spec-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-title {
        font-size: 2.2rem;
    }
    .sequence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diagram-grid {
        grid-template-columns: 1fr;
    }

     .ps-tech-wrapper {
        flex-direction: column;
    }
    
    .ps-tech-list, 
    .ps-tech-image {
        width: 100%;
    }
    .env-power-wrapper .env-table {
        width: 100%;
    }

    .env-side-image {
        display: none; /* Mobilde dar alanlarda görseli gizleyip tabloyu rahatlatır */
    }
}

@media (max-width: 576px) {
    .interface-pills .pill-bullet {
        display: none;
    }

    .interface-pills {
        flex-direction: column;
        align-items: stretch;
    }

    .sequence-grid {
        grid-template-columns: 1fr;
    }
}