/* Mumye Product Landing 1.3.1 — только для выбранного вариативного товара. */
body.mumye-landing-product {
  --mumye-forest: #0d4b3d;
  --mumye-forest-dark: #082f28;
  --mumye-faint: #f5f7f3;
  --mumye-card: #fffefb;
  --mumye-line: #dfdfd7;
  --mumye-gold: #aa9269;
}
body.mumye-landing-product .woocommerce-product-gallery img { border-radius: 5px; }
body.mumye-landing-product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 5px; border: 1px solid #e3e4df; }
body.mumye-landing-product .summary .product_title,
body.mumye-landing-product .entry-summary .product_title {
  color: #142921;
  line-height: 1.15;
  letter-spacing: -.025em;
}
/* Ряд отличий показывается после краткого описания, перед выбором веса. */
body.mumye-landing-product .mumye-product-benefits {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  column-gap: 12px;
  row-gap: 10px;
  margin: 20px 0 23px;
  padding: 0;
}
body.mumye-landing-product .mumye-product-benefit {
  min-width: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #344b42;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}
body.mumye-landing-product .mumye-product-benefit-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid #e1e6e0;
  border-radius: 999px;
  background: #f7faf7;
  color: var(--mumye-forest);
  font-size: 20px;
  line-height: 1;
}
/* Нативный select остаётся для WooCommerce. Визуально скрываем только после запуска JS. */
body.mumye-landing-product select.mumye-hidden-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}
body.mumye-landing-product .mumye-weight-buttons { display: none; }
body.mumye-landing-product .mumye-weight-buttons.is-ready {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin: 8px 0 14px;
}
body.mumye-landing-product .mumye-weight-button {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 11px 6px;
  background: #fff;
  border: 1px solid #dadfd8;
  border-radius: 6px;
  box-shadow: none;
  color: #183e32;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  text-transform: none;
  cursor: pointer;
  transition: background .16s,border-color .16s;
}
body.mumye-landing-product .mumye-weight-button:hover,
body.mumye-landing-product .mumye-weight-button.is-active {
  color: var(--mumye-forest);
  background: #f2f6f1;
  border-color: var(--mumye-forest);
  box-shadow: 0 0 0 1px var(--mumye-forest) inset;
}
body.mumye-landing-product .mumye-weight-button:disabled { opacity: .4; cursor: not-allowed; }
body.mumye-landing-product .mumye-weight-button:focus-visible,
body.mumye-landing-product .mumye-bundle-choice:focus-visible { outline: 3px solid #619b91; outline-offset: 2px; }
/* Дефолтные строки WooCommerce с атрибутом и кнопкой «очистить». */
body.mumye-landing-product .variations { margin-bottom: 12px; }
body.mumye-landing-product .variations th.label,
body.mumye-landing-product .variations label {
  color: #172d25;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}
body.mumye-landing-product .variations .reset_variations {
  margin-top: 5px;
  font-size: 12px;
  color: #597066;
}
/* Карточки наборов находятся внутри вариативной формы, до кнопки заказа. */
body.mumye-landing-product .mumye-bundles { margin: 18px 0 19px; }
body.mumye-landing-product .mumye-bundles h3 {
  margin: 0 0 12px;
  color: #142b22;
  font-family: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}
body.mumye-landing-product .mumye-bundle-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}
body.mumye-landing-product .mumye-bundle-choice {
  position: relative;
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  min-height: 155px;
  padding: 24px 6px 12px;
  margin: 0;
  border: 1px solid #e0e2db;
  border-radius: 7px;
  background: var(--mumye-card);
  box-shadow: none;
  color: #143a2e;
  text-align: center;
  text-transform: none;
  line-height: 1.25;
  cursor: pointer;
  transition: background .16s,border-color .16s;
}
body.mumye-landing-product .mumye-bundle-choice:hover,
body.mumye-landing-product .mumye-bundle-choice.is-active {
  background: #f3f7f3;
  border-color: var(--mumye-forest);
  box-shadow: 0 0 0 1px var(--mumye-forest) inset;
}
body.mumye-landing-product .mumye-bundle-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  padding: 3px 6px;
  border-radius: 4px;
  background: #af8c65;
  color: white;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}
body.mumye-landing-product .mumye-bundle-jars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  height: 54px;
  width: 100%;
}
body.mumye-landing-product .mumye-bundle-jars img {
  display: block;
  flex: 0 1 auto;
  width: auto;
  max-width: min(50px, 82%);
  height: 51px;
  object-fit: contain;
  margin: 0 -4px;
  mix-blend-mode: multiply;
}
body.mumye-landing-product .mumye-bundle-choice[data-quantity="4"] .mumye-bundle-jars img {
  max-width: 28%;
  height: 42px;
  margin: 0 -3px;
}
body.mumye-landing-product .mumye-bundle-fallback { font-size: 21px; color: var(--mumye-forest); }
body.mumye-landing-product .mumye-bundle-name { font-size: 13px; font-weight: 700; }
body.mumye-landing-product .mumye-bundle-price { color: var(--mumye-forest); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
/* Сохраняем native WooCommerce price для JS-fallback, но убираем дублирование при работающем модуле. */
body.mumye-landing-product.mumye-ui-ready .entry-summary > .price,
body.mumye-landing-product.mumye-ui-ready .summary > .price,
body.mumye-landing-product.mumye-ui-ready .woocommerce-variation-price { display: none !important; }
body.mumye-landing-product .mumye-order-total {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 0;
  margin: 18px 0 10px;
  color: #163c31;
  line-height: 1.2;
}
body.mumye-landing-product .mumye-order-total-label { font-size: 19px; font-weight: 650; }
body.mumye-landing-product .mumye-order-total-value { font-size: clamp(27px,2.2vw,34px); font-weight: 800; font-variant-numeric: tabular-nums; }
body.mumye-landing-product .mumye-order-total-note {
  flex: 1 0 100%;
  color: #728078;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 3px;
}
body.mumye-landing-product .single_variation_wrap .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px;
}
body.mumye-landing-product .single_variation_wrap .quantity { flex: 0 0 auto; }
body.mumye-landing-product .single_variation_wrap .single_add_to_cart_button {
  min-height: 50px;
  flex: 1 1 180px;
  border-radius: 6px;
  background: var(--mumye-forest);
  color: #fff;
  font-weight: 750;
  text-transform: none;
}
body.mumye-landing-product .single_variation_wrap .single_add_to_cart_button:hover { background: var(--mumye-forest-dark); }
body.mumye-landing-product .mumye-trust-row {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 7px;
  margin: 16px 0 24px;
}
body.mumye-landing-product .mumye-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 53px;
  padding: 9px 8px;
  border: 1px solid var(--mumye-line);
  border-radius: 6px;
  color: #41544a;
  background: #fff;
  font-size: 11px;
  line-height: 1.4;
}
body.mumye-landing-product .mumye-trust-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #cadcd2;
  border-radius: 50%;
  color: var(--mumye-forest);
  font-weight: 800;
}
@media (max-width: 1024px) {
  body.mumye-landing-product .mumye-bundle-choice { min-height: 145px; }
  body.mumye-landing-product .mumye-product-benefits { gap: 8px; }
  body.mumye-landing-product .mumye-product-benefit { font-size: 11px; }
}
@media (max-width: 767px) {
  body.mumye-landing-product .mumye-product-benefits { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin-top: 16px; }
  body.mumye-landing-product .mumye-product-benefit { flex-direction: column; align-items: flex-start; gap: 5px; font-size: 11px; }
  body.mumye-landing-product .mumye-product-benefit-icon { flex-basis: 32px; width: 32px; height: 32px; font-size: 17px; }
  body.mumye-landing-product .mumye-bundle-list { gap: 6px; }
  body.mumye-landing-product .mumye-bundle-choice { min-height: 134px; padding: 25px 3px 8px; }
  body.mumye-landing-product .mumye-bundle-price { font-size: 14px; }
  body.mumye-landing-product .mumye-bundle-name { font-size: 12px; }
  body.mumye-landing-product .mumye-trust-row { grid-template-columns: 1fr; }
  body.mumye-landing-product .mumye-trust-item { min-height: 43px; }
}

/* 1.3.1: lower product sections; override legacy lower-v1/v2/v3 styles. */
body.single-product.mumye-landing-product .woocommerce-tabs,
body.single-product.mumye-landing-product .wc-tabs-wrapper {
  margin-top: 32px !important;
  row-gap: 0 !important;
}
body.single-product.mumye-landing-product .woocommerce-tabs .woocommerce-Tabs-panel,
body.single-product.mumye-landing-product .woocommerce-tabs .panel,
body.single-product.mumye-landing-product .wc-tabs-wrapper .panel,
body.single-product.mumye-landing-product #tab-description,
body.single-product.mumye-landing-product #tab-additional_information,
body.single-product.mumye-landing-product #tab-reviews {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  min-height: 0 !important;
}
body.single-product.mumye-landing-product #tab-description p,
body.single-product.mumye-landing-product #tab-description li {
  font-family: var(--theme-font-family, Arial, sans-serif) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
}
body.single-product.mumye-landing-product #tab-description p:last-child { margin-bottom: 0 !important; }
body.single-product.mumye-landing-product #tab-description h2:first-of-type,
body.single-product.mumye-landing-product #tab-additional_information h2:first-of-type,
body.single-product.mumye-landing-product #tab-reviews > h2:first-of-type {
  font-family: var(--theme-font-family, Arial, sans-serif) !important;
  margin-bottom: 18px !important;
}
body.single-product.mumye-landing-product #tab-description h2:first-of-type::after,
body.single-product.mumye-landing-product #tab-additional_information h2:first-of-type::after,
body.single-product.mumye-landing-product #comments > h2:first-of-type::after,
body.single-product.mumye-landing-product #comments .woocommerce-Reviews-title::after {
  font-family: var(--theme-font-family, Arial, sans-serif) !important;
  color: #142921 !important;
  font-size: clamp(25px, 2.2vw, 32px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}
body.single-product.mumye-landing-product #reviews { gap: 28px !important; }
body.single-product.mumye-landing-product #comments,
body.single-product.mumye-landing-product #review_form_wrapper { min-width: 0; }
body.single-product.mumye-landing-product #review_form_wrapper .comment-reply-title {
  font-family: var(--theme-font-family, Arial, sans-serif) !important;
  font-size: 21px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  color: #142921 !important;
}
body.single-product.mumye-landing-product table.woocommerce-product-attributes {
  border-radius: 8px !important;
  border-color: var(--mumye-line) !important;
}
body.single-product.mumye-landing-product table.woocommerce-product-attributes th,
body.single-product.mumye-landing-product table.woocommerce-product-attributes td {
  font-family: var(--theme-font-family, Arial, sans-serif) !important;
  font-size: 16px !important;
  padding: 14px 18px !important;
  line-height: 1.5 !important;
}
body.single-product.mumye-landing-product #review_form,
body.single-product.mumye-landing-product #reviews .woocommerce-noreviews {
  border-radius: 8px !important;
  border-color: var(--mumye-line) !important;
  background: var(--mumye-card) !important;
}
body.single-product.mumye-landing-product #review_form .submit {
  font-family: var(--theme-font-family, Arial, sans-serif) !important;
  border-radius: 6px !important;
}
body.single-product.mumye-landing-product #review_form textarea:focus-visible,
body.single-product.mumye-landing-product #review_form input:focus-visible {
  outline: 2px solid #619b91;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  body.single-product.mumye-landing-product .woocommerce-tabs,
  body.single-product.mumye-landing-product .wc-tabs-wrapper { margin-top: 22px !important; }
  body.single-product.mumye-landing-product .woocommerce-tabs .woocommerce-Tabs-panel,
  body.single-product.mumye-landing-product .woocommerce-tabs .panel,
  body.single-product.mumye-landing-product .wc-tabs-wrapper .panel,
  body.single-product.mumye-landing-product #tab-description,
  body.single-product.mumye-landing-product #tab-additional_information,
  body.single-product.mumye-landing-product #tab-reviews {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
  body.single-product.mumye-landing-product #reviews { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; }
  body.single-product.mumye-landing-product #tab-description p,
  body.single-product.mumye-landing-product #tab-description li { font-size: 17px !important; }
  body.single-product.mumye-landing-product #review_form { padding: 18px !important; }
}
@media (max-width: 689px) {
  body.single-product.mumye-landing-product table.woocommerce-product-attributes th { padding: 12px 14px 4px !important; }
  body.single-product.mumye-landing-product table.woocommerce-product-attributes td { padding: 2px 14px 13px !important; overflow-wrap: anywhere; }
}

/* Delivery information, based on the shop owner's terms. */
body.single-product.mumye-landing-product #tab-mumye_delivery {
  margin: 0 !important; padding: 28px 0 !important; min-height: 0 !important;
}
body.mumye-landing-product .mumye-delivery { font-family: var(--theme-font-family, Arial, sans-serif); color: #3f4b46; }
body.mumye-landing-product .mumye-delivery #mumye-delivery-title {
  margin: 0 0 18px; color: #142921; font-family: inherit;
  font-size: clamp(25px, 2.2vw, 32px); font-weight: 700; line-height: 1.2;
}
body.mumye-landing-product .mumye-delivery p { font-size: 17px; line-height: 1.65; margin: 0 0 14px; }
body.mumye-landing-product .mumye-delivery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 22px 0; }
body.mumye-landing-product .mumye-delivery-card { padding: 24px; background: var(--mumye-card); border: 1px solid var(--mumye-line); border-radius: 8px; }
body.mumye-landing-product .mumye-delivery h3 { margin: 0 0 12px; color: #142921; font-family: inherit; font-size: 21px; font-weight: 700; line-height: 1.3; }
body.mumye-landing-product .mumye-delivery .mumye-delivery-price { color: var(--mumye-forest); font-weight: 700; font-size: 20px; }
body.mumye-landing-product .mumye-delivery-card p:last-child,
body.mumye-landing-product .mumye-delivery-payment p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  body.mumye-landing-product .mumye-delivery-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.mumye-landing-product .mumye-delivery-card { padding: 18px; }
  body.single-product.mumye-landing-product #tab-mumye_delivery { padding: 22px 0 !important; }
}
