/* =========================================================
   Price Table (Horizontal) v2  -  acf/price-table-v2
   Marka rengi tek yerden yonetilir: --pt-brand
   ========================================================= */
.price-table-v2 {
    --pt-brand: #f6911d;
    --pt-brand-dark: #d97d14;
    --pt-brand-light: #fff4ea;
    --pt-brand-text: #c26b0a;
    --pt-line: #F1F3F5;
    --pt-line-strong: #E9ECEF;
    --pt-ink: #212529;
    --pt-muted: #6C757D;
}

/* Tema konteyneri dar kaldigi icin blogu biraz genisletiyoruz ki
   tum plan sutunlari masaustunde tek ekranda sigsin. */
.normal-width.price-table-v2 {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Tablonun ustundeki etiket ---------- */
/* Orn: "Monthly pricing" / "Monatliche Preise" / "Einmalige Zahlung".
   Fiyatlarin yanina donem eki yazmak yerine tek yerde soylemek daha
   sade duruyor ve uzun fiyatlarda satir kaymasi olmuyor. */
.price-table-v2 .table-label-row {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}
.price-table-v2 .table-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pt-brand);
    color: #FFFFFF;
    border: 1px solid var(--pt-brand);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.2px;
    padding: 11px 24px;
    border-radius: 22px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(246, 145, 29, 0.30);
}
.price-table-v2 .table-label svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.price-table-v2 .table-container {
    overflow-x: auto;
    border: 1px solid var(--pt-line-strong);
    border-radius: 20px;
    background: #FFFFFF;
    -webkit-overflow-scrolling: touch;
}
.price-table-v2 .table-container::-webkit-scrollbar {
    height: 8px;
}
.price-table-v2 .table-container::-webkit-scrollbar-track {
    background: #F8F9FA;
    border-radius: 4px;
}
.price-table-v2 .table-container::-webkit-scrollbar-thumb {
    background: #CED4DA;
    border-radius: 4px;
}

/* table-layout: fixed sayesinde sutunlar konteyner ne kadarsa ona bolusur,
   yani kaydirma cikmaz. Sadece cok dar telefonlarda min-width devreye girer. */
.price-table-v2 .price-table-grid {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}
.price-table-v2 th,
.price-table-v2 td {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ---------- Feature (sol) sutunu: yatay kaydirmada sabit ---------- */
.price-table-v2 .col-feature-head {
    position: sticky;
    left: 0;
    z-index: 3;
    width: 20%;
    background: #FFFFFF;
    box-shadow: 6px 0 8px -6px rgba(0, 0, 0, 0.08);
    padding: 14px 18px;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: -0.2px;
    color: var(--pt-ink);
    border-bottom: 1px solid var(--pt-line);
    white-space: normal;
    vertical-align: middle;
}
/* Sol ust hucre: yazi ortada asili kalmasin, plan isimleriyle ayni hizada bassin */
.price-table-v2 .col-head-title {
    z-index: 4;
    vertical-align: top;
    padding-top: 34px;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    border-bottom: 1px solid var(--pt-line-strong);
}
.price-table-v2 .feature-label {
    display: inline;
    vertical-align: middle;
}
.price-table-v2 tbody tr:last-child .col-feature-head {
    border-bottom: none;
}

/* ---------- Plan basliklari ---------- */
/* height:1px ile .plan-inner{height:100%} ikilisi, hucre icerigini esnek
   kutuya cevirip butonlari en alta yaslamak icin. Hucre bu yuzden 1px
   olmaz, satir yuksekligi icerige gore belirlenmeye devam eder. */
.price-table-v2 .col-plan {
    position: relative;
    height: 1px;
    padding: 34px 10px 22px;
    text-align: center;
    vertical-align: top;
    background: #FFFFFF;
    border-bottom: 1px solid var(--pt-line-strong);
    border-left: 1px solid var(--pt-line);
}
.price-table-v2 .plan-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.price-table-v2 .plan-info {
    flex: 0 0 auto;
}
/* Butonlar, sutun icerigi ne kadar uzun olursa olsun ayni cizgide dursun */
.price-table-v2 .plan-actions {
    margin-top: auto;
    padding-top: 16px;
}

.price-table-v2 .plan-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    background: var(--pt-brand);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(246, 145, 29, 0.35);
}
.price-table-v2 .plan-name {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: -0.4px;
    color: var(--pt-ink);
    text-align: center;
    margin: 0;
}
.price-table-v2 .col-highlighted .plan-name {
    color: var(--pt-brand-text);
}
.price-table-v2 .plan-subtitle {
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--pt-muted);
    margin-top: 4px;
    margin-bottom: 0;
    text-align: center;
    letter-spacing: 0;
}
.price-table-v2 .plan-price {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.6px;
    color: var(--pt-ink);
    margin-top: 12px;
}
/* Fiyatin yanindaki donem eki: /month, /Monat gibi. Fiyattan
   kucuk ve soluk olur ki rakam one cikmaya devam etsin. */
.price-table-v2 .plan-price-suffix {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: var(--pt-muted);
    white-space: nowrap;
}
.price-table-v2 .col-highlighted .plan-price-suffix {
    color: var(--pt-brand-text);
}
.price-table-v2 .plan-price-per-unit {
    display: inline-block;
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    line-height: 14px;
    color: var(--pt-muted);
    background: #F1F3F5;
    border-radius: 6px;
    padding: 3px 8px;
    margin-top: 6px;
    white-space: nowrap;
}
.price-table-v2 .col-highlighted .plan-price-per-unit {
    background: #FFE7CC;
    color: var(--pt-brand-text);
    font-weight: 600;
}

.price-table-v2 .plan-cta {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 17px;
    letter-spacing: -0.2px;
    color: var(--pt-ink);
    background: #FFFFFF;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid var(--pt-brand);
    border-radius: 38px;
    text-align: center;
    text-decoration: none;
    margin-top: 0;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.price-table-v2 .plan-cta:hover {
    background: var(--pt-brand-light);
    color: var(--pt-brand-text);
}
.price-table-v2 .plan-cta.fill {
    background: var(--pt-brand);
    border-color: var(--pt-brand);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(246, 145, 29, 0.25);
}
.price-table-v2 .plan-cta.fill:hover {
    background: var(--pt-brand-dark);
    border-color: var(--pt-brand-dark);
    color: #FFFFFF;
}
.price-table-v2 .plan-cta.plan-cta-ghost {
    border-color: var(--pt-line-strong);
    color: var(--pt-muted);
    box-shadow: none;
}
.price-table-v2 .plan-cta.plan-cta-ghost:hover {
    border-color: var(--pt-brand);
    color: var(--pt-brand-text);
    background: #FFFFFF;
}
.price-table-v2 .plan-cta + .plan-cta {
    margin-top: 8px;
}

/* ---------- Govde hucreleri ---------- */
.price-table-v2 td {
    padding: 12px 10px;
    text-align: center;
    background: #FFFFFF;
    border-bottom: 1px solid var(--pt-line);
    border-left: 1px solid var(--pt-line);
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #495057;
}
.price-table-v2 tbody tr:last-child td {
    border-bottom: none;
}
.price-table-v2 .cell-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.price-table-v2 .cell-check {
    color: #2FB344;
}
.price-table-v2 .cell-dash {
    color: #CED4DA;
}
.price-table-v2 .cell-text {
    color: #343A40;
}
.price-table-v2 .col-highlighted .cell-text {
    color: var(--pt-ink);
    font-weight: 600;
}

/* ---------- Vurgulu sutun: bastan sona tek cerceve ---------- */
.price-table-v2 th.col-highlighted,
.price-table-v2 td.col-highlighted {
    background: var(--pt-brand-light);
    border-left: 2px solid var(--pt-brand);
    border-right: 2px solid var(--pt-brand);
}
.price-table-v2 th.col-highlighted {
    border-top: 2px solid var(--pt-brand);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.price-table-v2 tbody tr:last-child td.col-highlighted {
    border-bottom: 2px solid var(--pt-brand);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
/* Vurgulu sutunun hemen sagindaki sutunda cift cizgi olusmasin */
.price-table-v2 .col-after-highlighted {
    border-left: 0;
}

/* ---------- Tooltip (hem feature etiketi hem tek hucre) ---------- */
.price-table-v2 .pt-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    color: var(--pt-brand);
    cursor: help;
    outline: none;
}
.price-table-v2 .pt-tooltip.feature-tooltip {
    margin-left: 5px;
}
.price-table-v2 .pt-tooltip:hover,
.price-table-v2 .pt-tooltip:focus {
    color: var(--pt-brand-dark);
}
.price-table-v2 .tooltip-bubble {
    display: none;
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background: #212529;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    z-index: 20;
    white-space: normal;
    text-align: left;
}
.price-table-v2 .tooltip-bubble::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #212529;
}
/* Sol sabit sutunda balon sola tasip kirpilmasin, saga dogru acilsin */
.price-table-v2 .col-feature-head .tooltip-bubble,
.price-table-v2 .col-first .tooltip-bubble {
    left: -14px;
    right: auto;
    transform: none;
}
.price-table-v2 .col-feature-head .tooltip-bubble::after,
.price-table-v2 .col-first .tooltip-bubble::after {
    left: 16px;
    right: auto;
    margin-left: 0;
}
/* Son sutunda balon saga tasmasin, sola dogru acilsin */
.price-table-v2 .col-last .tooltip-bubble {
    left: auto;
    right: -14px;
    transform: none;
}
.price-table-v2 .col-last .tooltip-bubble::after {
    left: auto;
    right: 16px;
    margin-left: 0;
}
.price-table-v2 .pt-tooltip:hover .tooltip-bubble,
.price-table-v2 .pt-tooltip:focus .tooltip-bubble,
.price-table-v2 .pt-tooltip:focus-within .tooltip-bubble {
    display: block;
}

/* ---------- Mobil kaydirma ipucu ---------- */
.price-table-v2 .table-scroll-hint {
    display: none;
    margin: 10px 0 0;
    text-align: center;
    font-size: 12px;
    color: var(--pt-muted);
}

.price-table-v2 .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ---------- Duyarli: ekran daraldikca kaydirma yerine kucult ---------- */
@media only screen and (max-width: 1200px) {
    .price-table-v2 .col-feature-head {
        padding: 12px 14px;
        font-size: 12.5px;
    }
    .price-table-v2 .col-plan {
        padding: 32px 8px 20px;
    }
    .price-table-v2 .col-head-title {
        padding-top: 32px;
    }
    .price-table-v2 .plan-price {
        font-size: 22px;
        line-height: 28px;
    }
}

@media only screen and (max-width: 991px) {
    .price-table-v2 .col-feature-head {
        padding: 11px 12px;
        font-size: 12px;
        line-height: 16px;
    }
    .price-table-v2 .col-head-title {
        font-size: 16px;
        padding-top: 30px;
    }
    .price-table-v2 .col-plan {
        padding: 30px 6px 18px;
    }
    .price-table-v2 .plan-name {
        font-size: 15px;
        line-height: 19px;
    }
    .price-table-v2 .plan-subtitle {
        font-size: 11px;
        line-height: 14px;
    }
    .price-table-v2 .plan-price {
        font-size: 19px;
        line-height: 24px;
    }
    .price-table-v2 .plan-price-per-unit {
        font-size: 10px;
        padding: 3px 6px;
    }
    .price-table-v2 .plan-actions {
        padding-top: 12px;
    }
    .price-table-v2 .plan-cta {
        font-size: 12px;
        padding: 9px 6px;
    }
    .price-table-v2 td {
        padding: 11px 6px;
        font-size: 12px;
        line-height: 16px;
    }
    .price-table-v2 .tooltip-bubble {
        width: 190px;
    }
}

@media only screen and (max-width: 767px) {
    .price-table-v2 .table-label {
        font-size: 13px;
        padding: 9px 18px;
        gap: 6px;
        white-space: normal;
    }
    .price-table-v2 .table-label svg {
        width: 15px;
        height: 15px;
    }
    .price-table-v2 .col-feature-head {
        padding: 10px;
        font-size: 11.5px;
    }
    .price-table-v2 .col-head-title {
        font-size: 14px;
        padding-top: 28px;
    }
    .price-table-v2 .plan-name {
        font-size: 13.5px;
    }
    .price-table-v2 .plan-price {
        font-size: 17px;
        line-height: 22px;
    }
    .price-table-v2 .plan-cta {
        font-size: 11px;
        padding: 8px 5px;
        border-radius: 20px;
    }
    .price-table-v2 td {
        padding: 10px 5px;
        font-size: 11.5px;
    }
    .price-table-v2 .tooltip-bubble {
        width: 170px;
    }
}

/* Bu genislikten sonra sutunlari daha fazla sikistirmak okunaksiz olur,
   sadece burada yatay kaydirmaya ve ipucu yazisina izin veriyoruz. */
@media only screen and (max-width: 599px) {
    .price-table-v2 .price-table-grid {
        min-width: 560px;
    }
    .price-table-v2 .table-scroll-hint {
        display: block;
    }
}

/* =========================================================
   NOT: Eski blok (acf/price-table) ile ayni sayfada bulundugunda
   onun stil dosyasi da yuklenir. Eski CSS'te .plan-name ve
   .plan-subtitle secicileri sarmalayici bir sinifa bagli olmadigi
   icin buraya sizabiliyor. Yukaridaki .plan-name ve .plan-subtitle
   kurallarindaki text-align, margin ve letter-spacing degerleri o
   sizintiyi kapatmak icin acikca yazilmistir, kaldirma.
   ========================================================= */
