@page {
    size: A4 portrait;
    margin: 12mm 12mm 14mm;
}

@page :first {
    margin: 0;
}

/* ============================================================
   Koleksiyonum sayfası (ekran galeri düzeni + mimari yazdırma).
   Düzen: sol kenar çubuğu (koleksiyonlar, markalar, özet/teklif),
          sağda araç çubuğu (sıralama/arama) + ürün kartları ızgarası.
   ============================================================ */
.collection-page {
    padding: 96px 24px 96px;
    color: #0d1b3e;
    background: #ffffff;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.collection-page-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.collection-page-cover {
    display: none;
}

.collection-page [hidden] {
    display: none !important;
}

.collection-page .visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Üst başlık ---------- */
.cp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
}

.cp-head-text {
    min-width: 0;
    flex: 1 1 340px;
}

.cp-head-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.cp-head-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef2ff;
    color: #0d1b3e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.collection-page-title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.collection-page-hint {
    margin: 0;
    max-width: 640px;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.cp-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cp-head-quote-cta {
    padding: 8px 20px;
    box-shadow: 0 4px 12px -4px rgba(13, 27, 62, 0.25);
}

/* Düğmeler: net tıklama ve hover hissi */
.collection-page-cta,
.collection-page-print,
.cp-link-btn,
.collection-page-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease,
        box-shadow 0.16s ease;
}

.collection-page-cta {
    color: #ffffff;
    background: #0d1b3e;
    border: 1.5px solid #0d1b3e;
}

@media (hover: hover) {
    .collection-page-cta:hover:not(:disabled) {
        background: #1b2f63;
        border-color: #1b2f63;
        color: #ffffff;
        transform: translateY(-1.5px);
        box-shadow: 0 8px 20px -6px rgba(13, 27, 62, 0.28);
    }
}

.collection-page-cta:active:not(:disabled) {
    transform: scale(0.98);
}

.collection-page-print,
.cp-link-btn,
.collection-page-more {
    color: #0d1b3e;
    background: #ffffff;
    border: 1.5px solid #dbe2ee;
}

@media (hover: hover) {

    .collection-page-print:hover:not(:disabled),
    .cp-link-btn:hover,
    .collection-page-more:hover:not(:disabled) {
        border-color: #0d1b3e;
        background: #f8fafc;
        color: #0d1b3e;
        transform: translateY(-1.5px);
        box-shadow: 0 6px 16px -8px rgba(13, 27, 62, 0.18);
    }
}

.collection-page-print:active:not(:disabled),
.cp-link-btn:active,
.collection-page-more:active:not(:disabled) {
    transform: scale(0.98);
}

.collection-page-print:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.collection-page-pending {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #fff8e6;
    border: 1px solid #f0d58a;
    border-radius: 12px;
}

.collection-page-pending p {
    margin: 0;
    font-size: 14px;
}

/* ---------- İki sütun çalışma alanı ---------- */
.cp-workspace {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 20px 34px;
    align-items: start;
}

.cp-sidebar-nav {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cp-canvas {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cp-side-aside {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
}

.cp-side-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cp-side-label {
    margin: 0 0 2px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.cp-col-list,
.cp-brand-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cp-col-btn,
.cp-brand-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    color: #334155;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.cp-col-name,
.cp-brand-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-col-count,
.cp-brand-count {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    transition: background-color 0.15s ease, color 0.15s ease;
}

@media (hover: hover) {

    .cp-col-btn:hover,
    .cp-brand-btn:hover {
        color: #0d1b3e;
        background: #f4f6fb;
        transform: translateX(2px);
    }
}

.cp-col-btn:active,
.cp-brand-btn:active {
    transform: scale(0.985);
}

.cp-col-btn.is-active,
.cp-brand-btn.is-active {
    color: #0d1b3e;
    font-weight: 600;
    background: #f1f4fa;
    border-color: #dfe6f2;
}

.cp-col-btn.is-active .cp-col-count,
.cp-brand-btn.is-active .cp-brand-count {
    background: #0d1b3e;
    color: #ffffff;
}

.cp-col-more {
    min-height: 36px;
    font-size: 13px;
}

.cp-col-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    margin-top: 2px;
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: #0d1b3e;
    background: transparent;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.16s ease,
        border-color 0.16s ease;
}

@media (hover: hover) {
    .cp-col-new:hover {
        background: #f8fafc;
        border-color: #0d1b3e;
        transform: translateY(-1px);
    }
}

.cp-col-new:active {
    transform: scale(0.985);
}

/* Özet kartı */
.collection-page-summary {
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
}

.collection-page-summary h2 {
    margin: 0 0 12px;
}

.collection-page-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.collection-page-stats>div {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.collection-page-stats dt {
    font-size: 12px;
    color: #64748b;
}

.collection-page-stats dd {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: #0d1b3e;
}

/* Teklif durumu (sol panel içi kompakt kart) */
.cp-qstatus {
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
}

.cp-qstatus h2 {
    margin: 0 0 6px;
}

.cp-qstatus-summary {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: #334155;
}

.cp-qstatus-progress {
    display: block;
    width: 100%;
    height: 7px;
    margin-bottom: 12px;
    border: 0;
    border-radius: 999px;
    background: #e8ecf3;
    overflow: hidden;
    appearance: none;
}

.cp-qstatus-progress::-webkit-progress-bar {
    background: #e8ecf3;
    border-radius: 999px;
}

.cp-qstatus-progress::-webkit-progress-value {
    background: #16a34a;
    border-radius: 999px;
}

.cp-qstatus-progress::-moz-progress-bar {
    background: #16a34a;
    border-radius: 999px;
}

.cp-qstatus-list {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cp-qstatus-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 12.5px;
}

.cp-qstatus-brand {
    min-width: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.cp-qstatus-pill {
    flex: 0 0 auto;
    padding: 2px 8px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 999px;
}

.cp-qstatus-pill.is-waiting {
    color: #7a4b00;
    background: #fff4d6;
}

.cp-qstatus-pill.is-preparing {
    color: #1c325f;
    background: #e8eefc;
}

.cp-qstatus-pill.is-answered {
    color: #0f4a2b;
    background: #e3f5ea;
}

.cp-qstatus-pill.is-cancelled {
    color: #7f1d1d;
    background: #fdecec;
}

.cp-qstatus-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #1c325f;
    text-decoration: none;
}

.cp-qstatus-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Teklif Al kartı (.cp-side-aside) */
.cp-side-aside .collection-quote {
    margin: 0;
    padding: 16px;
    background: #f4f6fb;
    border: 1px solid #e2e8f2;
    border-radius: 14px;
    scroll-margin-top: 110px;
}

.cp-side-aside .collection-quote h2 {
    margin: 0 0 6px;
    font-size: 16.5px;
    scroll-margin-top: 110px;
}

.cp-side-aside .collection-quote-lead {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.cp-side-aside .collection-page-cta,
.cp-side-aside .collection-quote-actions .collection-page-more {
    width: 100%;
    min-height: 44px;
}

.cp-side-aside .collection-quote-actions {
    flex-direction: column;
}

.cp-side-aside .collection-quote-form {
    max-width: none;
    gap: 10px;
}

.cp-steps {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    counter-reset: cpstep;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cp-steps li {
    position: relative;
    padding-left: 28px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #334155;
    counter-increment: cpstep;
}

.cp-steps li::before {
    content: counter(cpstep);
    position: absolute;
    left: 0;
    top: -1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: #0d1b3e;
    border-radius: 50%;
}

.cp-optional {
    background: #ffffff;
    border: 1px solid #dfe3ec;
    border-radius: 10px;
}

.cp-optional summary {
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1c325f;
    cursor: pointer;
    border-radius: 10px;
}

.cp-optional[open] summary {
    border-bottom: 1px solid #eceff5;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.cp-optional .collection-quote-field {
    padding: 10px 12px 0;
}

.cp-optional .collection-quote-field:last-child {
    padding-bottom: 12px;
}

/* ---------- Ana galeri araç çubuğu ---------- */

.cp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}

.cp-toolbar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    min-width: 0;
    flex: 1 1 280px;
}

.cp-active-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: #0d1b3e;
    overflow-wrap: break-word;
    word-break: normal;
}

.cp-active-edit {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.cp-active-name-input {
    min-width: 180px;
    max-width: 320px;
    height: 40px;
    padding: 0 34px 0 12px;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0d1b3e;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.cp-active-name-input:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.cp-active-name-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #0d1b3e;
    box-shadow: 0 0 0 3px rgba(13, 27, 62, 0.08);
}

.cp-active-edit-icon {
    position: absolute;
    right: 11px;
    pointer-events: none;
    color: #64748b;
    display: inline-flex;
}

.cp-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #0d1b3e;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    cursor: pointer;
    transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.cp-bar-btn--danger {
    color: #64748b;
}

@media (hover: hover) {
    .cp-bar-btn--danger:hover:not(.is-locked) {
        color: #b91c1c;
        background: #fdf2f2;
        border-color: #f0c4c4;
        transform: translateY(-1px);
    }
}

.cp-bar-btn:active:not(.is-locked) {
    transform: scale(0.96);
}

.cp-bar-btn.is-locked {
    color: #94a3b8;
    background: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.cp-toolbar-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

.cp-sort-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 158px;
    height: 44px;
    padding: 4px 12px;
    background: #ffffff;
    border: 1px solid #dbe2ee;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.16s ease;
}

.cp-sort-box:hover,
.cp-sort-box:focus-within {
    border-color: #0d1b3e;
}

.cp-sort-kicker {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
    color: #64748b;
    pointer-events: none;
}

.cp-sort-box select {
    width: 100%;
    padding: 0 2px 0 0;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #0d1b3e;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.cp-sort-box select:focus {
    outline: none;
}

.cp-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 210px;
    height: 44px;
    background: #ffffff;
    border: 1px solid #dbe2ee;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.cp-search-box:hover {
    border-color: #94a3b8;
}

.cp-search-box:focus-within {
    border-color: #0d1b3e;
    box-shadow: 0 0 0 3px rgba(13, 27, 62, 0.07);
}

.cp-search-icon {
    position: absolute;
    left: 12px;
    color: #64748b;
    pointer-events: none;
}

.cp-search-box input {
    width: 100%;
    height: 100%;
    padding: 0 32px 0 36px;
    font: inherit;
    font-size: 13.5px;
    color: #0d1b3e;
    background: transparent;
    border: 0;
    box-sizing: border-box;
}

.cp-search-box input:focus {
    outline: none;
}

.cp-search-box input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.cp-search-clear {
    position: absolute;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.14s ease;
}

.cp-search-clear:hover {
    background: #f1f5f9;
    color: #0d1b3e;
}

.cp-search-clear:active {
    transform: scale(0.9);
}

.collection-page-status {
    min-height: 0;
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.collection-page-status:empty {
    display: none;
}

/* ---------- Boş / Filtre sonucu yok durumları ---------- */
.collection-page-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 58px 24px;
    text-align: center;
    background: #f8fafc;
    border: 1.5px dashed #dbe2ee;
    border-radius: 16px;
}

.cp-empty-icon {
    color: #94a3b8;
    margin-bottom: 4px;
}

.cp-empty-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.collection-page-empty p {
    margin: 0 0 12px;
    max-width: 440px;
    font-size: 14.5px;
    line-height: 1.55;
    color: #64748b;
}

.cp-filtered-empty-text {
    font-weight: 600;
    color: #334155;
}

/* ---------- Ürün Galeri Kartları (3 sütun -> 2 sütun -> 1 sütun) ---------- */
.cp-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e6eaf2;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.18s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

@media (hover: hover) {
    .cp-card:hover {
        transform: translateY(-4px);
        border-color: #cbd5e1;
        box-shadow: 0 16px 32px -12px rgba(13, 27, 62, 0.14);
    }
}

.cp-card.is-removing {
    opacity: 0;
    transform: scale(0.94);
    pointer-events: none;
}

.cp-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f5f6f8;
    overflow: hidden;
}

.cp-card-img-link,
.cp-card-img-static {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 18px;
    box-sizing: border-box;
    text-decoration: none;
}

.cp-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
    .cp-card:hover .cp-card-img {
        transform: scale(1.05);
    }
}

.collection-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    font-size: 28px;
    font-weight: 700;
    color: #64748b;
    background: #e9edf5;
    border-radius: 14px;
}

/* Kart sağ üst kaldır düğmesi */
.cp-card-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    cursor: pointer;
    opacity: 0.85;
    transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.16s ease,
        color 0.16s ease,
        background-color 0.16s ease,
        border-color 0.16s ease;
}

@media (hover: hover) {
    .cp-card:hover .cp-card-remove {
        opacity: 1;
    }

    .cp-card-remove:hover:not(:disabled) {
        color: #b91c1c;
        background: #fdf2f2;
        border-color: #f0c4c4;
        transform: scale(1.08);
    }
}

.cp-card-remove:active:not(:disabled) {
    transform: scale(0.91);
}

.cp-card-remove:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cp-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
}

.cp-card-topmeta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 22px;
}

.cp-card-brand-wrap {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 120px;
    height: 22px;
}

.cp-card-brand-logo {
    max-height: 20px;
    max-width: 104px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: multiply;
    display: block;
}

.cp-card-brand {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #64748b;
}

.cp-code {
    padding: 2px 7px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border-radius: 5px;
}

.cp-card-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.38;
    color: #0d1b3e;
    text-decoration: none;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a.cp-card-title:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Kart alt kontrolleri: Adet + Konfigürasyon + Not */
.cp-card-foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cp-card-foot-btns {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.collection-qty {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
}

.collection-qty-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    font: inherit;
    font-size: 16px;
    line-height: 1;
    color: #0d1b3e;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.14s ease,
        border-color 0.14s ease;
}

@media (hover: hover) {
    .collection-qty-btn:hover {
        background: #eef2ff;
        border-color: #cbd5e1;
    }
}

.collection-qty-btn:active {
    transform: scale(0.9);
}

.collection-qty-input {
    width: 42px;
    height: 30px;
    padding: 0 2px;
    text-align: center;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #0d1b3e;
    background: transparent;
    border: 0;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

.collection-qty-input::-webkit-inner-spin-button,
.collection-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cp-note-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 9px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.15s ease,
        background-color 0.15s ease,
        border-color 0.15s ease;
}

@media (hover: hover) {
    .cp-note-toggle:hover {
        color: #0d1b3e;
        background: #f4f6fb;
        border-color: #e2e8f0;
    }
}

.cp-note-toggle:active {
    transform: scale(0.96);
}

.cp-note-toggle.has-note {
    color: #0d1b3e;
    background: #eef2ff;
    border-color: #dce4f9;
}

.cp-note {
    margin-top: 6px;
}

.collection-note-input {
    display: block;
    width: 100%;
    min-height: 58px;
    padding: 8px 10px;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    color: #0d1b3e;
    background: #f8fafc;
    border: 1.5px solid #dbe2ee;
    border-radius: 9px;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.collection-note-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #0d1b3e;
}

.collection-page-price-note {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

/* Odak halkaları */
.collection-page button:focus-visible,
.collection-page a:focus-visible,
.collection-page select:focus-visible,
.collection-page input:focus-visible,
.collection-page summary:focus-visible {
    outline: 3px solid #4a7bff;
    outline-offset: 2px;
}

/* ---------- Diyaloglar ---------- */
.cp-dialog {
    width: min(440px, calc(100vw - 28px));
    max-height: calc(100vh - 36px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(13, 27, 62, 0.28);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0d1b3e;
}

.cp-dialog[open] {
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 2147483000;
    animation: cpDialogPop 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.cp-dialog::backdrop {
    background: rgba(13, 27, 62, 0.52);
    backdrop-filter: blur(2px);
}

@keyframes cpDialogPop {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cp-dialog-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.cp-dialog h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

.cp-dialog-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.cp-dialog-warn {
    padding: 10px 12px;
    font-size: 13px;
    color: #7f1d1d;
    background: #fdf2f2;
    border-radius: 10px;
}

.cp-dialog-error {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #b91c1c;
}

.cp-dialog-error[hidden] {
    display: none !important;
}

.cp-dialog-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cp-dialog-field label {
    font-size: 13px;
    font-weight: 600;
}

.cp-dialog-field input {
    height: 44px;
    padding: 0 13px;
    font: inherit;
    font-size: 14px;
    color: inherit;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    box-sizing: border-box;
}

.cp-dialog-field input:focus {
    outline: none;
    border-color: #0d1b3e;
}

.cp-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.cp-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: #b91c1c;
    border: 1.5px solid #b91c1c;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

@media (hover: hover) {
    .cp-btn-danger:hover:not(:disabled) {
        background: #991b1b;
        border-color: #991b1b;
        transform: translateY(-1px);
    }
}

.cp-btn-danger:active:not(:disabled) {
    transform: scale(0.98);
}

.cp-btn-danger:disabled {
    opacity: 0.6;
    cursor: wait;
}

.cp-mobilebar {
    display: none;
}

/* Kart içi uygulanan konfigürasyon rozetleri + Konfigürasyon düzenle düğmesi */
.cp-card-configs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 2px;
}

.cp-card-cfg-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 3px 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #0d1b3e;
    background: #f4f6fb;
    border: 1px solid #dbe2ee;
    border-radius: 999px;
}

.cp-card-cfg-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-card-cfg-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(13, 27, 62, 0.2);
    flex: 0 0 auto;
    display: block;
}

.cp-card-cfg-empty {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
}

.cp-cfg-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 4px 10px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #0d1b3e;
    background: #eef2ff;
    border: 1px solid #d5e0fa;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) {
    .cp-cfg-toggle:hover {
        background: #dbe6ff;
        border-color: #b7c8f2;
    }
}

.cp-cfg-toggle:active {
    transform: scale(0.96);
}

/* Koleksiyonum Konfigürasyon Düzenleme Diyaloğu */
.cp-dialog--config {
    width: min(560px, calc(100vw - 24px));
}

.cp-cfg-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.cp-cfg-close {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    background: #f1f5f9;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

@media (hover: hover) {
    .cp-cfg-close:hover {
        background: #e2e8f0;
        color: #0d1b3e;
    }
}

.cp-cfg-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: min(420px, 52dvh);
    overflow-y: auto;
    padding-right: 4px;
}

.cp-cfg-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cp-cfg-group-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #0d1b3e;
}

.cp-cfg-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cp-cfg-opt {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.14s ease, background-color 0.14s ease, transform 0.14s ease;
}

.cp-cfg-opt img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(13, 27, 62, 0.16);
    flex: 0 0 auto;
    display: block;
}

.cp-cfg-opt.is-selected {
    color: #0d1b3e;
    background: #eef2ff;
    border-color: #0d1b3e;
    box-shadow: 0 0 0 1px #0d1b3e;
}

.cp-cfg-opt:active {
    transform: scale(0.97);
}

.print-only {
    display: none;
}

/* ---------- Responsive kırılımlar (Masaüstü / Tablet / Telefon) ---------- */
@media screen and (max-width: 1280px) {
    .cp-workspace {
        grid-template-columns: 252px minmax(0, 1fr);
        gap: 20px 26px;
    }
}

@media screen and (max-width: 1180px) {
    .cp-workspace {
        grid-template-columns: 236px minmax(0, 1fr);
        gap: 18px 24px;
    }

    .cp-toolbar-left {
        flex: 1 1 100%;
    }

    .cp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 920px) {
    .collection-page {
        padding: 88px 20px 110px;
    }

    .cp-head-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cp-workspace {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 18px;
    }

    .cp-sidebar-nav,
    .cp-canvas,
    .cp-side-aside {
        grid-column: auto;
        grid-row: auto;
    }

    .cp-col-list,
    .cp-brand-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .cp-col-btn,
    .cp-brand-btn {
        width: auto;
        max-width: 100%;
        min-width: 0;
        padding: 8px 12px;
        border: 1px solid #e2e8f0;
    }

    .cp-col-new {
        width: auto;
        align-self: flex-start;
    }

    .collection-page-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cp-toolbar-tools {
        width: 100%;
    }

    .cp-sort-box {
        flex: 1 1 180px;
    }

    .cp-search-box {
        flex: 1 1 200px;
        width: auto;
    }

    .cp-mobilebar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
    }

    .cp-mobilebar[hidden] {
        display: none !important;
    }

    .cp-mobilebar-info {
        margin: 0;
        min-width: 0;
        font-size: 13.5px;
        color: #3d475c;
    }

    .cp-mobilebar .collection-page-cta {
        flex-shrink: 0;
        min-height: 44px;
        padding: 8px 18px;
    }
}

@media screen and (max-width: 600px) {
    .collection-page {
        padding: 84px 14px 104px;
    }

    .cp-head {
        margin-bottom: 18px;
        padding-bottom: 16px;
        gap: 12px 14px;
    }

    .collection-page-title {
        font-size: 24px;
    }

    .cp-head-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .cp-head-actions>* {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 40px;
        padding: 8px 12px;
        justify-content: center;
        white-space: nowrap;
    }

    .cp-head-actions .cp-head-quote-cta {
        flex: 1 1 100%;
    }

    .cp-toolbar-left {
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 10px;
    }

    .cp-active-title {
        font-size: 18px;
        min-width: 0;
        max-width: 100%;
    }

    .cp-active-edit {
        flex: 1 1 180px;
        min-width: 0;
    }

    .cp-active-name-input {
        width: 100%;
        min-width: 0;
        max-width: none;
        font-size: 15.5px;
    }

    .cp-bar-btn {
        flex: 0 0 auto;
        min-height: 36px;
        white-space: nowrap;
    }

    .cp-toolbar-tools {
        width: 100%;
    }

    .cp-sort-box {
        flex: 1 1 136px;
        min-width: 0;
    }

    .cp-search-box {
        flex: 1 1 150px;
        width: auto;
        min-width: 0;
    }

    .collection-page-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .cp-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .cp-card-media {
        aspect-ratio: 16 / 10;
    }

    .cp-dialog-actions>* {
        flex: 1 1 0;
    }
}

@media screen and (max-width: 400px) {
    .collection-page {
        padding: 18px 12px 96px;
    }

    .cp-head-actions>* {
        font-size: 13px;
        padding: 8px 10px;
    }

    .cp-bar-btn {
        padding: 0 10px;
        font-size: 12.5px;
    }

    .cp-toolbar-tools {
        gap: 8px;
    }

    .cp-sort-box,
    .cp-search-box {
        flex: 1 1 100%;
    }

    .collection-page-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-mobilebar {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    }

    .cp-mobilebar .collection-page-cta {
        padding: 8px 14px;
        font-size: 13.5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .collection-page-cta,
    .collection-page-print,
    .cp-link-btn,
    .collection-page-more,
    .cp-col-btn,
    .cp-brand-btn,
    .cp-col-new,
    .cp-bar-btn,
    .cp-card,
    .cp-card-img,
    .cp-card-remove,
    .collection-qty-btn,
    .cp-note-toggle,
    .cp-btn-danger,
    .cp-dialog[open] {
        transition: none;
        animation: none;
    }

    .cp-card:hover,
    .cp-card:hover .cp-card-img,
    .cp-col-btn:hover,
    .cp-brand-btn:hover {
        transform: none;
    }
}

/* ---------- Mimari yazdırma / PDF çıktısı (Örnek Şablon: Kapak + Özet + Kartlar + İkon Açıklamaları) ---------- */
@media print {
    body.collection-page-active {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        background: #ffffff;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body.collection-page-active > *:not(main),
    body.collection-page-active .no-print,
    body.collection-page-active .collection-toast,
    body.collection-page-active .cp-dialog {
        display: none !important;
    }

    main {
        display: block;
        margin: 0;
        padding: 0;
    }

    .print-only,
    span.print-only {
        display: block !important;
    }

    .collection-page {
        padding: 0;
        margin: 0;
        color: #0d1b3e;
        background: #ffffff;
        font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    .collection-page-inner {
        max-width: none;
        width: 100%;
        margin: 0;
    }

    /* ===== Sayfa 1: Tam Boy Lacivert Mimari Kapak ===== */
    .collection-page-cover {
        position: relative;
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 210mm;
        height: 296mm;
        min-height: 296mm;
        max-height: 296mm;
        padding: 18mm 18mm 16mm;
        margin: 0;
        box-sizing: border-box;
        background: #0d1b3e;
        color: #ffffff;
        overflow: hidden;
        break-after: page;
        page-break-after: always;
    }

    .cp-cover-rings {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .cp-cover-ring {
        position: absolute;
        border-radius: 50%;
        border: 1.5px solid rgba(255, 255, 255, 0.08);
    }

    .cp-cover-ring--lg {
        width: 170mm;
        height: 170mm;
        right: -52mm;
        bottom: -44mm;
        background: radial-gradient(circle, rgba(43, 89, 195, 0.16) 0%, transparent 68%);
    }

    .cp-cover-ring--sm {
        width: 98mm;
        height: 98mm;
        left: -28mm;
        top: 26mm;
    }

    .cp-cover-top {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 8mm;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .cp-cover-brand {
        font-size: 22px;
        font-weight: 800;
        letter-spacing: -0.03em;
        color: #ffffff;
    }

    .cp-cover-kicker {
        padding: 4px 12px;
        font-size: 9.5px;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #dbe6ff;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 999px;
    }

    .cp-cover-main {
        position: relative;
        z-index: 1;
        margin: auto 0;
        padding: 18mm 0;
    }

    .cp-cover-eyebrow {
        margin: 0 0 10px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #93b4ff;
    }

    .collection-page-cover-name {
        margin: 0 0 14px;
        font-size: 38px;
        font-weight: 800;
        line-height: 1.12;
        letter-spacing: -0.025em;
        color: #ffffff;
        overflow-wrap: anywhere;
    }

    .cp-cover-sub {
        margin: 0;
        max-width: 135mm;
        font-size: 12.5px;
        line-height: 1.65;
        color: #cbd8f5;
    }

    .cp-cover-foot {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        padding-top: 8mm;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .cp-cover-foot-item {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .cp-cover-foot-label {
        font-size: 8.5px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #93a8d6;
    }

    .cp-cover-foot-val {
        font-size: 13px;
        font-weight: 700;
        color: #ffffff;
    }

    .cp-cover-url {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.06em;
        color: #93b4ff;
    }

    /* ===== Sayfa 2: Proje Detayları + Markalar + Yüzey Tablosu + KPI ===== */
    .cp-print-overview {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
        min-height: 268mm;
        break-after: page;
        page-break-after: always;
    }

    .cp-pov-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 10px;
        border-bottom: 2px solid #0d1b3e;
    }

    .cp-pov-brand {
        display: flex;
        align-items: baseline;
        gap: 10px;
    }

    .cp-pov-wordmark {
        font-size: 20px;
        font-weight: 800;
        letter-spacing: -0.03em;
        color: #0d1b3e;
    }

    .cp-pov-sub {
        font-size: 10.5px;
        font-weight: 600;
        color: #64748b;
    }

    .cp-pov-meta-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 3px;
    }

    .cp-pov-badge {
        padding: 2.5px 9px;
        font-size: 8.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #0d1b3e;
        background: #eef2ff;
        border: 1px solid #cbd8f5;
        border-radius: 4px;
    }

    .cp-pov-date {
        font-size: 10px;
        color: #475569;
    }

    .cp-pov-hero {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 114px;
        gap: 16px;
        align-items: center;
        padding: 14px 16px;
        background: #f8fafc;
        border: 1px solid #dbe2ee;
        border-radius: 8px;
    }

    .cp-pov-title {
        margin: 0 0 10px;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;
        color: #0d1b3e;
    }

    .cp-pov-dl {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 14px;
        margin: 0;
    }

    .cp-pov-dl > div {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .cp-pov-dl dt {
        font-size: 8.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #64748b;
    }

    .cp-pov-dl dd {
        margin: 0;
        font-size: 11.5px;
        font-weight: 700;
        color: #0d1b3e;
        overflow-wrap: anywhere;
    }

    .cp-pov-qr-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 8px;
        background: #ffffff;
        border: 1px solid #dbe2ee;
        border-radius: 8px;
    }

    .cp-pov-qr-box {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cp-qr-svg {
        width: 82px;
        height: 82px;
        display: block;
    }

    .cp-pov-qr-label {
        font-size: 8px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #475569;
    }

    .cp-pov-block {
        padding: 12px 14px;
        background: #ffffff;
        border: 1px solid #dbe2ee;
        border-radius: 8px;
    }

    .cp-pov-block-title {
        margin: 0 0 10px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #0d1b3e;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 5px;
    }

    .cp-pov-brands {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
        align-items: center;
    }

    .cp-pov-brand-chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 30px;
        padding: 4px 10px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
    }

    .cp-pov-brand-logo {
        max-height: 24px;
        max-width: 96px;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }

    .cp-pov-brand-text {
        font-size: 11px;
        font-weight: 700;
        color: #0d1b3e;
    }

    .cp-pov-surfaces {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
    }

    .cp-pov-swatch-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-align: center;
    }

    .cp-pov-swatch-circle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        overflow: hidden;
        border: 1.5px solid #cbd5e1;
        background: #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cp-pov-swatch-img {
        width: 44px;
        height: 44px;
        object-fit: cover;
        display: block;
    }

    .cp-pov-swatch-ph {
        font-size: 12px;
        font-weight: 700;
        color: #0d1b3e;
    }

    .cp-pov-swatch-name {
        font-size: 8.5px;
        font-weight: 600;
        line-height: 1.25;
        color: #334155;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cp-print-stats {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        margin: auto 0 0;
        background: #f8fafc;
        border: 1.5px solid #0d1b3e;
        border-radius: 8px;
        overflow: hidden;
    }

    .cp-print-stats > div {
        display: flex;
        flex-direction: column-reverse;
        gap: 3px;
        padding: 12px 14px;
        border-right: 1px solid #dbe2ee;
    }

    .cp-print-stats > div:last-child {
        border-right: 0;
    }

    .cp-print-stats dt {
        margin: 0;
        font-size: 8.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #64748b;
    }

    .cp-print-stats dd {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        line-height: 1.15;
        color: #0d1b3e;
    }

    /* Tek sütunlu tam genişlik şartname akışı */
    .cp-workspace,
    .cp-canvas,
    .cp-gallery {
        display: block !important;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .cp-print-groups {
        display: block !important;
        width: 100%;
    }

    .collection-group {
        margin: 0 0 14px;
    }

    .collection-group:last-child {
        margin-bottom: 0;
    }

    .cp-group-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 7px 12px;
        margin: 0 0 10px;
        background: #0d1b3e;
        color: #ffffff;
        border-radius: 6px;
        break-after: avoid;
        page-break-after: avoid;
    }

    .cp-print-brand-wrap {
        display: inline-flex;
        align-items: center;
        min-height: 22px;
        max-width: 75%;
        padding: 2px 8px;
        background: #ffffff;
        border-radius: 4px;
    }

    .cp-print-brand-logo {
        display: block;
        max-height: 20px;
        max-width: 120px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .collection-group-title {
        margin: 0;
        font-size: 12.5px;
        font-weight: 700;
        color: #0d1b3e;
    }

    .cp-chip {
        flex: 0 0 auto;
        padding: 2.5px 9px;
        font-size: 9px;
        font-weight: 700;
        color: #0d1b3e;
        background: #eef2ff;
        border-radius: 999px;
    }

    /* ===== Sayfa 3+: Çerçeveli 2 Sütunlu Ürün Şartname Kartları ===== */
    .cp-spec-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .cp-spec-card {
        border: 1.5px solid #0d1b3e;
        border-radius: 8px;
        background: #ffffff;
        overflow: hidden;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .cp-spec-bar {
        display: grid;
        grid-template-columns: 36px minmax(0, 1.55fr) minmax(0, 0.85fr) 54px 52px;
        background: #eef2ff;
        border-bottom: 1.5px solid #0d1b3e;
    }

    .cp-spec-cell {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding: 6px 10px;
        border-right: 1px solid #cbd8f5;
        min-width: 0;
    }

    .cp-spec-cell:last-child {
        border-right: 0;
    }

    .cp-spec-cell--num {
        align-items: center;
        text-align: center;
    }

    .cp-spec-th {
        font-size: 7.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #475569;
    }

    .cp-spec-td {
        font-size: 10.5px;
        font-weight: 700;
        color: #0d1b3e;
        overflow-wrap: anywhere;
    }

    .cp-spec-grid {
        display: grid;
        grid-template-columns: 204px minmax(0, 1fr);
        gap: 14px;
        padding: 12px 14px;
        align-items: start;
    }

    .cp-spec-left {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .cp-spec-strengths {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .cp-spec-str-icon {
        width: 18px;
        height: 18px;
        padding: 2px;
        border-radius: 4px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        object-fit: contain;
        display: block;
    }

    .cp-spec-img-box {
        width: 204px;
        height: 148px;
        padding: 6px;
        box-sizing: border-box;
        background: #ffffff;
        border: 1px solid #dbe2ee;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .cp-spec-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .collection-thumb-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 26px;
        font-weight: 700;
        color: #64748b;
        background: #f1f5f9;
        border-radius: 4px;
    }

    .cp-spec-meta-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-top: 6px;
        border-top: 1px solid #e2e8f0;
    }

    .cp-spec-brand-info {
        display: flex;
        flex-direction: column;
        gap: 3px;
        min-width: 0;
    }

    .cp-spec-brand-logo {
        max-width: 90px;
        max-height: 22px;
        width: auto;
        height: auto;
        object-fit: contain;
        object-position: left center;
        display: block;
    }

    .cp-spec-brand-name {
        font-size: 10.5px;
        color: #0d1b3e;
    }

    .cp-spec-brand-phone {
        font-size: 8.5px;
        color: #475569;
    }

    .cp-spec-qr-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        flex: 0 0 auto;
    }

    .cp-spec-qr-svg {
        width: 54px;
        height: 54px;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        display: block;
    }

    .cp-spec-qr-cap {
        font-size: 7px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #475569;
    }

    .cp-spec-right {
        display: flex;
        flex-direction: column;
        gap: 9px;
        min-width: 0;
    }

    .cp-spec-sec {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .cp-spec-sec-title {
        margin: 0;
        font-size: 8px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #64748b;
    }

    .cp-spec-desc {
        margin: 0;
        font-size: 9.5px;
        line-height: 1.48;
        color: #1e293b;
    }

    .cp-spec-cfgs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .cp-spec-cfg-tile {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 7px;
        background: #f8fafc;
        border: 1px solid #dbe2ee;
        border-radius: 5px;
        min-width: 0;
    }

    .cp-spec-cfg-img {
        width: 24px;
        height: 24px;
        border-radius: 4px;
        object-fit: cover;
        border: 1px solid rgba(13, 27, 62, 0.16);
        flex: 0 0 auto;
        display: block;
    }

    .cp-spec-cfg-copy {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .cp-spec-cfg-k {
        font-size: 7.5px;
        color: #64748b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cp-spec-cfg-v {
        font-size: 9px;
        font-weight: 700;
        color: #0d1b3e;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cp-spec-dims {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .cp-spec-dim {
        display: flex;
        flex-direction: column;
        gap: 1px;
        min-width: 68px;
        padding: 4px 8px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 5px;
    }

    .cp-spec-dim span {
        font-size: 7.5px;
        color: #64748b;
    }

    .cp-spec-dim strong {
        font-size: 9.5px;
        font-weight: 700;
        color: #0d1b3e;
    }

    .cp-spec-note-box {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 6px 9px;
        background: #f8fafc;
        border-left: 3px solid #0d1b3e;
        border-radius: 0 5px 5px 0;
    }

    .cp-print-note {
        margin: 0;
        font-size: 9.5px;
        line-height: 1.45;
        color: #1e293b;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

    /* Sayfa Sonu Nitelik Açıklamaları ve Feragatname */
    .cp-print-legend {
        margin: 14px 0 0;
        padding: 10px 14px;
        background: #f8fafc;
        border: 1px solid #dbe2ee;
        border-radius: 8px;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .cp-print-legend-title {
        margin: 0 0 8px;
        font-size: 9.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #0d1b3e;
    }

    .cp-print-legend-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 16px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .cp-leg-item {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 9px;
        font-weight: 600;
        color: #334155;
    }

    .cp-leg-icon {
        width: 15px;
        height: 15px;
        object-fit: contain;
        display: block;
    }

    .collection-page-price-note,
    .cp-print-disclaimer {
        margin: 10px 0 0;
        padding: 9px 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        font-size: 9.5px;
        line-height: 1.45;
        color: #475569;
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
