/*
 * ÇandName CSS modülü: Alıntı kartı ("Kart yap" düğmesi ve penceresi)
 * Betik: assets/js/quote-card.js. Bu dosya diğer CSS dosyalarından bağımsızdır.
 */

.qc-btn {
	position: fixed; z-index: 9990; padding: 8px 14px; border: 0; border-radius: 999px; background: #12281c; color: #fff;
	font: inherit; font-size: calc(14px * var(--fs, 1)); font-weight: 700; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.qc-btn[hidden] { display: none; }
.qc-btn:hover, .qc-btn:focus-visible { background: var(--green, #1e5a3c); }
.qc-btn--fixed { left: 50%; bottom: 76px; top: auto; transform: translateX(-50%); padding: 12px 20px; }

html.qc-open { overflow: hidden; }
.qc-dialog { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 12px; }
.qc-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.qc-box {
	position: relative; display: flex; flex-direction: column; gap: 12px; width: min(560px, 100%); max-height: 100%; overflow-y: auto; padding: 16px;
	border-radius: 14px; background: var(--surface, #fff); color: var(--ink, #1a201c); box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.qc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qc-x { width: 36px; height: 36px; border: 1px solid var(--line, #dfe5e0); border-radius: 50%; background: transparent; color: inherit; font-size: calc(20px * var(--fs, 1)); line-height: 1; cursor: pointer; }
.qc-canvas { display: block; width: 100%; height: auto; max-height: 56vh; object-fit: contain; border-radius: 8px; background: #ddd; }
.qc-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.qc-seg { display: inline-flex; gap: 6px; }
.qc-seg > button { padding: 6px 12px; border: 1px solid var(--line, #dfe5e0); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: calc(13px * var(--fs, 1)); cursor: pointer; }
.qc-seg > button.is-on { border-color: var(--green, #1e5a3c); color: var(--green, #1e5a3c); font-weight: 700; }
.qc-swatches .qc-sw { width: 30px; height: 30px; padding: 0; border-width: 3px; border-radius: 50%; }
.qc-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.qc-primary, .qc-secondary { flex: 1 1 auto; padding: 12px 18px; border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; }
.qc-primary { border: 0; background: var(--green, #1e5a3c); color: #fff; }
.qc-secondary { border: 1px solid var(--green, #1e5a3c); background: transparent; color: var(--green, #1e5a3c); }
@media print { .qc-btn, .qc-dialog { display: none; } }
