/* ==========================================================================
   Ürün ekleri: diğer renkler, stok bildirimi, kargo ve iade sekmesi
   ========================================================================== */

/* ---------- Diğer renk / desenler ---------- */
.tsec-family { margin: 18px 0 22px; }
.tsec-family__label { margin: 0 0 10px; font-size: 14px; }
.tsec-family__label span { color: var(--tsec-muted); }
.tsec-family__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tsec-family__swatch {
	position: relative;
	display: block;
	width: 56px;
	height: 56px;
	padding: 2px;
	border: 1px solid var(--tsec-line);
	border-radius: 50%;
	background: #fff;
	transition: border-color .2s ease, transform .2s ease;
}
.tsec-family__swatch img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tsec-family__swatch:hover { border-color: #1a1a1a; transform: translateY(-1px); }
.tsec-family__swatch.is-current { border: 2px solid #1a1a1a; padding: 1px; }
.tsec-family__swatch.is-out img { opacity: .45; }
.tsec-family__swatch.is-out::after {
	content: "";
	position: absolute;
	inset: 50% 6px auto;
	height: 1.5px;
	background: #1a1a1a;
	transform: rotate(-45deg);
}
.tsec-family__swatch:focus-visible { outline: 2px solid var(--tsec-cta, #ea8f10); outline-offset: 2px; }

.tsec-family-badge {
	display: block;
	margin: 2px 0 6px;
	color: var(--tsec-muted);
	font-size: 12px;
	font-weight: 500;
}

/* ---------- Hemen Al ---------- */
.ct-cart-actions .tsec-buy-now,
.tsec-buy-now {
	flex: 1 1 100%;
	width: 100%;
	min-height: 50px;
	margin: 8px 0 0 !important;
	border: 1px solid #1a1a1a !important;
	background: #1a1a1a !important;
	color: #fff !important;
	font-weight: 700;
	letter-spacing: .02em;
}
.tsec-buy-now:hover { background: #000 !important; border-color: #000 !important; }
.tsec-buy-now[disabled], .tsec-buy-now.is-disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Paket ürünlerde adet fiyatı ---------- */
.tsec-pack-unit { display: block; margin: 2px 0 4px; color: var(--tsec-muted); font-size: 12.5px; font-weight: 500; line-height: 1.35; }
.tsec-pack-unit--single { margin: -4px 0 14px; font-size: 14px; }

/* ---------- Stoğa gelince haber ver ---------- */
.tsec-alert { margin: 20px 0; padding: 18px; border: 1px solid var(--tsec-line); background: #fcfbf9; }
.tsec-alert__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.tsec-alert__text { margin: 0 0 12px; color: var(--tsec-muted); font-size: 14px; }
.tsec-alert__row { display: flex; gap: 8px; }
.tsec-alert__row input[type="email"] { flex: 1; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 0; background: #fff; font: inherit; font-size: 14px; }
.tsec-alert__row input[type="email"]:focus { border-color: #000; outline: 0; }
.tsec-alert .tsec-alert__btn {
	flex: none;
	min-height: 48px;
	padding-inline: 22px !important;
	border: 0 !important;
	background: var(--tsec-cta, #ea8f10) !important;
	color: var(--tsec-cta-text, #1a1a1a) !important;
	font-weight: 700;
}
.tsec-alert .tsec-alert__btn:hover { background: var(--tsec-cta-hover, #d67c00) !important; }
.tsec-alert__note { margin: 8px 0 0; color: var(--tsec-muted); font-size: 12px; }
.tsec-alert__note a { color: inherit; text-decoration: underline; }
.tsec-alert__msg { margin: 12px 0 0; padding: 10px 12px; background: #edf7f0; color: #1e6b3a; font-size: 14px; }
.tsec-alert__msg.is-error { background: #fdeeee; color: #9b1c1c; }
.tsec-alert.is-done .tsec-alert__row, .tsec-alert.is-done .tsec-alert__note { display: none; }

/* ---------- Kargo ve İade sekmesi ---------- */
.tsec-ship { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.tsec-ship li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--tsec-line); background: #fcfbf9; }
.tsec-ship svg { color: var(--tsec-cta, #ea8f10); }
.tsec-ship strong { display: block; margin-bottom: 2px; font-size: 14px; }
.tsec-ship p { margin: 0; color: #444; font-size: 13px; line-height: 1.6; }
.tsec-ship-links { margin: 0; font-size: 13px; }
.tsec-ship-links a { color: #000; text-decoration: underline; }

@media (max-width: 575px) {
	.tsec-alert__row { flex-direction: column; }
	.tsec-alert .tsec-alert__btn { width: 100%; }
	.tsec-family__swatch { width: 50px; height: 50px; }
}
