/*
 * Motokiwo Design runtime authority.
 *
 * This is intentionally the final public stylesheet. Component modules own
 * structure; every setting exposed in Motokiwo → Design is resolved here.
 */

:root{
  --mk-ds-paper:var(--mk-paper,#fff);
  --mk-ds-card:var(--mk-surface,#fff);
  --mk-ds-surface:var(--mk-surface,#fff);
  --mk-ds-ink:var(--mk-ink,#24242b);
  --mk-ds-muted:color-mix(in srgb,var(--mk-ink,#24242b) 62%,var(--mk-paper,#f5f5f7));
  --mk-ds-line:var(--mk-line,#dedfd8);
  --mk-ds-line-strong:color-mix(in srgb,var(--mk-line,#dedfd8) 72%,var(--mk-ink,#252622));
  --mk-ds-accent:var(--mk-accent,#d5ef53);
  --mk-ds-accent-soft:color-mix(in srgb,var(--mk-accent,#d5ef53) 18%,var(--mk-paper,#fff));
  --mk-ds-content:var(--mk-site-width,1320px);
  --mk-ds-radius:var(--mk-interface-radius,16px);

  --mk-final-paper:var(--mk-paper,#fff);
  --mk-final-card:var(--mk-surface,#fff);
  --mk-final-surface:var(--mk-surface,#f3f3ed);
  --mk-final-ink:var(--mk-ink,#24242b);
  --mk-final-muted:color-mix(in srgb,var(--mk-ink,#24242b) 62%,var(--mk-paper,#f5f5f7));
  --mk-final-line:var(--mk-line,#dedfd8);
  --mk-final-soft:color-mix(in srgb,var(--mk-line,#dedfd8) 55%,var(--mk-paper,#fff));
  --mk-final-accent:var(--mk-accent,#d5ef53);

  /* Keep all components on the same Design palette. */
  --mk-card:var(--mk-surface,#fff);
  --mk-panel:var(--mk-surface,#fff);
  --mk-radius:var(--mk-interface-radius,16px);
  --mk-line-strong:color-mix(in srgb,var(--mk-line,#dedfd8) 72%,var(--mk-ink,#252622));
  --mk-muted:color-mix(in srgb,var(--mk-ink,#252622) 62%,var(--mk-paper,#fff));

  /* WordPress block presets mirror the live Design palette/width too. */
  --wp--preset--color--ink:var(--mk-ink,#24242b);
  --wp--preset--color--paper:var(--mk-paper,#f5f5f7);
  --wp--preset--color--surface:var(--mk-surface,#fff);
  --wp--preset--color--line:var(--mk-line,#dedee5);
  --wp--preset--color--accent:var(--mk-accent,#d5ef53);
  --wp--preset--color--canvas:var(--mk-canvas,#17142d);
  --wp--preset--color--type-light:var(--mk-canvas-type,#f5f3ff);
  --wp--style--global--wide-size:var(--mk-site-width,1320px);
}

/* Website typography. Product specimens keep their own explicitly loaded face. */
body.motokiwo-fresh{
  --mk-reading-size:var(--mk-body-size,16px);
  --mk-ui-size:max(12px,calc(var(--mk-body-size,16px) * .9375));
  --mk-small-size:max(11px,calc(var(--mk-body-size,16px) * .8125));
  background:var(--mk-paper,#fff)!important;
  color:var(--mk-ink,#24242b)!important;
  font-family:var(--mk-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif)!important;
  font-size:var(--mk-body-size,16px)!important;
}
body.motokiwo-fresh :where(button,input,select,textarea){
  font-family:var(--mk-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif);
}
body.motokiwo-fresh :where(h1,h2,h3,h4,h5,h6),
body.motokiwo-fresh :where(.entry-title,.page-title,.woocommerce-products-header__title){
  font-family:var(--mk-font-heading,var(--mk-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif));
}

/* Semantic heading scale. H1 keeps its existing page/product split; H2-H5 are
   global Design controls. Explicit block-level font-size choices remain local. */
@media screen{
  body.motokiwo-fresh :where(h2:not([class*="-font-size"]):not([style*="font-size"])){font-size:var(--mk-h2-size,34px)!important;}
  body.motokiwo-fresh :where(h3:not([class*="-font-size"]):not([style*="font-size"])){font-size:var(--mk-h3-size,25px)!important;}
  body.motokiwo-fresh :where(h4:not([class*="-font-size"]):not([style*="font-size"])){font-size:var(--mk-h4-size,19px)!important;}
  body.motokiwo-fresh :where(h5:not([class*="-font-size"]):not([style*="font-size"])){font-size:var(--mk-h5-size,16px)!important;}

  /* Retained component sheets contain a few high-specificity !important sizes.
     Reassert the semantic level here so Design stays authoritative without
     changing those component files or their geometry. */
  body.motokiwo-fresh .mk-license-card h2,
  body.motokiwo-fresh .mk-license-extra h2,
  body.motokiwo-fresh.woocommerce-cart .mk-commerce-page .woocommerce .cart_totals h2,
  body.motokiwo-fresh.single-product .woocommerce div.product .related.products>h2,
  body.motokiwo-fresh.single-product .woocommerce div.product .up-sells>h2,
  body.motokiwo-fresh.single-product .related.products>h2,
  body.motokiwo-fresh.single-product .up-sells>h2{font-size:var(--mk-h2-size,34px)!important;}
  body.motokiwo-fresh .mk-license-extra h3,
  body.motokiwo-fresh.woocommerce-checkout .mk-commerce-page .woocommerce #customer_details h3{font-size:var(--mk-h3-size,25px)!important;}
}

/* Retained component sheets follow the selected Design font stack. */
body .mk-auth,
body .mk-commerce-page,
body .wp-block-woocommerce-cart,
body .wp-block-woocommerce-checkout,
body .site-footer.mk-reference-footer,
body .mk-reference-footer .mk-footer-payment,
body .mk-brand-caption,
body .mk-tool{
  font-family:var(--mk-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif)!important;
}
body .mk-auth input.input-text,
body .mk-auth button.button,
body .mk-auth-tabs [role=tab]{
  font-family:var(--mk-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif)!important;
}

/* Body-size controls are authoritative for editorial/commerce copy. Compact
   metadata remains proportionally smaller than primary text. */
body .archive-description,
body .entry-header__intro,
body .mkfm-font-info__description,
body .mk-auth-intro p,
body .mk-reference-footer .mk-footer-about p,
body .mk-reference-footer .mk-footer-links a{
  font-size:var(--mk-reading-size,var(--mk-body-size,16px))!important;
}
body .entry-content :where(figcaption),
body .entry-meta,
body .mk-commerce-header a,
body .mk-commerce-steps,
body .mk-payment-reassurance,
body .mk-auth .form-row,
body .mk-auth .form-row label,
body .mk-auth-help,
body .mk-auth .lost_password,
body .mk-auth .woocommerce-privacy-policy-text,
body .woocommerce-MyAccount-navigation a,
body .mk-reference-footer .mk-footer-bottom .mk-footer-copy,
body .mk-reference-footer .mk-footer-bottom .mk-footer-copy :where(p,a),
body .mk-reference-footer .mk-footer-payment{
  font-size:var(--mk-ui-size,15px)!important;
}
body .entry-content :where(input,select,textarea,button,.wp-block-button__link),
body .mk-contact-form :where(input,select,textarea,button),
body .mk-auth :where(input:not([type=checkbox]),textarea,button.button){
  font-size:var(--mk-reading-size,var(--mk-body-size,16px))!important;
}
body .mk-commerce-page,
body .wp-block-woocommerce-cart,
body .wp-block-woocommerce-checkout{
  color:var(--mk-ink,#24242b)!important;
  font-size:var(--mk-reading-size,var(--mk-body-size,16px))!important;
  line-height:1.6;
}
body .mk-commerce-page .woocommerce :where(label,th,td,.payment_box,.woocommerce-terms-and-conditions-wrapper,input,select,textarea),
body :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) :where(input,select,textarea,label){
  font-size:var(--mk-ui-size,15px)!important;
}
body .mk-commerce-page .woocommerce .button,
body :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) :where(button,.wc-block-components-button){
  font-size:var(--mk-ui-size,15px)!important;
}

/* Site width is a public Design control, including the shared storefront containers. */
body .mk-container,
body .mk-reference-footer .mk-footer-shell{
  width:min(calc(100% - (var(--mk-final-gutter,clamp(18px,3vw,44px)) * 2)),var(--mk-site-width,1320px))!important;
  max-width:var(--mk-site-width,1320px)!important;
  margin-inline:auto!important;
}
body .mk-content-stack{
  padding-top:var(--mk-page-spacing,32px)!important;
  padding-bottom:calc(var(--mk-page-spacing,32px) * 2)!important;
}
body.woocommerce-account .mk-auth{
  max-width:min(1160px,var(--mk-site-width,1320px))!important;
}


/* Cart / checkout canvas follows the Design page background; the commerce module only owns layout. */
body.woocommerce-cart,
body.woocommerce-checkout{
  background:var(--mk-paper,#f5f5f7)!important;
}
body.woocommerce-cart .mk-commerce-page,
body.woocommerce-checkout .mk-commerce-page{
  background:transparent!important;
}

/* Catalog result count is a quiet UI label, not a second product-title scale. */
body.woocommerce :where(.woocommerce-result-count){
  color:color-mix(in srgb,var(--mk-ink,#24242b) 58%,transparent)!important;
  font-family:var(--mk-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif)!important;
  font-size:var(--mk-ui-size,15px)!important;
  line-height:1.4!important;
}

/* Standard page-title scale. Product titles have their own controls below. */
body :where(.entry-title,.page-title,.woocommerce-products-header__title,.mk-404-content h1){
  font-size:var(--mk-page-heading-size,36px)!important;
}
body.woocommerce-account .mk-auth-intro h1,
body.woocommerce-cart .mk-commerce-header h1,
body.woocommerce-checkout .mk-commerce-header h1{
  font-size:var(--mk-page-heading-size,36px)!important;
}
body .mk-404-intro,
body .mk-404-search input[type="search"]{
  font-size:var(--mk-reading-size,var(--mk-body-size,16px))!important;
}
body .entry-content img{
  max-width:var(--mk-page-image-width,100%)!important;
}
body .entry-content > :where(h2,h3,h4){
  margin-top:calc(var(--mk-page-spacing,32px) * 1.5)!important;
}

/* Header controls. */
body .site-header.mk-header-redesign{
  background:var(--mk-header-bg,#15122b)!important;
  border-bottom:0!important;
  box-shadow:0 8px 28px rgba(17,18,20,.065)!important;
  box-shadow:0 8px 28px color-mix(in srgb,var(--mk-header-rail,#20251d) 6.5%,transparent)!important;
}
body .site-header.mk-header-redesign.is-scrolled{
  background:var(--mk-header-bg,#15122b)!important;
  border-bottom:0!important;
  box-shadow:0 10px 34px rgba(17,18,20,.085)!important;
  box-shadow:0 10px 34px color-mix(in srgb,var(--mk-header-rail,#20251d) 8.5%,transparent)!important;
}
body .mk-header-redesign .mk-brand-row{
  min-height:calc(46px + var(--mk-header-padding,24px))!important;
  padding-block:calc(var(--mk-header-padding,24px) * .25)!important;
}
body .mk-header-redesign .site-branding .custom-logo{
  width:min(var(--mk-logo-width,180px),40vw)!important;
  max-width:min(var(--mk-logo-width,180px),40vw)!important;
  max-height:none!important;
  height:auto!important;
}
body .mk-header-redesign .primary-navigation__menu > li > a{
  font-size:var(--mk-menu-size,16px)!important;
  text-decoration:none!important;
}
body .mk-header-redesign .primary-navigation .sub-menu a{
  font-size:max(12px,calc(var(--mk-menu-size,16px) * .875))!important;
}
body .mk-header-redesign .mk-inline-search--header input[type="search"]{
  font-size:var(--mk-ui-size,15px)!important;
}
body .mk-header-redesign .primary-navigation__menu > li > a:hover,
body .mk-header-redesign .primary-navigation__menu > li.current-menu-item > a,
body .mk-header-redesign .primary-navigation__menu > li.current-menu-ancestor > a{
  text-decoration:none!important;
}
body .mk-header-redesign .primary-navigation__menu > li > a::after{
  background:var(--mk-accent,#d5ef53)!important;
}
body .mk-header-redesign .mk-bag-tool{
  border-color:var(--mk-accent,#d5ef53)!important;
  background:var(--mk-accent,#d5ef53)!important;
  color:var(--mk-ink,#252622)!important;
}
body .mk-header-redesign .mk-bag-icon .mk-cart-badge{
  border-color:var(--mk-accent,#d5ef53)!important;
  background:var(--mk-ink,#252622)!important;
}

/* The current single-product CSS is structural; Design owns its public tokens. */
body.single-product,
body.single-product div.product{
  --mk-product-ink:var(--mk-ink,#252622);
  --mk-product-paper:var(--mk-surface,#fff);
  --mk-product-canvas:var(--mk-paper,#f5f5f7);
  --mk-product-surface:var(--mk-surface,#f3f3ed);
  --mk-product-soft:color-mix(in srgb,var(--mk-surface,#f3f3ed) 42%,var(--mk-paper,#fff));
  --mk-product-line:var(--mk-line,#dedfd8);
  --mk-product-line-strong:color-mix(in srgb,var(--mk-line,#dedfd8) 72%,var(--mk-ink,#252622));
  --mk-product-muted:var(--mk-muted,#777a72);
  --mk-product-row-hover:color-mix(in srgb,var(--mk-surface,#f3f3ed) 74%,var(--mk-paper,#fff));
}
body.single-product :where(.site-main,.mk-woocommerce-main){
  background:var(--mk-paper,#fff)!important;
}
body.single-product div.product > .mk-product-hero{
  --mk-hero-gap:var(--mk-product-gap,32px);
  column-gap:var(--mk-product-gap,32px)!important;
}
body.single-product .woocommerce div.product{
  column-gap:var(--mk-product-gap,32px)!important;
}
/* Catalog/archive card title sizing is exposed separately from the single-product H1. */
body .mk-product-card__title,
body.woocommerce ul.products li.product .mk-product-card__title{
  font-size:var(--mk-catalog-title-size,25px)!important;
}
body .mk-product-card__title,
body.woocommerce ul.products li.product .mk-product-card__title,
body .mk-product-card__price{
  color:var(--mk-ink,#24242b)!important;
}

body.single-product .woocommerce div.product .product_title,
body.single-product .mk-product-heading--outside .product_title,
body.single-product div.product > .mk-product-media-column > .mk-product-heading--media .product_title,
body.single-product .summary .mk-product-heading--summary .product_title{
  font-size:var(--mk-product-title-size,24px)!important;
  font-family:var(--mk-font-heading,var(--mk-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif))!important;
}


/* Single-product palette integration. Geometry remains in product.css; Design
   controls the storefront colors and the exposed product gap. */
body.single-product .mk-product-gallery,
body.single-product .mk-product-gallery__controls,
body.single-product .mk-product-gallery__dialog,
body.single-product .mk-product-hero > div.summary,
body.single-product .mkfm-preview,
body.single-product .mkfm-font-info .mkfm-font-info__summary,
body.single-product .mkfm-font-info .mkfm-font-info__style,
body.single-product .mkfm-glyphs .mkfm-glyph,
body.single-product .mkfm-glyphs__feature-card{
  background:var(--mk-surface,#fff)!important;
}
body.single-product .mk-product-gallery__viewport,
body.single-product .mk-product-gallery__arrow:hover,
body.single-product .mk-product-gallery__dialog-close,
body.single-product div.product .woocommerce-tabs > ul.tabs,
body.single-product div.product .woocommerce-tabs > #tab-description,
body.single-product .mkfm-preview__toolbar,
body.single-product .mkfm-preview__toolbar--clean,
body.single-product .mkfm-font-info__description,
body.single-product .mkfm-glyphs__toolbar,
body.single-product .mkfm-glyphs__feature-group{
  background:var(--mk-paper,#f5f5f7)!important;
}
body.single-product .summary .mk-license-option{
  background:color-mix(in srgb,var(--mk-surface,#fff) 56%,var(--mk-paper,#f5f5f7))!important;
}
body.single-product .summary .mk-license-option.is-selected{
  background:color-mix(in srgb,var(--mk-accent,#d5ef53) 10%,var(--mk-surface,#fff))!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--mk-accent,#d5ef53) 14%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--mk-accent,#d5ef53) 52%,var(--mk-line,#dedee5))!important;
}
body.single-product.woocommerce div.product form.cart .quantity,
body.single-product div.product form.cart .quantity{
  background:var(--mk-paper,#f5f5f7)!important;
}
body.single-product.woocommerce div.product form.cart .quantity input.qty,
body.single-product div.product form.cart .quantity input.qty{
  background:var(--mk-surface,#fff)!important;
  color:var(--mk-ink,#24242b)!important;
}
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button,
body.single-product div.product form.cart .single_add_to_cart_button{
  background:var(--mk-ink,#252622)!important;
  color:#fff!important;
}
body.single-product .mk-product-gallery__dot::before{
  background:var(--mk-line-strong,#bdbdb7)!important;
}
body.single-product .mk-product-gallery__dot[aria-current="true"]::before{
  background:var(--mk-ink,#252622)!important;
}

/* Tab buttons intentionally remain pure white by explicit product-design choice. */
body.single-product div.product .woocommerce-tabs > ul.tabs > li > a,
body.single-product div.product .woocommerce-tabs > ul.tabs > li.active > a,
body.single-product div.product .woocommerce-tabs > ul.tabs:not(:has(> li.active)) > li:first-child > a{
  background:var(--mk-surface,#fff)!important;
}

/* Product Preview Text keeps its own product font family while its UI/text
   color follows the normal Design ink token. */
body.single-product .mkfm-preview__sample,
body.single-product .mkfm-preview__sample [data-preview-text]{
  color:var(--mk-ink,#252622)!important;
  caret-color:var(--mk-ink,#252622)!important;
}
body.single-product .mkfm-preview__row [data-mkfm-font-status],
body.single-product .mkfm-preview__alternates-guide{
  color:var(--mk-muted,#777a72)!important;
}

/* Compact preview controls follow the core Design palette rather than owning a
   second hard-coded neutral palette. */
body.single-product .mkfm-preview--redesign{
  --mk-preview-control-bg:var(--mk-surface,#f3f3ed);
  --mk-preview-control-border:var(--mk-line,#dedfd8);
  --mk-preview-control-ink:var(--mk-ink,#252622);
  --mk-preview-control-muted:var(--mk-muted,#777a72);
}
body.single-product .mkfm-preview--redesign .mkfm-preview__workspace{
  background:transparent!important;
  border-color:var(--mk-line,#dedfd8)!important;
}
body.single-product .mkfm-preview--redesign .mkfm-preview__stage{
  background:transparent!important;
}
body.single-product .mkfm-preview--redesign [data-mkfm-size-value],
body.single-product .mkfm-preview--redesign [data-mkfm-line-height-value],
body.single-product .mkfm-preview--redesign .mkfm-preview__style-select,
body.single-product .mkfm-preview--redesign .mkfm-preview__preset{
  background:var(--mk-surface,#fff)!important;
  border-color:var(--mk-line,#dedfd8)!important;
  color:var(--mk-ink,#24242b)!important;
}
body.single-product .mkfm-preview--redesign .mkfm-preview__range::-webkit-slider-runnable-track,
body.single-product .mkfm-preview--redesign .mkfm-preview__range::-moz-range-track{
  background:var(--mk-line,#dedfd8)!important;
}
body.single-product .mkfm-preview--redesign .mkfm-preview__range::-webkit-slider-thumb,
body.single-product .mkfm-preview--redesign .mkfm-preview__range::-moz-range-thumb{
  border-color:var(--mk-surface,#fff)!important;
  background:var(--mk-ink,#252622)!important;
}
body.single-product .mkfm-preview--redesign .mkfm-preview__preset.is-active{
  background:var(--mk-ink,#252622)!important;
  border-color:var(--mk-ink,#252622)!important;
  color:var(--mk-surface,#fff)!important;
}

/* Font Info and Glyph surfaces use the same Design palette. */
body.single-product .mkfm-font-info__description,
body.single-product .mkfm-font-info__description .woocommerce-product-details__short-description,
body.single-product .mkfm-font-info__description .mkfm-font-info__full-description{
  background:var(--mk-surface,#fff)!important;
  color:var(--mk-ink,#24242b)!important;
}
body.single-product .mkfm-glyphs select,
body.single-product .mkfm-glyphs input{
  background:var(--mk-surface,#fff)!important;
  border-color:var(--mk-line,#dedfd8)!important;
  border-radius:var(--mk-radius-sm,clamp(0px,calc(var(--mk-interface-radius,16px) * .72),13px))!important;
  color:var(--mk-ink,#24242b)!important;
}
body.single-product :is(.mk-product-gallery__dialog,.mkfm-preview--redesign .mkfm-preview__workspace){
  border-radius:var(--mk-interface-radius,16px)!important;
}
body.single-product :is(.mk-product-gallery__arrow,.mk-product-gallery__dialog-close,.mkfm-preview__alternates,.mkfm-preview__style-select,.mkfm-glyphs__toolbar,.mkfm-glyphs__feature-group){
  border-radius:var(--mk-radius-sm,clamp(0px,calc(var(--mk-interface-radius,16px) * .72),13px))!important;
}
body.single-product div.product .woocommerce-tabs > #tab-description{
  border-radius:var(--mk-radius-sm,clamp(0px,calc(var(--mk-interface-radius,16px) * .72),13px))!important;
}
body.single-product .mkfm-glyphs .mkfm-glyph:hover,
body.single-product .mkfm-glyphs .mkfm-glyph:focus-within{
  background:var(--mk-surface,#f3f3ed)!important;
}
body.single-product .mkfm-glyphs__feature-meta:hover,
body.single-product .mkfm-glyphs__feature-meta.is-copied{
  background:var(--mk-surface,#f3f3ed)!important;
  color:var(--mk-ink,#252622)!important;
}

/* Product-page controls are interface text, not specimen text. Keep the
   specimen's requested point sizes independent while scaling the actual UI
   with Motokiwo → Design → Body text. */
body.single-product :is(
  .single_add_to_cart_button,
  .mk-license-heading-title,
  .mk-license-name,
  .mk-license-price,
  .mk-selected-variation-price,
  .mkfm-font-info dl dt,
  .mkfm-font-info dl dd,
  .mkfm-preview__text,
  .mkfm-preview__size,
  .mkfm-preview__style-select,
  div.product .woocommerce-tabs > ul.tabs > li > a,
  .mkfm-glyphs select,
  .mkfm-glyphs input
){
  font-size:var(--mk-ui-size,15px)!important;
}
body.single-product .mk-license-guide-link{
  font-size:var(--mk-small-size,13px)!important;
}
body.single-product .mkfm-preview--redesign :is(.mkfm-preview__text,.mkfm-preview__size,.mkfm-preview__preset,.mkfm-preview__style-select),
body.single-product .mkfm-font-info__description{
  border-radius:var(--mk-radius-sm,clamp(0px,calc(var(--mk-interface-radius,16px) * .72),13px))!important;
}

@media screen{
/* Native legal pages keep their document structure, but their former local
   neutral palette/1320px typography defaults now inherit Motokiwo → Design. */
body :is(.mk-license,.mk-privacy,.mk-terms,.mk-eula){
  --ink:var(--mk-ink,#24242b);
  --muted:var(--mk-muted,color-mix(in srgb,var(--mk-ink,#24242b) 62%,var(--mk-paper,#f5f5f7)));
  --line:var(--mk-line,#dedee5);
  --soft-line:color-mix(in srgb,var(--mk-line,#dedee5) 58%,var(--mk-paper,#f5f5f7));
  --paper:var(--mk-surface,#fff);
  --wash:color-mix(in srgb,var(--mk-surface,#fff) 60%,var(--mk-paper,#f5f5f7));
  --accent:var(--mk-accent,#d5ef53);
  --accent-soft:color-mix(in srgb,var(--mk-accent,#d5ef53) 16%,var(--mk-surface,#fff));
  --accent-line:color-mix(in srgb,var(--mk-accent,#d5ef53) 46%,var(--mk-line,#dedee5));
  max-width:var(--mk-site-width,1320px)!important;
  padding-top:var(--mk-page-spacing,32px)!important;
  padding-bottom:calc(var(--mk-page-spacing,32px) * 2)!important;
  color:var(--mk-ink,#24242b)!important;
  font-family:var(--mk-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif)!important;
  font-size:var(--mk-reading-size,var(--mk-body-size,16px))!important;
}
body :is(.mk-license-heading h1,.mk-privacy-hero h1,.mk-terms-hero h1,.mk-eula-hero h1){
  font-family:var(--mk-font-heading,var(--mk-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif))!important;
  font-size:var(--mk-page-heading-size,36px)!important;
}
body :is(.mk-license-card,.mk-license-extra,.mk-privacy-intro,.mk-privacy-section,.mk-terms-intro,.mk-terms-section,.mk-eula-intro,.mk-eula-section){
  border-color:var(--mk-line,#dedee5)!important;
  border-radius:var(--mk-interface-radius,16px)!important;
}
body :is(.mk-license-contact a,.mk-privacy-actions a,.mk-privacy-actions button,.mk-terms-actions a,.mk-terms-actions button,.mk-eula-actions a,.mk-eula-actions button){
  border-radius:clamp(0px,calc(var(--mk-interface-radius,16px) * .72),13px)!important;
}
body :is(.mk-privacy-actions a,.mk-terms-actions a,.mk-eula-actions a){
  background:var(--mk-surface,#fff)!important;
}
body :is(.mk-license-contact a,.mk-privacy-actions button,.mk-terms-actions button,.mk-eula-actions button){
  border-color:color-mix(in srgb,var(--mk-accent,#d5ef53) 46%,var(--mk-line,#dedee5))!important;
  background:color-mix(in srgb,var(--mk-accent,#d5ef53) 16%,var(--mk-surface,#fff))!important;
}
body :is(.mk-license-contact a,.mk-privacy-actions button,.mk-terms-actions button,.mk-eula-actions button):hover{
  background:color-mix(in srgb,var(--mk-accent,#d5ef53) 26%,var(--mk-surface,#fff))!important;
}
body :is(.mk-license,.mk-privacy,.mk-terms,.mk-eula) :where(a,button):focus-visible{
  outline-color:var(--mk-accent,#d5ef53)!important;
}
body .mk-license-heading>p,
body .mk-license-terms,
body .mk-license-terms :where(p,li){
  font-size:var(--mk-reading-size,var(--mk-body-size,16px))!important;
}
body .mk-license-card>header{
  background:var(--wash)!important;
  border-color:var(--line)!important;
}
body .mk-license-card.is-corporate>header{
  background:var(--accent-soft)!important;
  border-color:var(--accent-line)!important;
}
body .mk-license-extra{background:var(--wash)!important;}
}

/* Footer palette belongs to Design, not a fixed reference-theme color. */
body .site-footer.mk-reference-footer{
  background:var(--mk-footer-bg,#15122b)!important;
  color:var(--mk-footer-text,#f2f1f7)!important;
}
body .mk-reference-footer :where(p,li,a,.widget-title),
body .mk-reference-footer .mk-footer-about p,
body .mk-reference-footer .mk-footer-links a,
body .mk-reference-footer .mk-footer-bottom .mk-footer-copy,
body .mk-reference-footer .mk-footer-bottom .mk-footer-copy :where(p,a),
body .mk-reference-footer .mk-footer-payment{
  color:var(--mk-footer-text,#f2f1f7)!important;
}
body .mk-reference-footer .mk-footer-intro,
body .mk-reference-footer .mk-footer-bottom{
  border-color:color-mix(in srgb,var(--mk-footer-text,#f2f1f7) 25%,transparent)!important;
}
body .mk-reference-footer .mk-footer-intro a{
  background:var(--mk-accent,#d5ef53)!important;
  color:var(--mk-ink,#252622)!important;
}


@media screen and (max-width:767px){
  body :is(.mk-license,.mk-privacy,.mk-terms,.mk-eula){
    font-size:var(--mk-body-mobile,16px)!important;
  }
  body :is(.mk-license-heading h1,.mk-privacy-hero h1,.mk-terms-hero h1,.mk-eula-hero h1){
    font-size:var(--mk-page-heading-mobile,30px)!important;
  }
}

@media screen and (max-width:767px){
  body.motokiwo-fresh{
    --mk-reading-size:var(--mk-body-mobile,16px);
    --mk-ui-size:max(12px,calc(var(--mk-body-mobile,16px) * .9375));
    --mk-small-size:max(11px,calc(var(--mk-body-mobile,16px) * .8125));
    font-size:var(--mk-body-mobile,16px)!important;
  }
  body .mobile-navigation .mobile-navigation__menu>li>a{
    font-size:clamp(16px,calc(var(--mk-menu-size,16px) * 1.35),32px)!important;
  }
  body .mobile-navigation .sub-menu a{
    font-size:clamp(13px,calc(var(--mk-menu-size,16px) * 1.05),28px)!important;
  }
  body :where(.entry-title,.page-title,.woocommerce-products-header__title,.mk-404-content h1){
    font-size:var(--mk-page-heading-mobile,30px)!important;
  }
  body.woocommerce-account .mk-auth-intro h1,
  body.woocommerce-cart .mk-commerce-header h1,
  body.woocommerce-checkout .mk-commerce-header h1{
    font-size:var(--mk-page-heading-mobile,30px)!important;
  }
  body.motokiwo-fresh :where(h2:not([class*="-font-size"]):not([style*="font-size"])){font-size:var(--mk-h2-mobile,28px)!important;}
  body.motokiwo-fresh :where(h3:not([class*="-font-size"]):not([style*="font-size"])){font-size:var(--mk-h3-mobile,22px)!important;}
  body.motokiwo-fresh :where(h4:not([class*="-font-size"]):not([style*="font-size"])){font-size:var(--mk-h4-mobile,18px)!important;}
  body.motokiwo-fresh :where(h5:not([class*="-font-size"]):not([style*="font-size"])){font-size:var(--mk-h5-mobile,16px)!important;}
  body.motokiwo-fresh .mk-license-card h2,
  body.motokiwo-fresh .mk-license-extra h2,
  body.motokiwo-fresh.woocommerce-cart .mk-commerce-page .woocommerce .cart_totals h2,
  body.motokiwo-fresh.single-product .woocommerce div.product .related.products>h2,
  body.motokiwo-fresh.single-product .woocommerce div.product .up-sells>h2,
  body.motokiwo-fresh.single-product .related.products>h2,
  body.motokiwo-fresh.single-product .up-sells>h2{font-size:var(--mk-h2-mobile,28px)!important;}
  body.motokiwo-fresh .mk-license-extra h3,
  body.motokiwo-fresh.woocommerce-checkout .mk-commerce-page .woocommerce #customer_details h3{font-size:var(--mk-h3-mobile,22px)!important;}
  body .mk-header-redesign .mk-brand-row{
    min-height:calc(34px + var(--mk-header-padding,24px))!important;
  }
  body .mk-header-redesign .site-branding .custom-logo{
    width:min(var(--mk-logo-width,180px),46vw)!important;
    max-width:min(var(--mk-logo-width,180px),46vw)!important;
  }
  body .mk-product-card__title,
  body.woocommerce ul.products li.product .mk-product-card__title{
    font-size:var(--mk-catalog-title-mobile,19px)!important;
  }
  body.single-product .woocommerce div.product .product_title,
  body.single-product .mk-product-heading--outside .product_title,
  body.single-product div.product > .mk-product-media-column > .mk-product-heading--media .product_title,
  body.single-product .summary .mk-product-heading--summary .product_title{
    font-size:var(--mk-product-title-mobile,28px)!important;
  }
}
