.ecohim-product {
  width: 100%;
  max-width: 100%;
  flex: 1 1 100%;
  margin-top: -40px;
  background: #f3f8fb;
  color: #16324a;
  font-family: Inter, Arial, sans-serif;
}
.row > .ecohim-product,
.content-layout-wrapper > .ecohim-product {
  width: 100%;
  max-width: 100%;
  flex: 1 1 100%;
}
.ecohim-product__wrap {
  width: min(var(--wd-container-w, 1222px), calc(100% - 30px));
  margin: 24px auto 64px;
}
.ecohim-product__top {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 36px;
  align-items: start;
}
.ecohim-product__gallery img {
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 24px;
}
.ecohim-product__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.ecohim-product__thumbs button {
  width: 72px;
  height: 72px;
  padding: 6px;
  border: 1px solid #d5e3ea;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.ecohim-product__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ecohim-product h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.15;
  color: #0e4f73;
}
.ecohim-product__sku {
  color: #6d8494;
  margin-bottom: 16px;
}
.ecohim-product__prices {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
}
.ecohim-product__prices b {
  display: block;
  font-size: 28px;
  color: #247a00;
}
.ecohim-product__prices span {
  color: #6d8494;
  font-size: 14px;
}
.ecohim-product__lead {
  font-size: 16px;
  line-height: 1.5;
}
.ecohim-product__actions {
  display: flex;
  gap: 12px;
  margin: 18px 0 22px;
}
.ecohim-product__actions a,
.ecohim-calc__order,
.ecohim-order button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #81d742, #247a00);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.ecohim-product__content {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border-radius: 20px;
}
.ecohim-product__advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.ecohim-product__advantages div {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
}
.ecohim-product__advantages img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.ecohim-specs {
  width: 100%;
  border-collapse: collapse;
}
.ecohim-specs th,
.ecohim-specs td {
  padding: 10px 0;
  border-bottom: 1px solid #e6eef2;
  text-align: left;
  vertical-align: top;
}
.ecohim-specs th {
  width: 46%;
  color: #52697a;
  font-weight: 600;
}
.ecohim-docs {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ecohim-product a:hover,
.ecohim-product a:focus {
  color: #0e4f73 !important;
  background: transparent !important;
}
.ecohim-product__actions a:hover,
.ecohim-product__actions a:focus,
.ecohim-calc__order:hover {
  color: #fff !important;
  background: linear-gradient(90deg, #6fc42e, #1c6400);
}
.ecohim-product__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 8px;
}
.ecohim-product__nav.is-stuck {
  position: fixed;
  z-index: 9990;
  margin: 0;
  padding: 8px 0 10px;
  background: #f3f8fb;
}
.ecohim-product__nav-spot { height: 0; }
#ecohim-specs,
#ecohim-docs,
#ecohim-calc {
  scroll-margin-top: 140px;
}
.ecohim-product__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #0e4f73 !important;
  font-weight: 700;
  text-decoration: none;
}
.ecohim-product__nav a:hover,
.ecohim-product__nav a:focus {
  color: #fff !important;
  background: #247a00 !important;
}
.ecohim-docs a,
.ecohim-calc__info a {
  color: #1f7a12;
}
.ecohim-docs a:hover,
.ecohim-calc__info a:hover {
  color: #0e4f73 !important;
}
.ecohim-calc__row {
  border-radius: 14px;
  transition: background .15s ease;
}
.ecohim-calc__row:hover {
  background: #eef3f6;
}
.ecohim-calc__row.is-in,
.ecohim-calc__row.is-in:hover {
  background: #e5f6d4;
}
.ecohim-calc__photo {
  position: relative;
}
.ecohim-calc__cart {
  display: none;
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #247a00;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(36, 122, 0, 0.35);
}
.ecohim-calc__row.is-in .ecohim-calc__cart {
  display: flex;
}
.ecohim-product__content h2 {
  margin: 0 0 12px;
  color: #0e4f73;
  font-size: 28px;
}
@media (max-width: 800px) {
  .ecohim-product__advantages { grid-template-columns: 1fr 1fr; }
}
.ecohim-calc {
  margin-top: 28px;
}
.ecohim-calc__inner,
.ecohim-product__content {
  box-shadow: 0 10px 30px rgba(22, 50, 74, 0.06);
}
.ecohim-calc__inner {
  padding: 24px;
  background: #fff;
  border-radius: 20px;
}
.ecohim-calc h2,
.ecohim-calc h3 {
  margin: 0 0 14px;
  color: #0e4f73;
}
.ecohim-calc h2 { font-size: 28px; }
.ecohim-calc h3 {
  margin-top: 18px;
  font-size: 18px;
}
.ecohim-calc__row {
  display: grid;
  grid-template-columns: 72px 1fr 132px 140px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid #e6eef2;
  scroll-margin-top: 90px;
}
#ecohim-specs,
#ecohim-docs,
#ecohim-calc {
  scroll-margin-top: 90px;
}
.ecohim-calc__photo {
  width: 72px;
  height: 72px;
  background: #f4f8fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ecohim-calc__photo img {
  max-width: 64px;
  max-height: 64px;
}
.ecohim-calc__info a,
.ecohim-calc__info strong {
  color: #0e4f73;
  font-weight: 700;
  text-decoration: none;
}
.ecohim-calc__info p {
  margin: 4px 0 0;
  color: #52697a;
  font-size: 13px;
  line-height: 1.35;
}
.ecohim-calc .ecohim-calc__qty {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 4px !important;
  background: #fff !important;
  border: 1px solid #d5e8cc !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  float: none !important;
}
.ecohim-calc .ecohim-calc__qty button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #e7f6dc !important;
  color: #1f7a12 !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}
.ecohim-calc .ecohim-calc__qty button:hover {
  background: #247a00 !important;
  color: #fff !important;
}
.ecohim-calc .ecohim-calc__qty input[type="number"] {
  width: 44px !important;
  height: 36px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #16324a !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: center !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}
.ecohim-calc .ecohim-calc__qty input::-webkit-outer-spin-button,
.ecohim-calc .ecohim-calc__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.ecohim-calc .ecohim-calc__order,
.ecohim-minicart .ecohim-minicart__order,
.ecohim-order button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  height: auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #81d742, #247a00) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
}
.ecohim-calc .ecohim-calc__order:hover,
.ecohim-minicart .ecohim-minicart__order:hover,
.ecohim-order button[type="submit"]:hover {
  color: #fff !important;
  background: linear-gradient(90deg, #6fc42e, #1c6400) !important;
}
.ecohim-calc__extra input,
.ecohim-order input {
  width: 56px;
  height: 36px;
  border: 1px solid #d5e1e8;
  border-radius: 10px;
  text-align: center;
}
.ecohim-calc__sum {
  text-align: right;
}
.ecohim-calc__sum b { display: block; }
.ecohim-calc__sum span { color: #6d8494; font-size: 12px; }
.ecohim-calc__extra {
  margin-top: 16px;
}
.ecohim-calc__extra input {
  width: 140px;
  margin-left: 8px;
  text-align: left;
  padding: 0 10px;
}
.ecohim-calc__totals {
  margin-top: 16px;
  padding: 14px 16px;
  background: #f4faf0;
  border-radius: 16px;
}
.ecohim-calc__totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}
.ecohim-calc__totals .is-grand {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #d7ebc8;
  font-size: 20px;
}
.ecohim-calc__note {
  color: #6d8494;
  font-size: 13px;
}
.ecohim-order[hidden] { display: none; }
.ecohim-order {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(14, 40, 58, 0.45);
}
.ecohim-order__card {
  width: min(560px, 100%);
  padding: 28px 28px 22px;
  background: #fff;
  border-radius: 28px;
  position: relative;
}
.ecohim-order__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}
.ecohim-order h3 {
  margin: 0 0 18px;
  text-align: center;
  color: #0e4f73;
  font-size: 32px;
}
.ecohim-order input {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0 0 12px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #f3f5f7;
  text-align: left;
}
.ecohim-order__submit {
  display: flex;
  gap: 14px;
  align-items: center;
}
.ecohim-order__submit p {
  margin: 0;
  color: #7d8b96;
  font-size: 13px;
}
.ecohim-order__status { min-height: 1.2em; }
@media (max-width: 800px) {
  .ecohim-product__top,
  .ecohim-calc__row,
  .ecohim-order__submit {
    grid-template-columns: 1fr;
    display: grid;
  }
  .ecohim-calc__sum,
  .ecohim-calc__qty { justify-content: flex-start; text-align: left; }
  .ecohim-product h1 { font-size: 28px; }
}

body.ecohim-has-cart {
  padding-bottom: 112px;
}
.ecohim-minicart {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(var(--wd-container-w, 1222px), calc(100% - 24px));
  max-width: var(--wd-container-w, 1222px);
  padding: 12px 16px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 28px rgba(14, 40, 58, 0.16);
}
.ecohim-minicart[hidden] { display: none; }
.ecohim-minicart__viewport {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.ecohim-minicart__viewport::-webkit-scrollbar { display: none; }
.ecohim-minicart__track { display: flex; gap: 14px; }
.ecohim-minicart__item {
  display: flex;
  flex: 0 0 280px;
  min-width: 280px;
}
.ecohim-minicart__item a,
.ecohim-minicart__link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0e4f73 !important;
  text-decoration: none !important;
  background: transparent !important;
}
.ecohim-minicart__item a:hover,
.ecohim-minicart__item a:hover strong {
  color: #247a00 !important;
  background: transparent !important;
}
.ecohim-minicart__item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #f4f8fa;
  border-radius: 12px;
}
.ecohim-minicart__item strong {
  display: block;
  color: #0e4f73;
  font-size: 14px;
  line-height: 1.25;
}
.ecohim-minicart__item span { color: #52697a; font-size: 13px; }
.ecohim-minicart .ecohim-minicart__arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, #8ed84a, #2c8608) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(36, 122, 0, 0.28) !important;
  cursor: pointer !important;
  line-height: 0 !important;
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  overflow: visible !important;
}
.ecohim-minicart .ecohim-minicart__arrow svg {
  display: block;
  width: 18px;
  height: 18px;
}
.ecohim-minicart .ecohim-minicart__arrow:hover {
  background: linear-gradient(180deg, #6fc42e, #1c6400) !important;
  color: #fff !important;
}
.ecohim-minicart .ecohim-minicart__arrow[hidden] { display: none !important; }
.ecohim-minicart__side {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.ecohim-minicart__side b { color: #16324a; font-size: 18px; white-space: nowrap; }
.ecohim-minicart__order {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #81d742, #247a00);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 700px) {
  .ecohim-minicart { flex-wrap: wrap; }
  .ecohim-minicart__side { width: 100%; justify-content: space-between; }
}
