/* ==========================================================================
   SARGE — web e-katalog (/makineler/{slug}/e-katalog)
   Basılı broşür dili: masaüstünde "sayfa" (sheet) kartları, koşan başlık + sayfa no,
   mobilde tam genişlik akış. Galeri büyütme (lightbox) ve A4 yazdırma (her sayfa bir A4).
   Yalnız e-katalog sayfasında yüklenir ($extra_css).
   ========================================================================== */

.ecat {
    padding-block: clamp(0.5rem, 0.25rem + 2vw, 2.5rem) clamp(2rem, 1.5rem + 3vw, 4rem);
    background:
        radial-gradient(60rem 30rem at 50% 0%, rgba(29, 106, 122, 0.07), transparent 70%),
        #EDF1F4;
}

/* ---------- Sayfa (sheet) ---------- */

.sheet {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(1.25rem, 0.75rem + 3vw, 3.5rem);
    background: #FFFFFF;
    border-block: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 1rem);
}

.sheet + .sheet { margin-top: 0.5rem; }

@media (min-width: 768px) {
    .ecat { padding-inline: 1.25rem; }
    .sheet {
        border: 1px solid rgba(19, 73, 82, 0.08);
        border-radius: 1.25rem;
        box-shadow: 0 1px 2px rgba(16, 21, 28, 0.04), 0 28px 60px -30px rgba(19, 73, 82, 0.35);
    }
    .sheet + .sheet { margin-top: 2rem; }
}

.sheet__run {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.sheet__pageno { color: var(--teal-700); font-variant-numeric: tabular-nums; }

.sheet__no {
    margin: 0 0 0.35rem;
    font-family: var(--font-mono);
    font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--teal-200);
}

.sheet__title {
    margin: 0 0 clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

/* ---------- 00 Kapak ---------- */

.cover { display: grid; }

.cover__media {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    background: var(--paper);
}

.cover__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.cover__flags {
    position: absolute;
    top: 0.85rem;
    inset-inline-start: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.cover__flags span {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(16, 21, 28, 0.72);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.cover__figures {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
    margin: -1.75rem 0.75rem 0;
}

@media (min-width: 560px) {
    .cover__figures { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: -2.75rem 1.25rem 0; gap: 0.85rem; }
}

.figure-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
    padding: 1.05rem 1rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    background: #FFFFFF;
    box-shadow: var(--highlight-in), 0 18px 40px -22px rgba(19, 73, 82, 0.45);
    overflow: hidden;
}

.figure-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--acc-bar, var(--accent-bar)); }

.figure-tile__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--acc, var(--teal-700));
}

.figure-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: var(--r-lg);
    background: var(--acc-soft, var(--teal-50));
    color: var(--acc, var(--teal-600));
}
.figure-tile__icon .feature-icon { width: 1rem; height: 1rem; }

.figure-tile__value { margin: 0; display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.figure-tile__num { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--acc, var(--ink)); font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
.figure-tile__unit { font-size: var(--fs-small); font-weight: 500; line-height: 1.4; color: var(--ink-muted); overflow-wrap: break-word; }

@media (max-width: 559px) {
    .figure-tile { display: grid; grid-template-columns: minmax(7rem, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 0.25rem 1rem; }
    .figure-tile__label { min-width: 0; overflow-wrap: anywhere; }
    .figure-tile__value { align-items: flex-end; text-align: end; overflow-wrap: anywhere; }
    .figure-tile__num { font-size: 1.75rem; }
}

.cover__text { display: grid; gap: 1rem; margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); max-width: 52rem; }
.cover__text .eyebrow { margin: 0; }

.cover__title { margin: 0; display: grid; gap: 0.4rem; text-wrap: balance; }
.cover__name { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem); font-weight: 700; line-height: 1; letter-spacing: -0.035em; color: var(--ink); overflow-wrap: break-word; }
.cover__sub { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); font-weight: 500; line-height: 1.25; color: var(--teal-700); }

.cover__maker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
}
.cover__maker strong { font-weight: 500; color: var(--ink); }

.cover__lead { margin: 0; max-width: 60ch; font-size: var(--fs-lead); line-height: 1.7; color: #2C3440; text-wrap: pretty; }
.cover__actions { margin-top: 0.25rem; }

@media (max-width: 639px) {
    .cover__actions > .btn,
    .back__actions > .btn { flex: 1 1 100%; }
}

.cover__toc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    gap: 0.5rem;
    margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.cover__toc a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--r-xl);
    border: 1px solid var(--line);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--ink);
    transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.cover__toc a span { flex-shrink: 0; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; color: var(--teal-600); }
/* Geniş ekranda tüm bölümler tek satırda yan yana */
@media (min-width: 1024px) {
    .cover__toc { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
    .cover__toc a { gap: 0.5rem; padding: 0.5rem 0.65rem; line-height: 1.25; }
}
.cover__toc a:hover { border-color: var(--teal-300); color: var(--teal-700); }

/* ---------- 01 Genel Bakış ---------- */

.overview { display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 3rem); align-items: start; }

@media (min-width: 960px) {
    .overview { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.overview__text { min-width: 0; }
.overview__lead { margin: 0 0 1.25rem; font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem); font-weight: 500; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.overview__body { font-size: var(--fs-body); line-height: 1.8; color: #2C3440; }
.overview__body p { margin: 0 0 1em; break-inside: avoid; }

@media (min-width: 720px) {
    .overview__body:not(.rich-content) { column-count: 2; column-gap: 2rem; }
}

.overview__quote {
    margin: 1.5rem 0 0;
    padding: 1.1rem 1.25rem;
    padding-inline-start: 1.35rem;
    border-inline-start: 4px solid var(--teal-500);
    border-radius: 0;
    border-start-end-radius: var(--r-card);
    border-end-end-radius: var(--r-card);
    background: var(--surface-tint);
}
.overview__quote p { margin: 0; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 600; line-height: 1.45; color: var(--ink); }
.overview__quote cite { display: block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.6875rem; font-style: normal; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-700); }

.overview__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    min-width: 0;
    aspect-ratio: 4 / 3;
    padding: 1.25rem 1.25rem 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    background:
        radial-gradient(60% 55% at 50% 50%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
        radial-gradient(circle at 1px 1px, rgba(19, 73, 82, 0.08) 1px, transparent 0) 0 0 / 18px 18px,
        linear-gradient(160deg, #F3F7F9 0%, #E9F0F5 100%);
    overflow: hidden;
}

.overview__media img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(19, 73, 82, 0.18)); }
.overview__media figcaption { position: absolute; inset-inline-start: 1rem; bottom: 0.85rem; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); }

/* ---------- 02 Özellikler ---------- */

.spec-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }

@media (min-width: 520px) {
    .spec-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}

@media (min-width: 960px) {
    .spec-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.spec-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    padding: 1.35rem 1.15rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    background: linear-gradient(180deg, var(--acc-soft, #FFFFFF) 0%, #FFFFFF 55%);
    overflow: hidden;
}

.spec-feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--acc-bar, var(--accent-bar)); }

.spec-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.25rem;
    border-radius: var(--r-xl);
    background: #FFFFFF;
    box-shadow: inset 0 0 0 1px var(--acc-border, var(--teal-100));
    color: var(--acc, var(--teal-600));
}
.spec-feature__icon .feature-icon { width: 1.375rem; height: 1.375rem; }
.spec-feature__title { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.spec-feature__text { margin: 0; font-size: var(--fs-small); line-height: 1.6; color: #3B4552; }

/* ---------- 03 Teknik özellikler ---------- */

.specsheet { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }

@media (min-width: 960px) {
    .specsheet { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
    .specsheet--side-only { grid-template-columns: minmax(0, 1fr); }
}

.specsheet__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    font-variant-numeric: tabular-nums;
}

.specsheet__table th,
.specsheet__table td { padding: 0.9rem 1.1rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.specsheet__table tr:last-child > * { border-bottom: 0; }
.specsheet__table tr:nth-child(odd) > * { background: #F7F9FB; }

.specsheet__table th {
    width: 40%;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--acc, var(--ink-muted));
}

.specsheet__table th::before {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-inline-end: 0.6rem;
    border-radius: 2px;
    background: var(--acc, var(--teal-500));
    vertical-align: 0.05em;
}

.specsheet__table td { font-size: 1rem; font-weight: 700; color: var(--ink); overflow-wrap: break-word; }
.specsheet__table td.specsheet__plain { font-weight: 500; }

@media (max-width: 559px) {
    .specsheet__table,
    .specsheet__table tbody,
    .specsheet__table tr,
    .specsheet__table th,
    .specsheet__table td { display: block; width: 100%; }
    .specsheet__table th { padding-bottom: 0.15rem; border-bottom: 0; }
    .specsheet__table td { padding-top: 0.15rem; }
}

.specsheet__side { display: grid; gap: 1.5rem; min-width: 0; }
.specsheet__block { padding: 1.25rem; border-radius: 1rem; border: 1px solid var(--border-soft); background: var(--surface-tint); }
.specsheet__label { margin: 0 0 0.85rem; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }

.seals { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.seal { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--ink); }

.seal svg {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.55rem;
    border-radius: 999px;
    background: var(--acc-soft, var(--teal-50));
    box-shadow: inset 0 0 0 2px var(--acc-border, var(--teal-100)), 0 0 0 3px #FFFFFF, 0 0 0 4px var(--acc-border, var(--teal-100));
    color: var(--acc, var(--teal-600));
}

/* ---------- 04 Galeri (dergi düzeni) ---------- */

.mag-gallery {
    list-style: none;
    margin: 0;
    padding: 0 0 0.5rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

.mag-gallery__cell { min-width: 0; scroll-snap-align: start; }

@media (min-width: 768px) {
    .mag-gallery {
        grid-auto-flow: row dense;
        grid-auto-columns: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: minmax(9rem, auto);
        overflow: visible;
        gap: 1rem;
    }
    .mag-gallery__cell--lead { grid-column: span 2; grid-row: span 2; }
}

.mag-gallery__item {
    position: relative;
    display: block;
    height: 100%;
    min-height: 12rem;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    background: #F3F6F8;
    cursor: zoom-in;
}

@media (min-width: 768px) {
    .mag-gallery__item { aspect-ratio: auto; }
    .mag-gallery__cell--lead .mag-gallery__item { min-height: 22rem; }
}

.mag-gallery__item img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 600ms var(--ease); }
.mag-gallery__item:hover img { transform: scale(1.04); }

.mag-gallery__more { display: none; }

.mag-gallery__zoom {
    position: absolute;
    inset-inline-end: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    box-shadow: var(--shadow-xs);
}
.mag-gallery__zoom svg { width: 1.125rem; height: 1.125rem; }

/* ---------- 05 SSS + Kısaca ---------- */

.sheet__faq { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.sheet__faq .faq .section-title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 700; }
.sheet__faq .machine-summary { margin-top: 0; }

/* ---------- Arka kapak ---------- */

.sheet--back {
    /* Sitedeki yeşil CTA zemini: nokta deseni + degrade (değer kartları, video bandı ile aynı) */
    background-color: var(--cta);
    background-image: var(--cta-dots), radial-gradient(40rem 22rem at 90% 0%, rgba(42, 142, 160, 0.45), transparent 70%), var(--cta-gradient);
    background-size: 6px 6px, 100% 100%, 100% 100%;
    color: #FFFFFF;
}

.sheet--back .sheet__run { border-bottom-color: rgba(255, 255, 255, 0.15); color: var(--teal-100); }
.sheet--back .sheet__pageno { color: #FFFFFF; }
.sheet--back .sheet__no { color: rgba(255, 255, 255, 0.25); }

.back { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: end; }

@media (min-width: 960px) {
    .back { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

.back__main { display: grid; gap: 1rem; min-width: 0; }
.back__main .eyebrow { margin: 0; }
.back__title { margin: 0; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.back__tagline { margin: 0; max-width: 40ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--teal-100); }
.back__actions { margin-top: 0.5rem; }

.back__contact { display: grid; gap: 0; margin: 0; padding: 0.25rem 1.25rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); }
.back__contact > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.back__contact > div:last-child { border-bottom: 0; }
.back__contact dt { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-200); }
.back__contact dd { margin: 0; min-width: 0; font-size: var(--fs-small); font-weight: 600; line-height: 1.5; color: #FFFFFF; overflow-wrap: anywhere; }
.back__contact a { color: #FFFFFF; }
.back__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sheet--back :focus-visible { outline-color: #FFFFFF; }

@media (max-width: 479px) {
    .back__contact > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
}

/* ---------- Görsel büyütme (lightbox) ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: rgba(10, 14, 20, 0.94);
    color: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease), visibility 0s; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem var(--pad); font-family: var(--font-mono); font-size: var(--fs-xs); }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 var(--pad); touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-lg); }
.lightbox__nav { display: flex; justify-content: center; gap: 0.75rem; padding: 0.75rem var(--pad) calc(0.75rem + env(safe-area-inset-bottom, 0px)); }

.lightbox__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

button.lightbox__btn { background-color: transparent; }
button.lightbox__btn:hover { border-color: #FFFFFF; background-color: rgba(255, 255, 255, 0.1); }
.lightbox__btn svg { width: 1.25rem; height: 1.25rem; }
.lightbox :focus-visible { outline-color: #FFFFFF; }
body.lightbox-open { overflow: hidden; }

/* ---------- Yazdırma: her sayfa bir A4 ---------- */

/* ---------- "Kataloğu İndir": her katalog sayfası (01/07…) ayrı PDF sayfası (assets/js/catalog-pdf.js) ----------
   Katalog 840 px gizli iframe'de açılır (html.pdf-export yalnız orada); sığmayan sayfa JS ile zoom'lanır. */
@media all {
    html.pdf-export, html.pdf-export body { margin: 0 !important; }
    html.pdf-export * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; animation: none !important; transition: none !important; }
    html.pdf-export .site-header,
    html.pdf-export .site-footer,
    html.pdf-export .buybar,
    html.pdf-export .skip-link,
    html.pdf-export .cover__actions,
    html.pdf-export .back__actions,
    html.pdf-export .mag-gallery__zoom,
    html.pdf-export .faq__chev,
    html.pdf-export .lightbox,
    html.pdf-export .kvkk-modal,
    html.pdf-export .consent-banner,
    html.pdf-export .wa-float,
    html.pdf-export .back-to-top { display: none !important; }
    html.pdf-export [data-reveal] { opacity: 1 !important; transform: none !important; }
    /* Mobil PDF görüntüleyiciler gölge/bulanıklığı gri kutu olarak çizer: PDF'te yalnız düz kenarlık */
    html.pdf-export *, html.pdf-export *::before, html.pdf-export *::after { box-shadow: none !important; text-shadow: none !important; filter: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; mix-blend-mode: normal !important; }
    html.pdf-export, html.pdf-export body, html.pdf-export main, html.pdf-export .ecat { background: #FFFFFF !important; }
    html.pdf-export .ecat { padding: 0 !important; gap: 0 !important; }
    html.pdf-export .sheet { margin: 0 !important; max-width: none !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; }
    /* Galeri: yalnız ilk fotoğraf tam genişlik + web sitesi notu */
    html.pdf-export .mag-gallery { display: block !important; overflow: visible !important; padding: 0 !important; }
    html.pdf-export .mag-gallery__cell { width: 100% !important; }
    html.pdf-export .mag-gallery__cell:not(:first-child) { display: none !important; }
    /* Sayfa kutularından sonra hiçbir şey kalmasın (fazladan boş sayfa olmasın) */
    html.pdf-export body > :not(main) { display: none !important; }
    html.pdf-export main, html.pdf-export .ecat { margin: 0 !important; padding: 0 !important; min-height: 0 !important; }
    html.pdf-export body { min-height: 0 !important; }
    html.pdf-export .mag-gallery__item,
    html.pdf-export .mag-gallery__cell--lead .mag-gallery__item { min-height: 0 !important; aspect-ratio: 4 / 3 !important; height: auto !important; cursor: default; }
    html.pdf-export .mag-gallery__more { display: block !important; margin: 1rem 0 0; font-size: 0.9375rem; color: var(--ink-muted, #5B6472); }
    html.pdf-export .mag-gallery__more a { font-weight: 700; color: var(--teal-700, #175766); text-decoration: none; }
    html.pdf-export .faq__a { display: block !important; }
    html.pdf-export .faq__item { border-color: var(--teal-200); }
}

/* Sayfa kutusu (catalog-pdf.js): bölüm dikey ve yatay ortada, boşluk üst-alt eşit */
@media all {
    html.pdf-export .pdf-page { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #FFFFFF; }
    html.pdf-export .pdf-page > .sheet { flex: 0 0 auto; width: 100%; }
    html.pdf-export .sheet--summary .machine-summary { margin-top: 1.5rem; }
}
@media print {
    html.pdf-export .pdf-page { break-after: page; page-break-after: always; break-inside: avoid; page-break-inside: avoid; }
    html.pdf-export .pdf-page:last-child { break-after: auto; page-break-after: auto; }
}
