.flare-button {
  position: relative; overflow: hidden;
  -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);
}
.flare-button:before {
  content: ""; background-color: rgba(255,255,255,0.5);
  height: 100%; width: 3em; display: block; position: absolute;
  opacity: 1; top: 0; left: -4.5em;
  -webkit-transform: skewX(-45deg) translateX(0); transform: skewX(-45deg) translateX(0);
  -webkit-transition: none; transition: none;
  animation: moving 3s ease-in-out infinite;
}
@keyframes moving {
  30%  { transform: skewX(-45deg) translateX(33.5em); }
  100% { transform: skewX(-45deg) translateX(33.5em); }
}
/* ═══════════════ 1. ШАПКА + МЕГАМЕНЮ ═══════════════ */
.nb-header * { box-sizing: border-box; }
.nb-header { position: relative; }
.nb-mega-bar { display: none; }

.nb-hdr {
  background: #1d1f2a; height: 72px; display: flex; align-items: center;
  padding: 0 28px; gap: 24px; position: relative;
}
.nb-hdr::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #ff6600, rgba(255,102,0,0) 40%);
}

.nb-logo { flex: 0 0 auto; text-decoration: none !important; display: flex; flex-direction: column; gap: 0; }
.nb-logo-row { display: flex; align-items: baseline; }
.nb-logo-main, .nb-logo-shop { font-family: 'Russo One', sans-serif; font-size: 21px; letter-spacing: 0.02em; line-height: 1; }
.nb-logo-main { color: #fff; }
.nb-logo-shop { color: #ff6600; }
.nb-logo-sub { font-family: 'Play', sans-serif; font-size: 8.5px; font-weight: 700; color: #7b818a; letter-spacing: 0.18em; text-transform: uppercase; margin-top: -2px; }

.nb-menu-wrap { flex: 0 0 auto; }
.nb-menu-btn {
  display: flex; align-items: center; gap: 10px; background: #ff6600; color: #fff;
  height: 44px; padding: 0 20px; border: none; border-radius: 8px;
  font-family: 'Play', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase; cursor: pointer; transition: background .15s;
}
.nb-menu-btn:hover { background: #e65c00; }
.nb-menu-icon { display: flex; flex-direction: column; gap: 3px; width: 16px; }
.nb-menu-icon span { width: 100%; height: 2px; background: #fff; border-radius: 2px; display: block; transition: .2s; }
.nb-open .nb-menu-icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nb-open .nb-menu-icon span:nth-child(2) { opacity: 0; }
.nb-open .nb-menu-icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nb-search { flex: 1; min-width: 0; }
.nb-search .aws-container, .nb-search .aws-wrapper { width: 100% !important; }
.nb-search .aws-search-form {
  display: flex !important; align-items: center !important;
  background: #2a2e40 !important; border: 1px solid #3a3f55 !important;
  border-radius: 8px !important; overflow: hidden !important;
  width: 100% !important; height: 44px !important; transition: border-color .15s !important;
}
.nb-search .aws-search-form:focus-within { border-color: #ff6600 !important; }
.nb-search .aws-search-field {
  flex: 1 !important; background: transparent !important; border: none !important;
  outline: none !important; box-shadow: none !important; padding: 0 16px !important;
  height: 44px !important; font-family: 'Play', sans-serif !important; font-size: 14px !important;
  color: #e5e7eb !important; line-height: 44px !important;
}
.nb-search .aws-search-field::placeholder { color: #9ca3af !important; }
.nb-search .aws-search-btn, .nb-search .aws-search-submit, .nb-search button[type="submit"] {
  width: 48px !important; min-width: 48px !important; height: 44px !important;
  background: #ff6600 !important; border: none !important; border-radius: 0 !important;
  cursor: pointer !important; display: flex !important; align-items: center !important;
  justify-content: center !important; padding: 0 !important; flex-shrink: 0 !important; transition: background .15s !important;
}
.nb-search .aws-search-btn:hover, .nb-search .aws-search-submit:hover { background: #e65c00 !important; }
.nb-search .aws-search-btn svg, .nb-search .aws-search-btn::before,
.nb-search .aws-search-submit svg, .nb-search .aws-search-submit::before {
  color: #fff !important; fill: #fff !important; font-size: 17px !important;
}
.nb-search .aws_results, .nb-search .aws-results {
  background: #2a2e40 !important; border: 1px solid #3a3f55 !important;
  border-top: 2px solid #ff6600 !important; border-radius: 0 0 8px 8px !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.6) !important;
}
.nb-search .aws_result_item a, .nb-search .aws-result-item a {
  color: #e5e7eb !important; font-family: 'Play', sans-serif !important; font-size: 13px !important;
}
.nb-search .aws_result_item:hover, .nb-search .aws-result-item:hover { background: rgba(255,102,0,0.08) !important; }

.nb-phone { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 0; text-decoration: none !important; }
.nb-phone-num { font-family: 'Russo One', sans-serif; font-size: 18px; color: #fff !important; line-height: 1; text-decoration: none !important; transition: color .15s; }
.nb-phone:hover .nb-phone-num { color: #ff6600 !important; }
.nb-phone-sub { font-family: 'Play', sans-serif; font-size: 10px; color: #9ca3af; letter-spacing: 0.02em; text-decoration: none !important; margin-top: -2px; }

.nb-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.08); flex: 0 0 auto; }
.nb-cart {
  flex: 0 0 auto; position: relative; width: 44px; height: 44px;
  background: #2a2e40; border: 1px solid #3a3f55; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none !important; transition: border-color .15s;
}
.nb-cart:hover { border-color: #4a5070; }
.nb-cart svg { width: 21px; height: 21px; stroke: #d1d5db; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nb-cart-badge {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px;
  background: #ff6600; border-radius: 10px; font-family: 'Play', sans-serif;
  font-size: 11px; font-weight: 700; color: #fff; display: flex;
  align-items: center; justify-content: center; padding: 0 5px; line-height: 1;
}
.nb-cart-badge:empty { display: none; }

.nb-mega {
  position: absolute; top: 100%; left: 0; right: 0; width: 100%;
  background: #ffffff; border: 1px solid #e2e5e9; border-top: 3px solid #ff6600;
  border-radius: 0 0 12px 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 9999; display: none; overflow: hidden;
}
.nb-open .nb-mega { display: block; }
.nb-mega-links { display: flex; border-bottom: 1px solid #eef1f4; padding: 0 12px; flex-wrap: wrap; }
.nb-mega-links a {
  font-family: 'Play', sans-serif; font-size: 15px; font-weight: 700;
  color: #1a1c26 !important; padding: 15px 18px; text-decoration: none !important;
  transition: color .12s; white-space: nowrap;
}
.nb-mega-links a:hover { color: #ff6600 !important; }
.nb-mega-links a.is-catalog { color: #ff6600 !important; }
.nb-mega-body { display: flex; min-height: 420px; max-height: 70vh; }
.nb-mega-cats { width: 360px; flex-shrink: 0; background: #f7f9fb; border-right: 1px solid #eef1f4; padding: 8px 0; overflow-y: auto; }
.nb-mega-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: 'Play', sans-serif; font-size: 15px; font-weight: 700; color: #1a1c26;
  padding: 14px 22px; cursor: pointer; border-left: 3px solid transparent;
  transition: background .1s, color .1s, border-color .1s;
}
.nb-mega-cat:hover, .nb-mega-cat.active { background: #ffffff; color: #ff6600; border-left-color: #ff6600; }
.nb-mega-cat .arr { width: 7px; height: 7px; flex-shrink: 0; border-right: 2px solid #c5cad1; border-bottom: 2px solid #c5cad1; transform: rotate(-45deg); }
.nb-mega-cat:hover .arr, .nb-mega-cat.active .arr { border-color: #ff6600; }
.nb-mega-subs { flex: 1; position: relative; overflow-y: auto; }
.nb-mega-panel { display: none; padding: 26px 32px; }
.nb-mega-panel.active { display: block; }
.nb-mega-title { display: inline-block; font-family: 'Play', sans-serif; font-size: 17px; font-weight: 700; color: #ff6600 !important; text-decoration: none !important; margin-bottom: 18px; }
.nb-mega-title:hover { text-decoration: underline !important; }
.nb-mega-cols { columns: 2; column-gap: 36px; }
.nb-mega-cols a {
  display: block; break-inside: avoid; font-family: 'Play', sans-serif;
  font-size: 14.5px; font-weight: 500; color: #2b3138 !important; padding: 9px 0;
  text-decoration: none !important; line-height: 1.35; transition: color .1s;
}
.nb-mega-cols a:hover { color: #ff6600 !important; }
.nb-mega-cols .nb-cc { color: #9ca3af; font-size: 11px; }
.nb-mega-empty { font-family: 'Play', sans-serif; font-size: 14px; color: #9ca3af; padding: 8px 0; }
.nb-mega-cats::-webkit-scrollbar, .nb-mega-subs::-webkit-scrollbar { width: 8px; }
.nb-mega-cats::-webkit-scrollbar-thumb, .nb-mega-subs::-webkit-scrollbar-thumb { background: #d4d9df; border-radius: 4px; }

@media (max-width: 1100px) {
  .nb-logo-sub { display: none; }
  .nb-menu-btn { padding: 0 14px; }
}
@media (max-width: 900px) {
  .nb-hdr { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 12px; row-gap: 12px; }
  .nb-logo { order: 1; flex: 1 1 auto; }
  .nb-menu-wrap { order: 2; }
  .nb-cart { order: 3; }
  .nb-phone { display: none; }
  .nb-divider { display: none; }
  .nb-search { order: 4; flex: 1 1 100%; }
  .nb-menu-btn { height: 42px; padding: 0 16px; }
  .nb-mega {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%;
    max-height: 100%; border: none; border-radius: 0; box-shadow: none;
    overflow-y: auto; -webkit-overflow-scrolling: touch; z-index: 100000;
  }
  .nb-mega-bar {
    display: flex !important; align-items: center; justify-content: space-between;
    height: 56px; padding: 0 16px 0 20px; border-bottom: 1px solid #eef1f4;
    position: sticky; top: 0; background: #fff; z-index: 5;
  }
  .nb-mega-bar-title { font-family: 'Play', sans-serif; font-size: 16px; font-weight: 700; color: #1a1c26; }
  .nb-mega-close {
    width: 40px; height: 40px; border: none; background: #f2f6fa; border-radius: 8px;
    font-size: 26px; color: #1a1c26; cursor: pointer; display: flex;
    align-items: center; justify-content: center; line-height: 1; flex-shrink: 0;
  }
  .nb-mega-close:active { background: #e6ebf0; }
  .nb-mega-links { flex-direction: column; padding: 8px 0; border-bottom: 1px solid #eef1f4; }
  .nb-mega-links a { padding: 14px 20px; font-size: 15px; border-bottom: 1px solid #f4f6f8; }
  .nb-mega-body { flex-direction: column; min-height: auto; max-height: none; }
  .nb-mega-cats { width: 100%; border-right: none; background: #fff; padding: 0; overflow: visible; }
  .nb-mega-cat { font-size: 15px; padding: 16px 20px; border-bottom: 1px solid #f4f6f8; border-left: none; }
  .nb-mega-cat.active { background: #f7f9fb; border-left: none; }
  .nb-mega-cat .arr { transition: transform .2s; }
  .nb-mega-cat.mob-open .arr { transform: rotate(-135deg); margin-top: 4px; }
  .nb-mega-subs { overflow: visible; order: unset; }
  .nb-mega-panel { display: none !important; padding: 0; background: #f7f9fb; border-bottom: 1px solid #eef1f4; }
  .nb-mega-panel.mob-show { display: block !important; padding: 12px 20px 18px; }
  .nb-mega-title { font-size: 14px; margin-bottom: 12px; }
  .nb-mega-cols { columns: 1; }
  .nb-mega-cols a { font-size: 14px; padding: 8px 0; }
}
@media (max-width: 480px) {
  .nb-logo-main, .nb-logo-shop { font-size: 18px; }
  .nb-menu-btn span:not(.nb-menu-icon):not(.nb-menu-icon span) { display: inline; }
}
/* ═══════════════ 2. ПОДВАЛ ═══════════════ */
.nb-footer * { box-sizing: border-box; }
.nb-footer { background: #1d1f2a; position: relative; }
.nb-footer::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, #ff6600, rgba(255,102,0,0) 45%);
}
.nb-foot-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 40px 44px 34px; max-width: 1320px; margin: 0 auto;
}
.nb-foot-logo { display: flex; align-items: baseline; margin-bottom: 14px; text-decoration: none !important; }
.nb-foot-logo .m { font-family: 'Russo One', sans-serif; font-size: 22px; color: #fff; letter-spacing: 0.02em; }
.nb-foot-logo .s { font-family: 'Russo One', sans-serif; font-size: 22px; color: #ff6600; letter-spacing: 0.02em; }
.nb-foot-desc { font-family: 'Play', sans-serif; font-size: 13px; color: #b3b9c0; line-height: 1.55; margin-bottom: 18px; max-width: 320px; }
.nb-foot-phone { font-family: 'Russo One', sans-serif; font-size: 18px; color: #fff !important; text-decoration: none !important; display: inline-block; margin-bottom: 2px; transition: color .15s; }
.nb-foot-phone:hover { color: #ff6600 !important; }
.nb-foot-phone-sub { font-family: 'Play', sans-serif; font-size: 11px; color: #7b818a; display: block; }
.nb-foot-h {
  font-family: 'Play', sans-serif; font-size: 14px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px;
  position: relative; padding-bottom: 9px;
}
.nb-foot-h::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: #ff6600; }
.nb-foot-main ul { list-style: none; margin: 0; padding: 0; }
.nb-foot-main .nb-foot-links li, .nb-foot-main .menu li { margin-bottom: 7px; }
.nb-foot-main .nb-foot-links a, .nb-foot-main .menu a {
  font-family: 'Play', sans-serif; font-size: 13px; color: #c4cad2 !important;
  text-decoration: none !important; transition: color .12s; line-height: 1.35;
}
.nb-foot-main .nb-foot-links a:hover, .nb-foot-main .menu a:hover { color: #ff6600 !important; }
.nb-foot-contact { list-style: none; margin: 0; padding: 0; }
.nb-foot-contact li {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 11px;
  font-family: 'Play', sans-serif; font-size: 13px; color: #c4cad2; line-height: 1.4;
}
.nb-foot-contact svg { width: 16px; height: 16px; stroke: #ff6600; fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 1px; }
.nb-foot-contact a { color: #c4cad2 !important; text-decoration: none !important; }
.nb-foot-contact a:hover { color: #ff6600 !important; }
.nb-foot-disclaimer {
  border-top: 1px solid #1a1c26; padding: 18px 44px; max-width: 1320px; margin: 0 auto;
  font-family: 'Play', sans-serif; font-size: 11px; line-height: 1.7; color: #8b919a;
}
.nb-foot-disclaimer-copy { display: inline-block; margin-top: 8px; color: #9ca3af; }
.nb-foot-bottom {
  border-top: 1px solid #1a1c26; padding: 20px 44px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap; max-width: 1320px; margin: 0 auto;
}
.nb-foot-copy { font-family: 'Play', sans-serif; font-size: 12px; color: #6b7280; line-height: 1.7; }
.nb-foot-req { color: #4b5563; font-size: 11px; }
.nb-foot-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.nb-foot-legal a { font-family: 'Play', sans-serif; font-size: 12px; color: #6b7280 !important; text-decoration: none !important; transition: color .12s; }
.nb-foot-legal a:hover { color: #ff6600 !important; }

@media (max-width: 980px) {
  .nb-foot-main { grid-template-columns: 1fr 1fr; gap: 28px 32px; padding: 36px 24px 28px; }
  .nb-foot-brand { grid-column: 1 / -1; }
  .nb-foot-desc { max-width: 100%; }
  .nb-foot-disclaimer { padding: 18px 24px; }
  .nb-foot-bottom { padding: 18px 24px; }
}
@media (max-width: 600px) {
  .nb-foot-main { grid-template-columns: 1fr; gap: 26px; padding: 30px 20px 24px; text-align: left; }
  .nb-foot-brand { grid-column: auto; }
  .nb-foot-logo .m, .nb-foot-logo .s { font-size: 20px; }
  .nb-foot-phone { font-size: 19px; }
  .nb-foot-h { margin-bottom: 14px; }
  .nb-foot-disclaimer { padding: 16px 20px; font-size: 10.5px; line-height: 1.65; }
  .nb-foot-bottom { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 20px; }
  .nb-foot-legal { flex-direction: column; gap: 10px; }
  .nb-foot-copy { font-size: 11px; }
}
@media (max-width: 380px) {
  .nb-foot-contact li { font-size: 12.5px; }
  .nb-foot-disclaimer { font-size: 10px; }
}
/* ═══════════════════════════════════════════════════════════════════════
   4. КАРТОЧКИ ТОВАРОВ WooCommerce (единый блок, без дублей)
   Покрывает: обычный архив, модуль Divi Shop (.et_pb_shop),
   любые columns-N. Перебой #et-boc для Divi Shop.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 4.1 СЕТКА (любой контейнер товаров → grid) ── */
.woocommerce ul.products,
ul.products,
.woocommerce ul.products[class*="columns-"],
ul.products[class*="columns-"],
.et-db #et-boc .et-l .et_pb_shop ul.products[class*="columns-"] {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
ul.products[class*="columns-"]::before, ul.products[class*="columns-"]::after {
  content: none !important; display: none !important;
}

/* ── 4.2 КАРТОЧКА (flex-колонка, убираем float/width Divi) ── */
.woocommerce ul.products li.product,
ul.products li.product,
.et-db #et-boc .et-l .et_pb_shop ul.products[class*="columns-"] li.product {
  width: auto !important;
  margin: 0 !important;
  margin-right: 0 !important;
  padding: 0 0 16px !important;
  float: none !important;
  clear: none !important;
  background: #fff !important;
  border: 1px solid #eef1f4 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
}
.woocommerce ul.products li.product:hover {
  border-color: #ff6600 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

/* ── 4.3 ССЫЛКА-ОБЁРТКА (фото+название+цена) тянется → выравнивание высоты ── */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 0 auto !important;
  text-decoration: none !important;
  text-align: left !important;
}

/* ── 4.4 ФОТО ── */
.woocommerce ul.products li.product .et_shop_image {
  margin: 0 0 12px !important;
  background: #fff !important;
  border-radius: 0 !important;
  flex: 0 0 auto !important;
  text-align: center !important;
}
.woocommerce ul.products li.product .et_shop_image img {
  padding: 12px 16px !important;
  aspect-ratio: 1/1 !important;
  object-fit: contain !important;
  background: #fff !important;
}
.woocommerce ul.products li.product .et_overlay { display: none !important; }

/* ── 4.5 НАЗВАНИЕ ── */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Play', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1a1c26 !important;
  line-height: 1.35 !important;
  padding: 0 16px !important;
  margin: 0 0 12px !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  text-align: left !important;
  position: static !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  display: block !important;
}

/* ── 4.6 ЦЕНА (одно правило! влево, прижата к низу, без чёрной плашки) ──
   Отступ 16px задаём ТОЛЬКО на внешнем элементе цены.
   Случай А: .price напрямую в ссылке. Случай Б: .price внутри .premmerce. */
.woocommerce ul.products li.product .price,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product .price {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #1a1c26 !important;
  font-family: 'Russo One', sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  text-align: left !important;
  position: static !important;
  display: block !important;
}
/* распор вверх (к низу ссылки) — на внешнем элементе цены.
   padding-top: 8px даёт гарантированный зазор от названия даже когда
   margin-top:auto схлопывается в 0 (длинное название) — нет наложения. */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link > .price,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link > .premmerce-multicurrency-data,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product a.woocommerce-LoopProduct-link > .price,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product a.woocommerce-LoopProduct-link > .premmerce-multicurrency-data {
  margin-top: auto !important;
  margin-bottom: 12px !important;
  padding: 8px 16px 0 !important;
  text-align: left !important;
}
/* внутренняя .price (если обёрнута в premmerce) — без своего отступа, чтобы не было двойного */
.woocommerce ul.products li.product .premmerce-multicurrency-data .price,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product .premmerce-multicurrency-data .price {
  padding: 0 !important;
  margin: 0 !important;
}
/* убираем фон/псевдоэлементы на всех потомках цены */
.woocommerce ul.products li.product .price *,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product .price * {
  background: none !important;
  background-color: transparent !important;
  color: #1a1c26 !important;
  box-shadow: none !important;
}
.woocommerce ul.products li.product .price::before,
.woocommerce ul.products li.product .price::after,
.woocommerce ul.products li.product .price *::before,
.woocommerce ul.products li.product .price *::after {
  content: none !important; display: none !important; background: none !important;
}
.woocommerce ul.products li.product .price del { color: #9ca3af !important; font-size: 14px !important; }
.woocommerce ul.products li.product .price ins { text-decoration: none !important; }
/* обёртка premmerce — в поток */
.premmerce-multicurrency-data { position: static !important; background: none !important; box-shadow: none !important; border: 0 !important; }

/* ── 4.7 РАССРОЧКА Т-БАНК (хук) ── */
.woocommerce ul.products li.product .nb-tbank,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product .nb-tbank {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  padding: 0 16px !important;
  margin: 0 0 14px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  position: static !important;
  text-align: left !important;
}
.nb-tbank-badge {
  flex-shrink: 0 !important; background: #ffdd2d !important; color: #000 !important;
  font-family: 'Play', sans-serif !important; font-size: 12px !important; font-weight: 700 !important;
  padding: 3px 8px !important; border-radius: 5px !important; line-height: 1.3 !important;
}
.nb-tbank-line {
  font-family: 'Play', sans-serif !important; font-size: 12.5px !important; color: #8b909a !important;
  overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important;
}
.nb-tbank-line b { color: #1a1c26 !important; font-weight: 700 !important; }

/* ── 4.8 КНОПКА "В корзину" ── */
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.button.add_to_cart_button,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product a.add_to_cart_button {
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
  display: block !important;
  width: auto !important;
  margin: 0 16px 8px !important;
  padding: 12px !important;
  background: #ff6600 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-align: center !important;
  text-transform: none !important;
  font-family: 'Play', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
}
.woocommerce ul.products li.product a.add_to_cart_button:hover { background: #e65c00 !important; }
.woocommerce ul.products li.product a.added_to_cart {
  display: block !important; margin: 0 16px 8px !important; text-align: center !important;
  color: #ff6600 !important; font-weight: 700 !important;
}

/* ── 4.9 КНОПКА "Заказ в 1 клик" (.clickBuyButtonCustom) тёмная ── */
.woocommerce ul.products li.product .clickBuyButtonCustom,
.clickBuyButtonCustom.button21,
a.clickBuyButtonCustom,
.et-db #et-boc .et-l .et_pb_shop ul.products li.product .clickBuyButtonCustom {
  position: static !important;
  display: block !important;
  width: auto !important;
  margin: 0 16px !important;
  padding: 12px !important;
  background: #2a2e40 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-align: center !important;
  text-transform: none !important;
  font-family: 'Play', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
}
.woocommerce ul.products li.product .clickBuyButtonCustom:hover,
a.clickBuyButtonCustom:hover { background: #ff6600 !important; }
.clickBuyButtonCustom.ld-ext-left::before,
.clickBuyButtonCustom.ld-ext-left::after { content: none !important; display: none !important; }

/* ── 4.10 АДАПТИВ СЕТКИ (перебиваем медиазапрос Divi 980px через #et-boc) ── */
@media (max-width: 1024px) {
  .woocommerce ul.products, ul.products,
  ul.products[class*="columns-"],
  .et-db #et-boc .et-l .et_pb_shop ul.products[class*="columns-"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .woocommerce ul.products, ul.products,
  ul.products[class*="columns-"],
  .et-db #et-boc .et-l .et_pb_shop ul.products[class*="columns-"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   5. ФОРМА "Заказ в 1 клик" (Buy One Click — northmule)
   Классы: .popup (окно), .buyvalide.input-text (поля), .close_order (крестик)
   ═══════════════════════════════════════════════════════════════════════ */

.popup {
  border-radius: 16px !important;
  border-top: 4px solid #ff6600 !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.35) !important;
  padding: 28px !important;
  font-family: 'Play', sans-serif !important;
}
.popup h1, .popup h2, .popup h3, .popup .popup-title {
  font-family: 'Russo One', sans-serif !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  color: #1a1c26 !important;
  text-decoration: none !important;
  border: 0 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}
.popup .buyvalide,
.popup .input-text,
.popup input[type="text"],
.popup input[type="tel"],
.popup input[type="email"],
.popup textarea {
  width: 100% !important;
  background: #f7f9fb !important;
  border: 1px solid #e2e5e9 !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-family: 'Play', sans-serif !important;
  font-size: 14px !important;
  color: #1a1c26 !important;
  margin-bottom: 14px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
.popup .buyvalide:focus, .popup .input-text:focus, .popup input:focus, .popup textarea:focus {
  border-color: #ff6600 !important; outline: none !important;
}
.popup textarea { min-height: 90px !important; resize: vertical !important; }
.popup input::placeholder, .popup textarea::placeholder { color: #9ca3af !important; }

/* кнопка отправки (исключаем крестик .close_order) */
.popup button:not(.close_order),
.popup input[type="submit"],
.popup .button:not(.close_order),
.popup [type="submit"] {
  width: 100% !important;
  background: #ff6600 !important;
  background-image: none !important;
  color: #fff !important;
  font-family: 'Play', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  cursor: pointer !important;
  margin: 6px 0 0 !important;
}
.popup button:not(.close_order):hover,
.popup input[type="submit"]:hover,
.popup .button:not(.close_order):hover { background: #e65c00 !important; }

.popup label, .popup .checkbox-label, .popup small {
  font-family: 'Play', sans-serif !important; font-size: 13px !important;
  color: #6b7280 !important; line-height: 1.5 !important;
}
.popup input[type="checkbox"] {
  width: auto !important; margin: 0 8px 0 0 !important;
  accent-color: #ff6600 !important; vertical-align: middle !important;
}
.popup .form-message-result {
  font-family: 'Play', sans-serif !important; font-size: 14px !important;
  color: #1a1c26 !important; text-align: center !important;
}

/* крестик закрытия (.close_order) — компактный в углу, макс. специфичность */
html body .popup .close_order,
html body .popup .close_order.button,
.popup .close_order.button.button {
  position: absolute !important;
  top: 12px !important; right: 12px !important; left: auto !important;
  width: 34px !important; max-width: 34px !important; min-width: 0 !important;
  height: 34px !important; max-height: 34px !important;
  padding: 0 !important; margin: 0 !important;
  background: #f2f4f7 !important; background-color: #f2f4f7 !important; background-image: none !important;
  color: #6b7280 !important;
  border: 0 !important; border-radius: 8px !important;
  box-shadow: none !important; text-shadow: none !important;
  font-size: 16px !important; line-height: 34px !important; text-align: center !important;
  cursor: pointer !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  text-transform: none !important; font-weight: 400 !important; z-index: 10 !important;
}
html body .popup .close_order:hover, html body .popup .close_order.button:hover {
  background: #e8443c !important; background-color: #e8443c !important; color: #fff !important;
}
html body .popup .close_order::before, html body .popup .close_order::after {
  content: none !important; display: none !important; background: none !important;
}



/* ── 4.11 МОБИЛЬНЫЙ: цена мельче + отступ от названия (без наложения) ── */
@media (max-width: 768px) {
  /* название — гарантированный отступ снизу, чтобы не слипалось с ценой */
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .et-db #et-boc .et-l .et_pb_shop ul.products li.product .woocommerce-loop-product__title {
    margin-bottom: 14px !important;
    padding-bottom: 0 !important;
  }
  /* цена — мельче для узкой колонки */
  .woocommerce ul.products li.product .price,
  .et-db #et-boc .et-l .et_pb_shop ul.products li.product .price {
    font-size: 16px !important;
  }
  /* рассрочка Т-Банк — мельче + без обрезания, чтобы вся строка влезла */
  .woocommerce ul.products li.product .nb-tbank,
  .et-db #et-boc .et-l .et_pb_shop ul.products li.product .nb-tbank {
    gap: 5px !important;
    padding: 0 10px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
  .woocommerce ul.products li.product .nb-tbank-badge {
    font-size: 10px !important; padding: 2px 6px !important;
  }
  .woocommerce ul.products li.product .nb-tbank-line {
    font-size: 10.5px !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
  /* padding-top на ЦЕНЕ даёт гарантированный зазор от названия
     (padding не сбивается margin-top:auto, поэтому наложения не будет) */
  .woocommerce ul.products li.product a.woocommerce-LoopProduct-link > .price,
  .woocommerce ul.products li.product a.woocommerce-LoopProduct-link > .premmerce-multicurrency-data,
  .et-db #et-boc .et-l .et_pb_shop ul.products li.product a.woocommerce-LoopProduct-link > .price,
  .et-db #et-boc .et-l .et_pb_shop ul.products li.product a.woocommerce-LoopProduct-link > .premmerce-multicurrency-data {
    padding-top: 8px !important;
    margin-bottom: 12px !important;
  }
}
/* ═══════════════════════════════════════════════════════════════════════
   NORDBERG-SHOP — СТРАНИЦА ТОВАРА в стиле simseat
   Divi → Theme Options → Custom CSS (добавить в конец)
   Классы сняты с реальной страницы товара.
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════ 1. ЦЕНА — убрать чёрную плашку, сделать текстом ═══════════ */
.et_pb_wc_price,
.et_pb_wc_price .et_pb_module_inner,
.et_pb_wc_price p.price,
.et_pb_wc_price p.price * {
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.et_pb_wc_price p.price {
  font-family: 'Russo One', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #1a1c26 !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
}
.et_pb_wc_price p.price * { color: #1a1c26 !important; }
.et_pb_wc_price p.price del { color: #9ca3af !important; font-size: 20px !important; }
.et_pb_wc_price p.price ins { text-decoration: none !important; }
/* выравнивание блока цены влево (был center) */
.et_pb_wc_price.et_pb_text_align_center { text-align: left !important; }

/* ═══════════ 2. КНОПКИ "В корзину" и "Заказ в 1 клик" — синяя заливка ═══════════ */
.summary .single_add_to_cart_button,
.single_add_to_cart_button.button.alt,
.single_add_to_cart_button.clickBuyButton,
button.single_add_to_cart_button {
  background: #ff6600 !important;
  background-color: #ff6600 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: 'Russo One', sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  padding: 16px 20px !important;
  width: 100% !important;
  transition: background .15s !important;
}
.summary .single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover {
  background: #e65c00 !important;
  background-color: #e65c00 !important;
}
/* текст кнопок белый — включая span внутри (тема красит span в #ff6600) */
.single_add_to_cart_button span,
.single_add_to_cart_button.button.alt span,
.summary .single_add_to_cart_button span { color: #fff !important; }
/* убрать анимацию загрузки ld-ext-left */
.single_add_to_cart_button.ld-ext-left::before,
.single_add_to_cart_button.ld-ext-left::after { content: none !important; display: none !important; }

/* ═══════════ 3. ДОЛЯМИ — белая кнопка с рамкой (как simseat) ═══════════ */
.digi-dolyame-product {
  background: #fff !important;
  border: 1px solid #e2e5e9 !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  color: #1a1c26 !important;
  transition: border-color .15s !important;
}
.digi-dolyame-product:hover { border-color: #ff6600 !important; }
.digi-dolyame-product__content { color: #1a1c26 !important; font-family: 'Play', sans-serif !important; }

/* ═══════════ 4. КРЕДИТ / РАССРОЧКА (Tinkoff) — жёлтая заливка ═══════════ */
#tinkoff tinkoff-create-button,
tinkoff-create-button.button21 {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  margin: 0 0 10px !important;
}
/* контейнер с отступами между кнопками */
#tinkoff { display: flex !important; flex-direction: column !important; gap: 0 !important; }

/* ═══════════ 5. ТОГГЛЫ — белые с синей полосой слева (как simseat) ═══════════ */
.et_pb_toggle {
  background: #fff !important;
  border: 1px solid #eef1f4 !important;
  border-left: 4px solid #ff6600 !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  box-shadow: none !important;
}
.et_pb_toggle .et_pb_toggle_title,
.et_pb_toggle h5.et_pb_toggle_title,
.et_pb_module.et_pb_toggle h5.et_pb_toggle_title {
  color: #1a1c26 !important;
  font-family: 'Play', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}
/* плюс/минус иконка — синяя */
.et_pb_toggle .et_pb_toggle_title::before {
  color: #ff6600 !important;
  background: #fff1e6 !important;
  border-radius: 50% !important;
}
.et_pb_toggle .et_pb_toggle_content {
  color: #4b5563 !important;
  font-family: 'Play', sans-serif !important;
}
.et_pb_toggle.et_pb_toggle_close .et_pb_toggle_content { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════
   NORDBERG-SHOP — Корзина WooCommerce в стиле Ozon (маркетплейс)
   Товары слева карточками + итоги справа в боковой панели.
   КУДА: Divi → Theme Options → Custom CSS
   Работает со стандартной корзиной WooCommerce (.woocommerce-cart-form)
   Раскладку в 2 колонки включает JS (cart_ozon_layout.html).
   ═══════════════════════════════════════════════════════════════════ */

/* ── ОБЩИЙ КОНТЕЙНЕР 2 колонки (создаётся через JS: .nb-cart-layout) ── */
.nb-cart-layout {
  display: grid !important;
  grid-template-columns: 1fr 360px !important;
  gap: 28px !important;
  align-items: start !important;
  font-family: 'Play', sans-serif;
}
/* верх колонок на одной линии — убираем верхние отступы у первых элементов */
.nb-cart-items { align-self: start; }
.nb-cart-summary { align-self: start; }
.nb-cart-items > *:first-child,
.nb-cart-summary > *:first-child { margin-top: 0 !important; }
.nb-cart-items .woocommerce-cart-form table.cart { margin-top: 0 !important; }
.nb-cart-layout * { box-sizing: border-box; }

/* левая колонка — товары (без float, нормальный поток) */
.nb-cart-items { min-width: 0; display: block; width: 100%; float: none !important; }
.nb-cart-items .woocommerce-cart-form { float: none !important; width: 100% !important; }

/* ── ФОРМА КОРЗИНЫ ── убираем рамки таблицы ── */
.woocommerce-cart-form { margin: 0 !important; }
.woocommerce-cart-form table.shop_table,
.woocommerce table.cart {
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 14px !important;
  background: transparent !important;
  margin: 0 !important;
}
/* прячем заголовок таблицы (столбцы) — на маркетплейсах его нет */
.woocommerce-cart-form table.cart thead { display: none !important; }

/* каждая строка товара = карточка */
.woocommerce-cart-form table.cart tbody tr.cart_item {
  display: grid !important;
  grid-template-columns: 90px 1fr auto !important;
  grid-template-areas: "thumb name price" "thumb qty remove" !important;
  align-items: center !important;
  gap: 6px 16px !important;
  background: #fff !important;
  border: 1px solid #e8ebef !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  transition: box-shadow .2s, border-color .2s;
}
.woocommerce-cart-form table.cart tbody tr.cart_item:hover {
  border-color: #d5dbe1 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05) !important;
}
.woocommerce-cart-form table.cart tbody tr.cart_item td {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* фото товара */
.woocommerce-cart-form table.cart td.product-thumbnail {
  grid-area: thumb !important;
  width: 90px !important;
}
.woocommerce-cart-form table.cart td.product-thumbnail img {
  width: 90px !important;
  height: 90px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  background: #f7f9fb !important;
  padding: 6px !important;
}

/* название */
.woocommerce-cart-form table.cart td.product-name {
  grid-area: name !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}
.woocommerce-cart-form table.cart td.product-name a {
  color: #1a1c26 !important;
  text-decoration: none !important;
  transition: color .15s;
}
.woocommerce-cart-form table.cart td.product-name a:hover { color: #ff6600 !important; }

/* цена */
.woocommerce-cart-form table.cart td.product-price {
  grid-area: price !important;
  text-align: right !important;
  font-family: 'Russo One', sans-serif !important;
  font-size: 14px !important;
  color: #1a1c26 !important;
  white-space: nowrap !important;
}
.woocommerce-cart-form table.cart td.product-price::before,
.woocommerce-cart-form table.cart td::before { display: none !important; content: none !important; }

/* количество */
.woocommerce-cart-form table.cart td.product-quantity {
  grid-area: qty !important;
}
.woocommerce-cart-form table.cart td.product-quantity .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid #e2e5e9 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
.woocommerce-cart-form table.cart td.product-quantity input.qty {
  width: 62px !important;
  height: 38px !important;
  border: 0 !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  background: #fff !important;
  color: #1a1c26 !important;
}

/* подытог строки прячем (цена уже есть) */
.woocommerce-cart-form table.cart td.product-subtotal { display: none !important; }

/* удалить */
.woocommerce-cart-form table.cart td.product-remove {
  grid-area: remove !important;
  text-align: right !important;
}
.woocommerce-cart-form table.cart td.product-remove a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 9px !important;
  background: #f4f6f8 !important;
  color: #d63b3b !important;
  font-size: 20px !important;
  line-height: 1 !important;
  transition: background .15s !important;
}
.woocommerce-cart-form table.cart td.product-remove a.remove:hover {
  background: #fde8e8 !important;
  color: #d63b3b !important;
}

/* строка "обновить корзину / купон" */
.woocommerce-cart-form table.cart td.actions {
  display: block !important;
  grid-column: 1 / -1 !important;
  background: transparent !important;
  padding: 8px 0 0 !important;
  margin-top: 8px !important;
}
.woocommerce-cart-form .coupon {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
}
.woocommerce-cart-form .coupon input#coupon_code {
  height: 44px !important;
  border: 1.5px solid #e2e5e9 !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  max-width: 200px !important;
}
.woocommerce-cart-form .coupon button,
.woocommerce-cart-form button[name="update_cart"] {
  height: 44px !important;
  border-radius: 10px !important;
  background: #fff1e6 !important;
  color: #ff6600 !important;
  font-family: 'Play', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  border: 0 !important;
  padding: 0 20px !important;
  transition: background .15s !important;
}
.woocommerce-cart-form .coupon button:hover,
.woocommerce-cart-form button[name="update_cart"]:hover {
  background: #ffe0cc !important;
}

/* ── ПРАВАЯ КОЛОНКА — ИТОГИ (sticky) ── */
/* правая колонка — содержимое НЕ должно быть float (иначе высота 0) */
.nb-cart-summary { position: sticky; top: 20px; display: block; width: 100%; }
.nb-cart-summary .cart-collaterals,
.nb-cart-summary .cross-sells,
.cart-collaterals,
.cart_totals {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
}
/* на всякий случай — прячем кросс-селл (похожие товары), если он в collaterals и ломает высоту */
.nb-cart-summary .cross-sells { display: none !important; }
.cart_totals {
  background: #fff !important;
  border: 1px solid #e8ebef !important;
  border-radius: 18px !important;
  padding: 24px !important;
}
.cart_totals h2 {
  font-family: 'Russo One', sans-serif !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  color: #1a1c26 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
}
.cart_totals table {
  border: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
.cart_totals table tr {
  border: 0 !important;
}
.cart_totals table th,
.cart_totals table td {
  border: 0 !important;
  padding: 10px 0 !important;
  background: transparent !important;
  font-size: 14.5px !important;
  color: #5a616b !important;
}
.cart_totals table th { font-weight: 500 !important; text-align: left !important; }
.cart_totals table td { text-align: right !important; color: #1a1c26 !important; font-weight: 700 !important; }
/* строка Итого крупная */
.cart_totals table tr.order-total th,
.cart_totals table tr.order-total td {
  border-top: 2px solid #f0f2f5 !important;
  padding-top: 16px !important;
  font-size: 16px !important;
}
.cart_totals table tr.order-total td {
  font-family: 'Russo One', sans-serif !important;
  font-size: 17px !important;
  color: #1a1c26 !important;
}
.cart_totals table tr.order-total .amount { color: #1a1c26 !important; }

/* кнопка оформления */
.cart_totals .wc-proceed-to-checkout {
  padding: 18px 0 0 !important;
}
.cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  background: #ff6600 !important;
  color: #fff !important;
  font-family: 'Play', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-align: center !important;
  padding: 16px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: background .18s, transform .18s, box-shadow .18s !important;
}
.cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  background: #e65c00 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(255,102,0,0.35) !important;
}

/* ── АДАПТИВ ── */
/* ── ПЛАНШЕТ И МОБИЛЬНЫЙ: одна колонка ── */
@media (max-width: 980px) {
  .nb-cart-layout {
    display: block !important;          /* одна колонка — надёжнее grid */
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .nb-cart-items,
  .nb-cart-summary {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    float: none !important;
  }
  /* итоги под товарами, без прилипания */
  .nb-cart-summary {
    position: static !important;
    top: auto !important;
    margin-top: 24px !important;
  }
  /* панель итогов и оплаты на всю ширину */
  .nb-cart-summary .cart_totals,
  .nb-cart-summary .nb-cart-pay {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 560px) {
  /* карточка товара — компактная: фото слева, инфо справа столбиком */
  .woocommerce-cart-form table.cart tbody tr.cart_item {
    grid-template-columns: 64px 1fr !important;
    grid-template-areas:
      "thumb name"
      "thumb price"
      "thumb qty"
      "remove remove" !important;
    gap: 5px 12px !important;
    padding: 11px !important;
    border-radius: 12px !important;
    align-items: start !important;
  }
  .woocommerce-cart-form table.cart tbody tr.cart_item + tr.cart_item { margin-top: 10px !important; }
  /* фото компактнее */
  .woocommerce-cart-form table.cart td.product-thumbnail {
    grid-area: thumb !important;
    display: block !important;
    width: 64px !important;
  }
  .woocommerce-cart-form table.cart td.product-thumbnail img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 8px !important;
    padding: 3px !important;
  }
  /* название — мельче, 2 строки максимум */
  .woocommerce-cart-form table.cart td.product-name {
    grid-area: name !important;
    text-align: left !important;
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    padding-right: 4px !important;
  }
  /* убираем метки-подписи WooCommerce */
  .woocommerce-cart-form table.cart td::before {
    display: none !important;
    content: none !important;
  }
  /* цена — компактнее */
  .woocommerce-cart-form table.cart td.product-price {
    grid-area: price !important;
    text-align: left !important;
    font-size: 15px !important;
  }
  /* количество — меньше */
  .woocommerce-cart-form table.cart td.product-quantity {
    grid-area: qty !important;
    text-align: left !important;
  }
  .woocommerce-cart-form table.cart td.product-quantity input.qty {
    width: 44px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
  /* удалить — компактная кнопка снизу справа */
  .woocommerce-cart-form table.cart td.product-remove {
    grid-area: remove !important;
    text-align: right !important;
    margin-top: 2px !important;
  }
  .woocommerce-cart-form table.cart td.product-remove a.remove {
    width: 28px !important;
    height: 28px !important;
    font-size: 17px !important;
    border-radius: 7px !important;
  }

  /* панель итогов — компактнее */
  .cart_totals { padding: 16px !important; border-radius: 14px !important; }
  .cart_totals h2 { font-size: 17px !important; margin-bottom: 12px !important; }
  .cart_totals table th,
  .cart_totals table td { font-size: 13px !important; padding: 7px 0 !important; }
  .cart_totals table tr.order-total th { font-size: 14px !important; padding-top: 12px !important; }
  .cart_totals table tr.order-total td { font-size: 19px !important; padding-top: 12px !important; }
  .cart_totals .wc-proceed-to-checkout a.checkout-button {
    font-size: 15px !important;
    padding: 13px !important;
    border-radius: 10px !important;
  }

  /* купоны/кнопки корзины — компактнее */
  .woocommerce-cart-form .coupon { flex-wrap: wrap !important; gap: 6px !important; }
  .woocommerce-cart-form .coupon input#coupon_code {
    max-width: 100% !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    height: 40px !important;
    font-size: 13px !important;
  }
  .woocommerce-cart-form .coupon button,
  .woocommerce-cart-form button[name="update_cart"] {
    height: 40px !important;
    font-size: 13px !important;
    padding: 0 16px !important;
  }

  /* блок оплаты частями — компактнее */
  .nb-cart-summary .nb-cart-pay { padding: 14px !important; border-radius: 14px !important; margin-top: 12px !important; }
  .nb-cart-pay-title { font-size: 12px !important; margin-bottom: 8px !important; }
  .nb-cart-pay-btn { padding: 10px 12px !important; }
  .nb-cart-pay-btn__title { font-size: 13.5px !important; }
  .nb-cart-pay-btn__sub { font-size: 12px !important; }
  .nb-cart-pay-btn__arrow { width: 26px !important; height: 26px !important; font-size: 14px !important; }
}
/* ═══ GARAGE-PRO: доп. правила к стилю nordberg ═══ */
body.gpr-on .et-l--footer { display:none !important; }
.nb-header, .nb-footer { width:100%; }
.nb-header { z-index: 1000; }
.nb-foot-disclaimer, .nb-foot-bottom { border-top-color:#2a2e40 !important; }
.nb-mega-cols .nb-sub { padding:3px 0 3px 12px !important; font-size:13px !important; color:#6b7280 !important; border-left:2px solid #eef1f4; }
.nb-mega-cols .nb-sub:hover { color:#ff6600 !important; }
.nb-mega-extra { display:flex; flex-direction:column; gap:8px; padding:14px 22px; border-top:1px solid #eef1f4; }
.nb-mega-extra a { font-family:'Play',sans-serif; font-size:14px; font-weight:700; color:#ff6600 !important; text-decoration:none !important; }
@media (min-width:901px){ .nb-mega-cols { columns:3; } }
.nb-header .aws-container .aws-search-form .aws-form-btn { background:#ff6600 !important; border:0 !important; }
.nb-header .aws-container .aws-search-form .aws-search-btn_icon { color:#fff !important; }

/* boxed как у контента Divi (1080) */
#gpr-header.nb-header, #gpr-footer.nb-footer { width:80%; max-width:1080px; margin-left:auto; margin-right:auto; }
@media (max-width:980px){ #gpr-header.nb-header, #gpr-footer.nb-footer { width:100%; max-width:100%; } }
/* главная: убрать старую тёмную полосу с телефоном и поиском */
body.gpr-on.home .et_pb_row_0_tb_body { display:none !important; }

/* все шаблоны: убрать старые тёмные полосы с телефоном/поиском в начале страницы */
body.gpr-on .et-l--body .et_pb_section:first-child .et_pb_row:has(.aws-container, .dgwt-wcas-search-wrapp, form[role="search"], input[type="search"]):not(:has(.woocommerce-products-header, ul.products)) { display:none !important; }

/* перебить стили модулей Divi на странице товара */
body.gpr-on #page-container .et_pb_section .single_add_to_cart_button,
body.gpr-on #page-container .et_pb_section .single_add_to_cart_button span { color:#fff !important; }
body.gpr-on #page-container .et_pb_section .et_pb_toggle .et_pb_toggle_title,
body.gpr-on #page-container .et_pb_section .et_pb_toggle.et_pb_toggle_open .et_pb_toggle_title,
body.gpr-on #page-container .et_pb_section .et_pb_toggle.et_pb_toggle_close .et_pb_toggle_title { color:#1a1c26 !important; font-size:14px !important; }
body.gpr-on #page-container .et_pb_section .et_pb_toggle { background:#fff !important; }
body.gpr-on #page-container .et_pb_section .et_pb_toggle .et_pb_toggle_content,
body.gpr-on #page-container .et_pb_section .et_pb_toggle .et_pb_toggle_content * { color:#4b5563 !important; }

html body.gpr-on #page-container .et_pb_section .et_pb_module .single_add_to_cart_button.button,
html body.gpr-on #page-container .et_pb_section .et_pb_module .single_add_to_cart_button.button span,
html body.gpr-on #page-container .et_pb_section .et_pb_module a.add_to_cart_button.button { color:#fff !important; }