/* Medusa Shop Template. Retune the look with the variables below. Only loaded on shop pages. */

.mst {
	--mst-ink: #111111;
	--mst-ink-soft: #555555;
	--mst-muted: #8a8a8a;
	--mst-bg: #f2f2f2;          /* page band behind the cards (the Nicepage sections use #f2f2f2) */
	--mst-card: #ffffff;
	--mst-line: #e3e3e3;
	--mst-accent: #4caf4f;      /* Nicepage palette 1 */
	--mst-accent-ink: #ffffff;
	--mst-dark: #111111;        /* pill buttons, like "VIEW ALL RECIPES" */
	--mst-dark-hover: #333333;
	--mst-sale: #c62828;
	--mst-radius: 14px;
	--mst-pill: 999px;
	--mst-width: var(--theme-sheet-width-xl, 1140px);
	--mst-font: 'Work Sans', sans-serif;

	display: block;
	background: var(--mst-bg);
	color: var(--mst-ink);
	font-family: var(--mst-font);
	padding: 32px 0 64px;
}
.mst *, .mst *::before, .mst *::after { box-sizing: border-box; }
.mst-sheet { width: var(--mst-width); max-width: calc(100% - 32px); margin: 0 auto; }
@media (max-width: 1199px) { .mst { --mst-width: var(--theme-sheet-width-lg, 940px); } }
@media (max-width: 991px)  { .mst { --mst-width: var(--theme-sheet-width-md, 720px); } }
@media (max-width: 767px)  { .mst { --mst-width: 100%; padding: 20px 0 48px; } }

.mst a { color: var(--mst-ink); text-decoration: none; }
.mst a:hover { color: var(--mst-accent); }
.mst h1, .mst h2, .mst h3 { font-family: var(--mst-font); color: var(--mst-ink); }
.mst-muted { color: var(--mst-muted); font-size: .85em; }
.mst .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- breadcrumb + titles ---------- */
.mst .woocommerce-breadcrumb { font-size: .875rem; color: var(--mst-muted); margin: 0 0 12px; }
.mst .woocommerce-breadcrumb a { color: var(--mst-ink-soft); }
.mst .woocommerce-products-header { margin: 0 0 20px; }
.mst .woocommerce-products-header__title, .mst-title {
	font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.1; margin: 0 0 24px;
}
.mst .term-description { color: var(--mst-ink-soft); max-width: 70ch; }

/* ---------- buttons ---------- */
.mst .button, .mst button.button, .mst a.button, .mst input.button, .mst .mst-btn,
.mst #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 24px;
	border: 2px solid var(--mst-dark); border-radius: var(--mst-pill);
	background: var(--mst-dark); color: #fff;
	font: 600 .875rem/1.2 var(--mst-font); letter-spacing: .08em; text-transform: uppercase;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.mst .button:hover, .mst .mst-btn:hover { background: var(--mst-dark-hover); border-color: var(--mst-dark-hover); color: #fff; }
/* !important: WooCommerce's .woocommerce button.button.alt (purple) is more specific */
.mst .button.alt, .mst .checkout-button, .mst #place_order, .mst .single_add_to_cart_button {
	background: var(--mst-dark) !important; border-color: var(--mst-dark) !important; color: #fff !important;
}
.mst .button.alt:hover, .mst .checkout-button:hover, .mst #place_order:hover, .mst .single_add_to_cart_button:hover {
	background: var(--mst-accent) !important; border-color: var(--mst-accent) !important; color: var(--mst-accent-ink) !important;
}
.mst .button:disabled, .mst .button.disabled, .mst .button[aria-disabled="true"] { opacity: .45; cursor: default; }
.mst .mst-btn--outline, .mst .products .button {
	background: transparent; color: var(--mst-ink); border-color: var(--mst-ink);
}
.mst .mst-btn--outline:hover, .mst .products .button:hover { background: var(--mst-dark); color: #fff; }
.mst .added_to_cart { display: block; margin-top: 8px; font-size: .85rem; color: var(--mst-accent); }

/* ---------- form fields ---------- */
.mst input.input-text, .mst input[type="text"], .mst input[type="email"], .mst input[type="tel"],
.mst input[type="password"], .mst input[type="number"], .mst textarea, .mst select {
	width: 100%; min-height: 44px; padding: 10px 14px;
	border: 1px solid #cfcfcf; border-radius: 10px; background: #fff; color: var(--mst-ink);
	font: 400 1rem/1.4 var(--mst-font);
}
.mst textarea { min-height: 96px; }
.mst input:focus, .mst textarea:focus, .mst select:focus { outline: none; border-color: var(--mst-ink); box-shadow: 0 0 0 3px rgba(76, 175, 79, .25); }
.mst label { font-weight: 500; font-size: .9rem; }
.mst .form-row { margin: 0 0 14px; padding: 0; }
.mst .required { color: var(--mst-sale); text-decoration: none; border: 0; }
.mst .select2-container .select2-selection--single { height: 44px; border: 1px solid #cfcfcf; border-radius: 10px; }
.mst .select2-container .select2-selection--single .select2-selection__rendered { line-height: 42px !important; padding: 0 36px 0 14px !important; margin: 0; color: var(--mst-ink); }
.mst .select2-container .select2-selection--single .select2-selection__rendered br { display: none; }
.mst .select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }

/* pill dropdowns (category + sorting) */
.mst-select select, .mst .woocommerce-ordering select {
	appearance: none; -webkit-appearance: none;
	min-width: 200px; padding: 8px 40px 8px 18px; border-radius: var(--mst-pill); border: 1px solid #bdbdbd;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
	font-size: .9rem; cursor: pointer;
}

/* ---------- notices ---------- */
.mst .woocommerce-message, .mst .woocommerce-info, .mst .woocommerce-error, .mst .woocommerce-noreviews,
.mst .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; border: 0; border-left: 4px solid var(--mst-accent);
	border-radius: 10px; background: var(--mst-card); color: var(--mst-ink); box-shadow: 0 1px 2px rgba(0,0,0,.06);
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between;
}
.mst .woocommerce-message::before, .mst .woocommerce-info::before, .mst .woocommerce-error::before { display: none; }
.mst .woocommerce-message::after, .mst .woocommerce-info::after { display: none; }
.mst .woocommerce-error { border-left-color: var(--mst-sale); display: block; }
.mst .woocommerce-error li { margin: 0; }
.mst .woocommerce-message .button, .mst .woocommerce-info .button { order: 2; min-height: 36px; padding: 6px 18px; float: none; }

/* ---------- product list ---------- */
.mst-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; justify-content: space-between; margin: 0 0 24px; }
.mst-toolbar__end { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.mst .woocommerce-result-count { margin: 0; color: var(--mst-ink-soft); font-size: .9rem; float: none; }
.mst .woocommerce-ordering { margin: 0; float: none; }
/* phones: category + sorting side by side on one line, no result count */
@media (max-width: 767px) {
	.mst-toolbar { flex-wrap: nowrap; gap: 10px; margin-bottom: 16px; }
	.mst-toolbar > .mst-select, .mst-toolbar__end { flex: 1 1 0; min-width: 0; margin: 0; }
	.mst-toolbar .woocommerce-result-count { display: none; }
	.mst-toolbar .woocommerce-ordering { width: 100%; }
	.mst-toolbar .mst-select select, .mst-toolbar .woocommerce-ordering select { width: 100%; min-width: 0; padding: 8px 32px 8px 14px; background-position: right 12px center; text-overflow: ellipsis; }
}

.mst ul.products {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
	margin: 0 0 32px; padding: 0; list-style: none;
}
.mst ul.products::before, .mst ul.products::after { display: none; }
@media (max-width: 991px) { .mst ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 575px) { .mst ul.products { grid-template-columns: 1fr; } }

.mst ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 20px 20px 24px; /* beat .woocommerce ul.products.columns-N li.product */
	display: flex; flex-direction: column; align-items: center; text-align: center;
	background: var(--mst-card); border-radius: var(--mst-radius);
	box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; position: relative;
}
.mst ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.mst ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; align-items: center; width: 100%; color: var(--mst-ink); }
.mst ul.products li.product img {
	width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 16px; border-radius: 10px; background: #fafafa;
}
.mst ul.products li.product .woocommerce-loop-product__title,
.mst ul.products li.product .woocommerce-loop-category__title {
	font-size: 1.1rem; font-weight: 600; line-height: 1.3; margin: 0 0 8px; padding: 0;
}
.mst ul.products li.product .price { display: block; margin: 0 0 16px; color: var(--mst-ink); font-weight: 600; font-size: 1rem; }
.mst ul.products li.product .star-rating { margin: 0 auto 8px; }
.mst ul.products li.product .button { margin-top: auto; min-height: 40px; padding: 8px 22px; font-size: .8rem; }
.mst .price del { color: var(--mst-muted); font-weight: 400; margin-right: 6px; opacity: 1; }
.mst .price ins { text-decoration: none; color: var(--mst-sale); }
.mst span.onsale, .mst ul.products li.product .onsale {
	position: absolute; top: 14px; right: 14px; left: auto; z-index: 2; margin: 0;
	min-width: 0; min-height: 0; padding: 4px 12px; line-height: 1.4;
	border-radius: var(--mst-pill); background: var(--mst-sale); color: #fff; font-size: .75rem; font-weight: 600;
	text-transform: uppercase; letter-spacing: .06em;
}
.mst .woocommerce-pagination ul { display: inline-flex; gap: 6px; border: 0; }
.mst .woocommerce-pagination ul li { border: 0; }
.mst .woocommerce-pagination ul li a, .mst .woocommerce-pagination ul li span {
	min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--mst-pill); background: var(--mst-card);
}
.mst .woocommerce-pagination ul li span.current { background: var(--mst-dark); color: #fff; }

/* ---------- product page ---------- */
.mst--product div.product {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start;
	background: var(--mst-card); border-radius: var(--mst-radius); padding: 32px; position: relative;
}
.mst--product div.product > * { grid-column: 1 / -1; }
.mst--product div.product > .woocommerce-product-gallery, .mst--product div.product > .images { grid-column: 1; width: 100% !important; float: none !important; margin: 0; }
.mst--product div.product > .summary { grid-column: 2; width: 100% !important; float: none !important; margin: 0; }
.mst--product div.product > span.onsale { grid-column: auto; }
.mst--product .woocommerce-product-gallery img { border-radius: 10px; background: #fafafa; }
.mst--product .product_title { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.15; margin: 0 0 12px; }
.mst--product .summary .price { font-size: 1.5rem; font-weight: 600; color: var(--mst-ink); margin: 0 0 16px; }
.mst--product .woocommerce-product-details__short-description { color: var(--mst-ink-soft); margin: 0 0 20px; }
.mst--product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 24px; }
.mst--product form.cart .quantity { margin: 0; float: none; }
.mst--product form.cart .single_add_to_cart_button { float: none; flex: 1 1 200px; }
.mst--product .product_meta { font-size: .875rem; color: var(--mst-ink-soft); border-top: 1px solid var(--mst-line); padding-top: 16px; }
.mst--product .product_meta > span { display: block; margin-bottom: 4px; }
.mst--product div.product .woocommerce-tabs { margin-top: 8px; }
.mst--product div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; padding: 0; margin: 0 0 20px; border: 0; list-style: none; }
.mst--product div.product .woocommerce-tabs ul.tabs::before, .mst--product div.product .woocommerce-tabs ul.tabs li::before, .mst--product div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.mst--product div.product .woocommerce-tabs ul.tabs { overflow: visible; }
.mst--product div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
.mst--product div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 8px 18px; border-radius: var(--mst-pill); background: var(--mst-bg); color: var(--mst-ink); font-weight: 500; }
.mst--product div.product .woocommerce-tabs ul.tabs li.active a { background: var(--mst-dark); color: #fff; }
.mst--product div.product .woocommerce-tabs .panel { margin: 0; }
.mst--product div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.mst--product .related, .mst--product .upsells { margin-top: 16px; }
.mst--product .related > h2, .mst--product .upsells > h2, .mst .cross-sells > h2 { font-size: 1.5rem; margin: 0 0 20px; }
@media (max-width: 767px) {
	.mst--product div.product { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
	.mst--product div.product > .summary { grid-column: 1; }
}

/* ---------- quantity stepper ---------- */
.mst .quantity { display: inline-flex; align-items: center; }
.mst .quantity .qty { width: 56px; min-height: 40px; text-align: center; -moz-appearance: textfield; }
.mst .quantity .qty::-webkit-outer-spin-button, .mst .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mst .mst-stepper { border: 1px solid #cfcfcf; border-radius: var(--mst-pill); background: #fff; overflow: hidden; }
.mst .mst-stepper .qty { border: 0; border-radius: 0; box-shadow: none !important; padding: 0 4px; width: 44px; }
.mst .mst-step {
	width: 40px; height: 42px; border: 0; background: transparent; color: var(--mst-ink);
	font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.mst .mst-step:hover { background: var(--mst-bg); }
.mst-qty-fixed { display: inline-block; padding: 6px 14px; border-radius: var(--mst-pill); background: var(--mst-bg); font-size: .85rem; color: var(--mst-ink-soft); }

/* ---------- cards (checkout, totals, account) ---------- */
.mst-card, .mst .cart_totals, .mst .woocommerce-order, .mst .woocommerce-MyAccount-content, .mst .woocommerce-form-login,
.mst .woocommerce-form-register, .mst .cart-empty-card {
	background: var(--mst-card); border-radius: var(--mst-radius); padding: 28px; box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

/* tables inside cards: clean rows, no grid lines */
.mst table.shop_table { width: 100%; border: 0; border-collapse: collapse; border-radius: 0; margin: 0 0 16px; }
.mst table.shop_table th, .mst table.shop_table td { border: 0; border-top: 1px solid var(--mst-line); padding: 12px 0; background: none; text-align: left; vertical-align: top; }
.mst table.shop_table tr:first-child th, .mst table.shop_table tr:first-child td,
.mst table.shop_table thead + tbody tr:first-child td { border-top: 0; }
.mst table.shop_table td:last-child, .mst table.shop_table th:last-child { text-align: right; }
.mst table.shop_table .order-total th, .mst table.shop_table .order-total td { font-size: 1.15rem; font-weight: 700; border-top: 2px solid var(--mst-ink); }
.mst table.shop_table small, .mst .includes_tax { color: var(--mst-muted); font-weight: 400; font-size: .8rem; }

/* ---------- cart ---------- */
.mst-cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.mst-lines { display: flex; flex-direction: column; gap: 12px; }
.mst-line {
	display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 96px 32px; align-items: center; gap: 18px;
	padding: 16px 18px; background: var(--mst-card); border-radius: var(--mst-radius); box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.mst-line__media img { width: 88px; height: 88px; object-fit: contain; border-radius: 10px; background: #fafafa; display: block; }
.mst-line__name { font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.mst-line__name a { color: var(--mst-ink); }
.mst-line__each { margin-top: 4px; color: var(--mst-ink-soft); font-size: .9rem; }
.mst-line__info dl.variation { margin: 4px 0 0; font-size: .85rem; color: var(--mst-ink-soft); }
.mst-line__info dl.variation dt, .mst-line__info dl.variation dd { display: inline; margin: 0; }
.mst-line__total { text-align: right; font-weight: 700; }
.mst-line__remove a.remove {
	display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
	color: var(--mst-muted) !important; background: transparent; font-size: 1.4rem; line-height: 1; font-weight: 400;
}
.mst-line__remove a.remove:hover { background: #fde8e8; color: var(--mst-sale) !important; }
.mst-cart__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 4px; }
.mst-coupon { display: flex; gap: 8px; flex: 1 1 280px; max-width: 420px; }
.mst-coupon .input-text { min-height: 44px; border-radius: var(--mst-pill); }
.mst-js .mst .mst-update { display: none !important; } /* shop.js applies quantity changes itself */
.mst-back { display: inline-block; margin-top: 16px; font-weight: 500; color: var(--mst-ink-soft) !important; }
.mst-back:hover { color: var(--mst-accent) !important; }
.mst .cart-collaterals { width: auto; float: none; }
.mst .cart-collaterals .cart_totals { width: auto; float: none; position: sticky; top: 24px; }
.mst .cart_totals h2 { font-size: 1.35rem; margin: 0 0 12px; }
.mst .wc-proceed-to-checkout { padding: 8px 0 0; }
.mst .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 52px; font-size: .9rem; letter-spacing: .04em; margin: 0; white-space: nowrap; }
.mst .cross-sells { grid-column: 1 / -1; margin-top: 32px; }
.mst .cart-empty.woocommerce-info { justify-content: center; font-size: 1.1rem; border-left: 0; padding: 40px 24px 8px; border-radius: var(--mst-radius) var(--mst-radius) 0 0; margin: 0; }
.mst .return-to-shop { text-align: center; background: var(--mst-card); padding: 16px 24px 40px; border-radius: 0 0 var(--mst-radius) var(--mst-radius); margin: 0; }
@media (max-width: 991px) {
	.mst-cart { grid-template-columns: 1fr; }
	.mst .cart-collaterals .cart_totals { position: static; }
}
@media (max-width: 575px) {
	.mst-line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "m i r" "m q t"; gap: 10px 14px; }
	.mst-line__remove { justify-self: end; }
	.mst-line__total { white-space: nowrap; }
	.mst-line__media { grid-area: m; align-self: start; }
	.mst-line__media img { width: 64px; height: 64px; }
	.mst-line__info { grid-area: i; }
	.mst-line__qty { grid-area: q; }
	.mst-line__total { grid-area: t; }
	.mst-line__remove { grid-area: r; align-self: start; }
	.mst-coupon { max-width: none; }
}

/* ---------- checkout ---------- */
.mst-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.mst-checkout > .woocommerce-NoticeGroup, .mst-checkout > .woocommerce-error { grid-column: 1 / -1; }
.mst-checkout__side .mst-summary { position: sticky; top: 24px; }
.mst #customer_details.col2-set { width: auto; float: none; display: block; }
.mst #customer_details .col-1, .mst #customer_details .col-2 { width: 100%; float: none; }
.mst #customer_details .col-2:not(:empty) { margin-top: 12px; }
.mst #customer_details h3, .mst #order_review_heading { font-size: 1.25rem; margin: 0 0 16px; }
.mst .woocommerce-billing-fields__field-wrapper, .mst .woocommerce-shipping-fields__field-wrapper {
	display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px;
}
.mst .woocommerce-billing-fields__field-wrapper .form-row-wide,
.mst .woocommerce-shipping-fields__field-wrapper .form-row-wide,
.mst .woocommerce-additional-fields .form-row { grid-column: 1 / -1; }
.mst .form-row-first, .mst .form-row-last { width: auto !important; float: none !important; }
.mst #order_review table.shop_table .product-name { font-weight: 500; }
.mst #order_review .product-quantity { color: var(--mst-ink-soft); font-weight: 400; }
.mst #payment { background: transparent; border-radius: 0; }
.mst #payment ul.payment_methods { padding: 0 0 12px; border: 0; margin: 0; list-style: none; }
.mst #payment ul.payment_methods li { padding: 12px 14px; margin: 0 0 8px; border: 1px solid var(--mst-line); border-radius: 10px; background: #fff; }
.mst #payment ul.payment_methods li input { margin-right: 8px; }
.mst #payment div.payment_box { background: var(--mst-bg); border-radius: 10px; margin: 10px 0 0; padding: 14px; color: var(--mst-ink-soft); font-size: .9rem; }
.mst #payment div.payment_box::before { display: none; }
.mst #payment div.form-row { padding: 12px 0 0; }
.mst #payment #place_order { width: 100%; min-height: 52px; float: none; font-size: .95rem; margin-top: 8px; }
.mst .woocommerce-privacy-policy-text, .mst .woocommerce-terms-and-conditions-wrapper { font-size: .8rem; color: var(--mst-ink-soft); }
.mst .woocommerce-form-coupon-toggle .woocommerce-info, .mst .woocommerce-form-login-toggle .woocommerce-info { border-left-color: var(--mst-ink); }
.mst form.checkout_coupon, .mst form.woocommerce-form-login { border: 0; margin: 0 0 20px; }
@media (max-width: 991px) {
	.mst-checkout { grid-template-columns: 1fr; }
	.mst-checkout__side .mst-summary { position: static; }
}
@media (max-width: 575px) {
	.mst .woocommerce-billing-fields__field-wrapper, .mst .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.mst-card, .mst .cart_totals, .mst .woocommerce-order { padding: 20px; }
}

/* ---------- order received ---------- */
.mst .woocommerce-order { max-width: 760px; margin: 0; }
.mst .woocommerce-thankyou-order-received { font-size: 1.2rem; font-weight: 600; color: var(--mst-accent); margin: 0 0 20px; }
.mst ul.woocommerce-order-overview {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; padding: 0; margin: 0 0 28px; list-style: none;
}
.mst ul.woocommerce-order-overview::before, .mst ul.woocommerce-order-overview::after { display: none; }
.mst ul.woocommerce-order-overview li {
	float: none; margin: 0; padding: 12px 14px; border: 0; border-radius: 10px; background: var(--mst-bg);
	font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mst-ink-soft);
}
.mst ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--mst-ink); }
.mst .woocommerce-order h2 { font-size: 1.25rem; margin: 24px 0 12px; }
.mst .woocommerce-customer-details address { border: 0; padding: 0; font-style: normal; line-height: 1.6; }
.mst .woocommerce-table--order-downloads .download-file a { color: var(--mst-accent); font-weight: 600; }

/* ---------- my account ---------- */
.mst .woocommerce-account .woocommerce, .mst--account .woocommerce { display: block; }
.mst--account .woocommerce-MyAccount-navigation { float: none; width: auto; margin: 0 0 20px; }
.mst--account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.mst--account .woocommerce-MyAccount-navigation li a { display: block; padding: 8px 18px; border-radius: var(--mst-pill); background: var(--mst-card); font-weight: 500; }
.mst--account .woocommerce-MyAccount-navigation li.is-active a { background: var(--mst-dark); color: #fff; }
.mst--account .woocommerce-MyAccount-content { float: none; width: auto; }
.mst--account .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: auto; }
.mst--account .u-columns .u-column1, .mst--account .u-columns .u-column2 { width: auto; float: none; }
@media (max-width: 767px) { .mst--account .u-columns.col2-set { grid-template-columns: 1fr; } }

/* WooCommerce's floats/clearfix pseudo-elements fight grid/flex layouts */
.mst .col2-set::before, .mst .col2-set::after, .mst-cart::before, .mst-cart::after,
.mst-checkout::before, .mst-checkout::after { display: none; }

/* login / register box: not full width when it stands alone */
.mst--account .woocommerce-form-login, .mst--account .woocommerce-form-register { max-width: 480px; }
.mst--account .u-columns .woocommerce-form-login, .mst--account .u-columns .woocommerce-form-register { max-width: none; }
.mst--account > .mst-sheet > .woocommerce > h2, .mst--account .woocommerce > h2 { font-size: 1.4rem; margin: 0 0 12px; }

/* related / up-sell cards sit on the white product card: give them the page tint */
.mst--product div.product .related ul.products li.product,
.mst--product div.product .upsells ul.products li.product { background: var(--mst-bg); box-shadow: none; }

/* ---------- product page polish (1.0.4) ---------- */
.mst--product .summary .price, .mst--product .summary .price .amount, .mst--product .summary .price bdi { color: #000; }
.mst--product .mst-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 12px; font-size: 1rem; color: var(--mst-ink); }
.mst--product .mst-stats a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.mst--product .mst-stats a:hover span:last-child { text-decoration: underline; }
.mst--product .mst-stats .star-rating { margin: 0; float: none; }
.mst--product .mst-stats__sep { color: var(--mst-muted); }
/* one size, one font for the whole meta block */
.mst--product .product_meta, .mst--product .product_meta *, .mst--product .product_meta a {
	font: inherit; font-size: 1rem; font-weight: 400; color: var(--mst-ink-soft); letter-spacing: normal; text-transform: none;
}
/* tags: out of sight but still in the page */
.mst .mst-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* tabs: drop WooCommerce's separator line that ran through the pills */
.mst--product div.product .woocommerce-tabs ul.tabs::before, .mst--product div.product .woocommerce-tabs ul.tabs::after,
.mst--product div.product .woocommerce-tabs ul.tabs li::before, .mst--product div.product .woocommerce-tabs ul.tabs li::after { content: none !important; border: 0 !important; display: none !important; }
.mst--product div.product .woocommerce-tabs ul.tabs { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--mst-line); }
.mst .woocommerce-breadcrumb, .mst .woocommerce-breadcrumb a { font-size: .875rem; font-weight: 400; }
/* spacing (1.0.7): title -> rating row, and product image/summary -> tabs */
.mst--product .summary .product_title { margin-bottom: 12px !important; }
.mst--product div.product { row-gap: 16px; }
.mst--product div.product .woocommerce-product-gallery { margin-bottom: 0 !important; }
.mst--product div.product .woocommerce-tabs { margin-top: 0; }
/* mobile checkout (1.0.8): price column never wraps mid-word, the product name column does */
.mst #order_review table.shop_table thead th, .mst #order_review table.shop_table .amount { white-space: nowrap; }
.mst #order_review table.shop_table td:last-child { padding-left: 12px; }
.mst #order_review table.shop_table .woocommerce-shipping-totals td { white-space: normal; }
/* stats line: every part the same size (1.0.11) */
.mst--product .mst-stats__avg, .mst--product .mst-stats__reviews > span:last-child, .mst--product .mst-stats__orders, .mst--product .mst-stats__sep { font-size: 1rem; line-height: 1.4; font-weight: 400; }
.mst #order_review table.shop_table thead th.product-name { width: 62%; }
.mst #order_review table.shop_table .woocommerce-shipping-totals td { font-weight: 400; font-size: .9rem; color: var(--mst-ink-soft); }
