/*
 * Site-wide brand pass for the 2026-11 homepage redesign (owner-approved
 * direction: square corners everywhere, Flatsome's own header/footer kept and
 * restyled to the new tokens). Loaded on every front-end page by
 * includes/gmm-home.php while the option `gmm_brand_css` is 1, so it can be
 * switched off (wp option update gmm_brand_css 0) without touching code.
 *
 * The header/top bar are no longer Flatsome's (see css/gmm-ui.css).
 * Kept round on purpose: radio buttons, spinners/loaders, slider dots and range
 * handles, avatars, the header cart count, and the third-party cookie banner.
 */

:root {
  --gmm-cv: #F5F1E8;
  --gmm-gr: #1F3B26;
  --gmm-mu: #5B6E5C;
  --gmm-ln: rgba(31, 59, 38, .2);
}

/* 1. Square corners everywhere ------------------------------------------- */
body *:not(:is(.cky-consent-container, .cky-modal, .cky-btn-revisit-wrapper) *):not(.cky-btn-revisit-wrapper),
body *:not(:is(.cky-consent-container, .cky-modal, .cky-btn-revisit-wrapper) *)::before,
body *:not(:is(.cky-consent-container, .cky-modal, .cky-btn-revisit-wrapper) *)::after {
  border-radius: 0 !important;
}

/* Functional circles stay round */
body input[type="radio"],
body .avatar,
body img.avatar,
body .loading-spin,
body .spinner,
body [class*="spinner"],
body .blockUI.blockOverlay::before,
body .flickity-page-dots .dot,
body .embla__dot,
body [class*="__dot"],
body .noUi-handle,
body .ui-slider-handle,
body .price_slider .ui-slider-handle,
body [data-icon-label]::after,
body .cart-icon strong,
body .wc-block-components-radio-control__input,
body .woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  border-radius: 50% !important;
}

/* 2–3. Top bar + header: replaced by the new site header (css/gmm-ui.css, includes/gmm-header.php). */

/* 4. Footer -------------------------------------------------------------- */
#footer,
#footer .gmm-footer,
#footer .footer-1,
#footer .footer-2,
#footer .absolute-footer {
  background-color: var(--gmm-gr) !important;
  background-image: none !important;
}
#footer .gmm-footer,
#footer .absolute-footer {
  color: var(--gmm-cv);
}
