/* PT Ürün Ek Hizmetleri — "Hizmetler" akordeon bölümü (yeni ürün sayfası) */

/* Bölüm başlığı yuva sahibinde (pt-urun-sayfasi .pt-us-services-title). */
.pt-ueh { display: flex; flex-direction: column; gap: 12px; margin: 0; }

.pt-ueh-card {
	/* XD kart dili: gri zemin, 20px radius, açık gri çerçeve */
	border: 1px solid var(--ptus-card-line, #d9d9d9);
	border-radius: var(--ptus-radius-card, 20px);
	background: var(--ptus-card-bg, #f5f5f7);
	overflow: hidden;
}
.pt-ueh-head {
	width: 100%;
	appearance: none;
	border: 0;
	background: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 18px; /* pt-dt kart başlığıyla EŞİT yükseklik */
	cursor: pointer;
	font: inherit;
}
.pt-ueh-head-title { font-size: 15px; font-weight: 700; color: var(--ptus-ink, #000); white-space: nowrap; line-height: 1.25; }
.pt-ueh-chev { color: var(--ptus-ink-soft, #6e6e73); transition: transform .2s; flex: 0 0 auto; }
.pt-ueh-card.is-collapsed .pt-ueh-chev { display: none; }

/* Daralmış kartta başlıkta seçim özeti + "Değiştir" (Apple deseni) */
.pt-ueh-head { gap: 12px; }
.pt-ueh-head-sel {
	display: none;
	margin-left: auto;
	font-size: 13px;
	font-weight: 600;
	color: var(--ptus-ink, #1d1d1f);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}
.pt-ueh-card.is-collapsed .pt-ueh-head-sel { display: block; animation: pt-ueh-selin .2s ease; }
@keyframes pt-ueh-selin { from { opacity: 0; } to { opacity: 1; } }
.pt-ueh-change {
	display: none;
	flex: 0 0 auto;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ptus-accent, #0071e3);
}
.pt-ueh-card.is-collapsed .pt-ueh-change { display: inline; }
.pt-ueh-card.is-collapsed .pt-ueh-head:hover .pt-ueh-change { text-decoration: underline; }
.pt-ueh-card.is-collapsed .pt-ueh-head { padding: 15px 18px; }

.pt-ueh-body {
	padding: 0 18px 16px;
	max-height: 800px;
	overflow: hidden;
	transition: max-height .28s ease, padding .28s ease, opacity .2s ease;
	opacity: 1;
}
.pt-ueh-card.is-collapsed .pt-ueh-body {
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
}
.pt-ueh-desc { font-size: 13px; color: var(--ptus-ink-soft, #6e6e73); margin: 0 0 14px; line-height: 1.5; }

.pt-ueh-opts { display: flex; flex-direction: column; gap: 8px; }
.pt-ueh-opt {
	appearance: none;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	/* XD: satırlar çerçevesiz beyaz; seçili olan 2px mavi çerçeve alır */
	border: 2px solid #fff;
	background: #fff;
	border-radius: 10px;
	padding: 11px 15px;
	font: inherit;
	font-size: 14px;
	color: var(--ptus-ink, #000);
	cursor: pointer;
	text-align: left;
	transition: border-color .15s;
}
.pt-ueh-opt:hover { border-color: #c9d8f0; }
.pt-ueh-opt.is-selected { border-color: var(--ptus-accent, #165EC9); }
.pt-ueh-opt-label { font-weight: 400; }
.pt-ueh-opt.is-selected .pt-ueh-opt-label { font-weight: 500; }
/* XD: tutarlar siyah, sakin ağırlıkta.
   wc_price çıktısındaki .woocommerce-Price-amount tema rengini taşıyor —
   inherit'e zorlanmazsa tutar kısmı farklı renkte kalıyor. */
.pt-ueh-opt-price { font-weight: 700; white-space: nowrap; color: var(--ptus-ink, #000); }
.pt-ueh-opt-price .woocommerce-Price-amount,
.pt-ueh-opt-price .woocommerce-Price-currencySymbol,
.pt-ueh-opt-price bdi { color: inherit !important; }
.pt-ueh-opt-price.is-zero { color: var(--ptus-ink-soft, #6e6e73); }
.pt-ueh-sel-amt { color: var(--ptus-ink, #000); }

/* Özet içindeki hizmet satırları (Faz 1 line list'ine JS ekler) */
.pt-us-line--service .pt-us-line-name { color: var(--ptus-ink-soft, #6e6e73); }
