/*
 * BU DOSYAYI child theme'inizin ana klasörüne yükleyin (üzerine yazın):
 * child-theme-klasörünüz/onda-order-style.css
 */

.onda-order-detail,
.ty-orders-page {
	max-width: 640px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	color: #222;
}

/* ============ SİPARİŞ DETAY ============ */

.ty-back-to-account {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #f27a1a !important;
	background: #fff !important;
	border: 1px solid #f27a1a !important;
	border-radius: 10px !important;
	padding: 7px 14px !important;
	text-decoration: none !important;
	margin-bottom: 14px !important;
}
.ty-back-to-account svg {
	flex-shrink: 0;
}
.ty-back-to-account:hover {
	background: #f27a1a !important;
	color: #fff !important;
}

.onda-order-detail {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ty-order-card p {
	margin: 6px 0;
	font-size: 14px;
	color: #333;
}
.ty-order-card p:first-child {
	margin-top: 0;
}
.ty-order-card p:last-child {
	margin-bottom: 0;
}

.ty-green  { color: #1a9d4a; }
.ty-orange { color: #f27a1a; }

/* --- Durum çubuğu (timeline) --- */
.ty-timeline {
	display: flex;
	justify-content: space-between;
	position: relative;
}
.ty-timeline:before {
	content: '';
	position: absolute;
	top: 8px;
	left: 6%;
	right: 6%;
	height: 3px;
	background: #e5e5e5;
	z-index: 0;
}
.ty-step {
	flex: 1;
	text-align: center;
	position: relative;
	z-index: 1;
}
.ty-step .ty-dot {
	display: block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #e5e5e5;
	border: 3px solid #fff;
	margin: 0 auto 8px;
	box-shadow: 0 0 0 1px #e5e5e5;
}
.ty-step.done .ty-dot,
.ty-step.active .ty-dot {
	background: #1a9d4a;
	box-shadow: 0 0 0 1px #1a9d4a;
}
.ty-step .ty-label {
	font-size: 12px;
	color: #999;
	display: block;
	padding: 0 4px;
}
.ty-step.done .ty-label,
.ty-step.active .ty-label {
	color: #1a9d4a;
}

.ty-btn-row {
	display: flex;
	gap: 10px;
	margin: 14px 0 4px;
	flex-wrap: wrap;
}
.ty-btn-filled {
	background: #f27a1a !important;
	color: #fff !important;
	border: none !important;
	padding: 8px 14px !important;
	font-size: 12.5px !important;
	cursor: pointer;
	text-decoration: none !important;
	display: inline-block !important;
}
.ty-btn-reviewed {
	display: inline-flex !important;
	align-items: center;
	background: #f4f4f4 !important;
	color: #666 !important;
	border: 1px solid #ddd !important;
	padding: 7px 12px !important;
	font-size: 12px !important;
	text-decoration: none !important;
	cursor: pointer;
}
.ty-review-btn-done {
	color: #1a9d4a !important;
	border-color: #1a9d4a !important;
	background: #fff !important;
	cursor: default;
}
.ty-btn-outline {
	background: #fff !important;
	color: #f27a1a !important;
	border: 1px solid #f27a1a !important;
	padding: 10px 16px !important;
	font-size: 13px !important;
	cursor: pointer;
	text-decoration: none !important;
	display: inline-block !important;
}
.ty-btn-small {
	padding: 6px 12px !important;
	font-size: 12px !important;
}

.ty-status-line {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	margin-bottom: 10px;
}
.ty-status-green  { color: #1a9d4a; }
.ty-status-orange { color: #f27a1a; }

.ty-info-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: #333;
	margin-bottom: 12px;
}
.ty-info-row svg {
	flex-shrink: 0;
	margin-top: 2px;
}

.ty-cargo-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #333;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 4px;
}
.ty-track-link {
	color: #f27a1a !important;
	text-decoration: none !important;
	cursor: pointer;
}

/* --- Ürün kartları --- */
.ty-products {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.ty-product-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.ty-product-card img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #eee;
	flex-shrink: 0;
}
.ty-product-meta {
	flex: 1;
}
.ty-product-meta .ty-product-name {
	font-size: 14px;
	margin: 0 0 4px;
	color: #222;
}
.ty-product-meta .ty-product-qty {
	font-size: 13px;
	color: #666;
	margin: 2px 0;
}
.ty-product-meta .ty-product-price {
	font-size: 14px;
	color: #f27a1a;
	margin: 2px 0 8px;
}

/* --- Alt aksiyon listesi --- */
.ty-action-list {
	display: flex !important;
	flex-direction: column !important;
}
.ty-action-row {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 14px 0 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #333 !important;
	text-decoration: none !important;
	border-bottom: 1px solid #f0f0f0 !important;
	background: none !important;
	width: 100% !important;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
	text-align: left !important;
	justify-content: flex-start !important;
	font-family: inherit !important;
	cursor: pointer;
	margin: 0 !important;
}
.ty-action-row:last-child {
	border-bottom: none !important;
}
.ty-action-row.ty-invoice-pending {
	opacity: 0.6;
	cursor: not-allowed;
}
.ty-action-row:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.ty-action-icon {
	display: inline-flex !important;
	width: 20px;
	justify-content: center;
}

.ty-product-thumb-link,
.ty-product-name-link {
	display: block;
	text-decoration: none !important;
	color: inherit !important;
}
.ty-product-name-link .ty-product-name {
	color: #222;
}

/* --- Teslimat adresi / Ödeme bilgileri / Sözleşmeler --- */
.ty-block-title,
.ty-order-card p.ty-block-title {
	font-size: 15px;
	font-weight: 600;
	color: #222;
	margin: 0;
}
/* Başlık kartın doğrudan üst elemanıysa (Teslimat Adresi, Ödeme Bilgileri gibi
   tek başına duran başlıklarda) altına boşluk bırak. Ödeme Bilgileri kartında
   olduğu gibi bir satır içinde (ör. ödeme yöntemi rozetiyle yan yana) kullanılıyorsa
   bu boşluk satırı gereksiz yere uzatıp öğeleri kaydırdığı için eklenmez. */
.ty-order-card > p.ty-block-title {
	margin: 0 0 12px;
}

.ty-order-card p.ty-address-recipient {
	font-size: 14px;
	color: #222;
}
.ty-order-card p.ty-address-lines {
	font-size: 13px;
	color: #666;
	line-height: 1.5;
}
.ty-order-card p.ty-address-district {
	font-size: 13px;
	font-weight: 600;
	color: #222;
}
.ty-order-card p.ty-address-phone {
	font-size: 13px;
	color: #666;
}

.ty-payment-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
}
.ty-payment-method {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #333;
}
.ty-payment-method svg {
	flex-shrink: 0;
}
.ty-payment-row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #333;
	padding: 4px 0;
}
.ty-payment-row.ty-payment-total {
	border-top: 1px solid #eee;
	margin-top: 8px;
	padding-top: 12px;
	font-weight: 600;
}
.ty-payment-row.ty-payment-total span:last-child {
	color: #f27a1a;
}

.ty-contracts-toggle {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	width: 100% !important;
	background: none !important;
	border: none !important;
	cursor: pointer !important;
	padding: 0 !important;
	text-align: left !important;
	font: inherit !important;
}
.ty-contracts-toggle .ty-block-title {
	margin: 0 !important;
}
.ty-contracts-chevron {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}
.ty-contracts-toggle[aria-expanded="true"] .ty-contracts-chevron {
	transform: rotate(180deg);
}
.ty-contracts-list {
	display: none !important;
	flex-direction: column !important;
	margin-top: 4px;
}
.ty-contracts-list.open {
	display: flex !important;
}
.ty-contracts-list a {
	display: block !important;
	font-size: 14px !important;
	color: #333 !important;
	text-decoration: none !important;
	padding: 12px 0 !important;
	border-top: 1px solid #f0f0f0 !important;
	background: none !important;
}

/* --- İptal edilen sipariş / iade durumu --- */
.ty-red { color: #d43b3b; }
.ty-status-red { color: #d43b3b; }

.ty-cancelled-card .ty-status-line {
	color: #d43b3b;
}
.ty-refund-note {
	font-size: 13px;
	color: #666;
	background: #fdf3f3;
	border: 1px solid #f4d9d9;
	padding: 10px 12px;
	border-radius: 4px;
}

.ty-order-status.ty-status-cancelled { color: #d43b3b; }

.ty-return-status .ty-payment-header {
	margin-bottom: 8px;
}
.ty-return-badge {
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
}
.ty-return-badge-pending  { background: #fdf1e4; color: #f27a1a; }
.ty-return-badge-approved { background: #e7f6ec; color: #1a9d4a; }
.ty-return-badge-rejected { background: #fdecec; color: #d43b3b; }

.ty-return-cargo-bar {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #f0f0f0;
}
.ty-timeline-return .ty-step .ty-label {
	font-size: 11px;
}
.ty-return-cargo-caption {
	font-size: 12px;
	color: #666;
	text-align: center;
	margin: 10px 0 0;
}

/* ============ SİPARİŞLERİM LİSTESİ ============ */

.ty-order-filters {
	display: flex !important;
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
	gap: 8px;
	overflow-x: auto !important;
	padding-bottom: 10px;
	margin-bottom: 16px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.ty-order-filters::-webkit-scrollbar {
	display: none;
}
.ty-order-filter-btn {
	flex-shrink: 0 !important;
	background: #fff !important;
	border: 1px solid #ddd !important;
	color: #555 !important;
	padding: 8px 16px !important;
	font-size: 13px !important;
	border-radius: 5px !important;
	cursor: pointer;
	white-space: nowrap;
	font-weight: 400 !important;
}
.ty-order-filter-btn.active {
	background: #fff !important;
	border: 2px solid #f27a1a !important;
	color: #f27a1a !important;
	font-weight: 600 !important;
}

.ty-order-filter-empty {
	text-align: center;
	color: #888;
	font-size: 14px;
	padding: 24px 0;
}

.ty-order-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ty-order-card {
	background: #ffffff;
	border: 1px solid #ddd;
	padding: 16px;
}
.ty-order-card-clickable {
	cursor: pointer;
}
.ty-order-card-clickable:hover {
	border-color: #f27a1a;
}

.ty-order-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #eee;
}
.ty-order-date { font-size: 14px; color: #333; }
.ty-order-total { font-size: 14px !important; color: #222 !important; margin-top: 2px; }
.ty-order-total-amount { color: #f27a1a !important; font-weight: 600; }
.ty-detail-link { font-size: 14px !important; color: #f27a1a !important; text-decoration: none !important; white-space: nowrap; }

.ty-order-status-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	gap: 10px;
	flex-wrap: wrap;
}
.ty-order-status { font-size: 14px; }
.ty-status-done     { color: #1a9d4a; }
.ty-status-progress { color: #f27a1a; }

.ty-order-thumbs {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.ty-order-thumbs img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #eee;
}

.ty-order-summary { font-size: 13px; color: #666; margin: 0; }

.ty-review-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	border: 1px solid #f27a1a !important;
	background: #fff !important;
	color: #222 !important;
	padding: 6px 14px !important;
	font-size: 13px !important;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none !important;
}
.ty-review-btn .ty-star { color: #f27a1a; }

/* ============ DEĞERLENDİRME MODALI ============ */

.ty-review-overlay {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.45);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.ty-review-overlay.open { display: flex; }
.ty-review-modal {
	background: #fff;
	width: 100%;
	max-width: 420px;
	max-height: 80vh;
	overflow-y: auto;
	border: 1px solid #ddd;
}
.ty-review-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	border-bottom: 1px solid #eee;
	font-size: 15px;
	color: #222;
}
.ty-review-close { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: #666; }
.ty-review-modal-body { padding: 16px; }
.ty-review-item { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #eee; }
.ty-review-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ty-review-item-title { font-size: 14px; color: #222; margin: 0 0 10px; font-weight: 500; }
.ty-review-field-label { font-size: 13px; color: #333; font-weight: 500; margin: 14px 0 8px; }
.ty-review-stars { margin-bottom: 4px; }
.ty-review-star-input { font-size: 24px; color: #ddd; cursor: pointer; margin-right: 4px; }
.ty-review-star-input.active { color: #f27a1a; }
.ty-review-radio-group, .ty-review-checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.ty-review-radio-option, .ty-review-checkbox-option { font-size: 13px; color: #333; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ty-review-textarea {
	width: 100%; min-height: 70px; border: 1px solid #ddd; padding: 8px;
	font-size: 13px; font-family: inherit; resize: vertical; box-sizing: border-box;
}
.ty-review-photo-input { font-size: 13px; width: 100%; }
.ty-review-msg { font-size: 12px; margin: 6px 0; min-height: 14px; }
.ty-review-msg-error { color: #d43b3b; }
.ty-review-msg-success { color: #1a9d4a; }
.ty-review-submit {
	background: #f27a1a !important;
	color: #fff !important;
	border: none !important;
	padding: 8px 18px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	cursor: pointer;
	margin-top: 8px !important;
	border-radius: 4px !important;
}
.ty-review-submit:hover {
	background: #d9690f !important;
}

/* ============ HESABIM MENÜSÜ (navigation.php) ============ */

.onda-acct-fieldset {
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 16px;
	margin: 20px 0;
}
.onda-acct-fieldset legend {
	font-size: 14px;
	font-weight: 600;
	color: #222;
	padding: 0 6px;
}

.onda-acct-wrap {
	max-width: 640px;
	margin: 0 auto 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	box-sizing: border-box;
}
.onda-acct-wrap * {
	box-sizing: border-box;
}
.onda-acct-profile {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
}
.onda-acct-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fdf1e4;
	color: #854f0b;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 600;
	flex-shrink: 0;
}
.onda-acct-info {
	min-width: 0;
}
.onda-acct-name {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #222;
}
.onda-acct-email {
	margin: 2px 0 0;
	font-size: 13px;
	color: #666;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.onda-acct-profile-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin: 0 0 10px;
	overflow: hidden;
}
.onda-acct-badge {
	background: #412402;
	color: #fac775;
	font-size: 10px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 10px;
	white-space: nowrap;
}
.onda-acct-stats {
	display: flex;
	border-top: 1px solid #f0f0f0;
}
.onda-acct-stat {
	flex: 1;
	text-align: center;
	padding: 10px 4px;
	border-right: 1px solid #f0f0f0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.onda-acct-stat:last-child {
	border-right: none;
}
.onda-acct-stat-value {
	font-size: 15px;
	font-weight: 600;
	color: #222;
}
.onda-acct-stat-wallet {
	color: #1a9d4a;
}
.onda-acct-stat-label {
	font-size: 11px;
	color: #767676;
}
.onda-acct-birthday {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-top: 1px solid #f0f0f0;
	background: #fdf1e4;
	color: #412402;
	font-size: 12px;
}
.onda-acct-birthday svg {
	flex-shrink: 0;
	color: #854f0b;
}
.onda-acct-progress-row {
	padding: 10px 16px;
	border-top: 1px solid #f0f0f0;
}
.onda-acct-progress-head {
	display: flex;
	justify-content: space-between;
	margin-bottom: 6px;
	font-size: 12px;
}
.onda-acct-progress-head span {
	color: #767676;
}
.onda-acct-progress-head a {
	color: #f27a1a;
	text-decoration: none;
}
.onda-acct-progress-bar {
	height: 5px;
	background: #f0f0f0;
	border-radius: 3px;
	overflow: hidden;
}
.onda-acct-progress-fill {
	height: 100%;
	background: #f27a1a;
}
.onda-acct-notif-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	border-top: 1px solid #f0f0f0;
}
.onda-acct-notif-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #222;
}
.onda-acct-notif-label svg {
	color: #767676;
}
.onda-acct-toggle {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-block !important;
	box-sizing: border-box !important;
	width: 34px !important;
	height: 20px !important;
	min-width: 34px !important;
	min-height: 20px !important;
	max-width: 34px !important;
	max-height: 20px !important;
	margin: 0 !important;
	border-radius: 10px !important;
	background: #ddd !important;
	border: none !important;
	outline: none !important;
	position: relative !important;
	cursor: pointer;
	padding: 0 !important;
	flex-shrink: 0 !important;
	line-height: 1 !important;
	font-size: 0 !important;
	vertical-align: middle;
}
.onda-acct-toggle::after {
	content: '' !important;
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	background: #fff !important;
	border-radius: 50% !important;
	position: absolute !important;
	top: 2px !important;
	left: 2px !important;
	margin: 0 !important;
	transition: left 0.15s ease;
}
.onda-acct-toggle.is-on {
	background: #f27a1a !important;
}
.onda-acct-toggle.is-on::after {
	left: 16px !important;
}
.onda-acct-count {
	position: absolute;
	top: 6px;
	right: 6px;
	background: #d85a30;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	min-width: 16px;
	height: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}
.onda-acct-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	column-count: initial !important;
	gap: 8px !important;
}
.onda-acct-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	text-decoration: none;
	color: #222;
	font-size: 13px;
	font-weight: 400;
	min-width: 0;
}
.onda-acct-item span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
}
.onda-acct-item:hover,
.onda-acct-item:focus,
.onda-acct-item:visited,
.onda-acct-item:active {
	color: #222;
	text-decoration: none;
}
.onda-acct-item.is-active {
	background: #fdf1e4;
	border-color: #f27a1a;
	color: #854f0b;
	font-weight: 600;
}
.onda-acct-item.is-active:hover,
.onda-acct-item.is-active:focus,
.onda-acct-item.is-active:visited,
.onda-acct-item.is-active:active {
	color: #854f0b;
}
.onda-acct-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fdf1e4;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #854f0b;
}
.onda-acct-item.is-active .onda-acct-icon {
	background: #fff;
}
.onda-acct-icon svg {
	width: 15px;
	height: 15px;
}
.onda-acct-item.onda-acct-logout {
	color: #d43b3b;
}
.onda-acct-item.onda-acct-logout:hover,
.onda-acct-item.onda-acct-logout:focus,
.onda-acct-item.onda-acct-logout:visited,
.onda-acct-item.onda-acct-logout:active {
	color: #d43b3b;
}
.onda-acct-item.onda-acct-logout .onda-acct-icon {
	background: #fdecec;
	color: #d43b3b;
}
@media (max-width: 360px) {
	.onda-acct-item {
		font-size: 12.5px;
		padding: 10px;
	}
}
/* ============ CÜZDAN SİSTEMİ ============ */

.onda-acct-stat-link {
	text-decoration: none !important;
	cursor: pointer;
}
.onda-acct-stat-link:hover .onda-acct-stat-wallet {
	text-decoration: underline;
}

.ty-wallet-checkout-box {
	background: #fdf1e4;
	border: 1px solid #f4dcb8;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 16px;
	font-size: 14px;
	color: #412402;
}
.ty-wallet-checkout-box label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}
.ty-wallet-checkout-box input[type="checkbox"] {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.ty-wallet-history {
	max-width: 640px;
	margin: 0 auto;
}
.ty-wallet-balance-box {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}
.ty-wallet-balance-box span {
	font-size: 14px;
	color: #666;
}
.ty-wallet-balance-box strong {
	font-size: 22px;
	color: #1a9d4a;
}
.ty-wallet-tx-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ty-wallet-tx-row {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 14px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.ty-wallet-tx-reason {
	margin: 0 0 3px;
	font-size: 14px;
	color: #222;
}
.ty-wallet-tx-date {
	margin: 0;
	font-size: 12px;
	color: #888;
}
.ty-wallet-tx-amount {
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
.ty-wallet-tx-amount.is-positive {
	color: #1a9d4a;
}
.ty-wallet-tx-amount.is-negative {
	color: #d43b3b;
}

.ty-earn-onda {
	max-width: 640px;
	margin: 0 auto;
}
.ty-earn-onda-intro {
	font-size: 14px;
	color: #555;
	margin: 0 0 18px;
}
.ty-earn-onda-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 10px;
}
.ty-earn-onda-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fdf1e4;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.ty-earn-onda-title {
	margin: 0 0 3px;
	font-size: 14px;
	font-weight: 600;
	color: #222;
}
.ty-earn-onda-desc {
	margin: 0;
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

/* ============ ARKADAŞINI DAVET ET ============ */

.ty-invite-friend {
	max-width: 640px;
	margin: 0 auto;
}
.ty-invite-link-box {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	margin-bottom: 6px;
}
.ty-invite-link-box input {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 13px;
	color: #555;
	background: #f7f7f7;
}
.ty-invite-link-box #ty-invite-copy-btn {
	flex-shrink: 0;
	margin: 0 !important;
}
.ty-invite-copy-msg {
	font-size: 12px;
	color: #1a9d4a;
	min-height: 14px;
	margin: 0 0 20px;
}
.ty-invite-list-title {
	font-size: 15px;
	margin: 0 0 12px;
	color: #222;
}
.ty-invite-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ty-invite-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 14px 16px;
}
.ty-invite-name {
	margin: 0 0 3px;
	font-size: 14px;
	color: #222;
	font-weight: 600;
}
.ty-invite-date {
	margin: 0;
	font-size: 12px;
	color: #888;
}
.ty-invite-meta {
	margin: 4px 0 0;
	font-size: 12px;
	color: #555;
}
.ty-invite-status {
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	white-space: nowrap;
}
.ty-invite-status.is-pending {
	background: #f4f4f4;
	color: #888;
}
.ty-invite-status.is-waiting {
	background: #fdf1e4;
	color: #f27a1a;
}
.ty-invite-status.is-done {
	background: #e7f6ec;
	color: #1a9d4a;
}

/* ============ CÜZDAN - BEKLEYEN KAZANÇLAR ============ */

.ty-wallet-pending-title {
	font-size: 14px;
	color: #412402;
	margin: 0 0 10px;
}
.ty-wallet-tx-countdown {
	color: #f27a1a;
	font-weight: 500;
}

/* ============ BİLDİRİMLERİM (Mağaza Takip Bildirimleri) ============ */

.ty-notif-page {
	max-width: 640px;
	margin: 0 auto;
}
.ty-notif-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ty-notif-row {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 14px 16px;
	text-decoration: none;
	transition: border-color .15s ease;
}
.ty-notif-row:hover {
	border-color: #f27a1a;
}
.ty-notif-row.is-unread {
	background: #fffaf4;
	border-color: #f7c993;
}
.ty-notif-row.is-unread::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f27a1a;
	flex-shrink: 0;
}
.ty-notif-tag {
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	white-space: nowrap;
	flex-shrink: 0;
}
.ty-notif-body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.ty-notif-message {
	font-size: 13px;
	color: #222;
	font-weight: 500;
}
.ty-notif-date {
	font-size: 12px;
	color: #888;
}

/*
 * "i" harfinin noktasının ayrık/bozuk görünmesi sorunu için düzeltme.
 * Kod tarafında (PHP dosyalarında) metin tamamen standart/doğru - sorun
 * sitenizin kullandığı fontun küçük "i" harfini nasıl çizdiğiyle ilgili.
 * Bu kural, sorunlu alanlara standart bir sistem fontu zorluyor.
 */
.ty-order-summary,
.ty-order-status,
.ty-order-card {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}
