/*
Theme Name: Whispering Shop
Template: twentytwentyfive
Description: The Turnstyle store's cart, checkout and account pages, styled to match turnstyleonline.com. Products are browsed on the Next.js site.
Author: Jesse Oremland
Version: 1.0.0
Requires at least: 6.6
Text Domain: whispering-shop
*/

/* Same chamfered "tech panel" corners as turnstyleonline.com (--angle-cut in its globals.scss). */
:root {
	--angle-cut: 8px;
}

.wp-element-button,
.wp-block-button__link,
.wc-block-components-button:not(.is-link),
.wc-block-mini-cart__footer-actions .wc-block-components-button,
.ws-angled {
	border-radius: 0;
	clip-path: polygon(
		0 0,
		calc(100% - var(--angle-cut)) 0,
		100% var(--angle-cut),
		100% 100%,
		var(--angle-cut) 100%,
		0 calc(100% - var(--angle-cut))
	);
}

/* Clip-path also clips outlines, so keyboard focus is drawn inside the shape. */
.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible,
.wc-block-components-button:not(.is-link):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-1);
	outline-offset: -4px;
}

/* Square form fields and panels, like the site's inputs. */
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-totals-coupon__input input,
.wc-block-components-quantity-selector,
.wc-block-components-radio-control-accordion-option,
.wc-block-checkout__shipping-method-option,
.wc-block-components-notice-banner {
	border-radius: 0 !important;
}

/*
 * Header: the same floating bar as turnstyleonline.com's nav once scrolled
 * (Nav_V2): black at 80% with blur, 8px opposite-corner chamfer, 64px tall,
 * max 1280px wide and inset 16px; white uppercase Inter 14px links; 40px
 * chamfered icon buttons tinted white/10. Selectors repeat a class where core's
 * navigation styles would otherwise win on specificity.
 */
.ws-header {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1rem);
	z-index: 100;
	padding: 1rem 1rem 0;
	margin-bottom: var(--wp--preset--spacing--40);
}

.ws-header .ws-nav-bar {
	position: relative;
	isolation: isolate;
	max-width: 1280px;
	min-height: 64px;
	margin: 0 auto;
	padding: 0 1rem 0 28px;
	gap: 0.75rem;
	color: #fff;
}

/* The bar's surface is its own layer (as in Nav_V2): clip-path or backdrop-filter
   on the bar itself would also clip and contain the mobile menu overlay. */
.ws-header .ws-nav-bar::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(0 0 0 / 0.8);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	clip-path: polygon(
		0 0,
		calc(100% - var(--angle-cut)) 0,
		100% var(--angle-cut),
		100% 100%,
		var(--angle-cut) 100%,
		0 calc(100% - var(--angle-cut))
	);
}

/* Unfiltered and 33px tall, as Nav_V2 shows it: the PNG's white outline reads on the dark bar. */
.ws-header .ws-logo img {
	display: block;
	height: 33px;
	width: auto !important;
}

.ws-header .ws-nav-actions {
	gap: 0.5rem;
}

.ws-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content,
.ws-header .ws-nav-link a {
	color: #fff;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 10px 16px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	transition: color 200ms;
}

.ws-header .ws-nav-link {
	margin: 0;
}

.ws-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.ws-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:focus-visible,
.ws-header .ws-nav-link a:hover,
.ws-header .ws-nav-link a:focus-visible {
	color: var(--wp--preset--color--accent-yellow);
}

.ws-header .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:focus-visible,
.ws-header .ws-nav-link a:focus-visible {
	outline: 2px solid rgb(255 255 255 / 0.4);
	outline-offset: -2px;
}

/* Icon buttons: account, mini-cart, mobile menu toggle. */
.ws-header .wp-block-woocommerce-customer-account a,
.ws-header .wc-block-mini-cart .wc-block-mini-cart__button,
.ws-header .wp-block-navigation__responsive-container-open {
	display: inline-flex;
	min-width: 0;
	min-height: 0;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	color: #fff;
	background: rgb(255 255 255 / 0.1);
	border: 0;
	border-radius: 0;
	transition: background-color 300ms, transform 300ms;
	clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

/* Core shows the menu toggle only below 600px; keep the display above from overriding that. */
@media (min-width: 600px) {
	.ws-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none;
	}
}

.ws-header .wp-block-woocommerce-customer-account a:hover,
.ws-header .wc-block-mini-cart__button:hover,
.ws-header .wp-block-navigation__responsive-container-open:hover {
	background: rgb(255 255 255 / 0.2);
	transform: scale(1.1);
}

.ws-header .wp-block-woocommerce-customer-account a:focus-visible,
.ws-header .wc-block-mini-cart__button:focus-visible,
.ws-header .wp-block-navigation__responsive-container-open:focus-visible {
	outline: 2px solid rgb(255 255 255 / 0.6);
	outline-offset: -4px;
}

.ws-header .wp-block-woocommerce-customer-account a svg,
.ws-header .wc-block-mini-cart .wc-block-mini-cart__icon,
.ws-header .wp-block-navigation__responsive-container-open svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Count badge like the site's cart button: pink with black text. */
.ws-header .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--accent-pink) !important;
	color: #000 !important;
	border: 0;
	border-radius: 0;
	font-size: 10px;
	font-weight: 700;
}

/* Below 600px core swaps the links for the menu toggle; 44px tap targets there. */
@media (max-width: 599px) {
	.ws-header .wp-block-woocommerce-customer-account a,
	.ws-header .wc-block-mini-cart .wc-block-mini-cart__button,
	.ws-header .wp-block-navigation__responsive-container-open {
		width: 44px;
		height: 44px;
	}

	.ws-header .ws-nav-bar {
		padding-left: 1rem;
	}
}

/* Mobile menu overlay: white panel with large deep-violet uppercase links, like the site's. */
.ws-header .wp-block-navigation__responsive-container.is-menu-open {
	background: #fff !important;
	color: var(--wp--preset--color--brand-on) !important;
	padding: 1.5rem;
}

.ws-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: var(--wp--preset--color--brand-on);
	font-size: 2.1rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	padding: 0.5rem 0;
}

/* Left-aligned like the site's menu (the bar's right alignment would carry over). */
.ws-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.ws-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start;
	text-align: left;
}

.ws-footer a {
	color: inherit;
}

.ws-footer a:hover {
	color: var(--wp--preset--color--accent-1);
}

/* ======================================================================
 * Store pages (account, cart, checkout, order received) in the site's look.
 * ====================================================================== */

/*
 * Background: a static capture of turnstyleonline.com's globe (the live one is
 * Three.js + globe.gl + ~180KB of geojson). A fixed layer rather than
 * background-attachment: fixed, which iOS Safari ignores.
 */
body {
	background-color: #f1f1f1;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: #f1f1f1 url("assets/globe-background.webp") center / cover no-repeat;
}

/*
 * Panels: the site's ToolbarPanelTech "plain" panel - 18px quiet chamfer on
 * every corner, 2px --toolbar-stroke border, glass fill. A CSS border can't
 * follow a clip-path, so ::before is the border (stroke colour, full shape)
 * and ::after the fill, inset 2px with its cut reduced to stay parallel.
 */
:root {
	--ws-panel-cut: 18px;
	--ws-panel-stroke: rgba(216, 180, 255, 0.95);
	--ws-panel-fill: rgb(250 248 253 / 0.9);
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword,
.wc-block-cart .wc-block-components-main,
.wc-block-cart .wc-block-components-sidebar,
.wc-block-checkout .wc-block-components-express-payment,
.wc-block-checkout .wc-block-components-checkout-step,
.wc-block-checkout .wc-block-components-sidebar,
.wp-block-woocommerce-order-confirmation-status,
.wp-block-woocommerce-order-confirmation-summary,
.wp-block-woocommerce-order-confirmation-totals-wrapper,
.wp-block-woocommerce-order-confirmation-downloads-wrapper,
.wp-block-woocommerce-order-confirmation-shipping-wrapper,
.wp-block-woocommerce-order-confirmation-billing-wrapper,
.wp-block-woocommerce-order-confirmation-additional-information,
.wp-block-woocommerce-empty-cart-block {
	position: relative;
	isolation: isolate;
	padding: 1.5rem;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation::before,
.woocommerce-account .woocommerce-MyAccount-content::before,
.woocommerce-form-login::before,
.woocommerce-form-register::before,
.woocommerce-ResetPassword::before,
.wc-block-cart .wc-block-components-main::before,
.wc-block-cart .wc-block-components-sidebar::before,
.wc-block-checkout .wc-block-components-express-payment::before,
.wc-block-checkout .wc-block-components-checkout-step::before,
.wc-block-checkout .wc-block-components-sidebar::before,
.wp-block-woocommerce-order-confirmation-status::before,
.wp-block-woocommerce-order-confirmation-summary::before,
.wp-block-woocommerce-order-confirmation-totals-wrapper::before,
.wp-block-woocommerce-order-confirmation-downloads-wrapper::before,
.wp-block-woocommerce-order-confirmation-shipping-wrapper::before,
.wp-block-woocommerce-order-confirmation-billing-wrapper::before,
.wp-block-woocommerce-order-confirmation-additional-information::before,
.wp-block-woocommerce-empty-cart-block::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background: var(--ws-panel-stroke);
	clip-path: polygon(
		var(--ws-panel-cut) 0,
		calc(100% - var(--ws-panel-cut)) 0,
		100% var(--ws-panel-cut),
		100% calc(100% - var(--ws-panel-cut)),
		calc(100% - var(--ws-panel-cut)) 100%,
		var(--ws-panel-cut) 100%,
		0 calc(100% - var(--ws-panel-cut)),
		0 var(--ws-panel-cut)
	);
}

.woocommerce-account .woocommerce-MyAccount-navigation::after,
.woocommerce-account .woocommerce-MyAccount-content::after,
.woocommerce-form-login::after,
.woocommerce-form-register::after,
.woocommerce-ResetPassword::after,
.wc-block-cart .wc-block-components-main::after,
.wc-block-cart .wc-block-components-sidebar::after,
.wc-block-checkout .wc-block-components-express-payment::after,
.wc-block-checkout .wc-block-components-checkout-step::after,
.wc-block-checkout .wc-block-components-sidebar::after,
.wp-block-woocommerce-order-confirmation-status::after,
.wp-block-woocommerce-order-confirmation-summary::after,
.wp-block-woocommerce-order-confirmation-totals-wrapper::after,
.wp-block-woocommerce-order-confirmation-downloads-wrapper::after,
.wp-block-woocommerce-order-confirmation-shipping-wrapper::after,
.wp-block-woocommerce-order-confirmation-billing-wrapper::after,
.wp-block-woocommerce-order-confirmation-additional-information::after,
.wp-block-woocommerce-empty-cart-block::after {
	/* Overrides clearfix ::after rules on some of these (content: "" kept). */
	content: "";
	display: block;
	position: absolute;
	inset: 2px;
	z-index: -1;
	pointer-events: none;
	background: var(--ws-panel-fill);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	clip-path: polygon(
		calc(var(--ws-panel-cut) - 1px) 0,
		calc(100% - var(--ws-panel-cut) + 1px) 0,
		100% calc(var(--ws-panel-cut) - 1px),
		100% calc(100% - var(--ws-panel-cut) + 1px),
		calc(100% - var(--ws-panel-cut) + 1px) 100%,
		calc(var(--ws-panel-cut) - 1px) 100%,
		0 calc(100% - var(--ws-panel-cut) + 1px),
		0 calc(var(--ws-panel-cut) - 1px)
	);
}

/* Page titles: the site's h1 (Kodchasan 500), with room under the floating nav. */
main .wp-block-post-title,
main > h1 {
	font-family: var(--wp--preset--font-family--kodchasan);
	font-weight: 500;
	font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.25rem);
	line-height: 1.15;
	margin-top: var(--wp--preset--spacing--30);
}

/* Room before the footer, like the site's product page. */
main.wp-block-group {
	padding-bottom: 6rem;
}

/* ---------- My Account: menu panel beside the content panel ---------- */

/* Woo's block-theme CSS caps the account title and content at 1000px. */
body.woocommerce-account .wp-block-post-title,
body.woocommerce-account main .woocommerce {
	max-width: var(--wp--style--global--content-size);
}
.woocommerce-account .wp-block-post-content > .woocommerce,
.woocommerce-account .entry-content > .woocommerce {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: start;
}

@media (min-width: 782px) {
	.woocommerce-account .wp-block-post-content > .woocommerce:has(> .woocommerce-MyAccount-navigation),
	.woocommerce-account .entry-content > .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 1.5rem;
	}
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
	display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	padding: 0.75rem;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Menu items: the site's nav item type, as angled tabs. */
.woocommerce-MyAccount-navigation li a {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 0.875rem;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--accent-3);
	clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
	transition: background-color 200ms, color 200ms;
}

.woocommerce-MyAccount-navigation li a:hover {
	background: rgb(186 117 255 / 0.15);
	color: var(--wp--preset--color--accent-3);
}

.woocommerce-MyAccount-navigation li a:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: -4px;
}

.woocommerce-MyAccount-navigation li.is-active a {
	background: var(--wp--preset--color--accent-3);
	color: #fff;
}

.woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

.woocommerce-MyAccount-content > :last-child {
	margin-bottom: 0;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content legend {
	font-family: var(--wp--preset--font-family--kodchasan);
	font-weight: 500;
	font-size: 1.375rem;
	margin: 0 0 1rem;
}

/* Addresses: two cards in the content panel. */
.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1rem;
}

@media (min-width: 600px) {
	.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: 1fr 1fr;
	}
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after {
	display: none;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address.col-1,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address.col-2,
.woocommerce-account .woocommerce-Address {
	float: none;
	width: auto;
	max-width: none;
	padding: 1.25rem;
	background: rgb(186 117 255 / 0.08);
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.woocommerce-account .woocommerce-Address-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
	margin-bottom: 0.75rem;
}

.woocommerce-account .woocommerce-Address-title > * {
	float: none;
	text-align: left;
}

.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 1.125rem;
}

.woocommerce-account .woocommerce-Address-title .edit,
.woocommerce-account .woocommerce-Address-title a {
	float: none;
	font-size: 0.8125rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}

.woocommerce-account .woocommerce-Address address {
	font-style: normal;
	line-height: 1.6;
}

/* ---------- Forms (account, login, addresses) ---------- */
.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row .input-text,
.woocommerce-page form .form-row select,
.woocommerce-page form .form-row textarea,
.woocommerce .select2-container .select2-selection--single {
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.625rem 0.75rem;
	font: inherit;
	color: var(--wp--preset--color--contrast);
	background: #fff;
	border: 1px solid rgb(91 31 168 / 0.25);
	border-radius: 0;
	box-shadow: none;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.5;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__arrow {
	height: 100%;
}

.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-page form .form-row .input-text:focus,
.woocommerce .select2-container--focus .select2-selection--single,
.woocommerce .select2-container--open .select2-selection--single {
	outline: 2px solid var(--wp--preset--color--accent-3);
	outline-offset: 0;
	border-color: var(--wp--preset--color--accent-3);
}

.woocommerce form fieldset {
	margin: 1.5rem 0 0;
	padding: 1.25rem;
	border: 0;
	background: rgb(186 117 255 / 0.08);
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

/* Field hints (e.g. display name), small and muted rather than large italics. */
.woocommerce form .form-row em,
.woocommerce form .form-row .description {
	display: block;
	margin-top: 0.375rem;
	font-size: 0.8125rem;
	font-style: normal;
	color: var(--wp--preset--color--accent-4);
}

.woocommerce form .form-row .required {
	color: var(--wp--preset--color--accent-3);
	text-decoration: none;
}

/* ---------- Notices ---------- */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.wc-block-components-notice-banner {
	border: 0 !important;
	background: #f1e6ff !important;
	color: var(--wp--preset--color--brand-on) !important;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
	background: #ffe3ee !important;
}

.woocommerce-info::before,
.woocommerce-message::before {
	color: var(--wp--preset--color--accent-3);
}

/* ---------- Tables (orders, payment methods, order details) ---------- */
.woocommerce table.shop_table {
	border: 0;
	border-radius: 0;
	border-collapse: collapse;
	margin: 0;
}

.woocommerce table.shop_table th {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-3);
	border-bottom: 2px solid var(--ws-panel-stroke);
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
	padding: 0.75rem 0.5rem;
	border-top: 0;
}

.woocommerce table.shop_table tbody tr + tr td,
.woocommerce table.shop_table tbody tr + tr th {
	border-top: 1px solid rgb(91 31 168 / 0.12);
}

/* ---------- Cart & checkout blocks ---------- */
.wc-block-cart .wc-block-components-main,
.wc-block-cart .wc-block-components-sidebar,
.wc-block-checkout .wc-block-components-checkout-step,
.wc-block-checkout .wc-block-components-sidebar,
.wc-block-checkout .wc-block-components-express-payment {
	padding: 1.25rem 1.5rem;
}

.wc-block-checkout .wc-block-components-checkout-step + .wc-block-components-checkout-step {
	margin-top: 1rem;
}

/* Woo spaced the two columns with padding, which the panels now use for their
   inside; space them with a gap instead, and let each column keep its own height. */
/* The layout element is itself .wc-block-cart / .wc-block-checkout. */
.wc-block-components-sidebar-layout {
	gap: 1.5rem;
	align-items: flex-start;
}

.wc-block-components-sidebar-layout.is-large .wc-block-components-main {
	width: calc(65% - 0.75rem);
}

.wc-block-components-sidebar-layout.is-large .wc-block-components-sidebar {
	width: calc(35% - 0.75rem);
}

.wc-block-components-sidebar-layout:not(.is-large) .wc-block-components-main,
.wc-block-components-sidebar-layout:not(.is-large) .wc-block-components-sidebar {
	width: 100%;
}

/* Woo's own step connector line and the express-payment box's border and title gap. */
.wc-block-checkout .wc-block-components-checkout-step::marker,
.wc-block-checkout .wc-block-components-checkout-step__container::after {
	display: none;
}

/* The order summary block draws its own border inside the panel. */
.wc-block-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block,
.wc-block-checkout .wc-block-components-sidebar .wc-block-components-order-summary {
	border: 0;
	border-radius: 0;
	padding: 0;
}

.wc-block-checkout .wc-block-components-express-payment .wc-block-components-express-payment__content {
	border: 0;
	padding: 0;
}

.wc-block-checkout .wc-block-components-express-payment__title-container::before,
.wc-block-checkout .wc-block-components-express-payment__title-container::after {
	border-color: var(--ws-panel-stroke) !important;
}

.wc-block-components-checkout-step__title,
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-components-order-summary .wc-block-components-panel__button {
	font-family: var(--wp--preset--font-family--kodchasan);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input {
	border-color: rgb(91 31 168 / 0.25) !important;
	background: #fff !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	border-color: var(--wp--preset--color--accent-3) !important;
	box-shadow: 0 0 0 1px var(--wp--preset--color--accent-3) !important;
}

.wc-block-components-radio-control__option-checked,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-3) !important;
}

.wc-block-cart-item__product .wc-block-components-product-name {
	font-weight: 500;
	text-decoration: none;
}

/* Product links point to turnstyleonline.com; keep them purple, underlined on hover. */
.wc-block-components-product-name:hover {
	text-decoration: underline;
}
