/* ==========================================================================
   Özellikler: favoriler, bağlama rehberi, Birlikte Al, bildirim
   ========================================================================== */

/* ---------- Favoriler ---------- */
.tsec-wl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	background: none;
	color: #000;
	font: inherit;
	cursor: pointer;
}
.tsec-wl-btn[aria-pressed="true"] .tsec-icon { fill: currentColor; }
.tsec-wl-btn--card {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
	backdrop-filter: blur(6px);
	transition: transform .2s ease, background .2s ease;
}
.tsec-wl-btn--card:hover { transform: scale(1.08); background: #fff; }
.tsec-wl-btn--card[aria-pressed="true"] { color: var(--tsec-accent); }
.tsec-wl-btn--single {
	min-height: 48px;
	margin-inline-start: 8px;
	padding: 0 18px;
	border: 1px solid #ddd;
}
.tsec-wl-btn--single:hover { border-color: #000; }
.tsec-wl-btn--single[aria-pressed="true"] { border-color: var(--tsec-accent); color: var(--tsec-accent); }
.tsec-wl-btn.is-pop .tsec-icon { animation: tsec-pop .35s ease; }
@keyframes tsec-pop { 50% { transform: scale(1.35); } }

.tsec-wl-count {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--tsec-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 17px;
	text-align: center;
}

.tsec-wishlist-page__hint {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	padding: 12px 16px;
	background: #fcfbf9;
	border: 1px solid var(--tsec-line);
	font-size: 14px;
}
.tsec-empty { padding: 60px 20px; text-align: center; }
.tsec-empty .tsec-icon { margin: 0 auto 14px; color: #bbb; }
.tsec-empty h2 { margin: 0 0 8px; font-size: 20px; }
.tsec-empty p { margin: 0 0 20px; color: var(--tsec-muted); }

.tsec-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 2000;
	padding: 12px 20px;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 12px);
	transition: opacity .2s ease, transform .2s ease;
}
.tsec-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Bağlama rehberi ---------- */
.tsec-guide__intro { margin: 0 0 16px; color: var(--tsec-muted); }
.tsec-guide__styles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}
.tsec-guide__style {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 10px;
	border: 1px solid var(--tsec-line);
	background: #fff;
	color: var(--tsec-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}
.tsec-guide__style:hover { border-color: #bbb; }
.tsec-guide__style[aria-selected="true"] { border-color: #000; background: #fcfbf9; }
.tsec-guide__style[aria-selected="true"] svg { color: var(--tsec-accent); }

.tsec-guide__progress { height: 4px; margin-bottom: 16px; background: var(--tsec-line); }
.tsec-guide__progress span { display: block; height: 100%; background: var(--tsec-accent); transition: width .35s ease; }

.tsec-guide__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.tsec-guide__step {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid transparent;
	opacity: .45;
	cursor: pointer;
	transition: opacity .25s ease, border-color .25s ease, background .25s ease;
}
.tsec-guide__step p { margin: 3px 0 0; }
.tsec-guide__step.is-done { opacity: .7; }
.tsec-guide__step[aria-current="step"] { border-color: var(--tsec-line); background: #fcfbf9; opacity: 1; }
.tsec-guide__num {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #000;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}
.tsec-guide__step.is-done .tsec-guide__num { background: var(--tsec-accent); }

.tsec-guide__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.tsec-guide__count { font-size: 13px; color: var(--tsec-muted); }
.tsec-guide__btn {
	min-width: 96px;
	padding: 10px 16px;
	border: 1px solid #000;
	background: #fff;
	color: #000;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.tsec-guide__btn[disabled] { opacity: .35; cursor: default; }
.tsec-guide__btn--primary { background: #000; color: #fff; }

/* ---------- Birlikte Al ---------- */
.tsec-bundle { clear: both; margin: 40px 0; padding: 24px; border: 1px solid var(--tsec-line); background: #fcfbf9; }
.tsec-bundle__head h2 { margin: 0 0 4px; font-size: 20px; }
.tsec-bundle__head h2 em { color: var(--tsec-accent); font-style: normal; }
.tsec-bundle__head p { margin: 0 0 18px; color: var(--tsec-muted); }
.tsec-bundle__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tsec-bundle__item label { position: relative; display: block; height: 100%; padding: 10px; background: #fff; border: 1px solid var(--tsec-line); cursor: pointer; transition: opacity .2s ease, border-color .2s ease; }
.tsec-bundle__item label:hover { border-color: #bbb; }
.tsec-bundle__item.is-off label { opacity: .5; }
.tsec-bundle__item input[type="checkbox"] { position: absolute; top: 16px; left: 16px; z-index: 1; width: 18px; height: 18px; accent-color: #000; }
.tsec-bundle__img img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.tsec-bundle__info { display: grid; gap: 4px; margin-top: 10px; }
.tsec-bundle__name { font-size: 13px; font-weight: 600; line-height: 1.4; }
.tsec-bundle__name small { display: block; color: var(--tsec-accent); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.tsec-bundle__price { font-size: 13px; }
.tsec-bundle__total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--tsec-line); }
.tsec-bundle__label { margin-inline-end: 10px; color: var(--tsec-muted); }
.tsec-bundle__old { margin-inline-end: 8px; color: #999; }
.tsec-bundle__new { font-size: 22px; }
.tsec-bundle__submit { min-height: 48px; padding-inline: 28px !important; }

/* ---------- Ödeme: sözleşmeler ---------- */
.tsec-contracts { margin: 0 0 16px; }
.tsec-contracts__doc { margin-bottom: 8px; border: 1px solid var(--tsec-line); background: #fff; }
.tsec-contracts__doc summary { padding: 12px 14px; font-weight: 600; cursor: pointer; }
.tsec-contracts__body { max-height: 240px; overflow-y: auto; padding: 0 14px 14px; font-size: 12px; line-height: 1.6; }
.tsec-contracts__body table { font-size: 12px; }
.tsec-contracts__body th, .tsec-contracts__body td { padding: 4px 6px; border-bottom: 1px solid var(--tsec-line); }
.tsec-contracts__accept label { display: flex !important; align-items: flex-start; gap: 8px; font-size: 14px; }
.tsec-contracts__accept input { margin-top: 3px !important; }
.woocommerce-checkout .tsec-invoice-type .woocommerce-input-wrapper { display: flex; gap: 20px; }
.woocommerce-checkout .tsec-invoice-type label.radio { display: inline !important; margin: 0 0 0 6px; }

/* ---------- İletişim ---------- */
.tsec-contact { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; margin: 10px 0 40px; }
.tsec-contact h2 { margin: 0 0 16px; font-size: 20px; }
.tsec-contact__info { padding: 24px; background: #fcfbf9; border: 1px solid var(--tsec-line); }
.tsec-contact__info ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.tsec-contact__info li { display: flex; gap: 12px; }
.tsec-contact__info .tsec-icon { margin-top: 2px; color: var(--tsec-accent); }
.tsec-contact__info strong { display: block; font-size: 13px; }
.tsec-contact__info a, .tsec-contact__info span { color: #000; font-size: 14px; }
.tsec-contact__form { padding: 24px; border: 1px solid var(--tsec-line); }
.tsec-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tsec-contact__grid p { margin: 0 0 14px; }
.tsec-contact__wide { grid-column: 1 / -1; }
.tsec-contact__grid label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.tsec-contact__grid input, .tsec-contact__grid select, .tsec-contact__grid textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 0; font: inherit; font-size: 14px; }
.tsec-contact__grid input:focus, .tsec-contact__grid select:focus, .tsec-contact__grid textarea:focus { border-color: #000; outline: 0; }
.tsec-contact__kvkk { display: flex; gap: 8px; margin: 4px 0 18px; font-size: 13px; }
.tsec-contact__kvkk input { margin-top: 3px; accent-color: #000; }
.tsec-contact__form .button { min-height: 48px; padding-inline: 36px !important; }
.tsec-contact__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tsec-contact__notice { margin: 0 0 16px; padding: 12px 14px; font-size: 14px; }
.tsec-contact__notice--success { background: #edf7f0; color: #1e6b3a; }
.tsec-contact__notice--error { background: #fdeeee; color: #9b1c1c; }

.tsec-footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.tsec-footer__bottom a { color: #000; }

@media (max-width: 899px) {
	.tsec-contact { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
	.tsec-contact__grid { grid-template-columns: 1fr; }
	.tsec-bundle { padding: 16px; }
	.tsec-bundle__list { grid-template-columns: repeat(2, 1fr); }
	.tsec-bundle__submit { width: 100%; }
	.tsec-wl-btn--single { width: 100%; margin: 10px 0 0; }
}
