/**
 * D LUNAFAM — Colour System V2 (reversible palette layer)
 * ------------------------------------------------------------------
 * Loaded only while MMSANIDAZ_PALETTE_V2 is true (inc/palette.php), after
 * every other theme stylesheet. Every rule is scoped to
 * body.mmsc-palette-v2, a class that exists only while the switch is on,
 * so turning the switch off restores V1 exactly. No V1 file was edited.
 *
 * Two zones:
 *   EDITORIAL (home, About, Wholesale, Contact, policies, footer):
 *     ivory page, linen alternate, sand band, cocoa dark band, rose
 *     eyebrows and indicators, honey on dark and on editorial stars.
 *   PRODUCT (Shop, product, Wishlist, Cart, Checkout, Account, Search,
 *     drawer, related rows) — body.mmsc-zone-product:
 *     near-neutral page, neutral borders, a neutral image tile, no rose,
 *     honey, sand or gold behind any product image.
 *
 * Every product image container, in both zones, uses --mmsc-v2-media.
 *
 * V1 token re-mapping (classified use by use, 2026-10-01):
 *   --mmsc-color-primary (rose)   62 text uses   → V2 rose text #8f4f5b.
 *                                 Indicator fills that V2 keeps in the
 *                                 lighter rose are restated below.
 *   --mmsc-color-accent  (gold)   ~45 focus outlines → V2 focus #8a6a22.
 *                                 Its 18 other uses (stars, eyebrows on
 *                                 dark, one button, one dot) are each
 *                                 restated below.
 *   --mmsc-color-sale             → V2 rose text.
 *   --mmsc-color-text-muted       → #71655e (AA on every V2 surface).
 *   --mmsc-color-success          → #4f6e50.
 *   Product zone only: --mmsc-color-bg → #f9f8f6, --mmsc-color-border → #e6e3df.
 *
 * Colour only: no font, size, spacing, layout or motion changes. Where a
 * V2 border is added it is drawn as an inset box-shadow so no box grows.
 */

/* =================================================================
   1. V2 role tokens
   ================================================================= */

:root {
	/* Editorial / brand zone */
	--mmsc-v2-bg: #f8f5f0;
	--mmsc-v2-bg-soft: #f2ebe2;
	--mmsc-v2-bg-editorial: #e6d8c6;
	--mmsc-v2-surface-dark: #3a2e28;
	--mmsc-v2-honey: #b7894f;
	--mmsc-v2-honey-light: #d9b48a;
	--mmsc-v2-rose: #b97984;
	--mmsc-v2-rose-ink: #8f4f5b;
	--mmsc-v2-rose-soft: #f5e9ea;
	--mmsc-v2-border: #ded5cc;

	/* Product / shopping zone */
	--mmsc-v2-bg-product: #f9f8f6;
	--mmsc-v2-media: #f0efec;
	--mmsc-v2-border-product: #e6e3df;
	--mmsc-v2-surface: #ffffff;

	/* Text */
	--mmsc-v2-text: #2d2623;
	--mmsc-v2-text-secondary: #5f534c;
	--mmsc-v2-text-muted: #71655e;
	--mmsc-v2-placeholder: #7d716a;
	--mmsc-v2-text-inverse: #f8f5f0;

	/* Inputs / focus */
	--mmsc-v2-input-border: #958980;
	--mmsc-v2-focus: #8a6a22;
	--mmsc-v2-focus-on-dark: #d9b48a;
	--mmsc-v2-swatch-ring: #c9bdb1;
	--mmsc-v2-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #8a6a22;

	/* Interactive */
	--mmsc-v2-dark: #2d2623;
	--mmsc-v2-dark-hover: #221d1a;
	--mmsc-v2-dark-active: #1a1614;
	--mmsc-v2-disabled-bg: #e9e2d9;
	--mmsc-v2-disabled-text: #7a6e67;

	/* Status */
	--mmsc-v2-success: #4f6e50;
	--mmsc-v2-success-soft: #edf1ea;
	--mmsc-v2-warning: #7d5f1c;
	--mmsc-v2-warning-soft: #f7efdc;
	--mmsc-v2-error: #b3413d;
	--mmsc-v2-error-soft: #fbeeec;

	/* Footer */
	--mmsc-v2-footer: #2a211d;
	--mmsc-v2-footer-rule: #b7894f;
	--mmsc-v2-footer-heading: #f2ebe2;
	--mmsc-v2-footer-text: #cdbfb2;
	--mmsc-v2-footer-link: #e5dbd0;
	--mmsc-v2-footer-hover: #d9b48a;
	--mmsc-v2-footer-muted: #a89b8f;
	--mmsc-v2-footer-divider: #463d39;

	/* Overlay */
	--mmsc-v2-scrim: rgba(45, 38, 35, 0.5);
}

/* =================================================================
   2. V1 tokens re-pointed to V2 roles (see header for the audit)
   ================================================================= */

body.mmsc-palette-v2 {
	--mmsc-color-primary: var(--mmsc-v2-rose-ink);
	--mmsc-color-accent: var(--mmsc-v2-focus);
	--mmsc-color-sale: var(--mmsc-v2-rose-ink);
	--mmsc-color-text-muted: var(--mmsc-v2-text-muted);
	--mmsc-color-success: var(--mmsc-v2-success);
	--mmsc-color-error: var(--mmsc-v2-error);
}

/* Product zone: the page and its hairlines go neutral. */
body.mmsc-palette-v2.mmsc-zone-product {
	--mmsc-color-bg: var(--mmsc-v2-bg-product);
	--mmsc-color-border: var(--mmsc-v2-border-product);
}

/* Component-level tokens defined by Cart/Checkout and Account. */
body.mmsc-palette-v2.mmsc-commerce {
	--mmsc-co-focus-ring: var(--mmsc-v2-focus-ring);
	--mmsc-co-rose-tint: var(--mmsc-v2-rose-soft);
}

body.mmsc-palette-v2.mmsc-account {
	--mmsc-acc-rose-tint: var(--mmsc-v2-rose-soft);
	--mmsc-acc-gold-tint: var(--mmsc-v2-warning-soft);
	--mmsc-acc-green-tint: var(--mmsc-v2-success-soft);
	--mmsc-acc-red-tint: var(--mmsc-v2-error-soft);
}

/* =================================================================
   3. Product media — the neutral tile behind every product image
   ================================================================= */

body.mmsc-palette-v2.mmsc-cards ul.products.oceanwp-row li.product .woo-entry-inner li.image-wrap,
body.mmsc-palette-v2 ul.products li.product .image-wrap,
body.mmsc-palette-v2 #content .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper,
body.mmsc-palette-v2 #content .woocommerce-product-gallery .flex-control-thumbs img,
body.mmsc-palette-v2 .mmsc-cart-drawer__image,
body.mmsc-palette-v2 .mmsc-drawer-rec__media,
body.mmsc-palette-v2 #site-header .mmsc-mini-cart__img,
body.mmsc-palette-v2.mmsc-commerce--cart #content td.product-thumbnail > img,
body.mmsc-palette-v2.mmsc-commerce--checkout #content .mmsc-review-item__thumb,
body.mmsc-palette-v2 .dgwt-wcas-suggestions-wrapp .dgwt-wcas-si img,
body.mmsc-palette-v2 .mmsc-detail__media,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-card__media,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-line__thumb,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-review__thumb {
	background-color: var(--mmsc-v2-media);
}

/* =================================================================
   4. Product cards (Shop, home rows, Wishlist, related, Cart recs)
   ================================================================= */

/* Sale badge: white chip, neutral hairline, rose text — never a tinted
   fill beside the product. Hairline is an inset shadow (no size change).
   Matches V1's !important (legacy Additional CSS `.woocommerce
   span.onsale { background-color … !important }`). */
body.mmsc-palette-v2.mmsc-cards ul.products.oceanwp-row li.product .price-wrap .onsale,
body.mmsc-palette-v2.mmsc-cards .mmsc-feature ul.products.oceanwp-row li.product .price-wrap .onsale,
body.mmsc-palette-v2 #content div.product .summary .price .mmsc-discount-percent {
	background: var(--mmsc-v2-surface) !important;
	box-shadow: inset 0 0 0 1px var(--mmsc-v2-border-product);
	color: var(--mmsc-v2-rose-ink) !important;
}

/* Product-zone stars: espresso, not gold. */
body.mmsc-palette-v2 ul.products li.product .rating .star-rating span::before,
body.mmsc-palette-v2 #content div.product .summary .star-rating span::before,
body.mmsc-palette-v2 #content .mmsc-info p.stars a {
	color: var(--mmsc-v2-text);
}

/* Wishlist chip: white, neutral hairline, espresso outline heart;
   saved = rose heart (meaningful state). */
body.mmsc-palette-v2.mmsc-cards ul.products.oceanwp-row li.product .tinvwl_add_to_wishlist_button,
body.mmsc-palette-v2.mmsc-cards ul.products.oceanwp-row li.product .tinvwl-loop-button-wrapper .tinvwl_add_to_wishlist_button.tinvwl-product-in-list,
body.mmsc-palette-v2.mmsc-cards ul.products.oceanwp-row li.product .tinvwl-loop-button-wrapper button.mmsc-wishlist-heart {
	border-color: var(--mmsc-v2-border-product);
	background: var(--mmsc-v2-surface) !important;
}

body.mmsc-palette-v2.mmsc-cards ul.products.oceanwp-row li.product .tinvwl-loop-button-wrapper .mmsc-wishlist-heart::before,
body.mmsc-palette-v2.mmsc-cards ul.products.oceanwp-row li.product .tinvwl-loop-button-wrapper .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before {
	background-color: var(--mmsc-v2-rose);
}

body.mmsc-palette-v2.mmsc-cards ul.products.oceanwp-row li.product .tinvwl_add_to_wishlist_button:focus-visible {
	border-color: var(--mmsc-v2-text);
}

/* Celebration band (cocoa): the white chip already reads; keep the
   wishlist chip white there too. */

/* =================================================================
   5. Single product
   ================================================================= */

/* Add to Cart: pressed state. */
body.mmsc-palette-v2 #content div.product .summary .single_add_to_cart_button:active {
	border-color: var(--mmsc-v2-dark-active);
	background: var(--mmsc-v2-dark-active);
}

/* Buy Now: secondary — white, espresso outline and text. A rose fill
   would sit beside pink products as if it were part of them. */
body.mmsc-palette-v2 #content div.product .summary .single_add_to_cart_button.mmsc-buy-now-button {
	border-color: var(--mmsc-v2-dark);
	background: var(--mmsc-v2-surface);
	color: var(--mmsc-v2-text) !important;
}

body.mmsc-palette-v2 #content div.product .summary .single_add_to_cart_button.mmsc-buy-now-button:hover {
	border-color: var(--mmsc-v2-dark);
	background: var(--mmsc-v2-dark);
	color: var(--mmsc-v2-surface) !important;
}

body.mmsc-palette-v2 #content div.product .summary .single_add_to_cart_button.mmsc-buy-now-button:active {
	border-color: var(--mmsc-v2-dark-active);
	background: var(--mmsc-v2-dark-active);
	color: var(--mmsc-v2-surface) !important;
}

/* Disabled (no size chosen yet): explicit colours, no opacity fade —
   the label stays legible (3.8:1) without looking available.
   WooCommerce core (woocommerce.min.css) forces `.woocommerce
   .button.disabled { opacity: .5 !important }`, so the reset matches it. */
body.mmsc-palette-v2 #content div.product .summary .single_add_to_cart_button.disabled,
body.mmsc-palette-v2 #content div.product .summary .single_add_to_cart_button.disabled:hover,
body.mmsc-palette-v2 #content div.product .summary .single_add_to_cart_button.disabled:not(.mmsc-buy-now-button):hover,
body.mmsc-palette-v2 #content div.product .summary .single_add_to_cart_button.mmsc-buy-now-button.disabled,
body.mmsc-palette-v2 #content div.product .summary .single_add_to_cart_button.mmsc-buy-now-button.disabled:hover {
	opacity: 1 !important;
	border-color: var(--mmsc-v2-disabled-bg);
	background: var(--mmsc-v2-disabled-bg);
	color: var(--mmsc-v2-disabled-text) !important;
}

/* Wishlist button beside Add to Cart. */
body.mmsc-palette-v2 #content div.product .summary a.tinvwl_add_to_wishlist_button {
	border-color: var(--mmsc-v2-border-product);
	color: var(--mmsc-v2-text) !important;
}

body.mmsc-palette-v2 #content div.product .summary a.tinvwl_add_to_wishlist_button:hover {
	border-color: var(--mmsc-v2-text);
}

body.mmsc-palette-v2 #content div.product .summary a.tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before {
	background-color: var(--mmsc-v2-rose);
}

/* Colour swatches: a neutral ring at rest so white / ivory / cream
   swatches stay visible; hover and selected restated (the V2 rest rule
   is more specific than V1's hover/selected rules). */
body.mmsc-palette-v2 #content div.product .summary .color-variable-items-wrapper .variable-item {
	box-shadow: inset 0 0 0 1px var(--mmsc-v2-swatch-ring);
}

body.mmsc-palette-v2 #content div.product .summary .color-variable-items-wrapper .variable-item:not(.disabled):hover {
	box-shadow: inset 0 0 0 1px var(--mmsc-v2-text-muted);
}

body.mmsc-palette-v2 #content div.product .summary .color-variable-items-wrapper .variable-item.selected,
body.mmsc-palette-v2 #content div.product .summary .color-variable-items-wrapper .variable-item.selected:hover {
	box-shadow: inset 0 0 0 1.5px var(--mmsc-v2-dark);
}

/* Quantity: disabled glyph visible but quiet. */
body.mmsc-palette-v2 #content div.product .summary .quantity .mmsc-qty__btn:disabled,
body.mmsc-palette-v2 .mmsc-cart-drawer .mmsc-drawer-qty__btn:disabled {
	color: var(--mmsc-v2-swatch-ring);
}

/* Selected info tab: rose indicator. */
body.mmsc-palette-v2 #content .mmsc-info__tab[aria-selected="true"] {
	border-bottom-color: var(--mmsc-v2-rose);
}

/* Backorder dot: a warning, not decoration. */
body.mmsc-palette-v2 #content div.product .summary p.stock.available-on-backorder::before {
	background: var(--mmsc-v2-warning);
}

/* =================================================================
   6. Cart drawer + You May Also Like
   ================================================================= */

/* View Cart: secondary — white with espresso outline and text. */
body.mmsc-palette-v2 .mmsc-cart-drawer__view-cart {
	background: var(--mmsc-v2-surface);
	box-shadow: inset 0 0 0 1px var(--mmsc-v2-dark);
	color: var(--mmsc-v2-text);
}

body.mmsc-palette-v2 .mmsc-cart-drawer__view-cart:hover {
	background: var(--mmsc-v2-dark);
	color: var(--mmsc-v2-surface);
}

body.mmsc-palette-v2 .mmsc-cart-drawer__view-cart:active,
body.mmsc-palette-v2 .mmsc-cart-drawer__checkout:active {
	background: var(--mmsc-v2-dark-active);
	color: var(--mmsc-v2-surface);
}

/* Shared overlay value everywhere a panel dims the page. */
body.mmsc-palette-v2 .mmsc-search__backdrop,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-dialog::backdrop {
	background: var(--mmsc-v2-scrim);
}

/* =================================================================
   7. Header
   ================================================================= */

/* Active top-level item: espresso text with a 2px rose underline
   (text-decoration: no box or layout change). Wholesale is also listed
   inside the Shop dropdown, so Shop is marked its ancestor: an ancestor
   is underlined only when no top-level item is itself current. */
body.mmsc-palette-v2 #site-navigation-wrap .main-navigation ul.main-menu > li.current-menu-item > a .menu-text,
body.mmsc-palette-v2 #site-navigation-wrap .main-navigation ul.main-menu > li.current_page_item > a .menu-text,
body.mmsc-palette-v2 #site-navigation-wrap .main-navigation ul.main-menu:not(:has(> li.current-menu-item, > li.current_page_item)) > li.current-menu-ancestor > a .menu-text {
	text-decoration: underline;
	text-decoration-color: var(--mmsc-v2-rose);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* Cart count: espresso badge, matching the bottom-nav badges. */
body.mmsc-palette-v2 .wcmenucart .wcmenucart-details.count {
	background-color: var(--mmsc-v2-dark);
	color: var(--mmsc-v2-surface);
}

/* Homepage announcement strip: the editorial band, not border beige. */
body.mmsc-palette-v2 .mmsc-announce {
	background-color: var(--mmsc-v2-bg-editorial);
}

/* Bottom navigation (mobile): rose indicator above the active item. */
body.mmsc-palette-v2 #mmsc-bnav .mmsc-bnav__link.is-active::before {
	background: var(--mmsc-v2-rose);
}

/* Shop filter count: espresso like every other count badge. */
body.mmsc-palette-v2 .mmsc-shop-bar__badge {
	background: var(--mmsc-v2-dark);
}

/* =================================================================
   8. Footer — deep cocoa with a honey hairline (inset: no height change)
   ================================================================= */

body.mmsc-palette-v2 .mmsc-footer {
	background-color: var(--mmsc-v2-footer);
	box-shadow: inset 0 1px 0 var(--mmsc-v2-footer-rule);
	color: var(--mmsc-v2-footer-text);
}

body.mmsc-palette-v2 .mmsc-footer a {
	color: var(--mmsc-v2-footer-link);
}

body.mmsc-palette-v2 .mmsc-footer a:hover,
body.mmsc-palette-v2 .mmsc-footer a:focus-visible {
	color: var(--mmsc-v2-footer-hover);
}

body.mmsc-palette-v2 .mmsc-footer .mmsc-footer__tagline,
body.mmsc-palette-v2 .mmsc-footer .mmsc-footer__heading {
	color: var(--mmsc-v2-footer-heading);
}

body.mmsc-palette-v2 .mmsc-footer .mmsc-footer__byline,
body.mmsc-palette-v2 .mmsc-footer .mmsc-social__icon {
	color: var(--mmsc-v2-footer-text);
}

body.mmsc-palette-v2 .mmsc-footer a:hover .mmsc-social__icon,
body.mmsc-palette-v2 .mmsc-footer a:focus-visible .mmsc-social__icon {
	color: var(--mmsc-v2-footer-hover);
}

body.mmsc-palette-v2 .mmsc-footer .mmsc-footer__company-tagline,
body.mmsc-palette-v2 .mmsc-footer .mmsc-footer__bottom p {
	color: var(--mmsc-v2-footer-muted);
}

body.mmsc-palette-v2 .mmsc-footer .mmsc-footer__bottom {
	border-top-color: var(--mmsc-v2-footer-divider);
}

/* Checkout (page 253) carries the legacy `.page-id-253 p { color: black
   !important }`; V1 answers it with !important, so V2 matches. */
body.mmsc-palette-v2.page-id-253 .mmsc-footer .mmsc-footer__heading {
	color: var(--mmsc-v2-footer-heading) !important;
}

body.mmsc-palette-v2.page-id-253 .mmsc-footer .mmsc-footer__bottom p,
body.mmsc-palette-v2.page-id-253 .mmsc-footer .mmsc-footer__company-tagline {
	color: var(--mmsc-v2-footer-muted) !important;
}

body.mmsc-palette-v2.page-id-253 .mmsc-footer .mmsc-footer__byline {
	color: var(--mmsc-v2-footer-text) !important;
}

/* =================================================================
   9. Homepage — editorial zone
   ================================================================= */

/* Celebration band: cocoa, separate from the footer's deep cocoa and
   from espresso buttons. Product tiles inside it stay neutral (§3). */
body.mmsc-palette-v2 .mmsc-feature,
body.mmsc-palette-v2 .mmsc-feature__banner {
	background-color: var(--mmsc-v2-surface-dark);
}

body.mmsc-palette-v2 .mmsc-feature__banner-overlay {
	background: linear-gradient(180deg, rgba(58, 46, 40, 0) 40%, rgba(58, 46, 40, 0.72) 100%);
}

@media (min-width: 768px) {
	body.mmsc-palette-v2 .mmsc-feature__banner-overlay {
		background:
			linear-gradient(90deg, rgba(58, 46, 40, 0.58) 0%, rgba(58, 46, 40, 0) 55%),
			linear-gradient(180deg, rgba(58, 46, 40, 0) 45%, rgba(58, 46, 40, 0.55) 100%);
	}
}

/* Brand story: the linen alternate section. */
body.mmsc-palette-v2 .mmsc-story {
	background-color: var(--mmsc-v2-bg-soft);
}

/* Split — wholesale half on cocoa; its button takes the "on dark"
   ivory treatment (V1's espresso button was invisible on espresso). */
body.mmsc-palette-v2 .mmsc-split__panel--wholesale .mmsc-split__content {
	background-color: var(--mmsc-v2-surface-dark);
}

body.mmsc-palette-v2 .mmsc-split__panel--wholesale .mmsc-split__media::after {
	background: linear-gradient(180deg, rgba(58, 46, 40, 0) 55%, rgba(58, 46, 40, 0.4) 100%);
}

body.mmsc-palette-v2 .mmsc-split__panel--wholesale .mmsc-split__eyebrow {
	color: var(--mmsc-v2-honey-light);
}

body.mmsc-palette-v2 .mmsc-split__panel--wholesale .mmsc-btn--primary {
	border-color: var(--mmsc-v2-text-inverse);
	background-color: var(--mmsc-v2-text-inverse);
	color: var(--mmsc-v2-text);
}

body.mmsc-palette-v2 .mmsc-split__panel--wholesale .mmsc-btn--primary:hover,
body.mmsc-palette-v2 .mmsc-split__panel--wholesale .mmsc-btn--primary:focus-visible {
	border-color: var(--mmsc-v2-surface);
	background-color: var(--mmsc-v2-surface);
	color: var(--mmsc-v2-text);
}

/* Editorial review stars: honey. */
body.mmsc-palette-v2 .mmsc-review__stars,
body.mmsc-palette-v2 .mmsc-home .mmsc-love__stars {
	color: var(--mmsc-v2-honey) !important;
}

/* =================================================================
   10. Dark editorial surfaces — focus rings in light honey
   ================================================================= */

body.mmsc-palette-v2 .mmsc-feature :focus-visible,
body.mmsc-palette-v2 .mmsc-split__panel--wholesale :focus-visible,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-support__card :focus-visible,
body.mmsc-palette-v2 .mmsc-contact-wholesale__card :focus-visible,
body.mmsc-palette-v2 .mmsc-footer :focus-visible {
	outline-color: var(--mmsc-v2-focus-on-dark) !important;
}

/* =================================================================
   11. Wholesale
   ================================================================= */

body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-support__card {
	background: var(--mmsc-v2-surface-dark);
}

body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-eyebrow--light,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-support__icon {
	color: var(--mmsc-v2-honey-light);
}

body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-support__link:focus-visible .mmsc-ws-support__icon {
	background: var(--mmsc-v2-honey-light);
}

/* Progress fills are indicators: lighter rose. */
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-progress__fill,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-dock__fill {
	background: var(--mmsc-v2-rose);
}

/* Disabled quote buttons: the shared disabled tokens. */
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-quote-btn[aria-disabled="true"],
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-quote-btn[aria-disabled="true"]:hover,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-quote-btn[aria-disabled="true"]:focus,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-dock__quote[aria-disabled="true"],
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-dock__quote[aria-disabled="true"]:hover,
body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-dock__quote[aria-disabled="true"]:focus {
	border-color: var(--mmsc-v2-disabled-bg);
	background: var(--mmsc-v2-disabled-bg);
	color: var(--mmsc-v2-disabled-text);
}

/* Enquiry fields. */
body.mmsc-palette-v2 #mmsc-wholesale input.mmsc-ws-field__input,
body.mmsc-palette-v2 #mmsc-wholesale textarea.mmsc-ws-field__input {
	border-color: var(--mmsc-v2-input-border);
	background: var(--mmsc-v2-surface);
}

body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-field__input::placeholder {
	color: var(--mmsc-v2-placeholder);
}

body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-field__input:hover {
	border-color: var(--mmsc-v2-text-muted);
}

body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-field__input:focus {
	border-color: var(--mmsc-v2-dark);
	background: var(--mmsc-v2-surface);
	box-shadow: var(--mmsc-v2-focus-ring);
}

body.mmsc-palette-v2 #mmsc-wholesale .mmsc-ws-field__input[aria-invalid="true"] {
	border-color: var(--mmsc-v2-error);
	background: var(--mmsc-v2-error-soft);
}

/* =================================================================
   12. Contact
   ================================================================= */

body.mmsc-palette-v2 .mmsc-contact-form-wrap .wpcf7-form-control:not([type="file"]):not([type="checkbox"]):not(.wpcf7-checkbox):not(.wpcf7-submit) {
	border-color: var(--mmsc-v2-input-border);
	background-color: var(--mmsc-v2-surface);
}

body.mmsc-palette-v2 .mmsc-contact-form-wrap .wpcf7-form-control::placeholder {
	color: var(--mmsc-v2-placeholder);
}

body.mmsc-palette-v2 .mmsc-contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit):hover {
	border-color: var(--mmsc-v2-text-muted);
}

body.mmsc-palette-v2 .mmsc-contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit):focus-visible {
	border-color: var(--mmsc-v2-dark);
	background-color: var(--mmsc-v2-surface);
	box-shadow: var(--mmsc-v2-focus-ring);
}

body.mmsc-palette-v2 .mmsc-contact-form-wrap input[type="file"].wpcf7-form-control::file-selector-button {
	border-color: var(--mmsc-v2-input-border);
}

body.mmsc-palette-v2 .mmsc-contact-form-wrap input[type="checkbox"] {
	accent-color: var(--mmsc-v2-dark);
}

/* Wholesale card on Contact: cocoa; its button takes the "on dark"
   ivory treatment instead of a gold fill. */
body.mmsc-palette-v2 .mmsc-contact-wholesale__card {
	background-color: var(--mmsc-v2-surface-dark);
}

body.mmsc-palette-v2 .mmsc-contact-wholesale__card .mmsc-btn--primary {
	border-color: var(--mmsc-v2-text-inverse);
	background-color: var(--mmsc-v2-text-inverse);
	color: var(--mmsc-v2-text);
}

body.mmsc-palette-v2 .mmsc-contact-wholesale__card .mmsc-btn--primary:hover,
body.mmsc-palette-v2 .mmsc-contact-wholesale__card .mmsc-btn--primary:focus-visible {
	border-color: var(--mmsc-v2-surface);
	background-color: var(--mmsc-v2-surface);
	color: var(--mmsc-v2-text);
}

/* =================================================================
   13. Cart / Checkout fields and notices
   ================================================================= */

body.mmsc-palette-v2.mmsc-commerce #content input.input-text,
body.mmsc-palette-v2.mmsc-commerce #content input[type="text"],
body.mmsc-palette-v2.mmsc-commerce #content input[type="email"],
body.mmsc-palette-v2.mmsc-commerce #content input[type="tel"],
body.mmsc-palette-v2.mmsc-commerce #content input[type="password"],
body.mmsc-palette-v2.mmsc-commerce #content textarea,
body.mmsc-palette-v2.mmsc-commerce #content select,
body.mmsc-palette-v2.mmsc-commerce .select2-container--default .select2-selection--single {
	border-color: var(--mmsc-v2-input-border);
}

body.mmsc-palette-v2.mmsc-commerce #content input.input-text:hover,
body.mmsc-palette-v2.mmsc-commerce #content textarea:hover,
body.mmsc-palette-v2.mmsc-commerce #content select:hover {
	border-color: var(--mmsc-v2-text-muted);
}

body.mmsc-palette-v2.mmsc-commerce #content input.input-text:focus,
body.mmsc-palette-v2.mmsc-commerce #content input[type="text"]:focus,
body.mmsc-palette-v2.mmsc-commerce #content input[type="email"]:focus,
body.mmsc-palette-v2.mmsc-commerce #content input[type="tel"]:focus,
body.mmsc-palette-v2.mmsc-commerce #content input[type="password"]:focus,
body.mmsc-palette-v2.mmsc-commerce #content textarea:focus,
body.mmsc-palette-v2.mmsc-commerce #content select:focus,
body.mmsc-palette-v2.mmsc-commerce .select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--mmsc-v2-dark);
}

body.mmsc-palette-v2.mmsc-commerce #content input.input-text::placeholder,
body.mmsc-palette-v2.mmsc-commerce #content textarea::placeholder,
body.mmsc-palette-v2.mmsc-commerce .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--mmsc-v2-placeholder);
}

body.mmsc-palette-v2.mmsc-commerce #content input[type="radio"],
body.mmsc-palette-v2.mmsc-commerce #content input[type="checkbox"]:not(:checked),
body.mmsc-palette-v2.mmsc-commerce--checkout #content input[type="checkbox"]:not(:checked) {
	border-color: var(--mmsc-v2-input-border);
}

body.mmsc-palette-v2.mmsc-commerce #content input[type="radio"]:checked {
	border-color: var(--mmsc-v2-dark);
}

body.mmsc-palette-v2.mmsc-commerce #content .form-row.woocommerce-invalid .select2-selection,
body.mmsc-palette-v2.mmsc-commerce #content input.input-text.has-error,
body.mmsc-palette-v2.mmsc-commerce #content .form-row.woocommerce-invalid input.input-text {
	background-color: var(--mmsc-v2-error-soft);
}

body.mmsc-palette-v2.mmsc-commerce #content .woocommerce-message,
body.mmsc-palette-v2:not(.mmsc-commerce) .woocommerce-message {
	background: var(--mmsc-v2-success-soft);
}

body.mmsc-palette-v2.mmsc-commerce #content .woocommerce-error,
body.mmsc-palette-v2.mmsc-commerce #content .woocommerce-notice--error,
body.mmsc-palette-v2:not(.mmsc-commerce) .woocommerce-error {
	border-left-color: var(--mmsc-v2-error);
	background: var(--mmsc-v2-error-soft);
}

body.mmsc-palette-v2:not(.mmsc-commerce) .woocommerce-error::before {
	background-color: var(--mmsc-v2-error);
}

/* =================================================================
   14. My Account
   ================================================================= */

body.mmsc-palette-v2.mmsc-account #content .mmsc-status--processing,
body.mmsc-palette-v2.mmsc-account #content .mmsc-status--on-hold,
body.mmsc-palette-v2.mmsc-account #content .woocommerce-password-strength.good {
	color: var(--mmsc-v2-warning) !important;
}
