@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//baghemehrabani.ir/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.4") format("woff2");
}

:root {
	--wd-text-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(74,44,58);
	--wd-text-font-size: 17px;
	--wd-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(74,44,58);
	--wd-entities-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(74,44,58);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(74,44,58);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Vazirmatn", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 16px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #D81B60;
	--wd-alternative-color: rgb(67,160,71);
	--btn-default-bgcolor: rgb(216,27,96);
	--btn-default-bgcolor-hover: rgb(216,27,96);
	--btn-accented-bgcolor: rgb(216,27,96);
	--btn-accented-bgcolor-hover: rgb(216,27,96);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(216,27,96);
	--wd-link-color-hover: rgb(194,24,91);
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(66,39,64);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}



.wd-page-title {
background-color: #0a0a0a;
}

.wd-sidebar-opener{display:none !important;}
.wp-block-column {
    padding:15px}
.group{
    box-shadow: var(--wp--preset--shadow--deep);
    padding: 20px;
}
.wd-copyrights{    background-color: #422740;}

p{    line-height: 38px;
    text-align: justify;
}
.wd-content-layout {
	padding-top: 0px !important;}

 h1, h2, h3, h4, h5, h6, .title {
	 margin-top: 25px;}


/*تنظیمات برای سایت مدرسه*/
/* پالت رنگی و استایل‌های عمومی باغ مهربانی */
:root {
  --bm-primary: #D81B60;    /* سرخابی */
  --bm-secondary: #43A047;  /* سبز */
  --bm-accent: #FBC02D;     /* زرد انبه‌ای */
  --bm-dark: #4A2C3A;       /* بادمجانی تیره */
  --bm-bg-light: #F9FBF8;   /* پس‌زمینه روشن */
}

/* گرد کردن دکمه‌ها (Pill Style) */
.btn-style-semi-round, 
.btn-style-round,
.wd-button-wrapper a {
  border-radius: 50px !important;
}

/* شاداب‌سازی کارت‌ها و باکس‌ها */
.wd-info-box, .wp-block-column, .calendar-card {
  border-radius: 20px !important;
  transition: all 0.3s ease;
}

/* سایه نرم کارت‌ها */
.has-soft-shadow {
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}


/*برای بخش کادر ویژگی ها*/
.herosection{
	margin-top:-20px !important
}
/* تنظیم سایه و گردی کارت معلق */
.floating-card {
	margin-top: -23px !important;
	background-color:#fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
    border-radius: 25px !important;
    z-index: 10;
    position: relative;
    padding: 4px !important;
}

/* استایل دکمه‌های هیرو */
.hero-cta-btn {
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 600;
}


/*برای عکس هیرو*/
.hero-girl-img,
.hero-girl-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}
/*برای ستون ویژگی ها*/
/* تنظیم دقیق و جمع‌وجور کردن ستون‌های ویژگی‌ها */
.school-features-row {
    gap: 8px !important; /* کاهش فاصله بین ستون‌ها */
    justify-content: space-between !important;
}
/*تقویم مناسبت ها*/
.bordered{
	 gap: 1px !important;
	border-radius:7px !important;
	box-shadow: 0 4px 15px rgba(17, 34, 51, 0.08);
}
.bordered>.wp-block-column{
	padding: 1px !important;
}

.btntaghcim{
border-radius: 30px !important;
    padding: 0px !important;
    text-align: center !important;
}

/* فقط برای صفحه موبایل (زیر ۷۶۸ پیکسل) */
@media (max-width: 767px) {
    .wp-block-buttons.hero-btns-mobile-row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important; /* فاصله بین دو دکمه */
        width: 100% !important;
    }

    .wp-block-buttons.hero-btns-mobile-row .wp-block-button {
        flex: 1 1 50% !important; /* هر دکمه نصف عرض صفحه */
        width: 50% !important;
        margin: 0 !important;
    }

    .wp-block-buttons.hero-btns-mobile-row .wp-block-button__link {
        width: 100% !important;
        text-align: center !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 13px !important; /* سایز متناسب موبایل برای عدم سرریز */
        white-space: nowrap !important; /* متن دکمه نشکند */
        display: block !important;
    }
}

/* کاهش سایز فونت تیتر فقط در موبایل */
@media (max-width: 767px) {
    p.has-x-large-font-size {
        /* در گوشی‌های کوچک 17px و در گوشی‌های بزرگتر تا 21px متغیر می‌شود */
        font-size: clamp(20px, 5.8vw, 25px) !important;
        line-height: 1 !important; /* لاین هایت 1 خیلی متن را فشرده و زشت می‌کند، 1.4 تا 1.5 طبیعی‌ترین حالت است */
        white-space: normal !important;
    }
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
	
}
/*برای نمایش درست موبایلی بخش امکانات و گالری*/
@media (max-width: 781px) {
  /* تنظیم عرض ستون اول روی 10% در موبایل */
  .section-title-row > .wp-block-column:nth-child(1) {
    flex-basis: 10% !important;
    max-width: 10% !important;
  }

  /* تنظیم عرض ستون دوم روی 90% در موبایل */
  .section-title-row > .wp-block-column:nth-child(2) {
    flex-basis: 90% !important;
    max-width: 90% !important;
  }

  /* متناسب‌سازی سایز تیتر در موبایل برای جلوگیری از شکستن نازیبا */
  .section-title-row h3 {
    line-height: 1.2 !important;
    margin: 0 !important;
  }
}
/* نمایش فقط در موبایل */
.show-mobile {
  display: none !important;
}

@media (max-width: 781px) {
  .show-mobile {
    display: block !important; /* یا flex / inline-block بسته به نوع المان */
  }
	.footer> .wp-block-column {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

}
  html, body {
    overflow-x: hidden !important;
  }
  @media (max-width: 480px) {
    .bordered p {
      font-size: 13px !important;
    }
		 .bordered p>strong {
      font-size: 16px !important;
    }
    .bordered .btntaghcim {
      font-size: 12px !important;
      padding: 3px 6px !important;
    }
		.topcontainer{
	gap: 1px !important;
}
  }


/**/