/* ===== Цена красным на страницах GRM-товаров (метка _grm_works) ===== */
body.grm-product div.product p.price,
body.grm-product div.product p.price .pre-price,
body.grm-product div.product p.price .woocommerce-Price-amount,
body.grm-product div.product p.price .woocommerce-Price-amount bdi,
body.grm-product div.product p.price .woocommerce-Price-currencySymbol{
  color:#e21a24 !important;
}

/* ===== Кнопка «Заказать» — в стиле CTA GRM (только GRM-товары) ===== */
body.grm-product a.callback-main.button,
body.grm-product .summary a.callback-main.button,
body.grm-product .summary a.button.alt{
  background:#e21a24 !important;
  color:#fff !important;
  border:0 !important;
  border-radius:4px !important;
  padding:15px 34px !important;
  height:auto !important;
  min-height:51px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size:16px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.01em;
  text-transform:none;
  text-decoration:none;
  box-shadow:none;
  transition:background .22s,transform .22s;
}
body.grm-product a.callback-main.button:hover,
body.grm-product .summary a.callback-main.button:hover,
body.grm-product .summary a.button.alt:hover{
  background:#d11a26 !important;
  color:#fff !important;
}
body.grm-product a.callback-main.button:active{transform:translateY(1px)}
body.grm-product a.callback-main.button:focus-visible{outline:2px solid #e21a24;outline-offset:2px}

/* ===== Скрыть артикул (SKU) на страницах GRM-товаров ===== */
body.grm-product .sku_wrapper{display:none !important}

/* ===== Кнопка «Отправить» (#submit.submit) — красная на GRM-товарах ===== */
body.grm-product input[type="submit"].submit,
body.grm-product input#submit.submit,
body.grm-product input.submit{
  background:#e21a24 !important;
  color:#fff !important;
  border:0 !important;
  border-radius:4px !important;
  padding:15px 34px !important;
  height:auto !important;
  min-height:51px;
  font-family:Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size:16px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.01em;
  text-transform:none;
  box-shadow:none;
  cursor:pointer;
  transition:background .22s,transform .22s;
}
body.grm-product input[type="submit"].submit:hover,
body.grm-product input#submit.submit:hover{
  background:#d11a26 !important;
  color:#fff !important;
}
body.grm-product input[type="submit"].submit:active{transform:translateY(1px)}
body.grm-product input[type="submit"].submit:focus-visible{outline:2px solid #e21a24;outline-offset:2px}

/* ===== Кнопка попапа на GRM-товарах — в стиле GRM CTA ===== */
body.grm-product #cb_popup .wfl_submit,
body.grm-product #cb_popup2 .wfl_submit{
  background:#e21a24 !important;
  color:#fff !important;
  border:0 !important;
  border-radius:12px !important;
  padding:15px 34px !important;
  height:auto !important;
  min-height:51px;
  width:100%;
  max-width:270px;
  margin-left:0 !important;
  font-family:Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size:16px !important;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.01em;
  box-shadow:0 12px 24px -14px rgba(226,26,36,.9);
  transition:background .22s,box-shadow .22s,transform .22s;
  cursor:pointer;
}
body.grm-product #cb_popup .wfl_submit:hover,
body.grm-product #cb_popup2 .wfl_submit:hover{
  background:#d11a26 !important;
  color:#fff !important;
}
body.grm-product #cb_popup .wfl_submit:active,
body.grm-product #cb_popup2 .wfl_submit:active{transform:translateY(1px)}
body.grm-product #cb_popup .wfl_submit:focus-visible,
body.grm-product #cb_popup2 .wfl_submit:focus-visible{outline:2px solid #e21a24;outline-offset:2px}

/* ===== Контейнер попапа FancyBox — стиль GRM ===== */
body.grm-product .fancybox-content{
  background:#fff;
  display:inline-block;
  margin:0;
  max-width:100%;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:15px;
  position:relative;
  text-align:left;
  vertical-align:middle;
}
