/* TikTok Style Checkout (TSC) in AYRAERYNA black and white, red only for offers and savings (approved Cart, Checkout and My account mockups).

   Loaded only on the cart, checkout and account pages (includes/tsc.php), after TSC's own cart.css / checkout.css /
   gwp.css / points.css, so a rule here wins over the plugin's whenever the two have the same weight. TSC marks a few
   of its own rules !important (the grey rows, the pinned capitals, the big buttons); those are answered below with
   `body` in front plus !important.
   Nothing in the plugin is edited: remove this file and TSC looks exactly as it ships.

   The free-shipping strip and the discount chip are also TSC settings (TikTok Style Checkout > Settings > Icons):
   the colours here are only the defaults; a colour saved there is printed later in the page and wins.
   Sections: 1 colours, 2 buttons, 3 cart, 4 offers ("Add to your order"), 5 checkout, 6 pop-up sheets,
   7 phones, 8 account, 9 orders. */

/* ---------------------------------------------------------------- 1. colours */
/* TSC defines its palette on each of its own wrappers, so the AYRAERYNA values are set on the same wrappers.
   TSC's "pink" is its accent (prices, active tabs, links): black here, like every other AYRAERYNA button. */
.tsc-cart,
.tsc-checkout,
.tsc-thankyou,
.tsc-order,
.tsc-orders {
	--tsc-pink: var(--ay-ink);
	--tsc-pink-soft: var(--ay-wash);
	--tsc-pink-tint: var(--ay-mist);
	--tsc-text: var(--ay-ink);
	--tsc-text-muted: var(--ay-muted);
	--tsc-text-light: #8F8F8F;
	--tsc-bg: var(--ay-wash);
	--tsc-border: var(--ay-line);
}

/* Read with a fallback by the plugin, so they can sit on :root (a colour saved in TSC's settings still wins). */
:root {
	--tsc-sale: var(--ay-red);
	/* The "-21%" chip: red with white text. */
	--tsc-discount-bg: var(--ay-red);
	--tsc-discount-fg: #fff;
	/* Free-shipping strip: a black band, white text and a white bar on a pale track (the mockup). */
	--tsc-freeship-bg: var(--ay-ink);
	--tsc-freeship-fg: #fff;
	--tsc-freeship-track: rgba(255, 255, 255, .35);
	/* The flash-sale pill and its price. */
	--tsc-flash: var(--ay-red);
	--tsc-flash-on: #fff;
}

/* Free gifts: grey box, grey gift rows, a black "FREE GIFT" chip (below) and a red "Spend RMxx more" bar (green once
   unlocked).
   gwp.css sets these on :root and can load after this file, so they sit on `body` (one step closer) instead. */
body {
	--tsc-gwp-red: var(--ay-red);
	--tsc-gwp-red-soft: #FBE3DD;
	--tsc-gwp-blush: var(--ay-wash);
	--tsc-gwp-blush-line: var(--ay-line-2);
	--tsc-gwp-track: var(--ay-line-2);
	--tsc-gwp-muted: var(--ay-muted);
	--tsc-gwp-ink: var(--ay-ink);
}

/* Line prices are ink in the cart and the order summary (the mockups); a crossed-out old price stays grey. */
.tsc-cart-item__price,
.tsc-cart-item__price .woocommerce-Price-amount,
.tsc-checkout-item__price .woocommerce-Price-amount {
	color: var(--ay-ink);
}
/* A price on sale (a crossed-out old price beside it, e.g. a flash sale item) is red, like the product cards. */
.tsc-checkout-item__price-sale,
.tsc-checkout-item__price-sale .woocommerce-Price-amount {
	color: var(--ay-sale);
}
.tsc-cart-item__price-original,
.tsc-cart-item__price-original .woocommerce-Price-amount,
.tsc-checkout-item__price .tsc-checkout-item__price-original .woocommerce-Price-amount {
	color: var(--tsc-text-light);
}

/* The "RMxx off" and "You've saved RMxx!" labels are #dc2626 on every IGSHOP site. */
.tsc-cart__total-saving,
.tsc-listbar__saving,
.tsc-checkout__bottombar-saving {
	color: var(--ay-sale);
}
.tsc-order__reserved,
.tsc-thankyou__reserved,
.tsc-orders__tab-badge {
	background: var(--ay-red);
}

/* The coupon icon is a red ticket emoji; a filter turns it into a plain dark glyph (the mockup's outline ticket). */
.tsc-vouchers-trigger__icon,
.tsc-checkout__coupon-icon {
	filter: grayscale(1) brightness(.2);
}

/* ---------------------------------------------------------------- 2. buttons */
/* Every AYRAERYNA button is a square black block that turns charcoal on hover (.ay-btn in brand.css). TSC draws its
   big buttons as pills with !important, so they are squared again here, one step more specific. */
body .tsc-cart .tsc-checkout-btn,
body .tsc-cart .tsc-checkout-btn:link,
body .tsc-cart .tsc-checkout-btn:visited,
body .tsc-checkout .tsc-checkout__place-order,
body .tsc-cart__upsell-add,
body .tsc-orders__empty-btn,
body .tsc-account__content .woocommerce-Button,
body .tsc-account__content button[type="submit"] {
	border-radius: 0 !important;
	background: var(--ay-ink) !important;
	color: #fff !important;
	text-transform: uppercase;
	letter-spacing: .14em;
	font-weight: 600;
	transition: background-color .15s ease;
}
body .tsc-cart .tsc-checkout-btn:hover,
body .tsc-cart .tsc-checkout-btn:focus-visible,
body .tsc-checkout .tsc-checkout__place-order:hover,
body .tsc-checkout .tsc-checkout__place-order:focus-visible,
body .tsc-orders__empty-btn:hover,
body .tsc-account__content .woocommerce-Button:hover,
body .tsc-account__content button[type="submit"]:hover {
	background: var(--ay-hover) !important;
	color: #fff !important;
}
/* "Checkout" and "Place order": larger, letter-spaced capitals (the mockup). */
body .tsc-cart .tsc-checkout-btn {
	min-width: 150px;
	min-height: 48px;
	padding: 0 28px;
	font-size: 15px;
}
/* TSC pins Place order's pill shape, height and spacing with !important, on :hover and :focus too (a more specific
   rule than the one above), so all three states are answered here. */
body .tsc-checkout .tsc-checkout__place-order,
body .tsc-checkout .tsc-checkout__place-order:hover,
body .tsc-checkout .tsc-checkout__place-order:focus {
	height: 48px !important;
	border-radius: 0 !important;
	letter-spacing: .16em !important;
	font-size: 14px !important;
}

/* ---------------------------------------------------------------- 3. cart */
/* The coupon row: a light strip with hairlines, "All Discount Coupon" in normal case and a black "1 APPLIED" pill.
   TSC pins a grey fill and capitals with !important, so `body` and !important answer it. */
body .tsc-cart .tsc-vouchers-trigger {
	background: var(--ay-mist) !important;
	border-top: 1px solid var(--ay-line) !important;
	border-bottom: 1px solid var(--ay-line) !important;
	color: var(--ay-ink) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
.tsc-vouchers-trigger__applied {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ay-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* The size pill ("M ▾"). WooCommerce prints the chosen options as a small list ("Size:" then "M") now that the size
   is no longer part of the product name (includes/tsc.php). The pill only needs the values: the "Size:" word is
   hidden and several options read "Black / M". */
.tsc-cart-item__variation-label dl.variation,
.tsc-checkout-item__variation dl.variation { display: inline; margin: 0; }
/* A free gift's size cannot be changed, so TSC prints it in a plain box ("Size:" above "M"). It reads as one quiet
   line instead, the same "M" with no label. */
.tsc-cart-item--gift .tsc-cart-item__variation { padding: 0; border: 0; background: none; color: var(--ay-muted); font-size: 13px; }
.tsc-cart-item--gift .tsc-cart-item__variation dl.variation,
.tsc-cart-item--gift .tsc-cart-item__variation dd,
.tsc-cart-item--gift .tsc-cart-item__variation dd p { display: inline; margin: 0; padding: 0; }
.tsc-cart-item--gift .tsc-cart-item__variation dt { display: none; }
.tsc-cart-item--gift .tsc-cart-item__variation dd ~ dd::before { content: " / "; }
/* The "FREE GIFT" chip is black, like the rest of AYRAERYNA's labels; red stays for the saving beside the price. */
.tsc-gwp-chip { background: var(--ay-ink); }
.tsc-cart-item__variation-label dl.variation dt,
.tsc-checkout-item__variation dl.variation dt { display: none; }
.tsc-cart-item__variation-label dl.variation dd,
.tsc-cart-item__variation-label dl.variation dd p,
.tsc-checkout-item__variation dl.variation dd,
.tsc-checkout-item__variation dl.variation dd p { display: inline; margin: 0; padding: 0; }
.tsc-cart-item__variation-label dl.variation dd ~ dd::before,
.tsc-checkout-item__variation dl.variation dd ~ dd::before { content: " / "; }

/* Free gifts on a computer: both gifts side by side with a hairline between them (TSC shows one at a time, a
   phone swipe). With only two gifts there is nothing to scroll, so the arrows and dots go; a third gift brings
   them back. */
@media (min-width: 768px) {
	.tsc-gwp__slide { flex-basis: 50%; padding-right: 16px; }
	.tsc-gwp__slide + .tsc-gwp__slide { padding-left: 16px; border-left: 1px solid var(--ay-line-2); }
	.tsc-gwp:not(:has(.tsc-gwp__slide:nth-child(3))) .tsc-gwp__nav { display: none; }
}

/* The free-shipping strip: centred bold text on the red band ("Add RM40.20 more for free shipping"). */
.tsc-cart__freeship {
	padding: 11px var(--tsc-pad, 16px) 12px;
	border-bottom: 0;
}
.tsc-cart__freeship-text {
	justify-content: center;
	font-weight: 600;
	text-align: center;
}

@media (min-width: 768px) {
	/* TSC gives the cart 10% of the screen on each side; here it is one centred column, as wide as the mockup's. */
	.tsc-cart {
		max-width: 968px;
		margin-inline: auto;
		padding-left: var(--tsc-pad);
		padding-right: var(--tsc-pad);
		/* TSC leaves 12px under the checkout bar here (it is pinned on phones only); the footer needs real air. */
		padding-bottom: 72px;
	}
	/* "SHOPPING CART": big capitals, like every AYRAERYNA page title. */
	.tsc-cart__page-title {
		padding: 34px 16px 22px;
		font-size: 34px;
		font-weight: 600;
		line-height: 1.1;
		letter-spacing: .01em;
		text-transform: uppercase;
		color: var(--ay-ink);
	}
	.tsc-cart__bottombar { border: 1px solid var(--ay-line); }
}

/* ---------------------------------------------------------------- 4. offers ("Add to your order", cart + checkout) */
/* A red band, a white capital title, white cards and a full-width black "GRAB THIS OFFER" button under each card. */
.tsc-cart__upsell {
	margin: 16px 0;
	padding: 20px 16px 16px;
	background: var(--ay-red);
}
.tsc-cart__upsell-header { margin-bottom: 14px; }
.tsc-cart__upsell-title {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}
/* The button leaves the text column and runs across the whole card: the card keeps room for it at the bottom. */
.tsc-cart__upsell-card {
	position: relative;
	padding: 10px 10px 58px;
	border: 1.5px dashed rgba(255, 255, 255, .9);
	border-radius: 8px;
	background: #fff;
}
body .tsc-cart__upsell-add {
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	min-height: 36px;
	padding: 8px 10px;
	font-size: 11px;
	letter-spacing: .1em;
}
body .tsc-cart__upsell-add:hover,
body .tsc-cart__upsell-add:focus-visible {
	background: var(--ay-hover) !important;
}
.tsc-cart__upsell-variation {
	align-self: stretch;
	border-color: var(--ay-line-2);
	border-radius: 4px;
	background-color: var(--ay-mist);
}
.tsc-cart__upsell-sale { font-size: 14px; }
/* The round white arrows sit half over the band's edge. */
.tsc-cart__upsell-nav { border-color: #fff; }

/* ---------------------------------------------------------------- 5. checkout */
/* Logo in the header (shown on a computer; TSC hides it on phones). TSC prints the site name as text when no logo is
   set in Customizer > Site Identity; the black AYRAERYNA wordmark is drawn over that link instead (the words stay in the
   page for screen readers). A logo uploaded in Site Identity prints as an <img> and is left alone. */
.tsc-checkout__logo > a:not(.custom-logo-link) {
	display: block;
	width: 160px; /* logo.png is 984 x 148: 24px tall */
	height: 24px;
	background: url("img/logo.png") left center / contain no-repeat;
	font-size: 0;
	color: transparent;
}

/* "Checkout" sits in the exact centre of the bar (the mockup). The header is a row of logo | title | bag, so a wide
   wordmark would push the title right; on a computer it is taken out of the row and centred on the bar instead. */
@media (min-width: 768px) {
	.tsc-checkout__header { position: relative; }
	.tsc-checkout__title { position: absolute; left: 50%; transform: translateX(-50%); }
}

/* The rows pin capitals with !important; AYRAERYNA reads them in normal case (the mockup). */
body .tsc-checkout .tsc-checkout__address-card,
body .tsc-checkout .tsc-checkout__select-row,
body .tsc-checkout .tsc-checkout__coupon-row,
body .tsc-checkout .tsc-checkout__notes-row,
body .tsc-login-banner {
	text-transform: none !important;
	letter-spacing: 0 !important;
}
body .tsc-checkout .tsc-checkout__notes-row {
	background: transparent !important;
}
/* "1 APPLIED" on the checkout coupon row: the same black pill as the cart. */
.tsc-checkout__coupon-row .tsc-vouchers-trigger__applied,
.tsc-checkout__coupon-applied {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ay-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* Offers in the order summary: the band keeps a little air above and below. */
.tsc-checkout .tsc-cart__upsell { margin: 16px 0; }

@media (min-width: 768px) {
	/* TSC runs the two columns edge to edge; here they sit in one centred 1000px column, and the header lines up. */
	.tsc-checkout { background: #fff; }
	.tsc-checkout__header {
		justify-content: space-between;
		padding-inline: max(var(--tsc-pad), calc((100% - 1000px) / 2));
	}
	.tsc-checkout__cols {
		max-width: 1000px;
		margin-inline: auto;
		min-height: auto;
	}
	.tsc-checkout__main { padding: 8px 24px 24px 0; }
	.tsc-checkout__summary {
		min-height: calc(100vh - 100px);
		padding: 8px 0 24px 24px;
	}
	/* Side by side, the grey fills and the inset only break the white up: rows sit flat and lean on their rules. */
	body .tsc-checkout .tsc-checkout__address-card,
	body .tsc-checkout .tsc-checkout__select-row,
	body .tsc-checkout .tsc-checkout__coupon-row,
	body .tsc-checkout .tsc-checkout__notes-row {
		padding-inline: 0 !important;
		background: transparent !important;
	}
	body .tsc-checkout .tsc-checkout__notes-row {
		border-top: 1px solid var(--tsc-border) !important;
		border-bottom: 1px solid var(--tsc-border) !important;
	}
	.tsc-checkout__section-title,
	.tsc-checkout__totals,
	.tsc-checkout__terms,
	.tsc-checkout__payment-details,
	.tsc-checkout-item {
		padding-inline: 0;
		background: transparent;
	}
	.tsc-checkout__section-title { padding-bottom: 10px; font-size: 15px; }
	.tsc-checkout__items { background: transparent; border-bottom: 1px solid var(--tsc-border); }
	/* The free gift line keeps its own inset and grey fill. */
	.tsc-checkout-item--gift { padding-inline: 12px; background: var(--ay-wash); }
	.tsc-checkout__bottombar { padding: 20px 0 0; border-top: 0; }
}

/* The thank-you title: TSC adds a 44px blank block after it (room for a back arrow the page does not have),
   which pushes the title 22px left of centre. */
.tsc-thankyou__header-spacer { display: none; }

/* ---------------------------------------------------------------- 6. pop-up sheets */
/* TSC's bottom sheets (size picker, coupons, address, payment) are full width. On a computer they sit in a
   560px column in the middle of the screen instead of stretching across it. */
@media (min-width: 768px) {
	.tsc-modal__sheet {
		max-width: 560px;
		margin-inline: auto;
	}
}

/* ---------------------------------------------------------------- 7. phones */
/* On a phone the cart and the signed-in account are app screens: TSC's own header (back arrow, title) and bottom bar
   replace the site's. TSC hides other themes' headers by their ids; these are the AYRAERYNA ones (chrome.css). */
@media (max-width: 767px) {
	body.woocommerce-cart .nl-ann,
	body.woocommerce-cart .nl-top,
	body.woocommerce-cart .nl-hdr,
	body.woocommerce-cart .nl-stick,
	body.woocommerce-cart .nl-ftr,
	body.ay-account-app .nl-ann,
	body.ay-account-app .nl-top,
	body.ay-account-app .nl-hdr,
	body.ay-account-app .nl-stick,
	body.ay-account-app .nl-ftr {
		display: none;
	}
}

/* ---------------------------------------------------------------- 8. account */
/* The account sits on a mist page with white cards (the approved account mockup). `ay-account-app` is a body class
   (includes/tsc.php) that is only there for a logged-in customer, so the login form below is left alone. */
body.ay-account-app { background: var(--ay-mist); }
.tsc-account { background: transparent; }
.tsc-account__header,
.tsc-account__tabs { border-color: var(--ay-line); }
.tsc-account__title { font-weight: 600; color: var(--ay-ink); }

/* Tabs: muted grey, the open one black with a 2px red line under it. */
.tsc-account__tabs { background: #fff; }
.tsc-account__tab {
	position: relative;
	color: var(--ay-muted) !important;
}
.tsc-account__tab:hover { color: var(--ay-ink) !important; }
.tsc-account__tab.is-active { color: var(--ay-ink) !important; font-weight: 600; }
.tsc-account__tab.is-active::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--ay-red);
}

/* Reward page: TSC's green palette becomes black and red. Only the account page (.tsc-points) is changed;
   the green credit and points rows at checkout keep their own colours. */
.tsc-points {
	--tsc-pts: var(--ay-ink);
	--tsc-pts-tint: var(--ay-wash);
	--tsc-pts-line: var(--ay-line);
	--tsc-pts-good: var(--ay-ink);
	--tsc-pts-ink: var(--ay-ink);
	--tsc-pts-muted: var(--ay-muted);
	--tsc-pts-border: var(--ay-line);
	padding: 8px 20px 12px;
	background: #fff;
}
/* The balance, the expiry bar and the history all sit inside the one card, so they lose their own boxes. TSC also
   pins a 12px side margin on phones (!important), which would push them in from the card edge. */
.tsc-points .tsc-points__hero,
.tsc-points .tsc-points__history,
.tsc-points .tsc-points__empty,
.tsc-points .tsc-points__expiring {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.tsc-points__hero {
	padding: 28px 0 24px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--ay-line);
	border-radius: 0;
}
.tsc-points__balance {
	font-size: 56px;
	font-weight: 600;
	letter-spacing: 0;
}
.tsc-points__balance-label {
	margin-top: 8px;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
}
/* "Worth RM12.40": a green pill with white text (TSC pins white text on solid green with !important). */
.tsc-points__worth {
	margin-top: 16px;
	padding: 6px 16px;
	background: var(--ay-ok) !important;
	border: 0;
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
}
.tsc-points__worth .amount,
.tsc-points__worth bdi,
.tsc-points__worth span { color: #fff !important; }
.tsc-points__expiring {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 16px;
	padding: 12px 14px;
	border: 0;
	border-radius: 0;
	background: var(--ay-wash);
}
.tsc-points__expiring-label {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ay-muted);
}
.tsc-points__expiring-value { font-size: 13px; font-weight: 600; text-align: right; }
/* Headings: the first one ("Reward points") only repeats the tab, so it is hidden; the others read left to right. */
.tsc-points .tsc-points__section-title--first { display: none !important; }
body .tsc-points .tsc-points__section-title {
	margin: 24px 0 4px !important;
	padding: 0 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--ay-ink) !important;
	text-align: left !important;
}
.tsc-points__history {
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
}
.tsc-points__row { padding: 14px 0 !important; }
.tsc-points__row:last-child { border-bottom: 1px solid var(--ay-line); }
.tsc-points__row-amount { font-size: 16px; font-weight: 600; }
.tsc-points__row-amount.is-minus { color: var(--ay-ink); }
.tsc-points__empty { border: 0; background: var(--ay-wash); }

/* Profile and address pages: square-edged white cards, the default address outlined in black. */
.tsc-account__content .woocommerce-EditAccountForm fieldset {
	background: var(--ay-wash);
	border-color: var(--ay-line);
}
.tsc-account__content .wc-address-book-address { border-color: var(--ay-line); }
.tsc-account__content .wc-address-book-address-default { border-color: var(--ay-ink) !important; }
.tsc-account__content .wc-address-book-address-default-label { background: var(--ay-ink) !important; }
body .tsc-account__content .address_book .add.button { border-radius: 0 !important; }

@media (max-width: 767px) {
	/* Five tabs share the phone width (TSC's 80px minimum pushes "Log out" off the edge); "Address Book" wraps. */
	.tsc-account__tab {
		flex: 1 1 0;
		min-width: 0;
		padding-inline: 4px;
	}
	.tsc-account__tab-label { white-space: normal; }
	.tsc-points { margin-block: 12px; }
	/* The tab bar the theme adds above "Your Orders" is for computers; on a phone TSC's Orders screen has its own header. */
	.ay-orders-tabs { display: none !important; }
}

@media (min-width: 768px) {
	/* One centred 738px column: the tabs in a white bar with a hairline, the page below it. */
	.tsc-account {
		width: min(738px, 100% - 32px);
		margin: 0 auto;
		padding: 30px 0 72px;
	}
	.tsc-account__tabs { border: 1px solid var(--ay-line); }
	.tsc-account__tab { padding-block: 14px; }
	.tsc-account__tab-label { font-size: 12.5px; }
	.tsc-account__content { padding: 18px 0 0; }
	.tsc-points { padding: 8px 28px 16px; }
}

/* ---------------------------------------------------------------- 9. orders */
/* "Your Orders": white status tabs with a red line under the open one, white order cards, square buttons. */
.tsc-orders { background: transparent; }
.tsc-orders__tabs { border: 1px solid var(--ay-line); }
.tsc-orders__tab { position: relative; }
.tsc-orders__tab.is-active { color: var(--ay-ink) !important; }
.tsc-orders__tab.is-active::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--ay-red);
}
.tsc-orders-card { border-radius: 0; }
.tsc-orders-card__number { font-weight: 600; }
/* Status pills: grey for most, red for "Pending payment", green for "Completed" (the mockup). */
.tsc-orders-card__status--pending { background: #FBE3DD; color: #B91C1C; } /* darker red: #dc2626 on this pink is under 4.5:1 */
.tsc-orders-card__status--completed { background: #E3F1EA; color: var(--ay-ok); }
/* "View details" / "Pay now": the whole card is one link, so these are only labels inside it; they are drawn as
   square buttons (outlined, and solid black for an order waiting for payment), the arrow is dropped. */
.tsc-orders-card__cta {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--ay-ink);
	color: var(--ay-ink);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.tsc-orders-card__cta--pay { background: var(--ay-ink); color: #fff; }
.tsc-orders-card:hover .tsc-orders-card__cta { background: var(--ay-ink); border-color: var(--ay-ink); color: #fff; }
.tsc-orders-card__chevron { display: none; }

@media (min-width: 768px) {
	/* The theme's account tab bar sits on top, then the page title with air around it (the mockup). */
	.ay-orders-tabs + .tsc-orders { margin-top: 22px; }
	.tsc-orders__header { background: transparent; border: 0; }
	/* One order per row, full width (TSC puts two side by side). */
	.tsc-orders__list { display: block; padding: 12px 0 24px; }
	.tsc-orders-card { margin-bottom: 12px; padding: 16px 18px; }
}

/* Logged out: /my-account/ is a short login card in the middle of the page (WooCommerce's own form, restyled). */
body.woocommerce-account:not(.ay-account-app) .woocommerce {
	padding: 40px 16px 72px;
}
body.woocommerce-account:not(.ay-account-app) .woocommerce > h2,
body.woocommerce-account:not(.ay-account-app) .woocommerce > form.woocommerce-form-login,
body.woocommerce-account:not(.ay-account-app) .woocommerce > form.lost_reset_password,
body.woocommerce-account:not(.ay-account-app) .woocommerce > .woocommerce-notices-wrapper {
	max-width: 440px;
	margin-inline: auto;
}
body.woocommerce-account:not(.ay-account-app) .woocommerce > h2 {
	margin-bottom: 18px;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: .01em;
	text-align: center;
	text-transform: uppercase;
}
body.woocommerce-account:not(.ay-account-app) .woocommerce form.woocommerce-form-login,
body.woocommerce-account:not(.ay-account-app) .woocommerce form.woocommerce-form-register,
body.woocommerce-account:not(.ay-account-app) .woocommerce form.lost_reset_password {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--ay-line);
	border-radius: 0;
}
body.woocommerce-account:not(.ay-account-app) .woocommerce form .woocommerce-button,
body.woocommerce-account:not(.ay-account-app) .woocommerce form button[type="submit"] {
	width: 100%;
	border-radius: 0;
}
