/**
 * Order pieces shared by the order received page (checkout layout) and
 * Hesabım → Siparişlerim / Sipariş Detayı: Havale/EFT card, copy button,
 * order information grid (template-parts/order/*). Typography follows the
 * source order detail styles (account.css .confirm-order-details).
 */

.arisch-noc-ty-label,
.arisch-noc-ty-bank__row dt {
	color: #000;
	font-family: var(--brand-font-family--tertiary);
	font-size: .75rem;
	font-weight: 400;
	letter-spacing: .06px;
	line-height: .9rem;
	margin: 0 0 8px;
	text-transform: uppercase;
}

/* Bank transfer card. */
.arisch-noc-ty-bank__intro {
	font-size: .875rem;
	line-height: 1.5;
	margin: 0 0 20px;
}

.arisch-noc-ty-bank__list {
	border: 1px solid #b5b5b5;
	border-radius: 6px;
	margin: 0 0 16px;
	padding: 0 16px;
}

.arisch-noc-ty-bank__row {
	border-bottom: 1px solid #e1ded9;
	padding: 14px 0;
}

.arisch-noc-ty-bank__row:last-child {
	border-bottom: 0;
}

.arisch-noc-ty-bank__row dt {
	color: #757575;
	margin-bottom: 6px;
}

.arisch-noc-ty-bank__row dd {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: space-between;
	margin: 0;
}

.arisch-noc-ty-bank__value {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .02em;
	min-width: 0;
	overflow-wrap: anywhere;
}

.arisch-noc-ty-copy {
	background: none;
	border: 0;
	color: #000;
	cursor: pointer;
	flex-shrink: 0;
	font-family: var(--brand-font-family--tertiary);
	font-size: .75rem;
	font-weight: 700;
	padding: 2px 0;
	text-decoration: underline;
	text-transform: uppercase;
}

.arisch-noc-ty-copy:hover,
.arisch-noc-ty-copy:focus-visible {
	color: #d4157c;
}

.arisch-noc-ty-copy.is-copied {
	color: #1e7b34;
	text-decoration: none;
}

.arisch-noc-ty-bank__note,
.arisch-noc-ty-gateway {
	color: #555;
	font-size: .875rem;
	line-height: 1.5;
}

.arisch-noc-ty-bank__note p:last-child,
.arisch-noc-ty-gateway p:last-child {
	margin-bottom: 0;
}

/* Order details: two columns of label + text blocks. */
.arisch-noc-ty-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 576px) {
	.arisch-noc-ty-grid {
		column-gap: 32px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.arisch-noc-ty-block--wide {
		grid-column: 1 / -1;
	}
}

.arisch-noc-ty-block {
	border-top: 1px solid #e1ded9;
	min-width: 0;
	padding: 20px 0;
}

.arisch-noc-ty-text,
.arisch-noc-ty-text p,
.arisch-noc-ty-address {
	color: #000;
	font-family: var(--brand-font-family--tertiary);
	font-size: .875rem;
	font-style: normal;
	font-weight: 300;
	line-height: 1.3125rem;
	margin: 0;
	overflow-wrap: anywhere;
}

.arisch-noc-ty-text p + p,
.arisch-noc-ty-text p + .arisch-noc-ty-address,
.arisch-noc-ty-text p + .arisch-noc-ty-muted {
	margin-top: 4px;
}

.arisch-noc-ty-text .arisch-noc-ty-muted {
	color: #757575;
}


/* ======================================================================
 * Hesabım → Siparişlerim / Sipariş Detayı.
 * Base: source .account-order (grey #f8f8f8 header, rounded pills,
 * black uppercase "track" pill, #e1ded9 rules).
 * ==================================================================== */

/* ---- Status pills (customer-facing tones) ---------------------------- */
.arisch-noc-account .arisch-noc-status {
	gap: 6px;
	text-transform: none;
}

.arisch-noc-account .arisch-noc-status::before {
	background: currentColor;
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 6px;
	width: 6px;
}

.arisch-noc-account .arisch-noc-status--wait {
	background-color: #fbf1d9;
	color: #6b4e00;
}

.arisch-noc-account .arisch-noc-status--progress {
	background-color: #e5edf8;
	color: #1d4a8c;
}

.arisch-noc-account .arisch-noc-status--ship {
	background-color: #ece6f6;
	color: #4b2a85;
}

.arisch-noc-account .arisch-noc-status--done {
	background-color: #e2f1e5;
	color: #1e6631;
}

.arisch-noc-account .arisch-noc-status--cancel {
	background-color: #e1ded9;
	color: #22121f;
}

/* ---- Order card (list) ------------------------------------------------ */
.arisch-noc-account .arisch-noc-order-card {
	border: 1px solid #e1ded9;
	gap: 0;
}

.arisch-noc-account .arisch-noc-order-card .account-order__header-actions {
	justify-content: flex-end;
}

.arisch-noc-order-card__body {
	align-items: center;
	display: grid;
	font-family: var(--brand-font-family--tertiary);
	gap: 16px 24px;
	grid-template-areas: "thumbs" "info" "actions";
	padding: 20px;
}

@media (min-width: 1024px) {
	.arisch-noc-order-card__body {
		grid-template-areas: "thumbs info actions";
		grid-template-columns: auto minmax(0, 1fr) auto;
	}
}

.arisch-noc-order-card__thumbs {
	display: flex;
	gap: 8px;
	grid-area: thumbs;
	text-decoration: none;
}

.arisch-noc-order-card__thumb {
	align-items: center;
	background-color: #f8f8f8;
	display: flex;
	flex: 0 0 72px;
	height: 72px;
	justify-content: center;
	overflow: hidden;
	position: relative;
	width: 72px;
}

.arisch-noc-order-card__thumb img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.arisch-noc-order-card__thumb--more {
	color: #000;
	font-size: 14px;
	font-weight: 600;
}

.arisch-noc-order-card__qty {
	background: #000;
	border-radius: 10px;
	bottom: 4px;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	padding: 3px 5px;
	position: absolute;
	right: 4px;
}

.arisch-noc-order-card__info {
	grid-area: info;
	min-width: 0;
}

.arisch-noc-order-card__message {
	color: #000;
	font-size: 14px;
	font-weight: 600;
	line-height: 21px;
	margin: 0 0 2px;
}

.arisch-noc-order-card__names {
	color: #757575;
	font-size: 13px;
	font-weight: 300;
	line-height: 19px;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.arisch-noc-order-card__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	grid-area: actions;
}

@media (min-width: 1024px) {
	.arisch-noc-order-card__actions {
		justify-content: flex-end;
	}
}

.arisch-noc-order-card.is-off .arisch-noc-order-card__thumbs,
.arisch-noc-order-card.is-off .account-order__date,
.arisch-noc-order-card.is-off .account-order__number {
	opacity: .5;
}

/* ---- Buttons (source .account-order__track-pill / .btn-order-details) */
.arisch-noc-order-btn {
	align-items: center;
	background: #fff;
	border: 1px solid #000;
	border-radius: 100px;
	color: #000;
	cursor: pointer;
	display: inline-flex;
	font-family: var(--brand-font-family--tertiary);
	font-size: 12px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: .06px;
	line-height: 14px;
	min-height: 36px;
	padding: 8px 18px;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity .2s ease, background-color .2s ease, color .2s ease;
	white-space: nowrap;
}

.arisch-noc-order-btn:hover,
.arisch-noc-order-btn:focus {
	color: #000;
	text-decoration: none;
}

.arisch-noc-order-btn.is-outline:hover {
	background: #000;
	color: #fff;
}

.arisch-noc-order-btn.is-primary {
	background: #000;
	color: #fff;
}

.arisch-noc-order-btn.is-primary:hover,
.arisch-noc-order-btn.is-primary:focus {
	color: #fff;
	opacity: .85;
}

.arisch-noc-order-btn.is-link {
	background: none;
	border-color: transparent;
	font-weight: 400;
	padding-left: 0;
	padding-right: 0;
	text-decoration: underline;
	text-transform: none;
	font-size: 13px;
}

.arisch-noc-order-btn.is-wide {
	min-height: 44px;
	width: 100%;
}

.arisch-noc-order-btn:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

/* ---- Order detail ------------------------------------------------------ */
.arisch-noc-od {
	font-family: var(--brand-font-family--tertiary);
}

.arisch-noc-od__head {
	margin-bottom: 24px;
}

.arisch-noc-od-alert {
	background: #fbf1d9;
	border-left: 3px solid #6b4e00;
	color: #000;
	display: flex;
	flex-direction: column;
	font-size: 14px;
	gap: 2px;
	line-height: 21px;
	margin: 0 0 24px;
	padding: 14px 18px;
}

.arisch-noc-od-alert--off {
	background: #f8f8f8;
	border-left-color: #757575;
}

/* Progress steps. */
.arisch-noc-od-steps {
	counter-reset: odstep;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	list-style: none;
	margin: 8px 0 12px;
	padding: 0;
}

.arisch-noc-od-steps__item {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 6px;
	position: relative;
	text-align: center;
}

.arisch-noc-od-steps__item::before {
	background: #e1ded9;
	content: "";
	height: 2px;
	left: -50%;
	position: absolute;
	top: 9px;
	width: 100%;
	z-index: 0;
}

.arisch-noc-od-steps__item:first-child::before {
	display: none;
}

.arisch-noc-od-steps__item.is-done::before,
.arisch-noc-od-steps__item.is-current::before {
	background: #000;
}

.arisch-noc-od-steps__dot {
	background: #fff;
	border: 2px solid #e1ded9;
	border-radius: 50%;
	height: 20px;
	position: relative;
	width: 20px;
	z-index: 1;
}

.arisch-noc-od-steps__item.is-done .arisch-noc-od-steps__dot {
	background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.6 2.6L9 1' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center;
	border-color: #000;
}

.arisch-noc-od-steps__item.is-current .arisch-noc-od-steps__dot {
	border-color: #000;
	box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px #000;
}

.arisch-noc-od-steps__label {
	color: #757575;
	font-size: 12px;
	line-height: 15px;
}

.arisch-noc-od-steps__item.is-done .arisch-noc-od-steps__label,
.arisch-noc-od-steps__item.is-current .arisch-noc-od-steps__label {
	color: #000;
	font-weight: 600;
}

.arisch-noc-od-steps__date {
	color: #757575;
	font-size: 11px;
	line-height: 14px;
}

@media (min-width: 768px) {
	.arisch-noc-od-steps__label {
		font-size: 13px;
	}
}

.arisch-noc-od-message {
	color: #000;
	font-size: 14px;
	line-height: 21px;
	margin: 0 0 28px;
	text-align: center;
}

/* Layout: main + side. */
.arisch-noc-od__layout {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
	.arisch-noc-od__layout {
		align-items: start;
		grid-template-columns: minmax(0, 1fr) 340px;
	}

	.arisch-noc-od__side {
		position: sticky;
		top: 24px;
	}
}

.arisch-noc-od__main {
	display: grid;
	gap: 24px;
	min-width: 0;
}

.arisch-noc-od-card {
	border: 1px solid #e1ded9;
	padding: 24px;
}

.arisch-noc-od-card__title,
.arisch-noc-account .arisch-noc-od-card .arisch-noc-ty-bank__title {
	color: #000;
	font-family: var(--brand-font-family--tertiary);
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	margin: 0 0 16px;
	text-transform: none;
}

.arisch-noc-od-card .arisch-noc-ty-bank__list:last-of-type {
	margin-bottom: 16px;
}

.arisch-noc-od-card .arisch-noc-ty-grid {
	margin-top: -4px;
}

.arisch-noc-od-card .arisch-noc-ty-block:nth-child(-n+2) {
	border-top: 0;
	padding-top: 0;
}

@media (max-width: 575.98px) {
	.arisch-noc-od-card .arisch-noc-ty-block:nth-child(2) {
		border-top: 1px solid #e1ded9;
		padding-top: 20px;
	}
}

/* Products. */
.arisch-noc-od-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.arisch-noc-od-item {
	align-items: flex-start;
	border-top: 1px solid #e1ded9;
	display: grid;
	gap: 16px;
	grid-template-columns: 88px minmax(0, 1fr) auto;
	padding: 16px 0;
}

.arisch-noc-od-item:first-child {
	border-top: 0;
	padding-top: 0;
}

.arisch-noc-od-item:last-child {
	padding-bottom: 0;
}

.arisch-noc-od-item__img {
	align-items: center;
	background-color: #f8f8f8;
	display: flex;
	height: 88px;
	justify-content: center;
	overflow: hidden;
	width: 88px;
}

.arisch-noc-od-item__img img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.arisch-noc-od-item__info p {
	margin: 0;
}

.arisch-noc-od-item__brand {
	color: #757575;
	font-size: 12px;
	letter-spacing: .02em;
	line-height: 15px;
	text-transform: uppercase;
}

.arisch-noc-od-item__name {
	color: #000;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
}

.arisch-noc-od-item__name a {
	color: #000;
	text-decoration: none;
}

.arisch-noc-od-item__name a:hover {
	text-decoration: underline;
}

.arisch-noc-od-item__meta {
	color: #757575;
	font-size: 13px;
	line-height: 19px;
}

.arisch-noc-od-item__price {
	color: #000;
	font-size: 14px;
	font-weight: 600;
	margin: 0;
	white-space: nowrap;
}

/* Updates. */
.arisch-noc-od-notes {
	list-style: none;
	margin: 0;
	padding: 0 0 0 16px;
	position: relative;
}

.arisch-noc-od-notes::before {
	background: #e1ded9;
	bottom: 6px;
	content: "";
	left: 3px;
	position: absolute;
	top: 6px;
	width: 1px;
}

.arisch-noc-od-notes__item {
	padding: 0 0 16px;
	position: relative;
}

.arisch-noc-od-notes__item::before {
	background: #000;
	border-radius: 50%;
	content: "";
	height: 7px;
	left: -16px;
	position: absolute;
	top: 6px;
	width: 7px;
}

.arisch-noc-od-notes__date {
	color: #757575;
	font-size: 12px;
	margin: 0 0 2px;
}

.arisch-noc-od-notes__text,
.arisch-noc-od-notes__text p {
	color: #000;
	font-size: 14px;
	font-weight: 300;
	line-height: 21px;
	margin: 0;
}

/* Side: summary + actions. */
.arisch-noc-od-summary {
	background: #f8f8f8;
	padding: 24px;
}

.arisch-noc-od-totals {
	margin: 0;
}

.arisch-noc-od-totals__row {
	display: flex;
	font-size: 14px;
	gap: 16px;
	justify-content: space-between;
	line-height: 21px;
	margin: 0 0 10px;
}

.arisch-noc-od-totals__row dt,
.arisch-noc-od-totals__row dd {
	font-weight: 300;
	margin: 0;
}

.arisch-noc-od-totals__row dd {
	text-align: right;
}

.arisch-noc-od-totals__row--total {
	border-top: 1px solid #e1ded9;
	margin: 16px 0 0;
	padding-top: 16px;
}

.arisch-noc-od-totals__row--total dt,
.arisch-noc-od-totals__row--total dd {
	font-size: 16px;
	font-weight: 700;
}

.arisch-noc-od-summary__note {
	color: #757575;
	font-size: 12px;
	margin: 6px 0 0;
}

.arisch-noc-od-actions {
	display: grid;
	gap: 10px;
	margin-top: 24px;
}

.arisch-noc-od-help {
	color: #000;
	font-size: 13px;
	margin-top: 6px;
	text-align: center;
	text-decoration: underline;
}

/* Bank / tracking rows inside account cards. */
.arisch-noc-od-card .arisch-noc-ty-bank__intro {
	font-size: 14px;
}

/* ---- Cancel dialog ------------------------------------------------------ */
.arisch-noc-od-dialog {
	border: 0;
	max-width: 520px;
	padding: 0;
	width: calc(100% - 32px);
}

.arisch-noc-od-dialog::backdrop {
	background: rgba(0, 0, 0, .5);
}

.arisch-noc-od-dialog__form {
	font-family: var(--brand-font-family--tertiary);
	padding: 32px 24px 24px;
	position: relative;
}

.arisch-noc-od-dialog__close {
	background: none;
	border: 0;
	color: #000;
	cursor: pointer;
	font-size: 28px;
	height: 40px;
	line-height: 1;
	position: absolute;
	right: 8px;
	top: 8px;
	width: 40px;
}

.arisch-noc-od-dialog__title {
	color: #000;
	font-size: 20px;
	font-weight: 700;
	line-height: 26px;
	margin: 0 0 12px;
}

.arisch-noc-od-dialog__text {
	color: #000;
	font-size: 14px;
	line-height: 21px;
	margin: 0 0 8px;
}

.arisch-noc-od-dialog .arisch-noc-od-dialog__field {
	margin: 28px 0 4px;
}

.arisch-noc-od-dialog .form-control,
.arisch-noc-od-dialog .form-control-label {
	font-size: 1rem;
}

.arisch-noc-od-dialog .custom-select {
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 2px center;
	padding-right: 28px;
}

.arisch-noc-od-dialog textarea.form-control {
	min-height: 80px;
	resize: vertical;
}

.arisch-noc-od-dialog__actions {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
	margin-top: 28px;
}

.arisch-noc-od-dialog__actions .arisch-noc-order-btn {
	min-height: 44px;
}

@media (max-width: 575.98px) {
	.arisch-noc-od-dialog__actions {
		grid-template-columns: 1fr;
	}

	.arisch-noc-od-item {
		grid-template-columns: 72px minmax(0, 1fr);
	}

	.arisch-noc-od-item__img {
		height: 72px;
		width: 72px;
	}

	.arisch-noc-od-item__price {
		grid-column: 2;
	}

	.arisch-noc-od-card,
	.arisch-noc-od-summary {
		padding: 20px 16px;
	}
}

.arisch-noc-od-dialog:focus {
	outline: none;
}

/* Dialog fields: select label always lifted; inline errors as in the other forms. */
.arisch-noc-od-dialog .form-group:has(select) label {
	margin: -1.25rem 0 -.4375rem;
	transform: scale(.75);
}

.arisch-noc-od-dialog p.form-row {
	display: block;
	margin-left: 0;
	margin-right: 0;
}

.arisch-noc-od-dialog .form-group label .required {
	color: inherit;
}

.arisch-noc-od-dialog .woocommerce-invalid .form-control {
	border-bottom: 2px solid #b3261e;
}

.arisch-noc-od-dialog .arisch-noc-co-error {
	color: #b3261e;
	display: block;
	font-size: .75rem;
	font-weight: 600;
	line-height: 1.3;
	margin-top: 8px;
}

.arisch-noc-account .arisch-noc-od .woocommerce-error {
	margin-bottom: 24px;
}
