/* HRPSAC Fiyat Tabloları */

.hrpsac-table-wrapper {
    margin: 1.5em 0;
    overflow-x: auto;
}

.hrpsac-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hrpsac-price-table th,
.hrpsac-price-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.hrpsac-price-table th {
    background: #2c3e50;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.hrpsac-price-table tbody tr:hover {
    background: #f8f9fa;
}

.hrpsac-price-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.hrpsac-price-table tbody tr:nth-child(even):hover {
    background: #f0f0f0;
}

/* Fiyat hücresi */
.hrpsac-price {
    font-weight: 600;
    white-space: nowrap;
}

.hrpsac-price-value {
    color: #27ae60;
    font-size: 15px;
}

.hrpsac-price-currency {
    color: #7f8c8d;
    font-size: 12px;
    margin-left: 3px;
}

.hrpsac-price-na {
    color: #bdc3c7;
}

/* Footer */
.hrpsac-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f5f5f5;
    font-size: 12px;
    color: #7f8c8d;
    border-top: 1px solid #e5e5e5;
    flex-wrap: wrap;
    gap: 10px;
}

.hrpsac-exchange-rate {
    font-weight: 500;
}

.hrpsac-exchange-rate small {
    font-weight: normal;
    margin-left: 5px;
}

/* Hata ve bilgi mesajları */
.hrpsac-error {
    padding: 15px;
    background: #fee;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
    margin: 1em 0;
}

.hrpsac-no-products {
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    color: #856404;
    margin: 1em 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hrpsac-price-table {
        font-size: 13px;
    }

    .hrpsac-price-table th,
    .hrpsac-price-table td {
        padding: 10px 12px;
    }

    .hrpsac-table-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 600px) {
    .hrpsac-price-table,
    .hrpsac-price-table thead,
    .hrpsac-price-table tbody,
    .hrpsac-price-table th,
    .hrpsac-price-table td,
    .hrpsac-price-table tr {
        display: block;
    }

    .hrpsac-price-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .hrpsac-price-table tr {
        margin-bottom: 10px;
        border: 1px solid #e5e5e5;
    }

    .hrpsac-price-table td {
        position: relative;
        padding-left: 50%;
        border-bottom: 1px solid #eee;
    }

    .hrpsac-price-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        width: 45%;
        padding-right: 10px;
        font-weight: 600;
        color: #7f8c8d;
        font-size: 11px;
        text-transform: uppercase;
    }

    .hrpsac-price-table td:last-child {
        border-bottom: none;
    }
}

/* Şablon varyasyonları */
.hrpsac-sac-table .hrpsac-price-value {
    color: #2980b9;
}

.hrpsac-trapez-table .hrpsac-price-value {
    color: #8e44ad;
}

.hrpsac-profil-table .hrpsac-price-value {
    color: #d35400;
}

/* ===========================
   SAC HESAPLAMA CALCULATOR
   =========================== */

.hrpsac-sac-calculator {
    margin: 1.5em 0;
}

.hrpsac-calc-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #3498db;
}

.hrpsac-calc-form {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 1.5em;
}

.hrpsac-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.hrpsac-form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.hrpsac-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.hrpsac-form-group select,
.hrpsac-form-group input[type="text"],
.hrpsac-form-group input[type="number"] {
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s;
    color: #333;
}

.hrpsac-form-group select:focus,
.hrpsac-form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.hrpsac-btn-hesapla {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.hrpsac-btn-hesapla:hover:not(:disabled) {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.35);
}

.hrpsac-btn-hesapla:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hrpsac-loading {
    padding: 12px;
    color: #7f8c8d;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hrpsac-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #d0d0d0;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: hrpsac-spin 0.8s linear infinite;
}

@keyframes hrpsac-spin {
    to { transform: rotate(360deg); }
}

/* Genel tablo stili (paylaşılan) */
.hrpsac-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hrpsac-table th {
    background: #2c3e50;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    text-align: left;
    white-space: nowrap;
}

.hrpsac-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}

.hrpsac-table tbody tr:hover {
    background: #f8f9fa;
}

.hrpsac-num, .hrpsac-th-num, .hrpsac-td-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hrpsac-bold {
    font-weight: 700;
}

.hrpsac-price {
    font-weight: 700;
    color: #27ae60;
}

/* Sonuç tablosu */
.hrpsac-sonuc-table {
    margin-top: 0.5em;
    overflow-x: auto;
}

#hrpsac-sonuc-wrapper {
    overflow-x: auto;
}

/* Form actions */
.hrpsac-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hrpsac-btn-temizle {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.hrpsac-btn-temizle:hover {
    background: #e74c3c;
    color: #fff;
}

/* Satır sil butonu */
.hrpsac-btn-sil {
    background: transparent;
    color: #bdc3c7;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s;
    line-height: 1;
}

.hrpsac-btn-sil:hover {
    background: #fee;
    color: #e74c3c;
}

/* Plaka fiyatı sütunu vurgu */
.hrpsac-th-fiyat {
    background: #1e6a3a !important;
}

/* ===========================
   PROFİL LİSTESİ
   =========================== */

.hrpsac-profil-wrapper {
    margin: 1.5em 0;
}

.hrpsac-profil-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #e67e22;
}

.hrpsac-iskonto-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eafaf1;
    border: 1px solid #27ae60;
    color: #1e8449;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 1em;
}

.hrpsac-table-scroll {
    overflow-x: auto;
}

.hrpsac-profil-table .hrpsac-ebat {
    font-family: monospace;
    font-size: 13px;
}

.hrpsac-th-iskonto {
    background: #1e8449 !important;
}

.hrpsac-td-iskonto {
    color: #1e8449;
}

.hrpsac-not {
    font-size: 12px;
    color: #999;
    margin-top: 0.75em;
    font-style: italic;
}

@media screen and (max-width: 768px) {
    .hrpsac-form-row {
        flex-direction: column;
    }

    .hrpsac-form-group {
        min-width: 100%;
    }

    .hrpsac-table {
        font-size: 13px;
    }

    .hrpsac-table th,
    .hrpsac-table td {
        padding: 8px 10px;
    }
}


/* Tekil fiyat kısa kodu */
.hrpsac-single-price { white-space: nowrap; }
.hrpsac-single-price .hrpsac-price-value { font-weight: 700; }

.hrpsac-form-actions { display:flex; gap:10px; flex-wrap:wrap; }
.hrpsac-btn-temizle { background:#fff; color:#555; border:1px solid #ccc; padding:10px 18px; border-radius:6px; cursor:pointer; }
.hrpsac-table-scroll { overflow-x:auto; }
.hrpsac-sonuc-table tfoot th { background:#f1f3f5; color:#2c3e50; font-size:13px; text-align:right; }
.hrpsac-sonuc-table tfoot th[data-role="grand-total"] { color:#27ae60; white-space:nowrap; }
.hrpsac-btn-sil { border:0; background:transparent; color:#c0392b; cursor:pointer; font-size:16px; }
.hrpsac-not { color:#6c757d; font-size:12px; margin-top:10px; }
[hidden] { display:none !important; }

/* Omega Çelik 1.4 */
.hrpsac-price-notice{margin:0 0 14px;padding:0;border:0;background:transparent;color:#555;font-size:13px;line-height:1.55;font-weight:600}
.hrpsac-list-tools{display:flex;align-items:center;gap:12px;margin:0 0 10px;position:sticky;top:0;z-index:3;background:#fff;padding:8px 0}
.hrpsac-list-tools input{flex:1;max-width:360px;padding:9px 12px;border:1px solid #d5d5d5;border-radius:6px}
.hrpsac-list-tools span{font-size:12px;color:#777;white-space:nowrap}
.hrpsac-long-list{max-height:620px;border:1px solid #e5e5e5;border-radius:6px}
.hrpsac-long-list thead th{position:sticky;top:0;z-index:2}
.hrpsac-profil-table tbody tr:nth-child(even){background:#fafafa}
.hrpsac-calc-summary{margin-top:14px;padding:16px;border:1px solid #e5e5e5;border-radius:6px;background:#fff;line-height:1.7}
@media(max-width:600px){.hrpsac-long-list{max-height:none}.hrpsac-list-tools{position:static}.hrpsac-profil-table tr{display:grid;grid-template-columns:1fr 1fr}.hrpsac-profil-table td{padding:9px!important}.hrpsac-profil-table td:before{position:static;display:block;width:auto;margin-bottom:3px}.hrpsac-profil-table .hrpsac-ebat{grid-column:1/-1}}

/* Güncelleme notu: en küçük boyut, arka plansız ve kenarlıksız */
.hrpsac-table-footer {
    display: block;
    padding: 2px 0;
    margin-top: 3px;
    background: transparent !important;
    border: 0 !important;
    color: #b7bec5;
    font-size: 8px;
    line-height: 1.2;
    gap: 0;
}

.hrpsac-table-footer span {
    font-size: inherit;
    line-height: inherit;
}

/* Kalınlığa göre ayrılmış sac fiyat tabloları */
.hrpsac-thickness-section { margin: 0 0 28px; }
.hrpsac-thickness-section .hrpsac-profil-title { margin-top: 18px; }

/* Profil/boru birleşik uzunluk tabloları */
.hrpsac-profile-searches{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:12px 0 16px}.hrpsac-profile-searches label{display:flex;flex-direction:column;gap:5px;min-width:180px}.hrpsac-profile-searches label span{font-size:12px;font-weight:600;color:#59636e}.hrpsac-profile-searches input{padding:9px 11px;border:1px solid #d6dbe0;border-radius:4px;background:#fff}.hrpsac-profile-searches [data-role="count"]{font-size:12px;color:#8b949e;padding-bottom:10px}.hrpsac-profile-length-section{margin:0 0 28px}.hrpsac-profile-length-section .hrpsac-profil-title{margin:0 0 10px}.hrpsac-profile-group-title{margin-bottom:12px}

/* ==========================================================
   2.0.5 - TÜM TABLOLAR İÇİN KOMPAKT VE OKUNABİLİR DÜZEN
   ========================================================== */

/* Tablo blokları arasındaki gereksiz dikey boşlukları azalt */
.hrpsac-table-wrapper,
.hrpsac-profil-wrapper,
.hrpsac-dimension-table,
.hrpsac-covering-section,
.hrpsac-profile-length-section,
.hrpsac-thickness-section {
    margin-top: 8px;
    margin-bottom: 14px;
}

.hrpsac-thickness-tables,
.hrpsac-covering-all,
.hrpsac-profile-all {
    line-height: 1.25;
}

/* Başlıkları sıkılaştır */
.hrpsac-profil-title,
.hrpsac-profile-group-title,
.hrpsac-calc-title,
.hrpsac-covering-section h2,
.hrpsac-covering-section h3,
.hrpsac-thickness-section h2,
.hrpsac-thickness-section h3 {
    margin-top: 10px !important;
    margin-bottom: 6px !important;
    padding-top: 0 !important;
    padding-bottom: 4px !important;
    line-height: 1.25 !important;
}

.hrpsac-profil-title,
.hrpsac-profile-group-title {
    font-size: 16px;
}

/* Bütün fiyat tablolarında ortak kompakt görünüm */
.hrpsac-price-table,
.hrpsac-table,
.hrpsac-dimension-table table,
.hrpsac-covering-table,
.hrpsac-covering-price-table,
.hrpsac-all-sheet-table,
.hrpsac-sonuc-table,
.hrpsac-profil-table {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: auto;
    font-size: 13px;
    line-height: 1.2;
    margin: 0 !important;
    box-shadow: none;
}

.hrpsac-price-table th,
.hrpsac-price-table td,
.hrpsac-table th,
.hrpsac-table td,
.hrpsac-dimension-table th,
.hrpsac-dimension-table td,
.hrpsac-covering-table th,
.hrpsac-covering-table td,
.hrpsac-covering-price-table th,
.hrpsac-covering-price-table td,
.hrpsac-all-sheet-table th,
.hrpsac-all-sheet-table td,
.hrpsac-sonuc-table th,
.hrpsac-sonuc-table td,
.hrpsac-profil-table th,
.hrpsac-profil-table td {
    padding: 5px 8px !important;
    height: auto !important;
    min-height: 0 !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #eceff1;
    line-height: 1.2 !important;
}

/* Başlık satırlarını da daha alçak tut */
.hrpsac-price-table th,
.hrpsac-table th,
.hrpsac-dimension-table th,
.hrpsac-covering-table th,
.hrpsac-covering-price-table th,
.hrpsac-all-sheet-table th,
.hrpsac-sonuc-table th,
.hrpsac-profil-table th {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    font-size: 11px !important;
    letter-spacing: .15px !important;
    line-height: 1.15 !important;
    white-space: nowrap;
}

/* Sayısal alanları sıkı ve tek satır tut */
.hrpsac-price,
.hrpsac-price-value,
.hrpsac-price-currency,
.hrpsac-td-num,
.hrpsac-th-num {
    white-space: nowrap;
}

.hrpsac-price-value {
    font-size: 13px !important;
}

.hrpsac-price-currency {
    font-size: 10px !important;
    margin-left: 2px !important;
}

/* Filtre ve arama alanları */
.hrpsac-list-tools,
.hrpsac-profile-searches {
    gap: 8px !important;
    margin: 5px 0 8px !important;
    padding: 4px 0 !important;
}

.hrpsac-list-tools input,
.hrpsac-profile-searches input {
    height: 32px;
    padding: 5px 8px !important;
    font-size: 12px;
}

.hrpsac-profile-searches label {
    gap: 3px !important;
    min-width: 150px !important;
}

.hrpsac-profile-searches label span,
.hrpsac-list-tools span,
.hrpsac-profile-searches [data-role="count"] {
    font-size: 10px !important;
}

.hrpsac-profile-searches [data-role="count"] {
    padding-bottom: 6px !important;
}

/* Uzun listelerde gereksiz iç çerçeve ve boşluğu azalt */
.hrpsac-long-list {
    max-height: 560px;
    border-radius: 3px;
    overflow: auto;
}

.hrpsac-table-scroll {
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Bilgi metinleri */
.hrpsac-price-notice {
    margin: 0 0 7px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.hrpsac-covering-note,
.hrpsac-not {
    margin: 4px 0 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
}

.hrpsac-table-footer {
    margin-top: 2px !important;
    padding: 1px 0 !important;
}

/* Hesaplama formlarını ve sonuç tablolarını da kompaktlaştır */
.hrpsac-sac-calculator,
.hrpsac-sandvic-calculator {
    margin: 10px 0 !important;
}

.hrpsac-calc-form {
    padding: 12px !important;
    margin-bottom: 10px !important;
    border-radius: 4px !important;
}

.hrpsac-form-row {
    gap: 9px !important;
    margin-bottom: 9px !important;
}

.hrpsac-form-group label {
    margin-bottom: 3px !important;
    font-size: 10px !important;
}

.hrpsac-form-group select,
.hrpsac-form-group input[type="text"],
.hrpsac-form-group input[type="number"] {
    min-height: 34px;
    padding: 5px 8px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
}

.hrpsac-btn-hesapla,
.hrpsac-btn-temizle {
    padding: 7px 14px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
}

.hrpsac-calc-summary {
    margin-top: 8px !important;
    padding: 9px !important;
    line-height: 1.4 !important;
}

/* Mobilde kart görünümünü iptal et: kompakt tablo + yatay kaydırma */
@media screen and (max-width: 600px) {
    .hrpsac-table-wrapper,
    .hrpsac-table-scroll,
    .hrpsac-long-list {
        overflow-x: auto !important;
        max-width: 100%;
    }

    .hrpsac-price-table,
    .hrpsac-price-table thead,
    .hrpsac-price-table tbody,
    .hrpsac-price-table th,
    .hrpsac-price-table td,
    .hrpsac-price-table tr,
    .hrpsac-table,
    .hrpsac-table thead,
    .hrpsac-table tbody,
    .hrpsac-table th,
    .hrpsac-table td,
    .hrpsac-table tr,
    .hrpsac-profil-table,
    .hrpsac-profil-table thead,
    .hrpsac-profil-table tbody,
    .hrpsac-profil-table th,
    .hrpsac-profil-table td,
    .hrpsac-profil-table tr {
        display: revert !important;
    }

    .hrpsac-price-table thead tr,
    .hrpsac-table thead tr,
    .hrpsac-profil-table thead tr {
        position: static !important;
    }

    .hrpsac-price-table,
    .hrpsac-table,
    .hrpsac-profil-table,
    .hrpsac-covering-table,
    .hrpsac-all-sheet-table,
    .hrpsac-sonuc-table {
        min-width: 560px;
        font-size: 11px !important;
    }

    .hrpsac-price-table tr,
    .hrpsac-table tr,
    .hrpsac-profil-table tr {
        margin: 0 !important;
        border: 0 !important;
    }

    .hrpsac-price-table td,
    .hrpsac-table td,
    .hrpsac-profil-table td {
        position: static !important;
        padding: 4px 6px !important;
        width: auto !important;
    }

    .hrpsac-price-table td:before,
    .hrpsac-table td:before,
    .hrpsac-profil-table td:before {
        content: none !important;
        display: none !important;
    }

    .hrpsac-profil-table tr {
        display: table-row !important;
        grid-template-columns: none !important;
    }

    .hrpsac-profil-table .hrpsac-ebat {
        grid-column: auto !important;
    }

    .hrpsac-profile-searches {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }

    .hrpsac-profile-searches label {
        min-width: 0 !important;
    }

    .hrpsac-profile-searches [data-role="count"] {
        grid-column: 1 / -1;
    }
}

/* 2.0.6 — Tüm tablolarda içerik genişliğinde kompakt sütunlar */
.hrpsac-table-scroll,
.hrpsac-table-wrapper {
    max-width: 100%;
}

.hrpsac-price-table,
.hrpsac-table,
.hrpsac-dimension-table table,
.hrpsac-covering-table,
.hrpsac-covering-price-table,
.hrpsac-all-sheet-table,
.hrpsac-sonuc-table,
.hrpsac-profil-table {
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    table-layout: auto !important;
    display: table !important;
}

.hrpsac-price-table th,
.hrpsac-price-table td,
.hrpsac-table th,
.hrpsac-table td,
.hrpsac-dimension-table th,
.hrpsac-dimension-table td,
.hrpsac-covering-table th,
.hrpsac-covering-table td,
.hrpsac-covering-price-table th,
.hrpsac-covering-price-table td,
.hrpsac-all-sheet-table th,
.hrpsac-all-sheet-table td,
.hrpsac-sonuc-table th,
.hrpsac-sonuc-table td,
.hrpsac-profil-table th,
.hrpsac-profil-table td {
    padding: 4px 6px !important;
    width: 1% !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
}

/* Ürün adı/açıklama hücrelerinin ihtiyaç halinde makul genişlemesine izin ver */
.hrpsac-price-table th:first-child,
.hrpsac-price-table td:first-child,
.hrpsac-table th:first-child,
.hrpsac-table td:first-child,
.hrpsac-dimension-table th:first-child,
.hrpsac-dimension-table td:first-child,
.hrpsac-covering-table th:first-child,
.hrpsac-covering-table td:first-child,
.hrpsac-covering-price-table th:first-child,
.hrpsac-covering-price-table td:first-child,
.hrpsac-all-sheet-table th:first-child,
.hrpsac-all-sheet-table td:first-child,
.hrpsac-sonuc-table th:first-child,
.hrpsac-sonuc-table td:first-child,
.hrpsac-profil-table th:first-child,
.hrpsac-profil-table td:first-child {
    width: auto !important;
}

/* Başlık ve tablo arasındaki aralığı daha da azalt */
.hrpsac-profil-title,
.hrpsac-profile-group-title,
.hrpsac-covering-section h2,
.hrpsac-covering-section h3,
.hrpsac-thickness-section h2,
.hrpsac-thickness-section h3 {
    margin-bottom: 4px !important;
}

/* Küçük ekranlarda da içerik genişliğini koru, yalnızca yatay kaydır */
@media screen and (max-width: 600px) {
    .hrpsac-price-table,
    .hrpsac-table,
    .hrpsac-dimension-table table,
    .hrpsac-covering-table,
    .hrpsac-covering-price-table,
    .hrpsac-all-sheet-table,
    .hrpsac-sonuc-table,
    .hrpsac-profil-table {
        width: max-content !important;
        min-width: 0 !important;
        font-size: 11px !important;
    }

    .hrpsac-price-table th,
    .hrpsac-price-table td,
    .hrpsac-table th,
    .hrpsac-table td,
    .hrpsac-dimension-table th,
    .hrpsac-dimension-table td,
    .hrpsac-covering-table th,
    .hrpsac-covering-table td,
    .hrpsac-covering-price-table th,
    .hrpsac-covering-price-table td,
    .hrpsac-all-sheet-table th,
    .hrpsac-all-sheet-table td,
    .hrpsac-sonuc-table th,
    .hrpsac-sonuc-table td,
    .hrpsac-profil-table th,
    .hrpsac-profil-table td {
        padding: 3px 5px !important;
    }
}

/* 2.0.7 — kart görünümü, seçimli kalınlık, koyu lacivert fiyatlar */
.hrpsac-profile-length-section,
.hrpsac-thickness-section,
.hrpsac-covering-section,
.hrpsac-dimension-table,
.hrpsac-table-scroll {
    width: fit-content !important;
    max-width: 100% !important;
}
.hrpsac-profile-length-section,
.hrpsac-thickness-section,
.hrpsac-covering-section {
    margin: 8px 0 14px !important;
}
.hrpsac-profil-title,
.hrpsac-thickness-section > h2,
.hrpsac-thickness-section > h3,
.hrpsac-covering-section > h2,
.hrpsac-covering-section > h3 {
    display: inline-block !important;
    width: auto !important;
    border-bottom: 2px solid #e87516 !important;
    padding: 0 0 4px !important;
    margin: 0 0 5px !important;
}
.hrpsac-table-scroll {
    overflow: auto !important;
    border: 1px solid rgba(18, 43, 66, .18) !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(18, 43, 66, .10) !important;
    background: #fff !important;
}
.hrpsac-table-scroll table {
    border: 0 !important;
    margin: 0 !important;
}
.hrpsac-price-table th:first-child { border-top-left-radius: 7px; }
.hrpsac-price-table th:last-child { border-top-right-radius: 7px; }
.hrpsac-price,
.hrpsac-price-table .hrpsac-price,
.hrpsac-table .hrpsac-price,
.hrpsac-calc-summary strong:last-child {
    color: #17324d !important;
}
.hrpsac-profile-searches select,
.hrpsac-profile-searches input {
    min-height: 32px !important;
    height: 32px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
}
.hrpsac-price-notice {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 8px 12px !important;
    margin: 0 0 10px !important;
    border: 1px solid #17324d !important;
    border-radius: 7px !important;
    background: #f7f9fb !important;
    color: #17324d !important;
    box-shadow: 0 2px 6px rgba(18,43,66,.08) !important;
    font-weight: 600 !important;
}

/* 2.0.8 — malzeme başlıkları, kompakt hesaplama ve beyaz güncelleme bilgisi */
.hrpsac-compact-calculator {
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
}
.hrpsac-compact-calculator .hrpsac-calc-title {
    display: inline-block !important;
    width: auto !important;
    margin: 0 0 6px !important;
    padding: 0 0 4px !important;
    border-bottom: 2px solid #e87516 !important;
}
.hrpsac-compact-calculator .hrpsac-calc-form {
    width: fit-content !important;
    max-width: 100% !important;
    padding: 9px 10px !important;
    margin: 0 0 8px !important;
    border-radius: 8px !important;
    box-shadow: 0 3px 10px rgba(18,43,66,.10) !important;
}
.hrpsac-compact-calculator .hrpsac-form-row {
    display: grid !important;
    grid-template-columns: minmax(220px, 360px) minmax(130px, 170px) minmax(130px, 170px) !important;
    gap: 8px !important;
    margin: 0 0 7px !important;
}
.hrpsac-compact-calculator .hrpsac-form-group {
    min-width: 0 !important;
}
.hrpsac-compact-calculator .hrpsac-form-group label {
    margin-bottom: 3px !important;
    font-size: 10px !important;
}
.hrpsac-compact-calculator .hrpsac-form-group select,
.hrpsac-compact-calculator .hrpsac-form-group input {
    min-height: 32px !important;
    height: 32px !important;
    padding: 4px 7px !important;
    font-size: 12px !important;
}
.hrpsac-compact-calculator .hrpsac-btn-hesapla {
    padding: 6px 16px !important;
    font-size: 12px !important;
}
.hrpsac-compact-calculator .hrpsac-calc-summary {
    width: fit-content !important;
    max-width: 100% !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}
.hrpsac-table-footer {
    width: fit-content !important;
    padding: 3px 7px !important;
    margin-top: 5px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #17324d !important;
    color: #fff !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
}
.hrpsac-table-footer span { color: #fff !important; }
@media screen and (max-width: 720px) {
    .hrpsac-compact-calculator .hrpsac-form-row {
        grid-template-columns: minmax(190px, 1fr) !important;
    }
    .hrpsac-compact-calculator,
    .hrpsac-compact-calculator .hrpsac-calc-form {
        width: 100% !important;
    }
}


/* 2.0.9 — görünmez güncelleme bilgisi ve belirgin toplam fiyat */
.hrpsac-table-footer {
    width: fit-content !important;
    padding: 0 !important;
    margin-top: 3px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 8px !important;
    line-height: 1 !important;
}
.hrpsac-table-footer span {
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.hrpsac-total-price {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: fit-content !important;
    min-width: 250px !important;
    max-width: 100% !important;
    margin-top: 10px !important;
    padding: 10px 15px !important;
    border: 1px solid #17324d !important;
    border-radius: 8px !important;
    background: #17324d !important;
    color: #fff !important;
    box-shadow: 0 3px 9px rgba(18,43,66,.16) !important;
    font-weight: 700 !important;
}
.hrpsac-total-price span {
    color: #fff !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: .2px !important;
}
.hrpsac-total-price strong {
    color: #fff !important;
    font-size: 21px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}
.hrpsac-sonuc-table tfoot tr {
    background: transparent !important;
}
.hrpsac-sonuc-table tfoot th {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.hrpsac-sonuc-table tfoot th[data-role="grand-total"] {
    border: 1px solid #17324d !important;
    border-radius: 7px !important;
    background: #17324d !important;
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    padding: 8px 13px !important;
    box-shadow: 0 3px 9px rgba(18,43,66,.14) !important;
}
@media screen and (max-width: 480px) {
    .hrpsac-total-price {
        min-width: 0 !important;
        width: 100% !important;
    }
    .hrpsac-total-price strong { font-size: 18px !important; }
}

/* 2.1.0 — hesaplama sonucu düzeltmesi ve daha estetik tablo/form görünümü */
.hrpsac-compact-calculator {
    max-width: 920px !important;
}
.hrpsac-compact-calculator .hrpsac-calc-form {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 920px !important;
    padding: 14px !important;
    border: 1px solid #d9e1e8 !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg,#ffffff 0%,#f7f9fb 100%) !important;
    box-shadow: 0 6px 18px rgba(18,43,66,.10) !important;
}
.hrpsac-compact-calculator .hrpsac-form-row {
    grid-template-columns: minmax(250px,1.6fr) minmax(150px,.75fr) minmax(150px,.75fr) !important;
    gap: 10px !important;
}
.hrpsac-compact-calculator .hrpsac-form-group label {
    color: #29445d !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .25px !important;
    text-transform: uppercase !important;
}
.hrpsac-compact-calculator .hrpsac-form-group select,
.hrpsac-compact-calculator .hrpsac-form-group input {
    height: 38px !important;
    min-height: 38px !important;
    padding: 6px 10px !important;
    border: 1px solid #cbd6df !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #17324d !important;
    box-shadow: inset 0 1px 2px rgba(18,43,66,.04) !important;
}
.hrpsac-compact-calculator .hrpsac-form-group select:focus,
.hrpsac-compact-calculator .hrpsac-form-group input:focus {
    outline: none !important;
    border-color: #3b82b6 !important;
    box-shadow: 0 0 0 3px rgba(59,130,182,.12) !important;
}
.hrpsac-compact-calculator .hrpsac-btn-hesapla {
    min-height: 36px !important;
    padding: 7px 20px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #17324d !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 10px rgba(18,43,66,.18) !important;
}
.hrpsac-compact-calculator .hrpsac-btn-hesapla:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 14px rgba(18,43,66,.22) !important;
}
.hrpsac-compact-calculator .hrpsac-calc-summary {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 10px 0 0 !important;
    padding: 13px 14px !important;
    border: 1px solid #d8e0e7 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #29445d !important;
    box-shadow: 0 5px 15px rgba(18,43,66,.08) !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}
.hrpsac-compact-calculator .hrpsac-calc-summary > strong:first-child {
    display: block !important;
    margin-bottom: 4px !important;
    color: #17324d !important;
    font-size: 14px !important;
}
.hrpsac-total-price {
    display: grid !important;
    grid-template-columns: auto minmax(130px,auto) !important;
    align-items: center !important;
    column-gap: 22px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-top: 12px !important;
    padding: 12px 15px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg,#17324d 0%,#244d70 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(18,43,66,.22) !important;
}
.hrpsac-total-price .hrpsac-total-label {
    color: #dce8f2 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .45px !important;
    text-transform: uppercase !important;
}
.hrpsac-total-price .hrpsac-total-value {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    text-align: right !important;
    white-space: nowrap !important;
}

/* Tüm fiyat tabloları */
.hrpsac-table-scroll {
    border: 1px solid #d6dfe7 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 5px 16px rgba(18,43,66,.09) !important;
}
.hrpsac-price-table,
.hrpsac-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #fff !important;
}
.hrpsac-price-table thead th,
.hrpsac-table thead th {
    padding: 7px 9px !important;
    border-right: 1px solid rgba(255,255,255,.16) !important;
    border-bottom: 0 !important;
    background: #17324d !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .2px !important;
}
.hrpsac-price-table tbody td,
.hrpsac-table tbody td {
    padding: 6px 9px !important;
    border-right: 1px solid #e1e7ec !important;
    border-bottom: 1px solid #e7ecf0 !important;
    background: #fff !important;
    color: #29445d !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
}
.hrpsac-price-table tbody tr:nth-child(even) td,
.hrpsac-table tbody tr:nth-child(even) td {
    background: #f7f9fb !important;
}
.hrpsac-price-table tbody tr:hover td,
.hrpsac-table tbody tr:hover td {
    background: #edf4f9 !important;
}
.hrpsac-price-table tbody tr:last-child td,
.hrpsac-table tbody tr:last-child td {
    border-bottom: 0 !important;
}
.hrpsac-price-table th:last-child,
.hrpsac-price-table td:last-child,
.hrpsac-table th:last-child,
.hrpsac-table td:last-child {
    border-right: 0 !important;
}
.hrpsac-price,
.hrpsac-price-table .hrpsac-price,
.hrpsac-table .hrpsac-price {
    color: #17324d !important;
    font-weight: 800 !important;
}
.hrpsac-profil-title,
.hrpsac-thickness-section > h2,
.hrpsac-thickness-section > h3,
.hrpsac-covering-section > h2,
.hrpsac-covering-section > h3 {
    border-bottom: 2px solid #e87516 !important;
    color: #17324d !important;
    font-weight: 800 !important;
}
@media screen and (max-width:720px) {
    .hrpsac-compact-calculator .hrpsac-form-row {
        grid-template-columns: 1fr !important;
    }
    .hrpsac-total-price {
        grid-template-columns: 1fr !important;
        row-gap: 4px !important;
    }
    .hrpsac-total-price .hrpsac-total-value {
        text-align: left !important;
        font-size: 21px !important;
    }
}

/* 2.1.1 Teklif listesi ve mavi/yeşil hesaplama görünümü */
.hrpsac-sac-calculator{max-width:980px;background:#fff;border-radius:14px;padding:16px;box-shadow:0 8px 24px rgba(15,42,70,.08)}
.hrpsac-calc-form{background:#fff;border:0;padding:0;margin:0 0 14px}
.hrpsac-form-row{gap:18px;border-bottom:1px solid #dfe5eb;padding-bottom:16px;margin-bottom:16px}
.hrpsac-btn-hesapla,.hrpsac-btn-liste{width:calc(50% - 8px);min-height:46px;border:0;border-radius:9px;color:#fff;font-size:15px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.hrpsac-btn-hesapla{background:#496bf5}.hrpsac-btn-liste{background:#14b88f;margin-left:12px}.hrpsac-btn-liste:hover{background:#0ea47f}
.hrpsac-calc-summary{margin-top:16px;background:#eaf5ff;border-left:4px solid #496bf5;border-radius:10px;padding:18px;color:#0455ae}
.hrpsac-result-line{display:flex;justify-content:space-between;gap:16px;font-size:17px;line-height:1.9}.hrpsac-result-line strong{font-weight:800}
.hrpsac-total-price{margin-top:12px;display:flex;justify-content:space-between;align-items:center;background:transparent!important;color:#0455ae!important;box-shadow:none!important;padding:0!important;border-radius:0!important;font-size:19px}.hrpsac-total-value{font-size:22px;font-weight:900}
.hrpsac-quote-list{margin-top:14px;border:1px solid #dbe4ed;border-radius:10px;overflow:hidden;background:#fff}.hrpsac-list-head,.hrpsac-list-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:9px 12px;border-bottom:1px solid #edf1f5}.hrpsac-list-head{grid-template-columns:1fr auto;background:#f5f8fb}.hrpsac-list-row button,.hrpsac-cart-row button{border:0;background:transparent;color:#a33;font-size:20px;cursor:pointer}.hrpsac-cart-link{display:block;text-align:center;padding:12px;background:#14b88f;color:#fff!important;font-weight:800;text-decoration:none!important}
.hrpsac-checkout{max-width:900px;margin:20px auto;background:#fff;padding:22px;border-radius:14px;box-shadow:0 8px 30px rgba(15,42,70,.1)}.hrpsac-cart-row{display:grid;grid-template-columns:1fr auto auto auto;gap:14px;padding:10px;border-bottom:1px solid #e8edf2}.hrpsac-cart-total{display:flex;justify-content:space-between;padding:16px;background:#eaf5ff;color:#0455ae;font-size:20px}.hrpsac-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.hrpsac-form-grid label{display:flex;flex-direction:column;gap:5px;font-weight:700}.hrpsac-form-grid input,.hrpsac-form-grid textarea{border:1px solid #ced8e2;border-radius:8px;padding:10px}.hrpsac-form-grid .hrpsac-full{grid-column:1/-1}.hrpsac-validation-note{font-size:12px;color:#66788a}.hrpsac-whatsapp-btn{width:100%;padding:13px;border:0;border-radius:9px;background:#14b88f;color:#fff;font-weight:900;font-size:16px}.hrpsac-whatsapp-btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:650px){.hrpsac-form-grid{grid-template-columns:1fr}.hrpsac-form-grid .hrpsac-full{grid-column:auto}.hrpsac-btn-hesapla,.hrpsac-btn-liste{width:100%;margin:7px 0 0}.hrpsac-result-line{font-size:14px}.hrpsac-cart-row{grid-template-columns:1fr auto}}

/* 2.2.0 - ortak teklif listesi, sipariş talep formu ve PDF/yazdırma */
.hrpsac-row-add{border:0;border-radius:6px;padding:5px 8px;background:#14b88f;color:#fff;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.hrpsac-row-add:hover{background:#0e9e79}
.hrpsac-order-warning{margin:12px 0 18px;padding:13px 15px;border:2px solid #e87516;border-radius:10px;background:#fff8ef;color:#60320c;font-size:13px;line-height:1.5}
.hrpsac-consent{display:grid!important;grid-template-columns:auto 1fr!important;align-items:start!important;gap:9px!important;padding:11px;border:1px solid #d8e1e8;border-radius:9px;background:#f7f9fb;font-weight:600!important;font-size:12px}
.hrpsac-consent input{width:18px;height:18px;margin:0}
.hrpsac-checkout-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hrpsac-pdf-btn,.hrpsac-whatsapp-btn{min-height:46px;padding:12px 18px;border:0;border-radius:9px;color:#fff;font-weight:900;font-size:14px;cursor:pointer}
.hrpsac-pdf-btn{background:#496bf5}.hrpsac-pdf-btn:hover{background:#3658e6}.hrpsac-whatsapp-btn{background:#14b88f}
.hrpsac-pdf-btn:disabled,.hrpsac-whatsapp-btn:disabled{opacity:.45;cursor:not-allowed}
.hrpsac-btn-liste[hidden]{display:none!important}
.hrpsac-compact-calculator>.hrpsac-btn-liste{width:100%;max-width:620px;margin:9px 0 0!important}
@media(max-width:650px){.hrpsac-checkout-actions{grid-template-columns:1fr}.hrpsac-row-add{display:block;margin-bottom:4px}}

/* Fiyat Paneli 2.3.0 */
.hrpsac-total-price{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;margin-top:14px!important;padding:16px 18px!important;border-radius:12px!important;background:#173b5d!important;color:#fff!important;box-shadow:0 7px 18px rgba(23,59,93,.18)!important}
.hrpsac-total-price .hrpsac-total-label{color:#fff!important;font-size:14px!important;font-weight:800!important;text-transform:uppercase!important}
.hrpsac-total-price .hrpsac-total-value{display:inline!important;visibility:visible!important;opacity:1!important;color:#fff!important;font-size:25px!important;font-weight:900!important;line-height:1.1!important}
.hrpsac-pdf-info{margin-top:10px;padding:9px 12px;border:1px solid #d7e2ec;border-radius:9px;background:#f5f9fc;color:#425d73;font-size:12px;line-height:1.45}
.hrpsac-checkout-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hrpsac-email-btn{border:0;border-radius:8px;padding:12px 14px;font-weight:800;cursor:pointer;background:#2469a5;color:#fff}.hrpsac-email-btn:disabled{opacity:.45;cursor:not-allowed}.igs-calculator .igs-quote-add,.igs-sac-calculator .igs-quote-add,.igs-panel-calculator .igs-quote-add{display:block;width:100%;margin:12px 0 0!important}
@media(max-width:650px){.hrpsac-checkout-actions{grid-template-columns:1fr!important}}

/* Fiyat Paneli 2.3.1 — sayfa içi fiyat tabloları için dengeli yerleşim */
.hrpsac-thickness-tables,
.hrpsac-all-sheet-table,
.hrpsac-covering-all,
.hrpsac-profile-all,
.hrpsac-dimension-table,
.hrpsac-table-wrapper {
    box-sizing: border-box !important;
}

/* Uyarı alanı tablo bloklarıyla aynı hizada ve gereksiz genişlikte olmasın */
.hrpsac-price-notice {
    width: min(100%, 880px) !important;
    box-sizing: border-box !important;
    margin: 0 0 18px !important;
    padding: 11px 14px !important;
    border: 1px solid #17324d !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    color: #17324d !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    box-shadow: 0 3px 10px rgba(23,50,77,.07) !important;
}

/* Ana ürün başlığı */
.hrpsac-thickness-tables > .hrpsac-profil-title,
.hrpsac-all-sheet-table > .hrpsac-profil-title {
    display: block !important;
    width: min(100%, 880px) !important;
    margin: 0 0 14px !important;
    padding: 0 0 7px !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
}

/* Her kalınlık bloğunu aynı genişlikte, düzenli bir kart gibi göster */
.hrpsac-thickness-section {
    display: block !important;
    width: min(100%, 720px) !important;
    max-width: 720px !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
}

.hrpsac-thickness-section > .hrpsac-profil-title,
.hrpsac-thickness-section > h2,
.hrpsac-thickness-section > h3 {
    display: inline-block !important;
    width: auto !important;
    margin: 0 0 7px !important;
    padding: 0 0 5px !important;
    color: #17324d !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    word-spacing: 3px !important;
    white-space: normal !important;
    border-bottom: 2px solid #e87516 !important;
}

/* Sayfa temasının başlıklardaki boşlukları ezmesini engelle */
.hrpsac-profil-title,
.hrpsac-profile-group-title,
.hrpsac-thickness-section h2,
.hrpsac-thickness-section h3 {
    font-family: inherit !important;
    text-transform: none !important;
    font-kerning: normal !important;
}

/* Sac fiyat tabloları sayfa içinde ne çok dar ne de gereksiz geniş olsun */
.hrpsac-thickness-section .hrpsac-table-scroll {
    display: block !important;
    width: 100% !important;
    max-width: 720px !important;
    overflow-x: auto !important;
    border: 1px solid #d8e1e8 !important;
    border-radius: 11px !important;
    background: #fff !important;
    box-shadow: 0 7px 18px rgba(23,50,77,.10) !important;
}

.hrpsac-thickness-section .hrpsac-price-table {
    width: 100% !important;
    min-width: 520px !important;
    table-layout: auto !important;
}

.hrpsac-thickness-section .hrpsac-price-table th,
.hrpsac-thickness-section .hrpsac-price-table td {
    padding: 8px 12px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

.hrpsac-thickness-section .hrpsac-price-table th:nth-child(1),
.hrpsac-thickness-section .hrpsac-price-table td:nth-child(1) {
    width: 42% !important;
}
.hrpsac-thickness-section .hrpsac-price-table th:nth-child(2),
.hrpsac-thickness-section .hrpsac-price-table td:nth-child(2) {
    width: 28% !important;
}
.hrpsac-thickness-section .hrpsac-price-table th:nth-child(3),
.hrpsac-thickness-section .hrpsac-price-table td:nth-child(3) {
    width: 30% !important;
}

/* Birleşik tüm fiyat tabloları biraz daha geniş olabilir */
.hrpsac-all-sheet-table .hrpsac-table-scroll,
.hrpsac-profile-all .hrpsac-table-scroll,
.hrpsac-covering-all .hrpsac-table-scroll {
    width: min(100%, 980px) !important;
    max-width: 980px !important;
}

/* Kalınlık blokları arasında görsel ritim */
.hrpsac-thickness-section + .hrpsac-thickness-section {
    margin-top: 4px !important;
}

/* Elementor/tema genişlik çatışmalarını önle */
.elementor-widget-container .hrpsac-thickness-tables,
.entry-content .hrpsac-thickness-tables,
.wp-block-post-content .hrpsac-thickness-tables {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

@media screen and (max-width: 767px) {
    .hrpsac-price-notice,
    .hrpsac-thickness-section,
    .hrpsac-thickness-section .hrpsac-table-scroll,
    .hrpsac-all-sheet-table .hrpsac-table-scroll {
        width: 100% !important;
        max-width: 100% !important;
    }

    .hrpsac-thickness-section {
        margin-bottom: 18px !important;
    }

    .hrpsac-thickness-section > .hrpsac-profil-title,
    .hrpsac-thickness-section > h2,
    .hrpsac-thickness-section > h3 {
        font-size: 16px !important;
        word-spacing: 2px !important;
    }

    .hrpsac-thickness-section .hrpsac-price-table {
        min-width: 470px !important;
    }

    .hrpsac-thickness-section .hrpsac-price-table th,
    .hrpsac-thickness-section .hrpsac-price-table td {
        padding: 7px 9px !important;
        font-size: 12px !important;
    }
}

/* Fiyat Paneli 2.3.2 — tüm fiyat tabloları sayfa ve mobil uyumu */
.hrpsac-thickness-tables,
.hrpsac-all-sheet-table,
.hrpsac-covering-all,
.hrpsac-profile-all,
.hrpsac-dimension-table,
.hrpsac-table-wrapper,
.hrpsac-profil-wrapper,
.hrpsac-covering-section,
.hrpsac-profile-length-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Bütün tablo taşıyıcıları yalnız kendi alanında kaydırılır; sayfayı taşırmaz. */
.hrpsac-table-scroll,
.hrpsac-long-list,
.hrpsac-profil-wrapper,
.hrpsac-covering-table,
.hrpsac-dimension-table {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible;
    box-sizing: border-box !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Önceki sürümlerdeki sabit 720/980 px sınırlarını kaldır. */
.hrpsac-thickness-section,
.hrpsac-thickness-section .hrpsac-table-scroll,
.hrpsac-all-sheet-table .hrpsac-table-scroll,
.hrpsac-profile-all .hrpsac-table-scroll,
.hrpsac-covering-all .hrpsac-table-scroll,
.hrpsac-price-notice,
.hrpsac-thickness-tables > .hrpsac-profil-title,
.hrpsac-all-sheet-table > .hrpsac-profil-title {
    width: 100% !important;
    max-width: 100% !important;
}

.hrpsac-thickness-section {
    min-width: 0 !important;
}

/* Tüm fiyat tabloları masaüstünde içerik alanını dengeli doldurur. */
table.hrpsac-price-table,
table.hrpsac-table,
table.hrpsac-profil-table,
table.hrpsac-covering-price-table,
table.hrpsac-sonuc-table,
table.hrpsac-cart-table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Genel hücre düzeni */
.hrpsac-price-table th,
.hrpsac-price-table td,
.hrpsac-table th,
.hrpsac-table td,
.hrpsac-profil-table th,
.hrpsac-profil-table td,
.hrpsac-covering-price-table th,
.hrpsac-covering-price-table td,
.hrpsac-sonuc-table th,
.hrpsac-sonuc-table td,
.hrpsac-cart-table th,
.hrpsac-cart-table td {
    box-sizing: border-box !important;
    padding: 7px 9px !important;
    line-height: 1.25 !important;
    vertical-align: middle !important;
}

/* Sayısal değerler bölünmesin; ürün/ebat alanları gerektiğinde satır kırabilsin. */
.hrpsac-price-table th:not(:first-child),
.hrpsac-price-table td:not(:first-child),
.hrpsac-table th:not(:first-child),
.hrpsac-table td:not(:first-child),
.hrpsac-profil-table th:not(:first-child),
.hrpsac-profil-table td:not(:first-child),
.hrpsac-covering-price-table th:not(:first-child),
.hrpsac-covering-price-table td:not(:first-child) {
    white-space: nowrap !important;
}

.hrpsac-price-table th:first-child,
.hrpsac-price-table td:first-child,
.hrpsac-table th:first-child,
.hrpsac-table td:first-child,
.hrpsac-profil-table th:first-child,
.hrpsac-profil-table td:first-child,
.hrpsac-covering-price-table th:first-child,
.hrpsac-covering-price-table td:first-child {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* Üç sütunlu sac tablolarında sütunlar her ekranda dengeli dağılsın. */
.hrpsac-thickness-section .hrpsac-price-table {
    min-width: 0 !important;
    table-layout: fixed !important;
}
.hrpsac-thickness-section .hrpsac-price-table th:nth-child(1),
.hrpsac-thickness-section .hrpsac-price-table td:nth-child(1) { width: 42% !important; }
.hrpsac-thickness-section .hrpsac-price-table th:nth-child(2),
.hrpsac-thickness-section .hrpsac-price-table td:nth-child(2) { width: 28% !important; }
.hrpsac-thickness-section .hrpsac-price-table th:nth-child(3),
.hrpsac-thickness-section .hrpsac-price-table td:nth-child(3) { width: 30% !important; }

/* Uzun profil/boru tablolarında okunabilir minimum genişlik ve kontrollü kaydırma. */
.hrpsac-profile-all .hrpsac-profil-table,
.hrpsac-profile-length-section .hrpsac-profil-table,
.hrpsac-long-list .hrpsac-profil-table {
    min-width: 620px !important;
}

/* Birleşik sac tablolarında çok sütun varsa kontrollü kaydırma. */
.hrpsac-all-sheet-table .hrpsac-price-table {
    min-width: 640px !important;
}

/* Kaplama/panel tabloları çoğu ekranda tamamen sığsın. */
.hrpsac-covering-section .hrpsac-covering-price-table,
.hrpsac-covering-all .hrpsac-covering-price-table {
    min-width: 0 !important;
}

/* Tema/Elementor kaynaklı dış taşmaları engelle. */
.entry-content,
.wp-block-post-content,
.elementor-widget-container,
.elementor-shortcode {
    min-width: 0;
}
.entry-content .hrpsac-table-scroll,
.wp-block-post-content .hrpsac-table-scroll,
.elementor-widget-container .hrpsac-table-scroll,
.elementor-shortcode .hrpsac-table-scroll {
    max-width: 100% !important;
}

@media screen and (max-width: 767px) {
    .hrpsac-price-notice {
        padding: 9px 10px !important;
        margin-bottom: 13px !important;
        font-size: 10.5px !important;
        line-height: 1.35 !important;
    }

    .hrpsac-thickness-section {
        margin-bottom: 16px !important;
    }

    .hrpsac-thickness-section > .hrpsac-profil-title,
    .hrpsac-thickness-section > h2,
    .hrpsac-thickness-section > h3,
    .hrpsac-profile-group-title,
    .hrpsac-covering-section > h2,
    .hrpsac-covering-section > h3 {
        max-width: 100% !important;
        font-size: 15px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
    }

    /* Üç sütunlu sac tabloları mobil ekranın içine tamamen sığdır. */
    .hrpsac-thickness-section .hrpsac-table-scroll {
        overflow-x: hidden !important;
    }
    .hrpsac-thickness-section .hrpsac-price-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
    }
    .hrpsac-thickness-section .hrpsac-price-table th,
    .hrpsac-thickness-section .hrpsac-price-table td {
        padding: 6px 5px !important;
        font-size: 10.5px !important;
        line-height: 1.2 !important;
    }
    .hrpsac-thickness-section .hrpsac-price-table th:first-child,
    .hrpsac-thickness-section .hrpsac-price-table td:first-child {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
    .hrpsac-thickness-section .hrpsac-price-table th:not(:first-child),
    .hrpsac-thickness-section .hrpsac-price-table td:not(:first-child) {
        white-space: nowrap !important;
    }

    /* Kaplama ve panel tablolarını da mümkün olduğu kadar ekrana sığdır. */
    .hrpsac-covering-section .hrpsac-covering-price-table,
    .hrpsac-covering-all .hrpsac-covering-price-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
    }
    .hrpsac-covering-price-table th,
    .hrpsac-covering-price-table td {
        padding: 6px 5px !important;
        font-size: 10.5px !important;
    }

    /* Çok sütunlu tablolar sayfayı değil yalnız kendi kutusunu kaydırsın. */
    .hrpsac-profile-all .hrpsac-table-scroll,
    .hrpsac-profile-length-section .hrpsac-table-scroll,
    .hrpsac-all-sheet-table .hrpsac-table-scroll,
    .hrpsac-long-list {
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
    }

    .hrpsac-profile-all .hrpsac-profil-table,
    .hrpsac-profile-length-section .hrpsac-profil-table,
    .hrpsac-long-list .hrpsac-profil-table {
        min-width: 540px !important;
    }
    .hrpsac-all-sheet-table .hrpsac-price-table {
        min-width: 560px !important;
    }

    .hrpsac-profil-table th,
    .hrpsac-profil-table td,
    .hrpsac-all-sheet-table .hrpsac-price-table th,
    .hrpsac-all-sheet-table .hrpsac-price-table td {
        padding: 6px 7px !important;
        font-size: 10.5px !important;
    }
}

@media screen and (max-width: 390px) {
    .hrpsac-thickness-section .hrpsac-price-table th,
    .hrpsac-thickness-section .hrpsac-price-table td,
    .hrpsac-covering-price-table th,
    .hrpsac-covering-price-table td {
        padding: 5px 4px !important;
        font-size: 9.5px !important;
    }
}

/* ==========================================================
 * Fiyat Paneli 2.4.0 — Ortak kurumsal tasarım sistemi
 * Bütün fiyat tabloları, kartlar ve hesaplama araçları
 * aynı genişlik, ritim ve responsive kuralları kullanır.
 * ========================================================== */
:root {
    --fp-navy: #173957;
    --fp-navy-dark: #102f4b;
    --fp-border: #d5e0e9;
    --fp-row: #f6f9fb;
    --fp-row-alt: #eef4f8;
    --fp-text: #18344f;
    --fp-muted: #617386;
    --fp-radius: 12px;
    --fp-shadow: 0 8px 24px rgba(16,47,75,.09);
}

/* Kısa kod çıktıları her temada içerik alanını tam ve dengeli kullansın. */
.hrpsac-table-wrapper,
.hrpsac-thickness-tables,
.hrpsac-covering-all,
.hrpsac-profile-all,
.hrpsac-all-sheet-table,
.hrpsac-sac-calculator,
.hrpsac-compact-calculator,
.hrpsac-checkout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Kalınlık ve uzunluk bloklarının dar kartta kalmasını kesin olarak iptal et. */
.hrpsac-thickness-section,
.hrpsac-covering-section,
.hrpsac-profile-length-section,
.hrpsac-profile-group,
.hrpsac-long-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 24px !important;
    box-sizing: border-box !important;
}

/* Her başlık kendi tablosu kadar geniş ve aynı hizada. */
.hrpsac-profil-title,
.hrpsac-profile-group-title,
.hrpsac-calc-title,
.hrpsac-thickness-section > h2,
.hrpsac-thickness-section > h3,
.hrpsac-covering-section > h2,
.hrpsac-covering-section > h3,
.hrpsac-profile-length-section > h2,
.hrpsac-profile-length-section > h3 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 10px !important;
    padding: 0 0 8px !important;
    color: var(--fp-text) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    border-bottom: 2px solid #e9781a !important;
}

/* Bilgi/uyarı kutusu sayfa alanıyla dengeli çalışsın. */
.hrpsac-price-notice {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 22px !important;
    padding: 12px 15px !important;
    border: 1px solid var(--fp-navy) !important;
    border-radius: 10px !important;
    background: #f8fbfd !important;
    color: var(--fp-text) !important;
    box-shadow: 0 3px 10px rgba(16,47,75,.05) !important;
}

/* Tablo kutusu her yerde aynı kurumsal kart görünümünde. */
.hrpsac-table-scroll,
.hrpsac-long-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overflow-y: visible;
    border: 1px solid var(--fp-border) !important;
    border-radius: var(--fp-radius) !important;
    background: #fff !important;
    box-shadow: var(--fp-shadow) !important;
    -webkit-overflow-scrolling: touch;
}

/* Kart içindeki tablo bütün kullanılabilir genişliği kullansın. */
.hrpsac-price-table,
.hrpsac-table,
.hrpsac-profil-table,
.hrpsac-covering-price-table,
.hrpsac-sonuc-table,
.hrpsac-cart-table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
    color: var(--fp-text) !important;
    background: #fff !important;
}

/* Başlık ve gövde ritmi. */
.hrpsac-price-table th,
.hrpsac-table th,
.hrpsac-profil-table th,
.hrpsac-covering-price-table th,
.hrpsac-sonuc-table th,
.hrpsac-cart-table th {
    padding: 9px 12px !important;
    background: var(--fp-navy) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    border-right: 1px solid rgba(255,255,255,.16) !important;
}
.hrpsac-price-table td,
.hrpsac-table td,
.hrpsac-profil-table td,
.hrpsac-covering-price-table td,
.hrpsac-sonuc-table td,
.hrpsac-cart-table td {
    padding: 9px 12px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    border-right: 1px solid var(--fp-border) !important;
    border-bottom: 1px solid var(--fp-border) !important;
    vertical-align: middle !important;
}
.hrpsac-price-table tbody tr:nth-child(even),
.hrpsac-table tbody tr:nth-child(even),
.hrpsac-profil-table tbody tr:nth-child(even),
.hrpsac-covering-price-table tbody tr:nth-child(even) {
    background: var(--fp-row) !important;
}
.hrpsac-price-table tbody tr:hover,
.hrpsac-table tbody tr:hover,
.hrpsac-profil-table tbody tr:hover,
.hrpsac-covering-price-table tbody tr:hover {
    background: var(--fp-row-alt) !important;
}

/* Fiyatlar her tabloda aynı koyu lacivert. */
.hrpsac-price,
.hrpsac-price-table td:last-child,
.hrpsac-covering-price-table td:last-child,
.hrpsac-profil-table td:last-child,
.hrpsac-sonuc-table td strong,
.hrpsac-cart-total,
[data-role="grand-total"] {
    color: var(--fp-navy-dark) !important;
    font-weight: 800 !important;
}

/* Üç sütunlu sac tabloları. */
.hrpsac-thickness-section .hrpsac-price-table th:nth-child(1),
.hrpsac-thickness-section .hrpsac-price-table td:nth-child(1) { width: 44% !important; }
.hrpsac-thickness-section .hrpsac-price-table th:nth-child(2),
.hrpsac-thickness-section .hrpsac-price-table td:nth-child(2) { width: 27% !important; }
.hrpsac-thickness-section .hrpsac-price-table th:nth-child(3),
.hrpsac-thickness-section .hrpsac-price-table td:nth-child(3) { width: 29% !important; }

/* Trapez/kaplama/panel tabloları: ürün alanı geniş, sayısal sütunlar dengeli. */
.hrpsac-covering-price-table th:first-child,
.hrpsac-covering-price-table td:first-child { width: 62% !important; }
.hrpsac-covering-price-table th:nth-child(2),
.hrpsac-covering-price-table td:nth-child(2) { width: 19% !important; }
.hrpsac-covering-price-table th:nth-child(3),
.hrpsac-covering-price-table td:nth-child(3) { width: 19% !important; }
.hrpsac-covering-price-table th:last-child,
.hrpsac-covering-price-table td:last-child { text-align: right !important; }

/* Profil ve boru tabloları. */
.hrpsac-profil-table th:nth-child(1),
.hrpsac-profil-table td:nth-child(1) { width: 34% !important; }
.hrpsac-profil-table th:nth-child(2),
.hrpsac-profil-table td:nth-child(2) { width: 20% !important; }
.hrpsac-profil-table th:nth-child(3),
.hrpsac-profil-table td:nth-child(3) { width: 23% !important; }
.hrpsac-profil-table th:nth-child(4),
.hrpsac-profil-table td:nth-child(4) { width: 23% !important; }

/* Hesaplama kartları da aynı sistemin parçası olsun. */
.hrpsac-calc-form,
.hrpsac-compact-calculator {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px !important;
    border: 1px solid var(--fp-border) !important;
    border-radius: var(--fp-radius) !important;
    background: #f9fbfd !important;
    box-shadow: var(--fp-shadow) !important;
}
.hrpsac-form-row {
    display: grid !important;
    grid-template-columns: minmax(240px,1.7fr) minmax(170px,.9fr) minmax(150px,.7fr) !important;
    gap: 12px !important;
    align-items: end !important;
}
.hrpsac-form-group { min-width: 0 !important; }
.hrpsac-form-group label {
    display: block !important;
    margin: 0 0 6px !important;
    color: var(--fp-text) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}
.hrpsac-form-group select,
.hrpsac-form-group input {
    width: 100% !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    border: 1px solid #c8d4de !important;
    border-radius: 8px !important;
    padding: 8px 11px !important;
    background: #fff !important;
}
.hrpsac-form-actions {
    display: flex !important;
    gap: 10px !important;
    margin-top: 12px !important;
}
.hrpsac-btn-hesapla,
.hrpsac-btn-liste,
.hrpsac-row-add {
    border-radius: 8px !important;
    min-height: 42px !important;
    padding: 9px 22px !important;
    font-weight: 800 !important;
}

/* Alt bloklar arasında tutarlı boşluk. */
.hrpsac-thickness-section + .hrpsac-thickness-section,
.hrpsac-covering-section + .hrpsac-covering-section,
.hrpsac-profile-length-section + .hrpsac-profile-length-section {
    margin-top: 26px !important;
}

/* Tablet ve mobil. */
@media screen and (max-width: 767px) {
    .hrpsac-price-notice {
        padding: 10px 11px !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    .hrpsac-profil-title,
    .hrpsac-profile-group-title,
    .hrpsac-calc-title,
    .hrpsac-thickness-section > h2,
    .hrpsac-thickness-section > h3,
    .hrpsac-covering-section > h2,
    .hrpsac-covering-section > h3 {
        font-size: 17px !important;
    }
    .hrpsac-price-table th,
    .hrpsac-table th,
    .hrpsac-profil-table th,
    .hrpsac-covering-price-table th,
    .hrpsac-sonuc-table th,
    .hrpsac-cart-table th {
        padding: 7px 6px !important;
        font-size: 9.5px !important;
    }
    .hrpsac-price-table td,
    .hrpsac-table td,
    .hrpsac-profil-table td,
    .hrpsac-covering-price-table td,
    .hrpsac-sonuc-table td,
    .hrpsac-cart-table td {
        padding: 7px 6px !important;
        font-size: 11px !important;
    }
    .hrpsac-thickness-section .hrpsac-price-table,
    .hrpsac-covering-price-table {
        min-width: 0 !important;
        width: 100% !important;
    }
    .hrpsac-profile-all .hrpsac-profil-table,
    .hrpsac-profile-length-section .hrpsac-profil-table,
    .hrpsac-long-list .hrpsac-profil-table,
    .hrpsac-all-sheet-table .hrpsac-price-table {
        min-width: 590px !important;
    }
    .hrpsac-form-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .hrpsac-form-actions {
        flex-direction: column !important;
    }
    .hrpsac-btn-hesapla,
    .hrpsac-btn-liste {
        width: 100% !important;
    }
}

@media screen and (max-width: 420px) {
    .hrpsac-price-table th,
    .hrpsac-covering-price-table th,
    .hrpsac-price-table td,
    .hrpsac-covering-price-table td {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .hrpsac-thickness-section .hrpsac-price-table th:nth-child(1),
    .hrpsac-thickness-section .hrpsac-price-table td:nth-child(1) { width: 43% !important; }
    .hrpsac-thickness-section .hrpsac-price-table th:nth-child(2),
    .hrpsac-thickness-section .hrpsac-price-table td:nth-child(2) { width: 28% !important; }
    .hrpsac-thickness-section .hrpsac-price-table th:nth-child(3),
    .hrpsac-thickness-section .hrpsac-price-table td:nth-child(3) { width: 29% !important; }
}

/* 2.6.0 — gerçek son güncelleme zamanı: çok küçük, açık gri ve arka plansız */
.hrpsac-table-footer,
.hrpsac-table-footer span {
    width: auto !important;
    padding: 0 !important;
    margin: 3px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #b7bec5 !important;
    font-size: 8px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}
