.mhm-widget{font-family:inherit}.mhm-widget *{box-sizing:border-box}.mhm-widget .mhm-open,.mhm-widget .mhm-calc{border:0;border-radius:9px;background:#1767c7;color:#fff;font-weight:700;padding:15px 23px;cursor:pointer;font-size:16px}.mhm-widget .mhm-open:hover,.mhm-widget .mhm-calc:hover{background:#104e9a}.mhm-widget .mhm-overlay[hidden],.mhm-widget .mhm-result[hidden],.mhm-widget .mhm-error[hidden]{display:none!important}.mhm-widget .mhm-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.mhm-widget .mhm-dialog{position:relative;width:min(100%,530px);max-height:calc(100dvh - 40px);overflow-y:auto;background:#fff;color:#1d2939;border-radius:18px;padding:28px;box-shadow:0 20px 65px #0006}.mhm-widget .mhm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:23px}.mhm-widget .mhm-head strong{display:block;font-size:22px;color:#14213d}.mhm-widget .mhm-head small{display:block;color:#667085;margin-top:5px}.mhm-widget .mhm-close{background:#f2f4f7;color:#344054;border:0;border-radius:50%;width:36px;height:36px;font-size:25px;line-height:1;cursor:pointer;flex-shrink:0}.mhm-widget .mhm-form{display:grid;gap:17px}.mhm-widget .mhm-form label{display:grid;gap:7px;font-size:14px;font-weight:650;color:#344054}.mhm-widget .mhm-form select,.mhm-widget .mhm-form input{display:block;width:100%;max-width:none;background:#fff;color:#101828;border:1px solid #d0d5dd;border-radius:8px;min-height:45px;padding:9px 12px;font-size:16px}.mhm-widget .mhm-calc{width:100%;margin-top:3px}.mhm-widget .mhm-calc:disabled{opacity:.65;cursor:wait}.mhm-widget .mhm-result{margin-top:20px;padding:20px;border-radius:12px;background:#eff6ff;text-align:center}.mhm-widget .mhm-result-heading{font-size:12px;font-weight:750;letter-spacing:.06em;color:#35557d}.mhm-widget .mhm-total{display:block;margin:10px 0;font-size:34px;line-height:1.2;color:#153e75}.mhm-widget .mhm-result p{font-size:13px;margin:10px 0;color:#344054}.mhm-widget .mhm-result .mhm-warning{color:#a34200}.mhm-widget .mhm-whatsapp{display:block;text-align:center;border-radius:9px;padding:14px 12px;margin-top:18px;background:#148d50;color:#fff!important;font-size:14px;font-weight:750;text-decoration:none!important}.mhm-widget .mhm-error{margin:16px 0;color:#b42318;font-size:14px}.mhm-widget .mhm-foot{font-size:12px;color:#667085;line-height:1.55;margin:20px 0 0}.mhm-modal-open{overflow:hidden}@media(max-width:600px){.mhm-widget .mhm-overlay{padding:0;align-items:stretch}.mhm-widget .mhm-dialog{width:100%;height:100dvh;max-height:none;border-radius:0;padding:24px 18px}.mhm-widget .mhm-total{font-size:30px}}

/* v1.0.2: KDV haric birim ve toplam fiyat sunumu */
.mhm-widget .mhm-result{background:transparent;padding:0;text-align:left}
.mhm-widget .mhm-unit-box,.mhm-widget .mhm-total-box{border-radius:12px;padding:18px;margin-top:12px}
.mhm-widget .mhm-unit-box{background:#f2f4f7}
.mhm-widget .mhm-total-box{background:#eff6ff}
.mhm-widget .mhm-unit{display:block;margin:8px 0 3px;font-size:27px;line-height:1.25;color:#153e75}
.mhm-widget .mhm-total-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:8px 0 4px}
.mhm-widget .mhm-total{display:inline;margin:0;font-size:32px}
.mhm-widget .mhm-plus-tax{font-size:18px;font-weight:700;color:#344054;white-space:nowrap}
.mhm-widget .mhm-tax-note{display:block;color:#667085;font-size:12px}
.mhm-widget .mhm-result .mhm-warning{margin:14px 0}
@media(max-width:600px){.mhm-widget .mhm-total{font-size:29px}.mhm-widget .mhm-unit{font-size:25px}}

/* 400 m² üzeri projeler için okunaklı bilgilendirme alanı */
.mhm-widget .mhm-error.mhm-large-project{background:#eff6ff;border:1px solid #bfdbfe;border-left:4px solid #2563eb;border-radius:12px;padding:18px 18px 16px;color:#1e3a5f;font-size:16px;font-weight:600;line-height:1.65;margin:18px 0 12px}.mhm-widget .mhm-error.mhm-large-project .mhm-whatsapp{margin-top:16px;font-size:15px;line-height:1.45;padding:15px 12px}

/* v1.5.16: 400 m² üzeri projelerde okunaklı açıklama (başlıksız) */
.mhm-widget .mhm-error.mhm-large-project{
  display:block; background:#eff6ff !important; color:#1e3a5f !important;
  border:1px solid #bfdbfe !important; border-left:5px solid #2563eb !important;
  border-radius:12px; padding:20px 20px 18px;
  font-size:18px !important; font-weight:600 !important; line-height:1.65 !important;
  margin:18px 0 12px;
}
.mhm-widget .mhm-error.mhm-large-project .mhm-large-project-title{
  display:block; color:#153e75 !important; font-size:20px !important;
  font-weight:800 !important; line-height:1.35; margin-bottom:12px;
}
.mhm-widget .mhm-error.mhm-large-project .mhm-whatsapp{
  font-size:16px !important; font-weight:750; margin-top:20px;
  padding:16px 12px; line-height:1.45;
}
@media(max-width:600px){
  .mhm-widget .mhm-error.mhm-large-project{font-size:17px !important;padding:17px 16px;}
  .mhm-widget .mhm-error.mhm-large-project .mhm-large-project-title{font-size:19px !important;}
}

/* Epoksi sayfasındaki WhatsApp butonuyla uyumlu boyutlar. */
.mhm-widget[data-type="epoksi"] .mhm-open{display:inline-block;padding:16px 24px;border-radius:8px;font-size:18px;line-height:1.4;min-height:0;vertical-align:middle}

/* v1.5.18: Epoksi sayfasında yan yana yerleştirilen iki CTA aynı ölçüde. */
.mhm-widget[data-type="epoksi"] .mhm-open{width:100%;min-height:66px;display:flex;align-items:center;justify-content:center;text-align:center;padding:16px 18px;font-size:18px;line-height:1.35;white-space:normal;}
/* Yalnızca epoksi kısa kodunu içeren WordPress Satır bloğunu hedefler. */
.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-shortcode,
.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html,
.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-group {flex:1 1 0;min-width:0;margin-block:0;}
.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html > div {margin:0 !important;padding:0 !important;width:100%;}
.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html a[href^="https://wa.me/"]{display:flex !important;align-items:center;justify-content:center;text-align:center;width:100%;min-height:66px;padding:16px 18px !important;line-height:1.35 !important;}
@media(max-width:600px){.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]){flex-wrap:wrap !important;}.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-shortcode,.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html{flex:1 1 100%;width:100%;}}

/* v1.5.19: Epoksi CTA butonları aynı sabit ölçülerde ve normal yazımla. */
.mhm-widget[data-type="epoksi"] .mhm-open{
  box-sizing:border-box !important;
  width:240px !important;
  min-width:240px !important;
  max-width:240px !important;
  height:54px !important;
  min-height:54px !important;
  padding:0 12px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:8px !important;
  font-size:16px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
  letter-spacing:normal !important;
  text-transform:none !important;
  white-space:normal !important;
  text-align:center !important;
}
.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-shortcode,
.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html{
  flex:0 0 240px !important;
  width:240px !important;
  max-width:240px !important;
  min-width:0 !important;
  margin:0 !important;
}
.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html > div{
  margin:0 !important;
  padding:0 !important;
  width:240px !important;
}
.wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html a[href^="https://wa.me/"]{
  box-sizing:border-box !important;
  width:240px !important;
  min-width:240px !important;
  max-width:240px !important;
  height:54px !important;
  min-height:54px !important;
  padding:0 12px !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:8px !important;
  font-size:16px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
  letter-spacing:normal !important;
  text-transform:none !important;
  white-space:normal !important;
  text-align:center !important;
}
@media(max-width:600px){
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-shortcode,
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html{
    flex:0 1 100% !important;
    width:100% !important;
    max-width:100% !important;
    display:flex !important;
    justify-content:center !important;
  }
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html > div{width:240px !important;max-width:100% !important;}
  .mhm-widget[data-type="epoksi"] .mhm-open,
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="epoksi"]) > .wp-block-html a[href^="https://wa.me/"]{
    width:240px !important;min-width:0 !important;max-width:100% !important;
  }
}

/* v1.5.20: Epoksi landing page CTAs - shared dimensions independent of block wrappers. */
body.page-id-2035 .mhm-widget[data-type="epoksi"] .mhm-open,
body.page-id-2035 .wp-block-group:has(.mhm-widget[data-type="epoksi"]) .wp-block-html a[href^="https://wa.me/905333442355"]{
  box-sizing:border-box !important;
  display:inline-flex !important;
  flex:0 0 240px !important;
  width:240px !important;
  min-width:240px !important;
  max-width:240px !important;
  height:54px !important;
  min-height:54px !important;
  max-height:54px !important;
  padding:0 10px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:8px !important;
  align-items:center !important;
  justify-content:center !important;
  vertical-align:middle !important;
  font-family:inherit !important;
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  letter-spacing:normal !important;
  text-transform:none !important;
  text-align:center !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
body.page-id-2035 .wp-block-group:has(.mhm-widget[data-type="epoksi"]) .wp-block-html > div{
  margin:0 !important;
  padding:0 !important;
  line-height:normal !important;
}
@media(max-width:600px){
  body.page-id-2035 .mhm-widget[data-type="epoksi"] .mhm-open,
  body.page-id-2035 .wp-block-group:has(.mhm-widget[data-type="epoksi"]) .wp-block-html a[href^="https://wa.me/905333442355"]{
    width:240px !important;min-width:0 !important;max-width:100% !important;
  }
}

/* v1.5.22: Self Sap CTA uses the same button dimensions as Epoksi. */
.mhm-widget[data-type="self_sap"] .mhm-open{
  box-sizing:border-box !important;width:240px !important;min-width:0 !important;max-width:100% !important;
  height:54px !important;min-height:54px !important;padding:0 10px !important;margin:0 !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  border-radius:8px !important;font-size:16px !important;font-weight:700 !important;
  line-height:1.2 !important;letter-spacing:normal !important;text-transform:none !important;
  text-align:center !important;white-space:normal !important;
}

/* v1.5.23: Mikrobeton and terrace buttons match Epoksi / Self Sap. */
.mhm-widget[data-type="mikrobeton"] .mhm-open,
.mhm-widget[data-type="teras"] .mhm-open{
 box-sizing:border-box !important;width:240px !important;min-width:0 !important;max-width:100% !important;
 height:54px !important;min-height:54px !important;padding:0 10px !important;margin:0 !important;
 display:flex !important;align-items:center !important;justify-content:center !important;
 border-radius:8px !important;font-size:16px !important;font-weight:700 !important;
 line-height:1.2 !important;letter-spacing:normal !important;text-transform:none !important;
 text-align:center !important;white-space:normal !important;
}

/* v1.5.28: Epoksi'nin calisan mobil WordPress satir duzenini diger uygulamalara uygula. */
@media (max-width:600px){
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="self_sap"]),
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="mikrobeton"]),
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="teras"]){
    flex-wrap:wrap !important;
    row-gap:10px !important;
  }
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="self_sap"]) > :is(.wp-block-shortcode,.wp-block-html,.wp-block-group),
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="mikrobeton"]) > :is(.wp-block-shortcode,.wp-block-html,.wp-block-group),
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="teras"]) > :is(.wp-block-shortcode,.wp-block-html,.wp-block-group){
    flex:0 1 100% !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    display:flex !important;
    justify-content:center !important;
    margin-block:0 !important;
  }
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="self_sap"]) > .wp-block-html > div,
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="mikrobeton"]) > .wp-block-html > div,
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="teras"]) > .wp-block-html > div{
    width:240px !important;max-width:100% !important;margin:0 auto !important;
  }
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="self_sap"]) > .wp-block-html a[href^="https://wa.me/"],
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="mikrobeton"]) > .wp-block-html a[href^="https://wa.me/"],
  .wp-block-group.is-layout-flex:has(.mhm-widget[data-type="teras"]) > .wp-block-html a[href^="https://wa.me/"]{
    box-sizing:border-box !important;display:flex !important;
    align-items:center !important;justify-content:center !important;text-align:center !important;
    width:240px !important;min-width:0 !important;max-width:100% !important;
    height:54px !important;min-height:54px !important;
    padding:0 10px !important;
  }
}

/* v1.5.29: Gercek WordPress CTA satiri JS ile isaretlenir; sadece mobilde. */
@media (max-width:600px){
  .wp-block-group.mhm-mobile-cta-row{
    display:flex !important;flex-direction:column !important;flex-wrap:nowrap !important;
    align-items:center !important;justify-content:center !important;gap:10px !important;
  }
  .wp-block-group.mhm-mobile-cta-row > .mhm-mobile-cta-item{
    box-sizing:border-box !important;flex:0 0 auto !important;
    width:100% !important;max-width:100% !important;min-width:0 !important;
    display:flex !important;align-items:center !important;justify-content:center !important;
    margin:0 !important;
  }
  .wp-block-group.mhm-mobile-cta-row .mhm-widget .mhm-open{
    width:240px !important;max-width:100% !important;min-width:0 !important;
  }
  .wp-block-group.mhm-mobile-cta-row > .mhm-mobile-cta-item a[href*="wa.me/"]{
    width:240px !important;max-width:100% !important;min-width:0 !important;
    min-height:54px !important;display:flex !important;align-items:center !important;
    justify-content:center !important;text-align:center !important;
  }
}
