/* Hesabım for customers: live's menu and content side by side across the page (reference §19, "Account (logged in)").
   The menu is 18.75 units wide, each item a dark link after Remix's chevron; the content takes the right 78 %. Below
   992 px both run across the page, the menu on top (live keeps the content at 78 % there). */
.woocommerce-account .natracare-icerik > .woocommerce {
	max-width: none;
}
.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation {
	width: calc(18.75 * var(--natracare-aralik));
}
.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
	width: 78%;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	padding: 0;
}
/* The theme underlines content links with a border; WooCommerce underlines the current item. */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	border-bottom: 0;
	color: #222221;
	text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	color: var(--wp--preset--color--mavi);
	text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation a::before {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin-right: calc(0.313 * var(--natracare-aralik));
	vertical-align: -0.15em;
	background: currentColor;
	mask: url("../icons/remix/arrow-right-s-line.svg") center / contain no-repeat;
}
.woocommerce-account .woocommerce-MyAccount-content p {
	margin: 0 0 calc(0.938 * var(--natracare-aralik));
}
.woocommerce-account .woocommerce-MyAccount-content strong {
	font-weight: 500;
}
.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
	border-bottom: 0;
	color: #222221;
	font-weight: 500;
	text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-content a:not(.button):hover {
	color: var(--wp--preset--color--mavi);
}
.woocommerce-account .woocommerce table.my_account_orders th {
	font-weight: 400;
}
/* WooCommerce's block-theme CSS stacks an order's actions as full-width buttons; live's sit inline at their width. */
.woocommerce-account .woocommerce .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
	display: inline-block;
	margin: 0.125em 0.25em 0.125em 0;
}
/* From 768 px down WooCommerce stacks each order's cells as "Tarih: …" lines but hides the order number, the row's
   only th (live too). It comes back as the first line, like the cells under it. */
@media (max-width: 768px) {
	.woocommerce-account .woocommerce table.my_account_orders tbody th {
		display: block;
		text-align: right;
	}
	.woocommerce-account .woocommerce table.my_account_orders tbody th::before {
		content: attr(data-title) ": ";
		float: left;
		font-weight: 700;
	}
	.woocommerce-account .woocommerce table.my_account_orders tbody tr:first-child th {
		border-top: 0;
	}
	.woocommerce-account .woocommerce table.my_account_orders tbody tr:nth-child(2n) th {
		background-color: rgba(0, 0, 0, 0.025);
	}
}
/* "Parola değiştirme" is a heading on live, not a framed group. */
.woocommerce-account .woocommerce-MyAccount-content fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.woocommerce-account .woocommerce-MyAccount-content legend {
	padding: calc(0.625 * var(--natracare-aralik)) 0;
	color: #333;
	font-size: 1.313rem;
	font-weight: 400;
}
@media (max-width: 991px) {
	.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation,
	.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
	}
	.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation {
		margin-bottom: calc(0.938 * var(--natracare-aralik));
	}
}

/* Hesabım › Favorilerim (functions.php): WooCommerce's account table, as Siparişler's, with each product's image and
   name as in the header's "Favorilerim" list, the shop cards' "Sepete Ekle" (urun-karti.css) and the list's blue bin.
   WooCommerce stacks the cells from 768 px down, each after its column name; there the product heads the row without
   one, and the button and the bin share the last line. */
.woocommerce table.natracare-favorilerim td {
	vertical-align: middle;
}
.natracare-favorilerim__kutu {
	display: flex;
	align-items: center;
	gap: calc(0.625 * var(--natracare-aralik));
}
.natracare-favorilerim__gorsel {
	flex: none;
}
.natracare-favorilerim__gorsel img {
	display: block;
	width: 4.125rem;
	height: 4.125rem;
	object-fit: contain;
	border-radius: 0.313rem;
}
.natracare-favorilerim__ad {
	color: #383838;
	font-weight: 500;
	text-decoration: none;
}
.natracare-favorilerim__ad:hover {
	color: var(--wp--preset--color--mavi);
}
/* Only the name wraps. WooCommerce lets its button text wrap, with three classes. */
.natracare-favorilerim th,
.natracare-favorilerim__fiyat,
.natracare-favorilerim__stok,
.natracare-favorilerim .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button {
	white-space: nowrap;
}
/* WooCommerce centres its button; "1 sepette" and "Sepete Ekle" differ in width, so line them up on the right. */
.natracare-favorilerim .wp-block-button.wc-block-components-product-button {
	align-items: flex-end;
}
.natracare-favorilerim__sil {
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--mavi);
	cursor: pointer;
}
.natracare-favorilerim__sil svg {
	width: 1.125rem;
	height: 1.125rem;
}
@media (max-width: 768px) {
	.woocommerce table.natracare-favorilerim tr {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.woocommerce table.natracare-favorilerim td {
		flex: 0 0 100%;
		box-sizing: border-box;
	}
	.woocommerce table.natracare-favorilerim td.natracare-favorilerim__urun,
	.woocommerce table.natracare-favorilerim td.natracare-favorilerim__sepet {
		text-align: left !important;
	}
	.woocommerce table.natracare-favorilerim td.natracare-favorilerim__urun::before,
	.woocommerce table.natracare-favorilerim td:not([data-title])::before {
		display: none;
	}
	.woocommerce table.natracare-favorilerim td.natracare-favorilerim__sepet {
		flex: 1;
	}
	.natracare-favorilerim .wp-block-button.wc-block-components-product-button {
		align-items: flex-start;
	}
	.woocommerce table.natracare-favorilerim td.natracare-favorilerim__kaldir {
		flex: none;
		align-self: stretch;
		display: grid;
		place-items: center;
	}
}

/* Hesabım for guests (functions.php): live's one box with "Giriş Yap" and "Yeni Üyelik" tabs (live's
   .login-register-tab-* rules), WordPress's Tabs block around WooCommerce's forms. At 1920 every value is live's.
   Ours: "Beni hatırla" (ticked) on its own line above the button, which shares its line with "Parolanızı mı
   unuttunuz?" as on live, and WooCommerce's password eye, which live has but doesn't show. */
.natracare-giris {
	box-sizing: border-box;
	max-width: 37.5rem;
	margin-inline: auto;
	padding: calc(1.25 * var(--natracare-aralik));
	border: 1px solid #ddd;
	border-radius: 0.625rem;
}
.natracare-giris > * {
	margin-block: 0;
}
.natracare-giris .wp-block-tab-list {
	flex-wrap: nowrap;
	gap: 0;
	margin-bottom: var(--natracare-aralik);
	border-bottom: 1px solid #ddd;
}
/* The Tabs block's own underline (2 px in the text colour) gives way to live's 1 px dark line. */
.natracare-giris [role="tab"] {
	width: 50%;
	padding: calc(0.625 * var(--natracare-aralik)) var(--natracare-aralik);
	border-bottom: 1px solid transparent;
	color: #646464;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: normal;
	text-align: center;
	transition: color 0.3s, border-color 0.3s;
}
.natracare-giris [role="tab"]::before {
	content: none;
}
.natracare-giris [role="tab"][aria-selected="true"] {
	border-bottom-color: #222221;
	color: #1c1c1c;
}
.woocommerce .natracare-giris form.login,
.woocommerce .natracare-giris form.register {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}
.woocommerce :is(.natracare-giris form, .woocommerce-MyAccount-content form, form.lost_reset_password) p {
	margin: 0 0 calc(0.938 * var(--natracare-aralik));
	padding: 0;
}
.woocommerce :is(.natracare-giris form, .woocommerce-MyAccount-content form, form.lost_reset_password) > p:last-child {
	margin-bottom: 0;
}
.woocommerce :is(.natracare-giris form, .woocommerce-MyAccount-content form, form.lost_reset_password) .form-row label {
	margin: 0;
	line-height: 2;
}
.woocommerce :is(.natracare-giris form, .woocommerce-MyAccount-content form, form.lost_reset_password) .form-row .input-text {
	box-sizing: border-box;
	height: 2.5rem;
	padding: 0 calc(0.938 * var(--natracare-aralik));
	border: 1px solid #ddd;
	border-radius: 0.313rem;
	background: var(--wp--preset--color--beyaz);
	color: #495057;
	font-size: 0.95em;
	font-weight: 300;
	line-height: normal;
}
.woocommerce :is(.natracare-giris form, .woocommerce-MyAccount-content form, form.lost_reset_password) .form-row .input-text:focus {
	border-color: #bdc5c9;
}
/* Room for the eye, which sits in the middle of the field. */
.woocommerce :is(.natracare-giris form, .woocommerce-MyAccount-content form, form.lost_reset_password) .form-row .password-input .input-text {
	padding-right: 2.5rem;
}
.woocommerce :is(.natracare-giris form, .woocommerce-MyAccount-content form, form.lost_reset_password) .show-password-input {
	top: 50%;
	right: calc(0.688 * var(--natracare-aralik));
	transform: translateY(-50%);
}
/* The login form's last rows on one flex line: "Beni hatırla" across the box, then the button and the link. */
.woocommerce .natracare-giris form.login {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.woocommerce .natracare-giris form.login > * {
	flex: 0 0 100%;
}
.woocommerce .natracare-giris form.login > .form-row:has(.woocommerce-form-login__submit) {
	display: contents;
}
.woocommerce .natracare-giris form .woocommerce-form-login__rememberme {
	display: flex;
	flex: 0 0 100%;
	align-items: center;
	gap: calc(0.5 * var(--natracare-aralik));
	margin-bottom: calc(0.5 * var(--natracare-aralik));
	cursor: pointer;
}
.woocommerce .natracare-giris form .woocommerce-form-login__rememberme input {
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--wp--preset--color--mavi);
}
.woocommerce .natracare-giris form .woocommerce-form-login__submit {
	flex: none;
	float: none;
	margin: 0 calc(1.25 * var(--natracare-aralik)) 0 0;
}
.woocommerce .natracare-giris form.login > .lost_password {
	flex: none;
	margin: 0;
}
/* The theme underlines content links with a border. */
.woocommerce .natracare-giris .lost_password a {
	border-bottom: 0;
	color: #222221;
	text-decoration: none;
}
.woocommerce .natracare-giris .lost_password a:hover {
	color: var(--wp--preset--color--mavi);
}
/* Sign-up's agreement box (functions.php): the box on the first line, the text wrapping beside it, the two links dark
   and underlined as on live. WooCommerce makes the label and box inline with as many classes. */
.woocommerce .natracare-giris form .natracare-uyelik-onayi label.checkbox {
	position: relative;
	display: block;
	line-height: 1.5;
	padding-left: calc(1rem + 0.5 * var(--natracare-aralik));
	cursor: pointer;
}
.woocommerce .natracare-giris form .natracare-uyelik-onayi .input-checkbox {
	position: absolute;
	top: calc((1lh - 1rem) / 2);
	left: 0;
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--wp--preset--color--mavi);
}
.woocommerce .natracare-giris .natracare-uyelik-onayi a {
	border-bottom: 0;
	color: #222221;
	text-decoration: underline;
}
.woocommerce .natracare-giris .natracare-uyelik-onayi a:hover {
	color: var(--wp--preset--color--mavi);
}
/* Live's phone box has 17.7 px inside (its rem shrinks there); 1rem keeps the button and the link on one line from
   390 px. Narrower phones put the link under the button. */
@media (max-width: 767px) {
	.natracare-giris {
		padding: var(--natracare-aralik);
	}
}
