/* Mehar Mart theme — header, logo, pages and WooCommerce screens. */
body { -webkit-font-smoothing: antialiased; }
body.mm-is-home { background: #0F2E1C; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
main.mm-home > * { margin: 0 !important; }
main.mm-home { padding: 0 !important; max-width: none !important; }

/* ---------- header ---------- */
.mm-header { background: #0F2E1C; color: #F6F1E4; position: relative; z-index: 50; }
.mm-header__in { max-width: 1360px; margin: 0 auto; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.mm-header--home .mm-header__in { max-width: 1280px; justify-content: space-between; }
.mm-header__in > * { margin: 0 !important; }
.mm-header .mm-basket-btn { margin-left: auto !important; }
.mm-header--home .mm-basket-btn { margin-left: 0 !important; }

.mm-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.mm-logo__icon { width: 50px; height: 50px; border-radius: 14px; background: #F6F1E4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mm-logo__icon img { width: 42px; height: 42px; display: block; }
.mm-logo__words { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.mm-logo__a { color: #F6F1E4; }
.mm-logo__b { color: #8DC63F; }

.mm-nav { font-weight: 600; font-size: 16px; gap: 4px !important; }
.mm-nav a, .mm-nav .wp-block-navigation-item__content { color: #F6F1E4 !important; text-decoration: none !important; padding: 12px 14px !important; display: inline-block; }
.mm-nav a:hover { color: #F5C518 !important; }

@media (max-width: 781px) {
	.mm-header__in { padding: 12px 16px; gap: 10px; }
	.mm-logo__icon { width: 40px; height: 40px; border-radius: 12px; }
	.mm-logo__icon img { width: 34px; height: 34px; }
	.mm-logo__words { font-size: 21px; }
	.mm-header--home .mm-nav { order: 3; width: 100%; font-size: 15px; justify-content: space-between; }
	.mm-header--home .mm-nav a { padding: 8px 6px !important; }
}
@media (max-width: 600px) {
	.mm-header--home .mm-nav { display: none !important; }
	.mm-header--store .mm-search { order: 3; flex: 1 1 100%; min-height: 48px; }
	.mm-header--store .mm-pin-chip { order: 4; }
	.mm-basket-btn { min-height: 42px; padding: 0 6px 0 14px; font-size: 14px; }
	.mm-basket-btn__n { min-width: 28px; height: 28px; }
}

/* ---------- content pages ---------- */
.mm-page { padding-top: 48px !important; padding-bottom: 72px !important; }
.mm-page__title { margin-bottom: 24px !important; color: #17582B; }
.mm-page h2, .mm-page h3 { margin-top: 1.6em; }
.mm-page .wp-block-columns { gap: 32px; }
.mm-page iframe { max-width: 100%; }

/* Forminator form to match the design */
.forminator-ui.forminator-custom-form .forminator-label { font-family: 'Plus Jakarta Sans', sans-serif !important; font-weight: 700 !important; font-size: 15px !important; color: #18231C !important; }
.forminator-ui.forminator-custom-form .forminator-input, .forminator-ui.forminator-custom-form .forminator-textarea { border: 2px solid #0F2E1C !important; border-radius: 12px !important; background: #FFFFFF !important; font-family: 'Plus Jakarta Sans', sans-serif !important; font-size: 17px !important; min-height: 52px; }
.forminator-ui.forminator-custom-form .forminator-button-submit { background: #0F2E1C !important; color: #F5C518 !important; border-radius: 14px !important; font-family: 'Plus Jakarta Sans', sans-serif !important; font-weight: 800 !important; min-height: 54px; padding: 0 24px !important; }

/* ---------- WooCommerce screens ---------- */
.woocommerce-store-notice, p.demo_store { background: #17582B !important; }
.mm-single { padding-top: 32px !important; }
.mm-single .product_title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; color: #17582B; font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.mm-single .price { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 28px !important; color: #18231C !important; }
.mm-single .single_add_to_cart_button, .woocommerce a.button, .woocommerce button.button { background: #F5C518 !important; color: #0F2E1C !important; border: 2px solid #0F2E1C !important; border-radius: 12px !important; font-weight: 800 !important; min-height: 48px; }
.mm-single .quantity .qty { min-height: 48px; border: 2px solid #0F2E1C; border-radius: 12px; }
.mm-single .woocommerce-product-gallery { background: #FFFFFF; border: 2px solid #0F2E1C; border-radius: 20px; padding: 12px; box-shadow: 5px 5px 0 #0F2E1C; }
.mm-single .woocommerce-tabs, .mm-single .related, .mm-single .upsells { margin-top: 40px; }
.mm-single .related h2, .mm-single .upsells h2 { font-size: 32px; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: #0F2E1C !important; color: #F5C518 !important; border-radius: 16px !important; font-weight: 800 !important; min-height: 56px; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select, .wc-block-components-textarea { border: 2px solid #0F2E1C !important; border-radius: 12px !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: 12px; }
.wc-block-checkout__form .wc-block-components-title, .wp-block-woocommerce-cart .wc-block-cart__totals-title { font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 800 !important; color: #17582B; }
.woocommerce-account .woocommerce-MyAccount-navigation a { color: #17582B; font-weight: 700; }
.mm-header--checkout .mm-header__in { justify-content: space-between; }
.mm-backlink { color: #F6F1E4 !important; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.mm-backlink:hover { color: #F5C518 !important; }
