/* Отдельный файл: цену как на Modivo. Не класть в prestige-lamoda.css */
body #product .price,
body .right-block-inner .price,
body .product-thumb .price,
body .add-to-cart-footer .price,
body .sticky-product-info__price-action .price {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 0 12px !important;
}
body #product .price-new,
body #product .autocalc-product-special,
body .right-block-inner .price-new,
body .product-thumb .price-new,
body .product-thumb .special_value {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  clear: none !important;
  float: none !important;
  color: #b83d3d !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}
body #product .price-new,
body #product .autocalc-product-special,
body .right-block-inner .price-new {
  font-size: 36px !important;
}
body #product .price-new .price-amount,
body .right-block-inner .price-new .price-amount {
  display: inline !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #b83d3d !important;
}
body .product-thumb .price-new,
body .product-thumb .special_value,
body .product-thumb .price-new .price-amount {
  font-size: 20px !important;
}
body #product .price-new .price-currency,
body .right-block-inner .price-new .price-currency,
body .product-thumb .price-new .price-currency {
  display: inline !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  margin: 0 0 0 4px !important;
  position: static !important;
  top: auto !important;
  color: #b83d3d !important;
}
body .product-thumb .price-new .price-currency {
  font-size: 12px !important;
}
body #product .price-old,
body #product .autocalc-product-price,
body .right-block-inner .price-old,
body .product-thumb .price-old,
body .add-to-cart-footer .price-old {
  display: inline !important;
  align-self: baseline !important;
  float: none !important;
  clear: none !important;
  color: #333 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: line-through !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}
body .product-thumb .price-old,
body .product-thumb .price-old span {
  font-size: 13px !important;
  color: #666 !important;
}
body #product .price .found-cheaper,
body #product .price .price-tax,
body #product .price .points {
  flex: 1 0 100%;
  margin-top: 6px;
}

/* Дыры: у темы по 25px padding+margin и сверху цены, и под кнопками */
body #product .price-group {
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}
body .right-block-inner .action-group,
body #product .action-group {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Купить: без тяжёлой тени, чтобы блок покупки читался цельно */
body #product .cart .btn-general,
body #product #button-cart.btn-general,
body .right-block-inner .cart .btn-general {
  background: #0a0a0a !important;
  background-color: #0a0a0a !important;
  color: #fff !important;
  border-color: #0a0a0a !important;
  box-shadow: none !important;
}
body #product .cart .btn-general:hover,
body #product .cart .btn-general:focus,
body #product .cart .btn-general:active,
body #product .cart .btn-general:focus-visible,
body #product #button-cart.btn-general:hover,
body #product #button-cart.btn-general:focus,
body #product #button-cart.btn-general:active,
body #product #button-cart.btn-general:focus-visible {
  background: #2c2c2c !important;
  background-color: #2c2c2c !important;
  color: #fff !important;
  border-color: #2c2c2c !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Быстрый заказ: без обводки, держит тень */
body #product .btn-fastorder,
body .right-block-inner .btn-fastorder {
  background: #fff !important;
  background-color: #fff !important;
  color: #111 !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  outline: none !important;
}
body #product .btn-fastorder:hover,
body #product .btn-fastorder:focus,
body #product .btn-fastorder:active,
body #product .btn-fastorder:focus-visible,
body .right-block-inner .btn-fastorder:hover,
body .right-block-inner .btn-fastorder:focus,
body .right-block-inner .btn-fastorder:active {
  background: #111 !important;
  background-color: #111 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 3px 8px rgba(0, 0, 0, 0.12) !important;
  outline: none !important;
}
body #product .btn-fastorder:hover *,
body #product .btn-fastorder:focus *,
body #product .btn-fastorder:active *,
body .right-block-inner .btn-fastorder:hover *,
body .right-block-inner .btn-fastorder:focus *,
body .right-block-inner .btn-fastorder:active * {
  color: #fff !important;
}

/* Ряд покупки: количество + Купить, без дыры справа */
body .right-block-inner .action-group,
body #product .action-group {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px !important;
  border: 1px solid #e6e6e6 !important;
  border-radius: 14px !important;
  background: #fff !important;
}
body .right-block-inner .action-group .quantity-adder,
body #product .action-group .quantity-adder {
  flex: 0 0 auto !important;
}
body .right-block-inner .action-group .cart,
body #product .action-group .cart,
body #product .cart {
  flex: 1 1 auto !important;
  margin: 0 !important;
  width: auto !important;
  min-width: 0 !important;
}
body .right-block-inner .action-group .cart .btn-general,
body #product .action-group .cart .btn-general,
body #product .cart .btn-general {
  width: 100% !important;
}
body .right-block-inner .action-group .btn-fastorder,
body #product .action-group .btn-fastorder,
body #product .btn-fastorder {
  flex: 1 1 100% !important;
  width: 100% !important;
  margin: 0 !important;
}
/* Правая колонка: один ритм 16px */
body .right-block-inner .info-product {
  margin: 0 0 16px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid #eee;
}
body .right-block-inner .info-sku,
body .right-block-inner .info-weight {
  display: none !important;
}
body .right-block-inner .options {
  margin: 0 0 16px !important;
}
body .right-block-inner .price-group,
body #product .price-group {
  margin: 0 0 16px !important;
  padding: 0 !important;
  min-height: 0 !important;
  gap: 8px !important;
}
body .right-block-inner .action-group,
body #product .action-group {
  margin: 0 0 16px !important;
}
body .right-block-inner .prestige-buy-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0 0 16px !important;
  background: #f6f6f6;
  border-radius: 14px;
  overflow: hidden;
}
body .right-block-inner .prestige-buy-meta > * {
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid #e8e8e8 !important;
}
body .right-block-inner .prestige-buy-meta > *:last-child {
  border-bottom: 0 !important;
}
body .right-block-inner .prestige-left,
body .right-block-inner .prestige-timer-on .product-timer,
body .right-block-inner .prestige-ship {
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
body .right-block-inner .prestige-left__text {
  margin: 0 0 10px !important;
  font-size: 14px !important;
}
body .right-block-inner .prestige-left__bar {
  height: 5px;
}
body .right-block-inner .prestige-timer-on {
  margin: 0 !important;
}
body .right-block-inner .prestige-timer-on .product-timer {
  min-height: 48px !important;
  align-items: center !important;
}
body .right-block-inner .prestige-timer-on .time_productany {
  display: none !important;
}
body .right-block-inner .short-desc-b {
  margin: 0 0 16px !important;
  padding: 14px 16px !important;
  background: #f6f6f6 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}
body .right-block-inner .title_short_description {
  margin: 0 0 8px !important;
}

@media (max-width: 767px) {
  .add-to-cart-footer {
    display: flex !important;
    align-items: center;
    gap: 10px;
    height: auto !important;
    min-height: 64px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    background: #fff !important;
    border-top: 1px solid #eee !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08) !important;
    z-index: 1100 !important;
    bottom: 0 !important;
  }
  .add-to-cart-footer .price {
    display: none !important;
  }
  .add-to-cart-footer .cart {
    flex: 1 1 100%;
    width: 100%;
    margin: 0 !important;
  }
  .add-to-cart-footer .btn-general {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    background: #0a0a0a !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }
}
@media (min-width: 768px) {
  .add-to-cart-footer {
    display: none !important;
  }
}

/* Мобильное меню: фото категорий только на десктопе */
@media (max-width: 991px) {
  #mm-mobile .m-mm-html,
  #mm-mobile .mob-html-block,
  .mob-menu-info-fixed-left .m-mm-html,
  .mob-menu-info-fixed-left .mob-html-block {
    display: none !important;
  }
}
