/* Altezza: temporary price review mode. Remove or disable mode after updating 1C prices. */
body.altezza-review-mode .altezza-review-banner {
  display: block !important;
  background: #eef4ff;
  color: #17365f;
  border-bottom: 2px solid #3668b2;
  padding: 13px 18px;
  text-align: center;
  font: 16px/1.55 Arial, sans-serif;
  position: relative;
  z-index: 1001;
}
body.altezza-review-mode .altezza-review-banner strong { font-weight: 700; }
body.altezza-review-mode .altezza-review-banner a,
body.altezza-review-mode .altezza-review-contact a,
body.altezza-review-mode .altezza-review-message a {
  color: #184f9c;
  text-decoration: underline;
  font-weight: 700;
}
body.altezza-review-mode .altezza-review-message {
  padding: 26px;
  margin: 25px auto 70px;
  max-width: 1000px;
  border: 1px solid #ccd9e9;
  border-radius: 8px;
  background: #f8faff;
  color: #23394e;
  font: 17px/1.65 Arial, sans-serif;
}
body.altezza-review-mode .altezza-review-message h2 { font-size: 23px; margin: 0 0 12px; }
body.altezza-review-mode .altezza-review-contact {
  margin-top: 10px;
  font: 16px/1.5 Arial, sans-serif;
}
/* Hide prices in cached catalog items and individual product pages, including old price. */
body.altezza-review-mode .price-block-cust > *,
body.altezza-review-mode .product-item-price-container > *,
body.altezza-review-mode [data-entity="price-block"] > *,
body.altezza-review-mode .product-item-price-current,
body.altezza-review-mode .product-item-price-old,
body.altezza-review-mode .product-item-detail-price-current,
body.altezza-review-mode .product-item-detail-price-old,
body.altezza-review-mode .product-item-price,
body.altezza-review-mode .product-item-detail-price-container,
body.altezza-review-mode .basket-item-price,
body.altezza-review-mode .basket-item-sum-price,
body.altezza-review-mode .basket-checkout-block-total,
body.altezza-review-mode .basket-total-price,
body.altezza-review-mode .current_price,
body.altezza-review-mode .old_price {
  display: none !important;
}
body.altezza-review-mode .price-block-cust::after,
body.altezza-review-mode .product-item-price-container::after,
body.altezza-review-mode [data-entity="price-block"]::after {
  content: "Цена уточняется";
  display: block !important;
  color: #164f85;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 4px 0 9px;
}
/* All buy and one-click controls are hidden; the checkout is blocked on the server too. */
body.altezza-review-mode .product-buy-button-container,
body.altezza-review-mode .one-click-order-container,
body.altezza-review-mode .btn-yellow-buy,
body.altezza-review-mode .btn-yellow.full-width-btn-yellow,
body.altezza-review-mode [data-entity="buttons-block"],
body.altezza-review-mode .product-item-button-container,
body.altezza-review-mode [id$="_add_basket_link"],
body.altezza-review-mode [id$="_buy_link"],
body.altezza-review-mode .basket-checkout-container {
  display: none !important;
}
@media(max-width: 600px) {
 body.altezza-review-mode .altezza-review-banner { font-size: 14px; padding: 12px 10px; }
 body.altezza-review-mode .altezza-review-message { margin: 15px 10px 50px; padding: 18px; }
}

/* The top mini-cart may contain cached line and total prices for returning shoppers. */
body.altezza-review-mode .site-new-top-user-basket,
body.altezza-review-mode .header-basket-block,
body.altezza-review-mode .basketItemPrice,
body.altezza-review-mode .basketItemPriceOld,
body.altezza-review-mode .basketTotalPrice,
body.altezza-review-mode .bx-basket-item-list-item-price,
body.altezza-review-mode .bx-basket-item-list-item-price-old,
body.altezza-review-mode a[href="/personal/cart/"],
body.altezza-review-mode a[href="/personal/order/make/"] {
  display: none !important;
}

/* Keep the product page in inquiry-only mode: quantities and totals suggest checkout. */
body.altezza-review-mode .buy-line-custom,
body.altezza-review-mode .total-block-count,
body.altezza-review-mode .prhr-quantyty-product-sale,
body.altezza-review-mode .product-item-amount,
body.altezza-review-mode [data-entity="quantity-block"] {
  display: none !important;
}
/* The phone is added outside the cached Bitrix catalog component markup. */
body.altezza-review-mode .altezza-review-product-contact {
  background: #f3f7fc;
  border: 1px solid #d6e3f1;
  border-radius: 6px;
  padding: 14px 16px;
  margin: 10px 0 18px;
  max-width: 520px;
}
body.altezza-review-mode .altezza-review-product-contact-caption {
  color: #394a60;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
}
body.altezza-review-mode a.altezza-review-product-phone {
  color: #ffffff;
  background: #174f85;
  display: inline-block;
  padding: 10px 17px;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  border-radius: 4px;
}
body.altezza-review-mode a.altezza-review-product-phone:hover,
body.altezza-review-mode a.altezza-review-product-phone:focus {
  background: #103a63;
  color: #ffffff;
}
@media (max-width: 600px) {
 body.altezza-review-mode .altezza-review-product-contact {
   padding: 12px;
   margin: 10px 0 15px;
 }
 body.altezza-review-mode a.altezza-review-product-phone {
   display: block;
   width: 100%;
   box-sizing: border-box;
 }
}
