/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ===== Danyar brand system (2026-07-11) ===== */

@font-face {
	font-family: 'B Nazanin';
	src: url('/wp-content/uploads/danyar-fonts/bnazanin-regular.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'B Nazanin';
	src: url('/wp-content/uploads/danyar-fonts/bnazanin-bold.woff2') format('woff2');
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'B Nazanin Outline';
	src: url('/wp-content/uploads/danyar-fonts/bnazanin-outline.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;
}

:root {
	--dnyr-green: #1FB31D;
	--dnyr-green-dark: #17930F;
	--dnyr-red: #ED1443;
	--dnyr-charcoal: #3F464D;
	--dnyr-cream: #FBF9F5;
}

body, button, input, select, textarea,
.elementor-widget-container,
h1, h2, h3, h4, h5, h6 {
	font-family: 'B Nazanin', 'Vazirmatn', Tahoma, sans-serif;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
button.single_add_to_cart_button,
.wc-block-components-button {
	background-color: var(--dnyr-green) !important;
	border-color: var(--dnyr-green) !important;
	color: #fff !important;
	transition: background-color .2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
button.single_add_to_cart_button:hover,
.wc-block-components-button:hover {
	background-color: var(--dnyr-green-dark) !important;
	border-color: var(--dnyr-green-dark) !important;
}

.woocommerce span.onsale,
.ct-badge,
.wcpl-label-text,
.berocket_better_labels .br_alabel_text {
	background-color: var(--dnyr-red) !important;
	color: #fff !important;
}

a { color: var(--dnyr-green); }
a:hover { color: var(--dnyr-green-dark); }

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--dnyr-charcoal);
}

/* ===== end Danyar brand system ===== */


/* --- Override Blocksy theme variables (brand font + colors) --- */
:root {
	--theme-font-family: 'B Nazanin', 'Vazirmatn', Tahoma, sans-serif !important;
	--theme-button-background-initial-color: var(--dnyr-green) !important;
	--theme-button-background-hover-color: var(--dnyr-green-dark) !important;
	--theme-button-text-initial-color: #ffffff !important;
	--theme-button-text-hover-color: #ffffff !important;
	--theme-link-initial-color: var(--dnyr-charcoal) !important;
	--theme-link-hover-color: var(--dnyr-green) !important;
}


/* --- Force B Nazanin on nav menu + prices (Blocksy sets these directly) --- */
.ct-menu-link,
.header-menu-1 a,
.header-menu a,
.menu-container a,
nav.menu-container a,
.woocommerce-Price-amount,
.woocommerce-Price-amount bdi,
.woocommerce-Price-currencySymbol,
p.price, .price, .amount {
	font-family: 'B Nazanin', 'Vazirmatn', Tahoma, sans-serif !important;
}
