/**
 * Paketler layout — Ticimax-style column pricing (structure only).
 * Turkinsoft indigo/slate palette. Loaded after paketler-modern.css.
 */

body.page-paketler-compact {
    background: #f4f6f8;
}

body.page-paketler-compact::before,
body.page-paketler-compact::after {
    display: none;
}

body.page-paketler-compact .turkinsoft-paketler-esnaf-pricing.turkinsoft-galerim-pricing {
    padding: 0.75rem 0 2.5rem;
    background: #f4f6f8;
}

body.page-paketler-compact .pk-block--plans-top {
    margin-top: 0;
    margin-bottom: 1.75rem;
}

body.page-paketler-compact .turkinsoft-paketler-esnaf-pricing .turkinsoft-galerim-pricing-inner {
    max-width: 1120px;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ——— Hero ——— */
body.page-paketler-compact .pk-hero-band {
    text-align: center;
    padding: 1.25rem 0 1.75rem;
    margin-bottom: 0.25rem;
}

body.page-paketler-compact .pk-hero-band .pk-breadcrumb {
    justify-content: center;
    margin-bottom: 0.85rem;
}

body.page-paketler-compact .pk-hero-band__title {
    margin: 0 auto 0.65rem;
    max-width: 18ch;
    font-size: clamp(1.7rem, 4.6vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: #0f172a;
}

body.page-paketler-compact .pk-hero-band__sub {
    margin: 0 auto 1.15rem;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #64748b;
}

body.page-paketler-compact .pk-hero-band__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

body.page-paketler-compact .pk-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.page-paketler-compact .pk-hero-cta--primary {
    background: #4f46e5;
    color: #fff;
    border: 1px solid #4f46e5;
}

body.page-paketler-compact .pk-hero-cta--primary:hover {
    background: #4338ca;
}

body.page-paketler-compact .pk-hero-cta--ghost {
    background: #fff;
    color: #334155;
    border: 1px solid #dbe1ea;
}

body.page-paketler-compact .pk-hero-cta--ghost:hover {
    border-color: #94a3b8;
    color: #0f172a;
}

body.page-paketler-compact .pk-trust {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 auto;
    padding: 0.85rem;
    max-width: 52rem;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
}

body.page-paketler-compact .pk-trust li {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.35rem 0.5rem;
    text-align: left;
    border-left: 3px solid #e2e8f0;
}

body.page-paketler-compact .pk-trust li:nth-child(1) { border-left-color: #22c55e; }
body.page-paketler-compact .pk-trust li:nth-child(2) { border-left-color: #4f46e5; }
body.page-paketler-compact .pk-trust li:nth-child(3) { border-left-color: #6366f1; }
body.page-paketler-compact .pk-trust li:nth-child(4) { border-left-color: #0f172a; }

body.page-paketler-compact .pk-trust strong {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
}

body.page-paketler-compact .pk-trust span {
    font-size: 0.75rem;
    color: #64748b;
}

@media (min-width: 768px) {
    body.page-paketler-compact .pk-trust {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 1rem 1.1rem;
    }
}

/* ——— Section headings ——— */
body.page-paketler-compact .pk-block {
    margin: 0 0 2rem;
}

body.page-paketler-compact .pk-block__heading {
    text-align: center;
    margin-bottom: 1.15rem;
}

body.page-paketler-compact .pk-block__title {
    margin: 0 0 0.3rem;
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

body.page-paketler-compact .pk-block__lead {
    margin: 0 auto;
    max-width: 38rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
}

body.page-paketler-compact .pk-block__lead a {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}

body.page-paketler-compact .pk-block__lead a:hover {
    text-decoration: underline;
}

/* ——— Plan columns (Ticimax equal-height cards) ——— */
body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 920px;
    margin: 0 auto;
    align-items: stretch;
}

@media (min-width: 800px) {
    body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card.pricing-card {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start !important;
    gap: 0;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.5rem 1.25rem 1.2rem !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
    overflow: visible;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card.pricing-card::before,
body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card.pricing-card::after {
    display: none !important;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card.pricing-card:hover {
    transform: none !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card--featured {
    border-color: #4f46e5 !important;
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.14) !important;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-plan-ribbon {
    position: static;
    transform: none;
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 0.7rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: none;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .turkinsoft-esnaf-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.65rem !important;
    font-weight: 800;
    letter-spacing: -0.03em;
    padding-right: 0;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-card-lead {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* Big price like Ticimax */
body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .turkinsoft-esnaf-price-block.pricing-price {
    width: 100%;
    margin: 0 0 0.85rem;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-price-duo {
    display: block;
    width: auto;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-price-duo__col {
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-price-duo__label {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-price-duo__amount,
body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-price-free {
    font-size: clamp(1.85rem, 4vw, 2.35rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-price-free {
    color: #047857 !important;
    -webkit-text-fill-color: #047857 !important;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-price-duo__hint,
body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-billing-note {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-align: left;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .price-vat-suffix {
    font-size: 0.42em;
    font-weight: 700;
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
}

/* CTA after price on mobile; bottom of card on desktop */
body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card {
    display: flex !important;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card__top { order: 1; }
body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card__cta { order: 2; }
body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .turkinsoft-esnaf-features-mount { order: 3; flex: 1; }
body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-ideal-tags { order: 4; }

@media (min-width: 800px) {
    body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card__cta {
        order: 5;
        margin-top: auto;
    }
    body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-ideal-tags {
        order: 4;
    }
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .turkinsoft-esnaf-card-actions {
    padding: 0 0 1rem;
    margin: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .turkinsoft-esnaf-card-actions .pricing-button {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card__secondary {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card__secondary:hover {
    text-decoration: underline;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .turkinsoft-esnaf-features-mount > .turkinsoft-pkg-features::before {
    content: 'Paket içeriği';
    margin-bottom: 0.55rem;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card ul.turkinsoft-pkg-features {
    font-size: 0.875rem !important;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .turkinsoft-pkg-feature {
    margin-bottom: 0.45rem !important;
    padding-left: 1.55rem;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-features--truncated:not(.pk-features--expanded) .turkinsoft-pkg-feature:nth-child(n + 7) {
    display: none;
}

body.page-paketler-compact .pk-features-toggle {
    display: block;
    width: 100%;
    margin-top: 0.45rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
}

body.page-paketler-compact .pk-features-toggle:hover {
    color: #4338ca;
    border-color: #c7d2fe;
    background: #eef2ff;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-plan-card .pk-ideal-tags {
    margin: 0.85rem 0 0;
}

/* ——— Add-on directory ——— */
body.page-paketler-compact .pk-block--addons {
    margin-bottom: 1.75rem;
}

body.page-paketler-compact .pk-addon-list {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    gap: 0;
}

body.page-paketler-compact .pk-addon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "copy price"
        "cta cta";
    gap: 0.35rem 1rem;
    align-items: center;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #eef2f6;
    border-radius: 0;
}

body.page-paketler-compact .pk-addon-row:last-child {
    border-bottom: 0;
}

body.page-paketler-compact .pk-addon-row:hover {
    background: #f8fafc;
}

body.page-paketler-compact .pk-addon-row__copy {
    grid-area: copy;
    min-width: 0;
}

body.page-paketler-compact .pk-addon-row__price {
    grid-area: price;
}

body.page-paketler-compact .pk-addon-row__cta {
    grid-area: cta;
}

@media (min-width: 840px) {
    body.page-paketler-compact .pk-addon-row {
        grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 11rem) 8.5rem;
        grid-template-areas: "copy price cta";
        column-gap: 1.25rem;
        padding: 0.8rem 1.15rem;
    }
}

body.page-paketler-compact .pk-addon-row__require-pro {
    display: inline-flex;
    align-items: center;
    margin: 0.35rem 0 0;
    padding: 0.2rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #4338ca;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
}

body.page-paketler-compact .pk-addon-row__kicker {
    display: inline-block;
    margin: 0 0 0.12rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

body.page-paketler-compact .pk-addon-row h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0f172a;
}

body.page-paketler-compact .pk-addon-row .pk-card-lead {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #64748b;
}

body.page-paketler-compact .pk-addon-row__price {
    display: flex !important;
    flex-direction: column;
    gap: 0.05rem;
    text-align: right;
    align-items: flex-end;
    justify-content: center;
}

body.page-paketler-compact .pk-addon-price__main {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
}

body.page-paketler-compact .pk-addon-price__main small {
    margin-left: 0.15rem;
    font-size: 0.68em;
    font-weight: 700;
    color: #64748b;
}

body.page-paketler-compact .pk-addon-price__sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}

body.page-paketler-compact .pk-addon-price__old {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-decoration: line-through;
}

body.page-paketler-compact .pk-addon-row .turkinsoft-esnaf-card-actions {
    padding: 0;
    margin: 0;
    border: 0;
}

body.page-paketler-compact .pk-addon-row .pricing-button {
    width: 100%;
    min-height: 2.35rem;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

body.page-paketler-compact .pk-addon-row .turkinsoft-esnaf-card-actions--dual {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-addon-row .pk-business-campaigns,
body.page-paketler-compact .pk-addon-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    margin: 0.4rem 0 0;
}

body.page-paketler-compact .pk-addon-row__chip,
body.page-paketler-compact .pk-addon-row .pk-plan-explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-height: 1.55rem;
    padding: 0.12rem 0.5rem;
    border: 1px solid #e2e8f0 !important;
    border-radius: 999px;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none !important;
    cursor: pointer;
}

body.page-paketler-compact .pk-addon-row__chip:hover,
body.page-paketler-compact .pk-addon-row .pk-plan-explore-btn:hover {
    border-color: #c7d2fe !important;
    background: #eef2ff !important;
    color: #4338ca !important;
}

body.page-paketler-compact #turkinsoftPackagesEsnaf .pk-addon-row .pk-campaign-teaser {
    display: none;
}

/* ——— Compare ——— */
body.page-paketler-compact .pk-compare-wrap {
    max-width: 100%;
    margin: 0.5rem 0 0;
    padding: 0;
}

body.page-paketler-compact .pk-compare-title {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

body.page-paketler-compact .pk-compare-sub {
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}

body.page-paketler-compact .pk-compare-scroll {
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
}

body.page-paketler-compact .pk-compare-table {
    min-width: 540px;
    font-size: 0.82rem;
}

body.page-paketler-compact .pk-compare-table th,
body.page-paketler-compact .pk-compare-table td {
    padding: 0.55rem 0.7rem;
}

body.page-paketler-compact .pk-compare-table thead th:first-child,
body.page-paketler-compact .pk-compare-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 4px 0 8px rgba(15, 23, 42, 0.04);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
    vertical-align: top;
}

body.page-paketler-compact .pk-compare-table thead th:first-child {
    background: #f8fafc;
}

body.page-paketler-compact .pk-compare-table tbody tr:nth-child(even) td:first-child {
    background: #fafafa;
}

body.page-paketler-compact .pk-compare-table col.pk-compare-col-feature {
    width: 42%;
}

body.page-paketler-compact .pk-compare-table col.pk-compare-col-plan {
    width: 29%;
}

body.page-paketler-compact .pk-plans-footnote {
    margin-top: 1rem;
    font-size: 0.8rem;
}

body.page-paketler-compact section.faq {
    padding: 1.75rem 1rem 2.5rem;
    background: #fff;
}

body.page-paketler-compact .faq h3 {
    font-size: 1.2rem;
}

body.page-paketler-compact .pricing-card.popular {
    transform: none !important;
    scale: 1 !important;
}

@media (max-width: 799px) {
    body.page-paketler-compact .pk-hero-band {
        padding: 0.75rem 0 1.15rem;
        text-align: left;
    }

    body.page-paketler-compact .pk-hero-band .pk-breadcrumb {
        justify-content: flex-start;
    }

    body.page-paketler-compact .pk-hero-band__title {
        max-width: none;
        font-size: 1.7rem;
    }

    body.page-paketler-compact .pk-hero-band__ctas {
        justify-content: stretch;
    }

    body.page-paketler-compact .pk-hero-cta {
        flex: 1;
        min-width: 0;
    }

    body.page-paketler-compact .pk-block__heading {
        text-align: left;
    }

    body.page-paketler-compact .pk-block__lead {
        margin: 0;
    }

    body.page-paketler-compact .pk-compare-title,
    body.page-paketler-compact .pk-compare-sub,
    body.page-paketler-compact .pk-plans-footnote {
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }

    body.page-paketler-compact .pk-compare-table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    body.page-paketler-compact .pk-compare-table th,
    body.page-paketler-compact .pk-compare-table td {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        vertical-align: top;
        padding: 0.5rem 0.4rem;
    }

    body.page-paketler-compact .pk-compare-table thead th:first-child,
    body.page-paketler-compact .pk-compare-table tbody td:first-child {
        width: 42%;
        max-width: 10.75rem;
        padding-left: 0.55rem;
        padding-right: 0.45rem;
        font-size: 0.78rem;
    }

    body.page-paketler-compact .pk-compare-table thead th:not(:first-child),
    body.page-paketler-compact .pk-compare-table tbody td:not(:first-child) {
        width: 29%;
        font-size: 0.76rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    body.page-paketler-compact .pk-compare-table .pk-addon,
    body.page-paketler-compact .pk-compare-table .pk-partial {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    body.page-paketler-compact .pk-compare-table .pk-cat-row td {
        font-size: 0.65rem;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
}
