/*
Theme Name: Mold Kitchen
Theme URI: https://moldkitchen.com/
Template: twentytwentyfive
Author: Mold Kitchen
Description: Child theme of Twenty Twenty-Five that reskins the WordPress-served
  pages (cart, checkout, my account, FAQ, tutorials, terms, mold care, privacy,
  refund policy) to match the designer app's header/nav/footer/fonts/colors so
  moldkitchen.com reads as one site instead of two. Overrides live in
  theme.json (palette + fonts) and parts/header.html + parts/footer.html
  (logo, nav, footer links). No WooCommerce templates are touched — Woo
  block/shortcode markup on /cart/ and /checkout/ is only reskinned via the
  CSS below, never overridden as PHP/HTML templates.
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.2
Text Domain: moldkitchen
*/

/* Reskin WooCommerce's own button/link chrome to match the designer app's
   brand palette (src/index.html --brand/--brand-dk/--gold-dk). Woo's Cart
   and Checkout blocks (wc-block-*) and any classic shortcode fallback markup
   (.woocommerce ...) both need covering — these are plain CSS overrides, not
   template changes, and don't touch price/product/gateway logic. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.wc-block-components-button:not(.is-style-outline) .wc-block-components-button__text,
.wc-block-components-button:not(.is-style-outline),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background-color: var(--wp--preset--color--accent-1) !important;
	border-color: var(--wp--preset--color--accent-1) !important;
	color: var(--wp--preset--color--base) !important;
	border-radius: 4px !important;
	font-weight: 700 !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover,
.wc-block-components-button:not(.is-style-outline):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background-color: var(--wp--preset--color--accent-2) !important;
	border-color: var(--wp--preset--color--accent-2) !important;
}

.woocommerce a,
.wc-block-components-checkout-step__description a,
.wc-block-cart-item__product-name {
	color: var(--wp--preset--color--accent-1);
}

/* Header layout: logo + wordmark on the left, nav on the right, matching the
   designer app's .topbar (src/index.html). */
.mk-site-header .wp-block-site-title,
.mk-site-header .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--lora);
	font-weight: 700;
	color: var(--wp--preset--color--accent-1);
	letter-spacing: 0.01em;
}
.mk-site-header .wp-block-navigation-item__content {
	font-weight: 700;
	font-size: 13.5px;
}
.mk-site-header .wp-block-site-logo img {
	border-radius: 0;
}

.mk-site-footer a {
	color: var(--wp--preset--color--accent-1);
	font-weight: 700;
}
.mk-site-footer .mk-footer-legal {
	color: var(--wp--preset--color--contrast);
	opacity: 0.7;
}
