/* ===========================================================================
   Plaket Evi — paylaşılan bileşen katmanı
   ---------------------------------------------------------------------------
   Litho temasının üzerine binen, iki demonun da kullandığı bileşenler.
   Renk / tipografi kararları burada değil, her demonun kendi CSS dosyasında
   tanımlanan değişkenlerde tutulur. Böylece aynı işaretleme iki farklı
   tasarımda çalışabilir.
   =========================================================================== */

:root {
    /* Aşağıdaki varsayılanlar demo CSS'i yüklenmezse de sayfanın okunur
       kalmasını sağlar; gerçek değerler demo dosyalarında ezilir. */
    --pe-ink: #101828;
    --pe-ink-soft: #475467;
    --pe-muted: #667085;
    --pe-line: #e4e7ec;
    --pe-line-strong: #d0d5dd;
    --pe-surface: #ffffff;
    --pe-surface-alt: #f8f9fb;
    --pe-inverse: #101828;
    --pe-inverse-ink: #ffffff;
    --pe-accent: #c9a227;
    --pe-accent-ink: #101828;
    --pe-accent-soft: rgba(201, 162, 39, .12);

    --pe-radius-sm: 4px;
    --pe-radius: 8px;
    --pe-radius-lg: 16px;

    --pe-shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --pe-shadow: 0 6px 24px rgba(16, 24, 40, .08);
    --pe-shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);

    --pe-font-display: 'Poppins', sans-serif;
    --pe-font-body: 'Roboto', sans-serif;

    --pe-section-y: 100px;
    --pe-section-y-sm: 64px;
}

/* --------------------------------------------------------------- temeller */

body {
    font-family: var(--pe-font-body);
    color: var(--pe-ink-soft);
}

.pe-display,
.pe-section__title,
.pe-hero__title {
    font-family: var(--pe-font-display);
    color: var(--pe-ink);
}

a { color: inherit; }

.pe-accent { color: var(--pe-accent); }
.pe-ink { color: var(--pe-ink); }
.pe-muted { color: var(--pe-muted); }

/* Ekran okuyucular için görünmez ama erişilebilir metin. */
.pe-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pe-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--pe-inverse);
    color: var(--pe-inverse-ink);
    border-radius: 0 0 var(--pe-radius) 0;
}

.pe-skip-link:focus { left: 0; }

/* Klavye ile gezinenler için görünür odak halkası. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--pe-accent);
    outline-offset: 3px;
    border-radius: var(--pe-radius-sm);
}

/* ---------------------------------------------------------------- bölümler */

.pe-section {
    padding-top: var(--pe-section-y);
    padding-bottom: var(--pe-section-y);
}

.pe-section--tight {
    padding-top: var(--pe-section-y-sm);
    padding-bottom: var(--pe-section-y-sm);
}

.pe-section--alt { background: var(--pe-surface-alt); }
.pe-section--inverse { background: var(--pe-inverse); color: rgba(255, 255, 255, .72); }
.pe-section--inverse .pe-section__title,
.pe-section--inverse .pe-display { color: var(--pe-inverse-ink); }

.pe-section__eyebrow {
    display: inline-block;
    font-family: var(--pe-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pe-accent);
    margin-bottom: 14px;
}

.pe-section__title {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.22;
    font-weight: 600;
    margin-bottom: 16px;
}

.pe-section__lead {
    font-size: 17px;
    line-height: 1.75;
    max-width: 62ch;
}

.pe-section__head { margin-bottom: 48px; }
.pe-section__head--center { text-align: center; }
.pe-section__head--center .pe-section__lead { margin-inline: auto; }

.pe-rule {
    width: 56px;
    height: 2px;
    background: var(--pe-accent);
    border: 0;
    opacity: 1;
    margin: 0 0 22px;
}

.pe-section__head--center .pe-rule { margin-inline: auto; }

/* ---------------------------------------------------------------- butonlar */

.pe-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--pe-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--pe-radius);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    text-decoration: none;
    white-space: nowrap;
    flex: 0 0 auto;
}

.pe-btn:hover { transform: translateY(-1px); }

.pe-btn--primary {
    background: var(--pe-accent);
    color: var(--pe-accent-ink);
}

.pe-btn--primary:hover {
    background: var(--pe-ink);
    color: #fff;
}

.pe-btn--dark {
    background: var(--pe-ink);
    color: #fff;
}

.pe-btn--dark:hover {
    background: var(--pe-accent);
    color: var(--pe-accent-ink);
}

.pe-btn--ghost {
    background: transparent;
    color: var(--pe-ink);
    border-color: var(--pe-line-strong);
}

.pe-btn--ghost:hover {
    border-color: var(--pe-ink);
    background: var(--pe-ink);
    color: #fff;
}

.pe-btn--light {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
}

.pe-btn--light:hover { background: #fff; color: var(--pe-ink); }

.pe-btn--sm { padding: 10px 18px; font-size: 11px; }
.pe-btn--block { width: 100%; justify-content: center; }

.pe-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--pe-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--pe-accent);
    padding-bottom: 2px;
    transition: gap .2s ease, color .2s ease;
}

.pe-link:hover { gap: 14px; color: var(--pe-accent); }

/* ------------------------------------------------------------------ rozet */

.pe-badge {
    display: inline-block;
    padding: 5px 11px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 100px;
    background: var(--pe-accent);
    color: var(--pe-accent-ink);
    line-height: 1.4;
}

.pe-badge--muted { background: var(--pe-surface-alt); color: var(--pe-muted); }
.pe-badge--outline { background: transparent; border: 1px solid var(--pe-line-strong); color: var(--pe-ink-soft); }
.pe-badge--stock { background: #ecfdf3; color: #027a48; }
.pe-badge--order { background: #fff6ed; color: #b93815; }

/* ------------------------------------------------------------- ürün kartı */

.pe-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--pe-surface);
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.pe-product-card:hover {
    border-color: var(--pe-line-strong);
    box-shadow: var(--pe-shadow);
    transform: translateY(-3px);
}

.pe-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    background: var(--pe-surface-alt);
    overflow: hidden;
}

.pe-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.pe-product-card:hover .pe-product-card__media img { transform: scale(1.04); }

.pe-product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.pe-product-card__quick {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 2;
}

.pe-product-card:hover .pe-product-card__quick,
.pe-product-card:focus-within .pe-product-card__quick {
    opacity: 1;
    transform: translateY(0);
}

.pe-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 18px 18px 20px;
}

.pe-product-card__sku {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--pe-muted);
    margin-bottom: 8px;
}

.pe-product-card__title {
    font-family: var(--pe-font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--pe-ink);
    margin: 0 0 10px;
}

.pe-product-card__title a { text-decoration: none; }
.pe-product-card__title a:hover { color: var(--pe-accent); }

.pe-product-card__meta {
    font-size: 13px;
    color: var(--pe-muted);
    margin: 0 0 14px;
}

.pe-product-card__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--pe-line);
}

.pe-product-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.pe-product-card__tag {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 100px;
    background: var(--pe-surface-alt);
    color: var(--pe-ink-soft);
}

/* --------------------------------------------------------------- ızgaralar */

.pe-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.pe-grid--compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.pe-grid--wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }

@media (max-width: 575px) {
    .pe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .pe-grid--wide { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------- ikon kartı */

.pe-feature {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 32px 28px;
    background: var(--pe-surface);
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.pe-feature:hover { border-color: var(--pe-accent); box-shadow: var(--pe-shadow-sm); }

.pe-feature__icon {
    font-size: 34px;
    line-height: 1;
    color: var(--pe-accent);
}

.pe-feature__title {
    font-family: var(--pe-font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--pe-ink);
    margin: 0;
}

.pe-feature__text { font-size: 15px; line-height: 1.7; margin: 0; }

/* ----------------------------------------------------------------- sayılar */

.pe-stat { text-align: center; }

.pe-stat__value {
    font-family: var(--pe-font-display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 600;
    line-height: 1;
    color: var(--pe-ink);
}

.pe-stat__label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--pe-muted);
}

.pe-section--inverse .pe-stat__value { color: var(--pe-inverse-ink); }
.pe-section--inverse .pe-stat__label { color: rgba(255, 255, 255, .62); }

/* ---------------------------------------------------------------- adımlar */

.pe-steps { counter-reset: pe-step; display: grid; gap: 2px; }

.pe-step {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 28px;
    padding: 30px 0;
    border-top: 1px solid var(--pe-line);
}

.pe-step:last-child { border-bottom: 1px solid var(--pe-line); }

.pe-step__no {
    /* Serif basliklarda 0 ile O birbirine benziyor; numaralar govde fontunda. */
    font-family: var(--pe-font-body);
    font-size: 34px;
    font-weight: 600;
    color: var(--pe-line-strong);
    line-height: 1;
}

.pe-step__title {
    font-family: var(--pe-font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--pe-ink);
    margin: 0 0 8px;
}

.pe-step__text { margin: 0 0 10px; line-height: 1.75; }

.pe-step__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13px;
    color: var(--pe-muted);
}

.pe-step__meta span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 767px) {
    .pe-step { grid-template-columns: 1fr; gap: 10px; }
    .pe-step__no { font-size: 24px; }
}

/* ------------------------------------------------------------------- SSS */

.pe-faq { border-top: 1px solid var(--pe-line); }

.pe-faq details {
    border-bottom: 1px solid var(--pe-line);
}

.pe-faq summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--pe-font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--pe-ink);
}

.pe-faq summary::-webkit-details-marker { display: none; }

.pe-faq summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
    color: var(--pe-accent);
    transition: transform .2s ease;
}

.pe-faq details[open] summary::after { content: '−'; }

.pe-faq__answer {
    padding: 0 0 24px;
    max-width: 78ch;
    line-height: 1.8;
}

/* ------------------------------------------------------------- alıntılar */

.pe-quote {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 20px;
    padding: 32px;
    background: var(--pe-surface);
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
}

.pe-quote__stars { color: var(--pe-accent); font-size: 13px; letter-spacing: 3px; }

.pe-quote__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--pe-ink-soft);
    margin: 0;
}

.pe-quote__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }

.pe-quote__avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pe-accent-soft);
    color: var(--pe-accent);
    font-weight: 700;
    font-size: 14px;
}

.pe-quote__name { font-weight: 600; color: var(--pe-ink); font-size: 14px; }
.pe-quote__role { font-size: 13px; color: var(--pe-muted); }

/* ------------------------------------------------------------- referanslar */

.pe-logo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1px;
    background: var(--pe-line);
    border: 1px solid var(--pe-line);
}

.pe-logo-wall__item {
    background: var(--pe-surface);
    padding: 30px 20px;
    text-align: center;
    transition: background-color .2s ease;
}

.pe-logo-wall__item:hover { background: var(--pe-surface-alt); }

.pe-logo-wall__mark {
    font-family: var(--pe-font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--pe-ink);
}

.pe-logo-wall__name { display: block; margin-top: 6px; font-size: 12px; color: var(--pe-muted); }

/* Logo yüklenmiş referans: sabit yükseklikte ortalı, boşta gri tonlu, üzerine gelince renkli */
.pe-logo-wall__item--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 24px 28px;
}

.pe-logo-wall__img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .7;
    transition: filter .25s ease, opacity .25s ease;
}

.pe-logo-wall__item--logo:hover .pe-logo-wall__img,
.pe-logo-wall__item--logo:focus-within .pe-logo-wall__img { filter: none; opacity: 1; }

.pe-case__logo { display: block; width: auto; max-width: 120px; max-height: 36px; object-fit: contain; }

/* ------------------------------------------------------------ ekmek kırıntısı */

.pe-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.pe-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.pe-crumbs li + li::before { content: '/'; opacity: .45; }
.pe-crumbs a { text-decoration: none; opacity: .8; }
.pe-crumbs a:hover { opacity: 1; color: var(--pe-accent); }
.pe-crumbs [aria-current='page'] { font-weight: 600; }

/* -------------------------------------------------------------- sayfa başlığı */

.pe-pagehead {
    background: var(--pe-inverse);
    color: rgba(255, 255, 255, .75);
    padding: 44px 0 36px;
}

.pe-pagehead__title {
    font-family: var(--pe-font-display);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
}

.pe-pagehead__lead { max-width: 70ch; font-size: 16px; line-height: 1.75; margin: 0 0 18px; }
.pe-pagehead .pe-crumbs { color: rgba(255, 255, 255, .62); }

/* ------------------------------------------------------------------ filtre */

.pe-filters {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding-right: 6px;
}

.pe-filter-group + .pe-filter-group { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--pe-line); }

.pe-filter-group__title {
    font-family: var(--pe-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pe-ink);
    margin: 0 0 14px;
}

.pe-filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    text-decoration: none;
    color: var(--pe-ink-soft);
}

.pe-filter-option:hover { color: var(--pe-accent); }
.pe-filter-option[data-selected='true'] { color: var(--pe-ink); font-weight: 600; }

.pe-filter-option__box {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border: 1px solid var(--pe-line-strong);
    border-radius: 3px;
    display: grid;
    place-items: center;
    font-size: 10px;
    color: transparent;
}

.pe-filter-option[data-selected='true'] .pe-filter-option__box {
    background: var(--pe-accent);
    border-color: var(--pe-accent);
    color: var(--pe-accent-ink);
}

.pe-filter-option__label { flex: 1 1 auto; }
.pe-filter-option__count { font-size: 12px; color: var(--pe-muted); }

.pe-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 14px;
    border: 1px solid var(--pe-line-strong);
    border-radius: 100px;
    font-size: 13px;
    text-decoration: none;
    color: var(--pe-ink);
    background: var(--pe-surface);
}

.pe-chip:hover { border-color: var(--pe-accent); }
.pe-chip__x { font-size: 15px; line-height: 1; color: var(--pe-muted); }

/* --------------------------------------------------------------- sayfalama */

.pe-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pe-pagination a,
.pe-pagination span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius-sm);
    font-size: 14px;
    text-decoration: none;
    color: var(--pe-ink-soft);
}

.pe-pagination a:hover { border-color: var(--pe-ink); color: var(--pe-ink); }

.pe-pagination [aria-current='page'] {
    background: var(--pe-ink);
    border-color: var(--pe-ink);
    color: #fff;
    font-weight: 600;
}

.pe-pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ------------------------------------------------------------------ formlar */

.pe-field { margin-bottom: 20px; }

.pe-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pe-ink);
    margin-bottom: 8px;
}

.pe-field .pe-required { color: #d92d20; }

.pe-input,
.pe-select,
.pe-textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--pe-font-body);
    font-size: 15px;
    color: var(--pe-ink);
    background: var(--pe-surface);
    border: 1px solid var(--pe-line-strong);
    border-radius: var(--pe-radius);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pe-input:focus,
.pe-select:focus,
.pe-textarea:focus {
    border-color: var(--pe-accent);
    box-shadow: 0 0 0 3px var(--pe-accent-soft);
    outline: none;
}

.pe-textarea { min-height: 150px; resize: vertical; }

.pe-field .field-validation-error,
.pe-form__summary {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    color: #d92d20;
}

.pe-input.input-validation-error,
.pe-select.input-validation-error,
.pe-textarea.input-validation-error { border-color: #d92d20; }

.pe-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.pe-check input { margin-top: 4px; flex: 0 0 auto; }

.pe-form__summary ul { margin: 0; padding-left: 18px; }

.pe-alert {
    display: flex;
    gap: 14px;
    padding: 20px 24px;
    border-radius: var(--pe-radius);
    border: 1px solid;
    font-size: 15px;
    line-height: 1.7;
}

.pe-alert--success { background: #ecfdf3; border-color: #abefc6; color: #05603a; }
.pe-alert--info { background: var(--pe-surface-alt); border-color: var(--pe-line); color: var(--pe-ink-soft); }

/* ----------------------------------------------------------------- içerik */

.pe-prose { font-size: 16px; line-height: 1.85; color: var(--pe-ink-soft); }
.pe-prose > * + * { margin-top: 1.15em; }

.pe-prose h2 {
    font-family: var(--pe-font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 600;
    color: var(--pe-ink);
    margin-top: 2em;
    scroll-margin-top: 110px;
}

.pe-prose h3 {
    font-family: var(--pe-font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--pe-ink);
    margin-top: 1.6em;
}

.pe-prose ul { padding-left: 20px; }
.pe-prose li + li { margin-top: .55em; }
.pe-prose a { color: var(--pe-accent); text-decoration: underline; text-underline-offset: 3px; }

.pe-callout {
    padding: 22px 26px;
    background: var(--pe-accent-soft);
    border-left: 3px solid var(--pe-accent);
    border-radius: 0 var(--pe-radius) var(--pe-radius) 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--pe-ink);
}

/* ------------------------------------------------------------------- tablo */

.pe-table { width: 100%; border-collapse: collapse; font-size: 15px; }

.pe-table th,
.pe-table td {
    padding: 14px 0;
    text-align: left;
    border-bottom: 1px solid var(--pe-line);
    vertical-align: top;
}

.pe-table th {
    width: 38%;
    font-weight: 600;
    color: var(--pe-ink);
}

.pe-table td { color: var(--pe-ink-soft); }

/* -------------------------------------------------------------------- CTA */

.pe-cta {
    background: var(--pe-inverse);
    color: rgba(255, 255, 255, .75);
    border-radius: var(--pe-radius-lg);
    padding: 56px;
}

.pe-cta__title {
    font-family: var(--pe-font-display);
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 600;
    color: #fff;
    margin: 0 0 14px;
}

.pe-cta__text { max-width: 56ch; margin: 0 0 26px; line-height: 1.75; }
.pe-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 575px) { .pe-cta { padding: 34px 24px; } }

/* -------------------------------------------------------------- blog kartı */

.pe-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--pe-surface);
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}

.pe-post-card:hover { box-shadow: var(--pe-shadow); transform: translateY(-3px); }

.pe-post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pe-surface-alt); }
.pe-post-card__media img { width: 100%; height: 100%; object-fit: cover; }

.pe-post-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 24px; }

.pe-post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 12px;
    color: var(--pe-muted);
    margin-bottom: 12px;
}

.pe-post-card__title {
    font-family: var(--pe-font-display);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--pe-ink);
    margin: 0 0 10px;
}

.pe-post-card__title a { text-decoration: none; }
.pe-post-card__title a:hover { color: var(--pe-accent); }
.pe-post-card__summary { font-size: 15px; line-height: 1.7; margin: 0 0 18px; }
.pe-post-card__foot { margin-top: auto; }

/* ------------------------------------------------------- yardımcı sınıflar */

.pe-stack-sm > * + * { margin-top: 10px; }
.pe-stack > * + * { margin-top: 18px; }
.pe-stack-lg > * + * { margin-top: 32px; }

.pe-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pe-inline--between { justify-content: space-between; }

.pe-checklist { list-style: none; margin: 0; padding: 0; }

.pe-checklist li {
    position: relative;
    padding-left: 30px;
    line-height: 1.7;
}

.pe-checklist li + li { margin-top: 12px; }

.pe-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 16px;
    height: 8px;
    border-left: 2px solid var(--pe-accent);
    border-bottom: 2px solid var(--pe-accent);
    transform: rotate(-45deg);
}

.pe-divider { height: 1px; background: var(--pe-line); border: 0; margin: 0; }

@media (max-width: 991px) {
    :root { --pe-section-y: 68px; --pe-section-y-sm: 48px; }
    .pe-pagehead { padding: 32px 0 28px; }
    .pe-filters { position: static; max-height: none; overflow: visible; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   Sayfaya özel bileşenler
   ========================================================================= */

/* ------------------------------------------------------- ürün detay görsel */

.pe-product-hero {
    position: relative;
    margin: 0;
    background: var(--pe-surface-alt);
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    overflow: hidden;
}

.pe-product-hero img { width: 100%; height: auto; display: block; }
.pe-product-hero__badge { position: absolute; top: 18px; left: 18px; }
.pe-pagehead--slim { padding: 18px 0 16px; }

/* ------------------------------------------------------- öne çıkan yazı */

.pe-post-feature {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--pe-surface);
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    overflow: hidden;
}

.pe-post-feature__media { display: block; overflow: hidden; background: var(--pe-surface-alt); }
.pe-post-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe-post-feature__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }

.pe-post-hero {
    margin: 0;
    border-radius: var(--pe-radius);
    overflow: hidden;
    background: var(--pe-surface-alt);
}

.pe-post-hero img { width: 100%; height: auto; display: block; }

@media (max-width: 991px) {
    .pe-post-feature { grid-template-columns: 1fr; }
    .pe-post-feature__body { padding: 30px 24px; }
}

/* --------------------------------------------------------- içindekiler */

.pe-outline ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--pe-line); }

.pe-outline li a {
    display: block;
    padding: 8px 0 8px 16px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    font-size: 14px;
    line-height: 1.5;
    color: var(--pe-ink-soft);
    text-decoration: none;
}

.pe-outline li a:hover { color: var(--pe-ink); }
.pe-outline li a.is-active { border-left-color: var(--pe-accent); color: var(--pe-ink); font-weight: 600; }

/* ----------------------------------------------------- vaka çalışması */

.pe-case {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--pe-surface);
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}

.pe-case:hover { box-shadow: var(--pe-shadow); transform: translateY(-3px); }
.pe-case__media { display: block; aspect-ratio: 4 / 3; background: var(--pe-surface-alt); overflow: hidden; }
.pe-case__media img { width: 100%; height: 100%; object-fit: cover; }
.pe-case__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 26px; }

.pe-case__metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 12px 0;
    margin-bottom: 16px;
    border-top: 1px solid var(--pe-line);
    border-bottom: 1px solid var(--pe-line);
}

.pe-case__metric strong { font-family: var(--pe-font-display); font-size: 18px; color: var(--pe-accent); }
.pe-case__metric span { font-size: 13px; color: var(--pe-muted); }
.pe-case__body .pe-link { margin-top: auto; }

/* --------------------------------------------------------- site haritası */

.pe-sitemap-group { border-bottom: 1px solid var(--pe-line); }

.pe-sitemap-group summary {
    padding: 18px 0;
    cursor: pointer;
    font-family: var(--pe-font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--pe-ink);
}

.pe-sitemap-list {
    columns: 3;
    column-gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0 0 24px;
}

.pe-sitemap-list li { break-inside: avoid; margin-bottom: 7px; font-size: 13.5px; }
.pe-sitemap-list a { text-decoration: none; color: var(--pe-ink-soft); }
.pe-sitemap-list a:hover { color: var(--pe-accent); }

@media (max-width: 991px) { .pe-sitemap-list { columns: 2; } }
@media (max-width: 575px) { .pe-sitemap-list { columns: 1; } }

/* -------------------------------------------------------------- iletişim */

.pe-contact-list { list-style: none; margin: 0; padding: 0; }
.pe-contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--pe-line); }
.pe-contact-list li:first-child { padding-top: 0; }
.pe-contact-list strong { display: block; font-size: 13px; color: var(--pe-muted); font-weight: 600; margin-bottom: 4px; }
.pe-contact-list a { text-decoration: none; color: var(--pe-ink); }
.pe-contact-list a:hover { color: var(--pe-accent); }

.pe-contact-list__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pe-accent-soft);
    color: var(--pe-accent);
    font-size: 17px;
}

.pe-map {
    position: relative;
    aspect-ratio: 21 / 9;
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    overflow: hidden;
    background: var(--pe-surface-alt);
}

.pe-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 767px) { .pe-map { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------- teklif formu ürün kutusu */

.pe-quote-product {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--pe-surface-alt);
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
}

.pe-quote-product img { flex: 0 0 auto; width: 84px; height: 112px; object-fit: cover; border-radius: var(--pe-radius-sm); }
.pe-quote-product h2 { margin: 4px 0 6px; }

/* --------------------------------------------------------- mobil menü ikonu */
/*
   Litho'nun .navbar-toggler-line kuralları çizgilere dikey konum vermiyor;
   üçü üst üste biniyor. Kendi hamburger düzenimizi tanımlıyoruz.
*/
.pe-burger {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

.pe-burger > span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .2s ease;
}

.pe-burger > span:nth-child(1) { top: 0; }
.pe-burger > span:nth-child(2) { top: 7px; }
.pe-burger > span:nth-child(3) { top: 14px; }

/* Açıkken çarpıya dönüşür. */
.pe-burger[aria-expanded='true'] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pe-burger[aria-expanded='true'] > span:nth-child(2) { opacity: 0; }
.pe-burger[aria-expanded='true'] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Doğrudan satış (WhatsApp / telefon) ve katalog odaklı düzen
   -------------------------------------------------------------------------
   Sitede teklif formu ya da sepet yok. Ürünler sayfa açılır açılmaz
   görünmeli; ebat her yerde öne çıkarılır.
   ========================================================================= */

.pe-btn--whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.pe-btn--whatsapp:hover { background: #1da851; border-color: #1da851; color: #fff; }
.pe-btn i { font-size: 1.35em; line-height: 1; }

/* ------------------------------------------------ kompakt sayfa başlığı */

.pe-pagehead--compact { padding: 18px 0 16px; }
.pe-pagehead--compact .pe-crumbs { margin-bottom: 6px; }
.pe-pagehead--compact .pe-pagehead__title { font-size: clamp(22px, 2.4vw, 30px); margin: 0; }

/* Litho h1 satır yüksekliğini 5rem sabitliyor; kısa bantlarda boşluk yaratmasın. */
.pe-pagehead__title,
.pe-product-title,
.pe-home-catalog__title,
.pe-home-catalog__subtitle { line-height: 1.2; }

.pe-section--list { padding-top: 22px; padding-bottom: var(--pe-section-y-sm); }
.pe-section--product { padding-top: 24px; padding-bottom: var(--pe-section-y-sm); }

/* ---------------------------------------------- liste araç çubuğu (boy) */

.pe-listbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.pe-listbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.pe-listbar__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pe-ink);
    margin-right: 4px;
}

.pe-listbar__count { margin-left: auto; font-size: 14px; color: var(--pe-muted); }
.pe-listbar .pe-chip { padding: 6px 14px; }
.pe-chip.is-on { border-color: var(--pe-accent); background: var(--pe-accent-soft); color: var(--pe-ink); font-weight: 600; }

@media (max-width: 575px) {
    .pe-listbar__count { margin-left: 0; width: 100%; }
}

/* ----------------------------------------------------- kartta ebat vurgusu */

.pe-product-card__size {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 6px;
    font-family: var(--pe-font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--pe-ink);
}

.pe-product-card__size span {
    font-family: var(--pe-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pe-accent);
}

.pe-product-card__body .pe-product-card__title { margin-bottom: 8px; }

/* ------------------------------------------------ ürün detayı üst bloğu */

.pe-product-title { margin-bottom: 22px; }

.pe-specs { margin: 0 0 24px; border-top: 1px solid var(--pe-line); }

.pe-specs__row {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pe-line);
}

.pe-specs dt {
    flex: 0 0 132px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pe-muted);
}

.pe-specs dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--pe-ink); }

.pe-specs__row--size { padding: 16px 0; }
.pe-specs__row--size dt { color: var(--pe-accent); }

.pe-specs__row--size dd {
    font-family: var(--pe-font-display);
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 600;
    line-height: 1.1;
}

.pe-product-desc { font-size: 16px; line-height: 1.8; color: var(--pe-ink-soft); margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--pe-line); }
.pe-product-desc p { margin: 0 0 14px; }
.pe-product-desc p.pe-product-desc__fact { margin: 0 0 6px; }
.pe-product-desc p.pe-product-desc__fact:first-of-type { margin-top: 18px; }
.pe-product-desc strong { color: var(--pe-ink); font-weight: 600; }

/* Ürün kodu + ebat: detay sayfasının en üstünde, yan yana ve büyük. */
.pe-keyfacts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    margin: 0 0 22px;
    border: 1px solid var(--pe-line);
    border-radius: var(--pe-radius);
    overflow: hidden;
}

.pe-keyfacts__item { padding: 14px 20px; background: var(--pe-surface-alt); }
.pe-keyfacts__item + .pe-keyfacts__item { border-left: 1px solid var(--pe-line); background: var(--pe-surface); }

.pe-keyfacts__label {
    display: block;
    margin-bottom: 4px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pe-accent);
}

.pe-keyfacts__value {
    display: block;
    font-family: var(--pe-font-display);
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--pe-ink);
    white-space: nowrap;
}

.pe-contact-now { display: flex; flex-wrap: wrap; gap: 12px; }
.pe-contact-now .pe-btn { flex: 1 1 200px; justify-content: center; }
.pe-contact-now__note { margin: 14px 0 0; font-size: 13.5px; color: var(--pe-muted); }

/* Litho main.js, mobilde başlığı "fixed" varsayıp body'ye satır içi
   padding-top ekliyor. Bizim başlıklarımız sticky olduğu için bu boşluk
   ilk ekranda ~80px kayba yol açıyordu. */
body { padding-top: 0 !important; }

/* ------------------------------------------------------ mobil ilk ekran */

@media (max-width: 575px) {
    .pe-product-card__body { padding: 14px 14px 16px; }
    .pe-product-card__size { font-size: 15px; }

    /* Boy seçimi tek satıra sığsın. */
    .pe-listbar__label,
    .pe-listbar .pe-chip .pe-muted { display: none; }
    .pe-listbar .pe-chip { padding: 6px 11px; font-size: 12.5px; }

    /* Son kırıntı sayfa başlığıyla aynı; dar ekranda satır kazandırır. */
    .pe-crumbs li:last-child { display: none; }
}

@media (max-width: 991px) {
    /* Ürün görseli ekranı kaplamasın; ebat ve iletişim ilk ekranda görünsün. */
    .pe-product-hero img { max-height: 36vh; width: 100%; object-fit: contain; }
    .pe-product-hero { margin-bottom: 0; }
}

/* ------------------------------------------------- WhatsApp düğme dili */

/* Yeşil düğmelerde ikon beyaz bir daire içinde, marka rengiyle durur. */
.pe-btn--whatsapp i {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-left: -8px;
    border-radius: 50%;
    background: #fff;
    color: #1da851;
    font-size: 16px;
}

.pe-btn--sm.pe-btn--whatsapp i { width: 22px; height: 22px; font-size: 13px; margin-left: -6px; }

/* Ürün kartı (Demo 1): tam genişlikte, çerçeveli; üzerine gelince dolar. */
.pe-wa-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 9px 14px;
    border: 1px solid #25d366;
    border-radius: var(--pe-radius);
    background: #fff;
    color: var(--pe-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.pe-wa-card__icon {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 15px;
    transition: background-color .2s ease, color .2s ease;
}

.pe-wa-card:hover { background: #25d366; color: #fff; }
.pe-wa-card:hover .pe-wa-card__icon { background: #fff; color: #1da851; }

/* Ürün kartı (Demo 2): "Ürünü incele" hap düğmesi + yuvarlak WhatsApp ikonu. */
.pe-card-more {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--pe-line-strong);
    border-radius: 100px;
    color: var(--pe-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.pe-card-more:hover { border-color: var(--pe-ink); background: var(--pe-ink); color: #fff; }

.pe-wa-round {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .32);
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease;
}

.pe-wa-round:hover { background: #1da851; color: #fff; transform: scale(1.06); }

.pe-card-more { white-space: nowrap; line-height: 1; }

@media (max-width: 575px) {
    .pe-card-more { padding: 0 10px; font-size: 12.5px; }
    .pe-wa-card { font-size: 12.5px; padding: 8px 10px; }
}

/* Veriden gelen metinlerde "\n" ile işaretlenen satır başları korunur
   (müşterinin "bu cümle alt satırdan başlasın" talepleri için). */
.pe-multiline { white-space: pre-line; }

/* Kartta ürün adı, ebat ve kod birbirinden net ayrışır: ebat koyu ve büyük,
   kod vurgu renginde kalın bir rozet. */
.pe-product-card__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 8px; }
.pe-product-card__facts .pe-product-card__size { margin: 0; line-height: 1.3; }

.pe-product-card__code {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    padding: 2px 9px;
    line-height: 1.35;
    border: 1px solid var(--pe-accent);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--pe-accent);
    background: var(--pe-accent-soft);
}

.pe-product-card__code span { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* -------------------------------------------- görseli kesmeden gösterme
   Ürün fotoğraflarının oranları çok farklı (0,42 ile 1,67 arası). Kutuyu
   doldurmak için kırpmak yerine fotoğrafın tamamı gösterilir; kalan boşluğu
   aynı fotoğrafın bulanık ve büyütülmüş hâli doldurur. Görsel adresi
   "--pe-img" değişkeniyle verilir. */
.pe-fitimg { position: relative; isolation: isolate; overflow: hidden; }

.pe-fitimg::before {
    content: '';
    position: absolute;
    inset: -24px;
    z-index: 0;
    background: var(--pe-img) center / cover no-repeat;
    filter: blur(22px) saturate(1.05);
    opacity: .85;
}

.pe-fitimg > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pe-product-card__media.pe-fitimg .pe-product-card__badges { z-index: 2; }

/* Litho tüm bağlantılara hover'da mavi (#0038e3) verir; temamızla uyumsuz.
   Varsayılan hover rengi demonun vurgu rengidir; çiplerde yazı koyu kalır,
   vurguyu kenarlık verir. */
a:hover,
a:focus { color: var(--pe-accent); }

.pe-chip:hover,
.pe-chip:focus { color: var(--pe-ink); }

.pe-usecase-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ------------------------------------------- kartta ebat + kod tek satırda
   Ebat solda, kod sağ uçta; satır hiçbir zaman kırılmaz, böylece kod her
   kartta aynı yerde durur ve kart yükseklikleri eşit kalır. Ebat metni
   uzunsa (ör. "5 × 5 × 14,5 cm") yazı boyutu kart genişliğine göre küçülür.
   Telefonda iki öğe yan yana sığmadığı için kod her kartta ebatın altında
   sabit bir satırda durur. */
.pe-product-card__body { container-type: inline-size; }

.pe-product-card__facts {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
}

.pe-product-card__facts .pe-product-card__size {
    min-width: 0;
    gap: 6px;
    white-space: nowrap;
    font-size: clamp(13px, 6.6cqi, 17px);
    letter-spacing: -.02em;
}

.pe-product-card__facts .pe-product-card__code {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 2px 8px;
    font-size: 12.5px;
}

.pe-product-card__facts .pe-product-card__code span { font-size: 10px; }

@container (max-width: 200px) {
    .pe-product-card__facts { flex-direction: column; align-items: flex-start; gap: 6px; }
}
