/* ==========================================================
   KATALOG ŞABLONU — ekranda füme, baskıda/PDF'te beyaz A4
   ========================================================== */

.catalog { max-width: 1040px; margin: 0 auto; padding: 0 24px 120px; }

/* kapak */
.cat-cover { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.cat-cover-logo { height: 56px; width: auto; display: block; margin-bottom: 48px; }
.cat-cover h1 { font-size: clamp(34px, 5vw, 56px); max-width: 14ch; margin-bottom: 16px; }
.cat-validity { color: var(--ink-2); font-size: 14px; margin-bottom: 36px; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-nav a {
  font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  transition: background .2s, border-color .2s, color .2s;
}
.cat-nav a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* bölüm */
.cat-sec { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.cat-sec-head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; margin-bottom: 36px; }
.cat-num { font-size: 13px; font-weight: 600; color: var(--orange); padding-top: 8px; }
.cat-sec-head h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cat-sec-head p { color: var(--ink-2); max-width: 60ch; font-size: 15px; }
.cat-badge {
  font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px;
  background: var(--orange); color: #fff;
}

/* fiyat */
.cat-price { display: inline-flex; align-items: baseline; gap: 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cat-price em { font-style: normal; font-size: .6em; font-weight: 600; }
.cat-price small { font-size: 11px; font-weight: 500; color: var(--ink-2); margin-left: 2px; }

/* ebat kartları */
.cat-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-size { padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); display: flex; flex-direction: column; }
.cat-size-fig { height: 104px; display: flex; align-items: flex-end; margin-bottom: 22px; }
.cat-sign { display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,.28)); }
.cat-size-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cat-size h3 { font-size: 22px; margin: 4px 0 6px; }
.cat-size-note { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.cat-size .cat-price { margin-top: auto; font-size: 30px; }

.cat-highlight {
  margin-top: 16px; padding: 14px 18px; border-radius: 12px;
  border-left: 3px solid var(--orange);
  background: color-mix(in srgb, var(--orange) 10%, transparent);
  font-size: 15px;
}

/* tablolar */
.cat-table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 15px; }
.cat-table caption { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-2); padding-bottom: 10px; caption-side: top; }
.cat-table th, .cat-table td { padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cat-table th { font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.cat-table th small { display: block; font-weight: 400; margin-top: 2px; }
.cat-table .num { text-align: right; }
.cat-table .cat-price { font-size: 19px; }
.cat-compare { margin-top: 0; }
.cat-row-size { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; }
.cat-row-size .cat-sign { filter: none; }
.cat-unit { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.cat-notes { margin: 24px 0 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }
.cat-notes li::marker { color: var(--orange); }

/* paketler */
.cat-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.cat-pack { padding: 28px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); display: flex; flex-direction: column; }
.cat-pack.is-featured { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.cat-pack h3 { font-size: 22px; margin-bottom: 18px; }
.cat-pack.is-featured h3::after { content: "Kapsamlı"; margin-left: 10px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--orange); color: #fff; vertical-align: middle; }
.cat-pack ol { margin: 0 0 24px; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: #cfd2d6; }
.cat-pack-price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cat-pack-price s { color: var(--ink-2); font-size: 15px; }
.cat-pack .cat-price { font-size: 28px; }


/* ---------- etkileşim (ekran) ---------- */
.cat-link { color: inherit; transition: background .25s, color .25s, border-color .25s; }
.cat-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: color .25s;
}
.cat-link:hover, .cat-link:focus-visible, .cat-pickable:hover, .cat-pickable:focus-visible {
  background: var(--orange); border-color: var(--orange); color: #fff;
  outline: none;
}
.cat-link:hover .cat-cta, .cat-link:focus-visible .cat-cta { color: #fff; }
.cat-link:hover .cat-size-label, .cat-link:hover .cat-size-note, .cat-link:hover .cat-price small,
.cat-link:hover s, .cat-link:hover ol,
.cat-pickable:hover .cat-size-label, .cat-pickable:hover .cat-size-note, .cat-pickable:hover .cat-price small,
.cat-pickable:hover s, .cat-pickable:hover ol, .cat-pickable:hover .cat-idx { color: rgba(255,255,255,.88); }
.cat-link:hover .cat-sign { filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.cat-pack.is-featured:hover h3::after { background: #fff; color: var(--orange); }

.cat-row { transition: background .2s; }
.cat-row:hover { background: color-mix(in srgb, var(--orange) 8%, transparent); }
.cat-cell-link { display: inline-block; padding: 4px 8px; margin: -4px -8px; border-radius: 8px; transition: background .2s, color .2s; }
.cat-cell-link:hover, .cat-cell-link:focus-visible { background: var(--orange); color: #fff; outline: none; }
.cat-cell-link:hover .cat-price small, .cat-cell-link:hover .cat-unit { color: rgba(255,255,255,.88); }
.cat-cell-link .cat-unit { display: block; }

/* ---------- site ile aynı ızgara stili (ekran) ---------- */
.cat-sizes, .cat-packs {
  gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.cat-size, .cat-pack {
  border: 0; border-radius: 0; background: transparent; box-shadow: none !important;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 32px 28px 28px;
}
.cat-idx { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 28px; transition: color .25s; }
.cat-pack.is-featured { border-color: var(--line); }
.cat-link:hover .cat-idx, .cat-link:focus-visible .cat-idx { color: rgba(255,255,255,.88); }
.cat-link:hover .cat-sign { filter: none; }
.cat-size-fig { height: 84px; }

.print-only { display: none !important; }

/* alt bilgi */
.cat-foot { padding: 40px 0 0; color: var(--ink-2); font-size: 13px; }
.cat-foot ul { margin: 0 0 20px; padding-left: 18px; display: grid; gap: 4px; }
.cat-contact strong { color: var(--ink); }

@media (max-width: 820px) {
  .cat-sizes, .cat-packs { grid-template-columns: 1fr; }
  .cat-sec-head { grid-template-columns: auto 1fr; }
  .cat-badge { grid-column: 1 / -1; justify-self: start; }
  .cat-row-size .cat-sign { display: none; }
  .cat-table th, .cat-table td { padding: 12px 2px; }
}


/* ==========================================================
   EKRAN v3 — tam genişlik bölümler: füme kapak, sırayla
   krem (açık) / füme (koyu) bölümler, portakal kapanış
   ========================================================== */
body.catalog-page { background: var(--bg); }
.catalog { max-width: none; padding: 0; }
.cat-wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* kapak */
.cat-cover { padding: 88px 0 72px; border: 0; background: var(--bg); }
.cat-cover-logo { height: 52px; margin-bottom: 72px; }
.cat-kicker { font-size: 15px; font-weight: 600; color: var(--orange); margin-bottom: 18px; letter-spacing: .02em; }
.cat-cover h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; max-width: 12ch; margin-bottom: 56px; }
.cat-validity { margin: 40px 0 0; }

/* içindekiler: sitedeki ızgara davranışı */
.cat-toc { border-top: 1px solid var(--line); }
.cat-toc a {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: center;
  padding: 22px 20px; border-bottom: 1px solid var(--line);
  font-size: 19px; font-weight: 500;
  transition: background .25s, color .25s;
}
.cat-toc-no { color: var(--orange); font-weight: 600; transition: color .25s; }
.cat-toc-go { font-size: 18px; color: var(--ink-2); transition: color .25s, transform .25s; }
.cat-toc a:hover, .cat-toc a:focus-visible { background: var(--orange); color: #fff; outline: none; }
.cat-toc a:hover .cat-toc-no, .cat-toc a:hover .cat-toc-go,
.cat-toc a:focus-visible .cat-toc-no, .cat-toc a:focus-visible .cat-toc-go { color: #fff; }
.cat-toc a:hover .cat-toc-go { transform: translateX(4px); }

/* avantajlar (kurallardan otomatik) */
.cat-perks { margin-top: 40px; }
.cat-perks-title { font-size: 13px; font-weight: 600; color: var(--orange); margin-bottom: 12px; letter-spacing: .04em; text-transform: uppercase; }
.cat-perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cat-perks li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--orange); }
.cat-perks strong { font-size: 15px; font-weight: 500; }
.cat-perks span { font-size: 13px; color: var(--ink-2); }

/* bölümler */
.cat-sec { padding: 88px 0; border: 0; scroll-margin-top: 64px; }
.tone-koyu { background: var(--bg); }
.tone-acik {
  --ink: #2b2d31; --ink-2: #5f656d; --line: #cfcfc8; --bg-2: #fff;
  background: var(--paper); color: var(--ink);
}
.tone-acik .cat-pack ol, .cat-pack ol { color: inherit; }
.tone-acik .cat-highlight { background: color-mix(in srgb, var(--orange) 12%, transparent); }
.tone-acik .cat-sign { filter: none; }
.tone-acik .cat-row:hover { background: color-mix(in srgb, var(--orange) 8%, transparent); }
.cat-link:hover, .cat-link:focus-visible, .cat-pickable:hover, .cat-pickable:focus-visible { color: #fff; }

/* kapanış: portakal */
.cat-thanks { background: var(--orange); color: #fff; padding: 96px 0 104px; }
.cat-thanks-big { font-size: clamp(48px, 8vw, 96px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 20px; }
.cat-thanks-sub { font-size: 19px; max-width: 36ch; margin-bottom: 40px; color: rgba(255,255,255,.92); }
.cat-thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.cat-thanks-btn {
  height: 48px; padding: 0 22px; display: inline-flex; align-items: center;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.6);
  font-size: 15px; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.cat-thanks-btn:hover, .cat-thanks-btn:focus-visible { background: #fff; color: var(--orange); border-color: #fff; outline: none; }
.cat-thanks ul { margin: 0 0 20px; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; color: rgba(255,255,255,.9); }
.cat-thanks-addr { font-size: 14px; color: rgba(255,255,255,.85); }
.cat-thanks + .viewer-home, body.catalog-page .viewer-home { box-shadow: 0 8px 24px rgba(0,0,0,.35); }

@media (max-width: 820px) {
  .cat-cover { padding: 56px 0 48px; }
  .cat-cover-logo { margin-bottom: 48px; height: 40px; }
  .cat-toc a { grid-template-columns: 48px 1fr auto; padding: 18px 12px; font-size: 16px; }
  .cat-sec { padding: 56px 0; }
  .cat-thanks { padding: 64px 0 96px; }
}


/* ---------- sipariş seçimi ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cat-pickable { cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; position: relative; }
.cat-pickable.is-picked { box-shadow: inset 0 0 0 2px var(--orange) !important; }
.cat-pick-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.cat-check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.cat-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cat-box {
  width: 20px; height: 20px; border-radius: 5px; flex: none;
  border: 1.5px solid currentColor; opacity: .75;
  display: grid; place-items: center; transition: background .2s, border-color .2s, opacity .2s;
}
.cat-check input:checked + .cat-box { background: var(--orange); border-color: var(--orange); opacity: 1; }
.cat-check input:checked + .cat-box::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.cat-check input:focus-visible + .cat-box { outline: 2px solid var(--orange); outline-offset: 2px; }
.cat-pickable:hover .cat-check input:checked + .cat-box { background: #fff; border-color: #fff; }
.cat-pickable:hover .cat-check input:checked + .cat-box::after { border-color: var(--orange); }

.cat-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; height: 36px; }
.cat-pickable:hover .cat-qty { border-color: rgba(255,255,255,.55); }
.cat-qty button { width: 34px; height: 100%; font-size: 17px; line-height: 1; transition: background .2s, color .2s; }
.cat-qty button:hover { background: var(--orange); color: #fff; }
.cat-pickable:hover .cat-qty button:hover { background: #fff; color: var(--orange); }
.cat-qty input {
  width: 46px; height: 100%; border: 0; background: transparent; color: inherit; text-align: center;
  font: inherit; font-size: 14px; font-weight: 600; -moz-appearance: textfield;
}
.cat-qty input::-webkit-outer-spin-button, .cat-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cat-table-pick .cat-td-check { width: 36px; }
.cat-table-pick .cat-td-qty { width: 130px; text-align: right; }
.cat-row[data-card] { cursor: pointer; }
.cat-row.is-picked { background: color-mix(in srgb, var(--orange) 10%, transparent); }
.cat-check-mini { gap: 0; }
.cat-cell-pick { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; padding: 6px 10px; margin: -6px -10px; border-radius: 10px; transition: background .2s, color .2s; text-align: right; }
.cat-cell-pick:hover { background: var(--orange); color: #fff; }
.cat-cell-pick:hover .cat-unit, .cat-cell-pick:hover .cat-price small { color: rgba(255,255,255,.88); }
.cat-cell-pick.is-picked { box-shadow: inset 0 0 0 2px var(--orange); }
.cat-cell-pick:hover .cat-check input:checked + .cat-box { background: #fff; border-color: #fff; }
.cat-cell-pick:hover .cat-check input:checked + .cat-box::after { border-color: var(--orange); }

/* alt bar */
.cart-bar {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: #1f2023; color: #fff; border: 1px solid #3b3f44;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.cart-bar[hidden], .viewer-actions [hidden] { display: none; }
.cart-bar-info { display: grid; line-height: 1.25; }
.cart-bar-info strong { font-size: 14px; }
.cart-bar-info span { font-size: 12px; color: #a3a8af; }
.cart-bar-btn { height: 44px; padding: 0 22px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.cart-bar-btn:hover { background: #fff; color: var(--orange); }
body.has-cart .viewer-home { left: 20px; transform: none; }
body.has-cart .viewer-home:hover { transform: translateY(-2px); }

/* panel */
.cart-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(10,10,12,.55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-scrim.is-open { opacity: 1; pointer-events: auto; }
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(460px, 100%);
  background: var(--bg); color: #e9eaec; border-left: 1px solid #3b3f44;
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s .35s;
}
.cart-panel.is-open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.cart-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 24px; border-bottom: 1px solid #3b3f44; }
.cart-head h2 { font-size: 18px; }
.cart-close { width: 36px; height: 36px; border-radius: 50%; font-size: 24px; line-height: 1; }
.cart-close:hover { background: var(--orange); color: #fff; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px 32px; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-list li { padding: 16px 0; border-bottom: 1px solid #3b3f44; }
.cart-empty { color: #a3a8af; }
.cart-line-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 14px; }
.cart-remove { font-size: 12px; color: #a3a8af; white-space: nowrap; }
.cart-remove:hover { color: var(--orange); }
.cart-line-ctrl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.cart-line-ctrl .cat-qty { border-color: #3b3f44; height: 32px; }
.cart-unit { color: #a3a8af; }
.cart-line-ctrl select { height: 32px; border-radius: 8px; border: 1px solid #3b3f44; background: #2e3135; color: inherit; font: inherit; font-size: 13px; padding: 0 8px; }
.cart-line-sum { margin-left: auto; font-weight: 600; }
.cart-total { margin: 16px 0 28px; font-size: 15px; display: grid; gap: 6px; }
.cart-row { display: flex; justify-content: space-between; gap: 12px; }
.cart-row.is-good { color: #7fd99a; }
.cart-row.is-total { font-weight: 700; font-size: 17px; padding-top: 8px; border-top: 1px solid #3b3f44; }
.cart-row small { font-weight: 500; color: #a3a8af; font-size: 12px; }
.cart-conds { display: block; color: #a3a8af; font-size: 12px; }
.cart-line-sum s { color: #a3a8af; font-weight: 400; margin-right: 4px; }
.cart-note { margin-top: 8px; font-size: 12px; color: #a3a8af; }
.cart-note.is-good { color: #7fd99a; }
.cart-note.is-tip { color: color-mix(in srgb, var(--orange) 55%, white); }
.cart-note button { margin-left: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; font-size: 12px; font-weight: 600; color: inherit; }
.cart-note button:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.cart-total small { color: #a3a8af; }
.cart-form { display: grid; gap: 12px; }
.cart-form h3 { font-size: 15px; margin-bottom: 4px; }
.cart-form label { display: grid; gap: 6px; font-size: 13px; color: #a3a8af; }
.cart-form input:not([type="checkbox"]), .cart-form textarea {
  width: 100%; font: inherit; font-size: 15px; color: #e9eaec; background: transparent;
  border: 0; border-bottom: 1px solid #3b3f44; padding: 6px 0 10px; outline: none; border-radius: 0; resize: vertical;
}
.cart-form input:focus, .cart-form textarea:focus { border-color: var(--orange); }
.cart-remember { display: flex !important; align-items: center; gap: 10px; color: #e9eaec !important; }
.cart-remember input { accent-color: var(--orange); width: 16px; height: 16px; }
.cart-msg { font-size: 13px; color: #a3a8af; min-height: 1em; }
.cart-msg.is-error { color: #ff8a7a; }
.cart-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cart-send { height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.cart-wa { background: #e9eaec; color: var(--bg); }
.cart-wa:hover, .cart-wa:focus-visible { background: #25d366; color: #0b2614; }
.cart-mail { border: 1px solid #3b3f44; }
.cart-mail:hover, .cart-mail:focus-visible { background: var(--orange); border-color: var(--orange); color: #fff; }
.cart-legal { font-size: 12px; color: #a3a8af; line-height: 1.5; }
.cart-legal a { color: #e9eaec; text-decoration: underline; text-decoration-color: var(--orange); }

@media (max-width: 640px) {
  .cart-bar { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
  body.has-cart .viewer-home { display: none; }
  .cat-table-pick .cat-td-qty { width: 112px; }
  .cat-qty button { width: 30px; }
  .cat-qty input { width: 38px; }
}
.cart-fatura { border-top: 1px solid #3b3f44; padding-top: 10px; }
.cart-fatura summary { cursor: pointer; font-size: 14px; color: #e9eaec; margin-bottom: 10px; } .cart-fatura summary small { color: #a3a8af; font-weight: 400; }
.cart-fatura[open] { display: grid; gap: 12px; } .cart-fatura [hidden] { display: none !important; }
.cart-tip { display: flex; gap: 18px; } .cart-tip label { display: flex !important; align-items: center; gap: 8px; color: #e9eaec !important; font-size: 14px !important; }
.cart-tip input { accent-color: var(--orange); width: 16px; height: 16px; }
@media print { .cart-bar, .cart-panel, .cart-scrim { display: none !important; } }

/* dokunmatik ekranda hover yapışmasın: seçim çerçeve + tik ile görünür */
@media (hover: none) {
  .cat-pickable:hover, .cat-pickable:focus-visible { background: transparent; color: inherit; }
  .cat-pickable:hover .cat-size-label, .cat-pickable:hover .cat-size-note, .cat-pickable:hover .cat-price small,
  .cat-pickable:hover s, .cat-pickable:hover .cat-idx { color: var(--ink-2); }
  .cat-pickable:hover ol { color: inherit; }
  .cat-pickable:hover .cat-qty { border-color: var(--line); }
  .cat-pickable:hover .cat-check input:checked + .cat-box { background: var(--orange); border-color: var(--orange); }
  .cat-pickable:hover .cat-check input:checked + .cat-box::after { border-color: #fff; }
  .cat-cell-pick:hover { background: transparent; color: inherit; }
  .cat-pickable.is-picked { background: color-mix(in srgb, var(--orange) 8%, transparent); }
}

/* ==========================================================
   BASKI / PDF — sayfa sayfa tasarım
   Kapak füme · içerik beyaz · kampanya portakal · arka kapak portakal
   A4 (210×297) veya kare (210×210): html[data-format]
   ========================================================== */
.print-pages { display: none; }
.pg .cat-cta { display: none; }
.pg .cat-cell-link { padding: 0; margin: 0; }

@page { margin: 0; size: 210mm 210mm; }
@page dikey { margin: 0; size: 210mm 297mm; }
html[data-format="a4"] { }
@media print {
  :root { color-scheme: light; }
  html, body { background: var(--paper) !important; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .viewer-bar, .viewer-home, .catalog { display: none !important; }
  .print-pages { display: block; }
}

html { --pw: 210mm; --ph: 210mm; --pad: 11mm; --fs: 8.6pt; }
.pg-tall { --ph: 297mm; --pad: 14mm; --fs: 10pt; page: dikey; }
.pg-body { gap: 6mm; }
.pg-head { margin-bottom: 5mm; }

.pg {
  position: relative;
  width: var(--pw); height: var(--ph);
  padding: var(--pad);
  overflow: hidden;
  break-after: page;
  display: flex; flex-direction: column;
  font-size: var(--fs);
  color: #2b2d31;
  background: var(--paper);
}
.pg:last-child { break-after: auto; }

/* kapak — füme */
.pg-cover, .pg-back { color: #fff; padding: 24mm 25mm; }
.pg-tall.pg-cover, .pg-tall.pg-back { padding: 32mm 30mm; }
.pg-cover { background: var(--bg); }
.pg-logo { height: 15mm; width: auto; align-self: flex-start; }
.pg-cover-body { margin-top: auto; margin-bottom: auto; }
.pg-kicker { font-size: 1.1em; font-weight: 600; color: var(--orange); margin-bottom: 4mm; letter-spacing: .04em; }
.pg-cover h1 { font-size: 3.6em; line-height: 1.05; letter-spacing: -0.025em; max-width: 12ch; margin-bottom: 12mm; }
.pg-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5mm; font-size: 1.15em; }
.pg-toc li { display: flex; gap: 5mm; padding-bottom: 2.5mm; border-bottom: 0.3mm solid rgba(255,255,255,.18); }
.pg-toc span { color: var(--orange); font-weight: 600; min-width: 8mm; }
.pg-cover-foot { font-size: .85em; color: rgba(255,255,255,.65); }

/* arka kapak — portakal */
.pg-back { background: var(--orange); }
.pg-back .pg-logo { filter: brightness(0) invert(1); }
.pg-back-body { margin-top: auto; margin-bottom: auto; }
.pg-back .pg-thanks { font-size: 4.2em; font-weight: 700; line-height: 1; letter-spacing: -0.03em; margin-bottom: 5mm; }
.pg-back .pg-thanks-sub { font-size: 1.25em; line-height: 1.5; max-width: 34ch; margin-bottom: 14mm; color: rgba(255,255,255,.92); }
.pg-back h2 { font-size: 1.2em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6mm; color: rgba(255,255,255,.85); }
.pg-big { font-size: 3em; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 6mm; }
.pg-back p { font-size: 1.15em; line-height: 1.6; }
.pg-back ul { margin: 10mm 0 0; padding-left: 5mm; display: grid; gap: 1.5mm; font-size: .95em; }
.pg-back .pg-cover-foot { color: rgba(255,255,255,.85); }

/* içerik sayfası — beyaz */
.pg-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 4mm; margin-bottom: 7mm;
  border-bottom: 0.4mm solid var(--orange);
  font-size: .8em; color: #6b7078;
}
.pg-head img { height: 8mm; width: auto; }
.pg-body { flex: 1; display: flex; flex-direction: column; gap: 9mm; }
.pg-foot { display: flex; justify-content: space-between; padding-top: 4mm; border-top: 0.3mm solid #d4d4ce; font-size: .8em; color: #6b7078; }
.pg-no { font-weight: 600; color: #2b2d31; }

/* bölüm başlığı */
.pg .cat-sec-head { display: grid; grid-template-columns: auto 1fr auto; gap: 4mm; align-items: start; margin-bottom: 5mm; }
.pg .cat-num { color: var(--orange); font-weight: 700; font-size: 1.1em; padding-top: 1mm; }
.pg .cat-sec-head h2 { font-size: 2em; line-height: 1.1; margin-bottom: 1.5mm; }
.pg .cat-sec-head p { color: #5f656d; font-size: 1em; max-width: none; }
.pg .cat-badge { font-size: .8em; padding: 1.2mm 3mm; background: var(--orange); color: #fff; border-radius: 99px; }

/* fiyat */
.pg .cat-price { font-size: 1.5em; font-weight: 700; }
.pg .cat-price small { color: #6b7078; font-size: .55em; }

/* ebat kartları */
.pg .cat-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
.pg .cat-size { padding: 4mm; border-radius: 3mm; background: #fff; border: 0; display: flex; flex-direction: column; }
.pg .cat-size-fig { height: 24mm; margin-bottom: 3mm; display: flex; align-items: flex-end; }
.pg .cat-size-fig { height: 13mm; }
.pg .cat-sign { filter: none; max-height: 100%; width: auto; }
.pg .cat-size-label { font-size: .75em; color: #6b7078; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.pg .cat-size h3 { font-size: 1.45em; margin: .5mm 0 1mm; }
.pg .cat-size-note { font-size: .9em; color: #5f656d; margin-bottom: 3mm; }
.pg .cat-size .cat-price { font-size: 2.1em; margin-top: auto; }
.pg .cat-highlight { margin-top: 3mm; padding: 3mm 4mm; border-radius: 2mm; background: #fff; border-left: 1mm solid var(--orange); font-size: 1em; }

/* tablo */
.pg .cat-table { width: 100%; border-collapse: collapse; margin-top: 3mm; font-size: 1em; }
.pg .cat-table caption { text-align: left; font-weight: 600; color: #6b7078; font-size: .85em; padding-bottom: 2mm; }
.pg .cat-table th, .pg .cat-table td { padding: 1.1mm 1mm; border-bottom: 0.3mm solid #d4d4ce; text-align: left; }
.pg .cat-table th { font-size: .78em; color: #6b7078; font-weight: 600; }
.pg .cat-table th small { display: block; font-weight: 400; }
.pg .cat-table .num { text-align: right; }
.pg .cat-table .cat-price { font-size: 1.3em; }
.pg .cat-notes { margin: 4mm 0 0; padding-left: 4mm; display: grid; gap: 1mm; color: #5f656d; font-size: .9em; }
.pg .cat-notes li::marker { color: var(--orange); }
.pg .cat-unit { display: block; font-size: .75em; color: #6b7078; }
.pg .cat-row-size { display: inline-flex; align-items: center; gap: 3mm; font-weight: 600; }

/* kampanya — sakin beyaz kart, portakal yalnızca üst çizgi ve etikette */
.pg-compare { background: #fff; border-radius: 3mm; padding: 5mm 6mm; border-top: 1.2mm solid var(--orange); }
.pg-compare .cat-table { margin-top: 1mm; }

/* paketler */
.pg .cat-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
.pg .cat-pack { padding: 5mm; border-radius: 3mm; background: #fff; border: 0; box-shadow: none; display: flex; flex-direction: column; }
.pg .cat-pack h3 { font-size: 1.5em; margin-bottom: 3mm; }
.pg .cat-pack ol { margin: 0 0 4mm; padding-left: 4mm; display: grid; gap: 1.2mm; font-size: .92em; color: #2b2d31; }
.pg .cat-pack-price { margin-top: auto; display: flex; align-items: baseline; gap: 2mm; flex-wrap: wrap; }
.pg .cat-pack-price s { color: #6b7078; font-size: .95em; }
.pg .cat-pack .cat-price { font-size: 1.9em; }
.pg .cat-pack.is-featured { background: var(--bg); color: #fff; }
.pg .cat-pack.is-featured ol { color: #e9eaec; }
.pg .cat-pack.is-featured s, .pg .cat-pack.is-featured .cat-price small { color: #a3a8af; }
.pg .cat-pack.is-featured h3::after { content: "Kapsamlı"; margin-left: 2mm; font-size: .5em; font-weight: 600; padding: .8mm 2.2mm; border-radius: 99px; background: var(--orange); color: #fff; vertical-align: middle; }

/* dikey sayfada daha ferah */
.pg-tall .cat-table th, .pg-tall .cat-table td { padding: 2.2mm 1mm; }
.pg-tall .cat-size { padding: 5mm; }
.pg-tall .cat-size-fig { height: 24mm; }

/* baskı: site ile aynı ızgara dili */
.pg .cat-sizes, .pg .cat-packs { gap: 0; border-top: 0.3mm solid #c9c9c2; border-left: 0.3mm solid #c9c9c2; }
.pg .cat-size, .pg .cat-pack { background: transparent; border-radius: 0; border-right: 0.3mm solid #c9c9c2; border-bottom: 0.3mm solid #c9c9c2; }
.pg .cat-idx { display: block; font-size: .8em; color: #6b7078; margin-bottom: 3mm; }
.pg .cat-pack.is-featured { background: transparent; color: #2b2d31; }
.pg .cat-pack.is-featured ol { color: #2b2d31; }
.pg .cat-pack.is-featured s, .pg .cat-pack.is-featured .cat-price small { color: #6b7078; }
.pg .cat-highlight { background: transparent; border-radius: 0; padding: 2mm 0 2mm 4mm; }
.pg-compare { background: transparent; border-radius: 0; padding: 4mm 0 0; border-top: 0.6mm solid var(--orange); }

/* baskı: kapak içindekiler linkleri */
.pg-toc a { display: flex; gap: 5mm; color: inherit; }

/* baskı: başlık logosu tona göre */
.pg-head-logo-acik { display: none; }
.pg-koyu .pg-head-logo-koyu { display: none; }
.pg-koyu .pg-head-logo-acik { display: block; }

/* baskı: koyu (füme) içerik sayfası */
.pg-koyu { background: var(--bg); color: #e9eaec; }
.pg-koyu .pg-head { color: #a3a8af; }
.pg-koyu .pg-foot { color: #a3a8af; border-top-color: #3b3f44; }
.pg-koyu .pg-no { color: #e9eaec; }
.pg-koyu .cat-sec-head p, .pg-koyu .cat-idx, .pg-koyu .cat-size-label, .pg-koyu .cat-size-note,
.pg-koyu .cat-table th, .pg-koyu .cat-table caption, .pg-koyu .cat-unit, .pg-koyu .cat-notes,
.pg-koyu .cat-price small, .pg-koyu .cat-pack-price s { color: #a3a8af; }
.pg-koyu .cat-table th, .pg-koyu .cat-table td { border-bottom-color: #3b3f44; }
.pg-koyu .cat-sizes, .pg-koyu .cat-packs { border-color: #3b3f44; }
.pg-koyu .cat-size, .pg-koyu .cat-pack { border-color: #3b3f44; }
.pg-koyu .cat-pack ol, .pg-koyu .cat-pack.is-featured ol { color: #e9eaec; }
.pg-koyu .cat-pack.is-featured { color: #e9eaec; }
.pg-koyu .cat-highlight { color: #e9eaec; }

/* baskı: seçim kontrollerini gizle */
.pg .cat-pick-row, .pg .cat-td-check, .pg .cat-td-qty, .pg .cat-check { display: none !important; }
.pg .cat-cell-pick { padding: 0; margin: 0; display: inline; box-shadow: none !important; }
.pg .cat-pickable { box-shadow: none !important; }

/* baskı kapağı: avantajlar */
.pg-perks { margin-top: 9mm; }
.pg-perks-title { font-size: .8em; font-weight: 600; color: var(--orange); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2.5mm; }
.pg-perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2mm; }
.pg-perks li { display: grid; padding-left: 3mm; border-left: 0.6mm solid var(--orange); font-size: .95em; }
.pg-perks span { font-size: .85em; color: rgba(255,255,255,.65); }

/* ==========================================================
   MOTOR v2 eklemeleri: ürün kartı, fiyat tablosu, logosuz marka,
   stüdyo baskı önizlemesi
   ========================================================== */
.cat-cover-name { font-size: 24px; font-weight: 700; margin-bottom: 72px; }
.cat-price-ask { font-size: 16px !important; font-weight: 600; color: var(--orange); }
.cat-prod-img { margin: -4px 0 18px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: rgba(127,127,127,.12); }
.cat-prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-prod-desc { font-size: 14px; color: var(--ink-2); margin: 6px 0 18px; }
.cat-pickable:hover .cat-prod-desc { color: rgba(255,255,255,.88); }
.cat-unit-inline { font-size: 13px; color: var(--ink-2); margin-left: 2px; }
.cat-row-label { font-weight: 600; }
.cat-products h3 { margin-bottom: 4px; }
.pg-logo-text { font-size: 1.6em; font-weight: 700; }
.pg-head strong { font-size: 1em; }
.pg .cat-prod-img { aspect-ratio: 16 / 10; margin: 0 0 2.5mm; border-radius: 1.5mm; }
.pg .cat-prod-desc { font-size: .88em; margin: 1mm 0 3mm; color: inherit; opacity: .75; }
.pg .cat-unit-inline { font-size: .8em; }
.pg .cat-price-ask { font-size: 1em !important; }

/* stüdyo: baskı sayfalarını ekranda göster */
html.preview-print .viewer-bar, html.preview-print .viewer-home, html.preview-print .catalog,
html.preview-print .cart-bar { display: none !important; }
@media screen {
  html.preview-print, html.preview-print body { background: #5b5e63 !important; }
  html.preview-print .print-pages { display: block; padding: 24px 0 48px; }
  html.preview-print .pg { margin: 0 auto 24px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
}

/* ==========================================================
   MOTOR v3: zengin ürün kartı, bölüm görünüm ayarları,
   firma profili, baskı taşma işareti
   ========================================================== */
/* sütun sayısı */
.cat-products { grid-template-columns: repeat(var(--cols, 3), 1fr); }
@media (max-width: 1024px) { .cat-products { grid-template-columns: repeat(min(var(--cols, 3), 2), 1fr); } }
@media (max-width: 820px) { .cat-products { grid-template-columns: 1fr; } }

/* yazı boyutu */
[data-font="s"] { --fs-k: .88; }
[data-font="m"] { --fs-k: 1; }
[data-font="l"] { --fs-k: 1.14; }
.cat-product h3 { font-size: calc(22px * var(--fs-k, 1)); }
.cat-product .cat-prod-desc, .cat-product .cat-size-note { font-size: calc(14px * var(--fs-k, 1)); }
.cat-product .cat-price { font-size: calc(28px * var(--fs-k, 1)); }

/* üst satır: numara + rozet */
.cat-prod-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.cat-prod-top .cat-idx { margin-bottom: 0; }
.cat-prod-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--orange); color: #fff; letter-spacing: .02em; }
.cat-pickable:hover .cat-prod-badge { background: #fff; color: var(--orange); }

/* görsel: oran + büyüklük + noktalar */
.cat-product .cat-prod-img { position: relative; aspect-ratio: var(--img-ratio, 4 / 3); margin: 0 0 18px; }
[data-imgsize="s"] .cat-prod-img { width: 60%; }
[data-imgsize="m"] .cat-prod-img { width: 80%; }
[data-imgsize="l"] .cat-prod-img { width: 100%; }
.cat-prod-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.cat-prod-dots button { width: 8px; height: 8px; border-radius: 50%; padding: 0; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.2); transition: background .2s, transform .2s; }
.cat-prod-dots button.on { background: #fff; transform: scale(1.25); }

/* seçenek / adet seçimi */
.cat-sel { display: grid; gap: 4px; margin: 0 0 12px; font-size: 12px; color: var(--ink-2); }
.cat-sel select {
  height: 38px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: inherit; font-size: 14px; padding: 0 10px; cursor: pointer;
}
.cat-sel select option { color: #2b2d31; }
.cat-pickable:hover .cat-sel { color: rgba(255,255,255,.88); }
.cat-pickable:hover .cat-sel select { border-color: rgba(255,255,255,.55); color: #fff; }

/* kampanya satırı */
.cat-camp { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--orange); }
.cat-pickable:hover .cat-camp { color: #fff; }

/* Ekle butonu: stil + boyut */
.cat-add-row { margin-top: 18px; }
.cat-addbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; cursor: pointer; user-select: none; transition: background .2s, color .2s, border-color .2s; }
.cat-addbtn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cat-addbtn .cat-add-on { display: none; }
.cat-addbtn:has(input:checked) .cat-add-on { display: inline; }
.cat-addbtn:has(input:checked) .cat-add-off { display: none; }
.cat-addbtn:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; }
[data-btnsize="s"] .cat-addbtn { height: 32px; padding: 0 14px; font-size: 13px; }
[data-btnsize="m"] .cat-addbtn { height: 40px; padding: 0 18px; font-size: 14px; }
[data-btnsize="l"] .cat-addbtn { height: 48px; padding: 0 24px; font-size: 15px; }
[data-btn="solid"] .cat-addbtn { background: var(--orange); color: #fff; }
[data-btn="line"] .cat-addbtn { border: 1.5px solid currentColor; }
.cat-addbtn:has(input:checked) { background: var(--ink); color: #26282c; border-color: var(--ink); }
.tone-acik .cat-addbtn:has(input:checked) { color: #fff; }
.cat-prod-kdv { font-size: .78em; opacity: .7; margin-top: 1mm; }
.cat-pickable:hover .cat-addbtn { background: #fff; color: var(--orange); border-color: #fff; }

/* firma profili */
.cat-profile { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.cat-profile.no-img { grid-template-columns: 1fr; max-width: 760px; }
.cat-profile.img-right .cat-profile-img { order: 2; }
.cat-profile-img { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: rgba(127,127,127,.12); }
.cat-profile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-profile-body p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.cat-profile-contact { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.cat-profile-contact li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 15px; }
.cat-profile-contact span { color: var(--ink-2); font-size: 13px; }
.cat-profile-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cat-profile-links .cat-thanks-btn { border-color: var(--line); }
.cat-profile-links .cat-thanks-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
@media (max-width: 820px) { .cat-profile { grid-template-columns: 1fr; gap: 28px; } .cat-profile.img-right .cat-profile-img { order: 0; } }

/* baskı: ürün ve profil */
.pg .cat-products { grid-template-columns: repeat(var(--cols, 3), 1fr) !important; }
.pg .cat-product { padding: 4mm; }
.pg .cat-prod-top { margin-bottom: 2.5mm; }
.pg .cat-prod-badge { font-size: .7em; padding: .5mm 2mm; }
.pg .cat-product h3 { font-size: calc(1.25em * var(--fs-k, 1)); margin-bottom: 1mm; }
.pg .cat-prod-list { list-style: none; margin: 2mm 0 0; padding: 0; display: grid; gap: .8mm; font-size: .85em; }
.pg .cat-prod-list li { display: flex; justify-content: space-between; gap: 2mm; border-bottom: 0.2mm solid rgba(127,127,127,.35); padding-bottom: .8mm; }
.pg .cat-camp { font-size: .8em; margin-top: 1.5mm; }
.pg .cat-product .cat-price { font-size: calc(1.6em * var(--fs-k, 1)); }
.pg .cat-profile { gap: 7mm; grid-template-columns: 1fr 1.2fr; }
.pg .cat-profile.no-img { grid-template-columns: 1fr; }
.pg .cat-profile-img { border-radius: 2mm; }
.pg .cat-profile-body p { font-size: 1em; margin-bottom: 2.5mm; line-height: 1.55; }
.pg .cat-profile-contact { margin-top: 3mm; padding-top: 3mm; gap: 1.2mm; }
.pg .cat-profile-contact li { grid-template-columns: 18mm 1fr; font-size: .9em; }
.pg .cat-profile-links { display: none; }
.pg-koyu .cat-prod-list li { border-color: #3b3f44; }

/* stüdyo: taşan sayfa */
@media screen { html.preview-print .pg-overflow { outline: 4px solid #ff5a3c; outline-offset: -4px; }
html.preview-print .pg-overflow::after {
  content: "Bu sayfa taşıyor — bölümü dikey yapın, yeni sayfaya bölün veya içeriği azaltın";
  position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; background: #ff5a3c; color: #fff; font: 600 12px/1.3 Inter, sans-serif; text-align: center;
}
}

/* ====== MOTOR v4: alt bölüm (önceki bölümün devamı) ====== */
.cat-sec.cat-sec-alt { padding-top: 0; }
.cat-sub-head { grid-template-columns: 1fr auto; margin-bottom: 24px; padding-top: 8px; }
.cat-sub-head h3 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; margin-bottom: 6px; padding-left: 14px; border-left: 2px solid var(--orange); }
.cat-sub-head p { color: var(--ink-2); font-size: 14px; max-width: 60ch; padding-left: 16px; }
@media (max-width: 820px) { .cat-sec.cat-sec-alt { padding-top: 0; } .cat-sub-head { grid-template-columns: 1fr; } }
.pg .cat-sub-head { grid-template-columns: 1fr auto; margin-bottom: 3.5mm; }
.pg .cat-sub-head h3 { font-size: 1.35em; font-weight: 600; margin-bottom: 1mm; padding-left: 3mm; border-left: .5mm solid var(--orange); }
.pg .cat-sub-head p { color: #5f656d; font-size: .95em; padding-left: 3.5mm; }
.pg-koyu .cat-sub-head p { color: #a3a8af; }
/* uzun içindekiler: iki sütun, daha küçük başlık */
.pg-cover-long h1 { font-size: 3em; margin-bottom: 9mm; }
.pg-cover-long .pg-toc { grid-template-columns: 1fr 1fr; column-gap: 9mm; font-size: 1.02em; }
.pg-cover-long .pg-perks { margin-top: 7mm; }
/* fiyat tablosu — telefonda satır kartı */
@media screen and (max-width: 640px) {
  .cat-pricetable:not(.cat-pt-single) thead { display: none; }
  .cat-pricetable:not(.cat-pt-single), .cat-pricetable:not(.cat-pt-single) tbody { display: block; width: 100%; }
  .cat-pricetable:not(.cat-pt-single) tr { display: block; padding: 14px 0 8px; border-bottom: 1px solid var(--line); }
  .cat-pricetable:not(.cat-pt-single) td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; text-align: left; }
  .cat-pricetable:not(.cat-pt-single) td:first-child { padding-bottom: 4px; }
  .cat-pricetable:not(.cat-pt-single) td[data-col]::before { content: attr(data-col); font-size: 13px; color: var(--ink-2); }
  .cat-pricetable.cat-pt-single td:first-child { white-space: normal; }
}

/* bölüm açıklamaları: koyu zeminde portakal (okunur ton), açık zeminde gri */
.cat-sec { --lead: color-mix(in srgb, var(--orange) 82%, #fff); }
.cat-sec.tone-acik { --lead: var(--ink-2); }          /* açık zeminde eski gri */
.cat-sec-head p, .cat-sub-head p { color: var(--lead); }
.pg .cat-sec-head p, .pg .cat-sub-head p { color: #5f656d; }
.pg-koyu .cat-sec-head p, .pg-koyu .cat-sub-head p { color: color-mix(in srgb, var(--orange) 82%, #fff); }

/* bölüm fotoğrafı ve satır fotoğrafı (panelden eklenir; yoksa görünüm aynı) */
.cat-sec-foto { margin: -12px 0 32px; aspect-ratio: 3 / 1; border-radius: 16px; overflow: hidden; background: rgba(127,127,127,.12); }
.cat-sec-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-thumb { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: rgba(127,127,127,.12); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-size-img { margin: 0 0 16px; }
@media (max-width: 820px) { .cat-sec-foto { aspect-ratio: 16 / 9; margin-bottom: 24px; } .cat-thumb { width: 40px; height: 40px; } .cat-row-size .cat-thumb { display: block; } }
.pg .cat-sec-foto { margin: -1mm 0 4mm; aspect-ratio: auto; height: 26mm; border-radius: 2mm; }
.pg-tall .cat-sec-foto { height: 40mm; }
.pg .cat-size-img { aspect-ratio: auto; height: 18mm; margin: 0 0 2mm; }
.pg .cat-thumb { width: 9mm; height: 9mm; border-radius: 1mm; }
.pg-fotosuz .cat-sec-foto, .pg-fotosuz .cat-size-img { display: none; }
