.easy-catalog-box .item-catalog {
    min-height: 170px;
    margin-bottom: 20px;
}
.easy-catalog-box .item-catalog:hover, .wall-category-box .item-category:hover, .wall-category-box .item-category.sc-active {
    background: #c1c1c1;
}
footer .ch-socials i, footer .ch-socials img {
    border-radius: 5px;
}
.price-tax, .points, .stock-status.instock, .container-module .product-description, .item-img-and-text {
    display: none;
}
.dark-theme .product-thumb .image a img.img-responsive,
.related-products__image {
    padding: 0;
}
.dark-theme .product-grid .product-thumb:not(.bg_image) .image, .dark-theme .container-module .product-thumb:not(.bg_image) .image {
    padding: 0;
}
/* .title-module & .swiper-mod-navigation alignment unified in JP-UI-FIXES-2026 below */
#menu-vertical .cat-label {
    top: 12px !important;
}
.banner-pro__title {
    font-size: 18px !important;
}
.img-center {
    margin: 0 auto 0 0;
}
.product-thumb .image img {
    border-radius: 20px !important;
}
.light-theme .stickers-ns {
    top: 20px !important;
    left: 20px !important;
}

.product-grid .product-thumb .addit-action, .container-module .product-thumb .addit-action {
    top: 20px !important;
}
.product-grid .product-thumb:hover .addit-action, .container-module .product-thumb:hover .addit-action {
    right: 20px !important;
}

.small-slider__title_lg {
    border-radius: 5px!important;
    background: #353535a1!important;
    padding: 10px!important;
    font-size: 1.2em!important;
    margin: 14px 23px 0 0!important;
}
.small-slider__title_xs {
    border-radius: 5px !important;
    background: #fff!important;
    padding: 10px !important;
    font-size: 1.2em !important;
    margin: 14px 23px 0 0 !important;
    line-height: 1.4em;
    font-weight: 700;
    line-height: 1.2em;
}
.small-slider__content-price {
	bottom: 80px !important;
}
.small-slider__from {
	line-height: 16px;
    border-radius: 5px !important;
    background: #353535a1 !important;
    padding: 10px !important;
    font-size: 1.2em !important;
    margin: -32px 23px 0 0 !important;
}
.megasliderpro__content-title {
	width: 76%;
}
.megasliderpro__content-title {
    top: 50px !important;
}
.promo-slider__content-title {
    top: 50px !important;
    width: 84% !important;
    	line-height: 16px;
    border-radius: 5px !important;
    background: #353535a1 !important;
    padding: 10px !important;
    font-size: 1.2em !important;
    margin: -32px 23px 0 0 !important;
}
.promo-slider__content-price {
    	line-height: 16px;
    border-radius: 5px !important;
    background: #353535a1 !important;
    padding: 10px !important;
    font-size: 1.2em !important;
    margin: -32px 23px 0 0 !important;
}
.megasliderpro__title {
    border-radius: 10px !important;
    background: #353535a1 !important;
    padding: 10px !important;
    font-size: 1.2em !important;
    margin: 14px 23px 10px 0 !important;
}
.megasliderpro__sub-title {
    margin: 0px 0 0 6px;
}
.dropdown-menu.ch-dropdown li {
    padding-top: 6px;
    margin-bottom: 6px;
}
.box-search .search_word {
    margin-right: 50px;
}
.light-theme .btn-search {
    background: #9e9e9e2b;
}

.light-theme .product-video-icons {
    right: 24px !important;
    top: 24px !important;
}
.product-grid .product-thumb:hover .addit-action, .container-module .product-thumb:hover .addit-action {
    right: 24px !important;
    top: 90px !important;
}
.light-theme .product-thumb .action-timer {
    right: 26px !important;
    bottom: 26px !important;
}
.mfp-iframe-scaler iframe {
    border-radius: 15px;
}
.btn-compare, .btn-wishlist, .btn-quickview, .btn-fastorder {
    border-radius: 10px !important;
}
.product-thumb .countdownHolder {
    font-size: 12px;
    border-radius: 10px !important;
}








/*
 * SEO Multimova PRO: language popup styled like the UpStore theme dialogs.
 * Uses the module's .lm_modal class, so it does not depend on the widget ID.
 */

.lm_modal.in,
.lm_modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px !important;
}

/*
 * Fallback for the module's anchored mode. When a position selector is saved,
 * langpopup removes the .modal class and writes absolute coordinates inline.
 */
.lm_modal:not(.modal) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100500 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  padding: 24px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: rgba(0, 0, 0, 0.52);
  pointer-events: auto !important;
}

.lm_modal .modal-dialog {
  width: 500px !important;
  max-width: 100%;
  margin: 24px auto !important;
  opacity: 1 !important;
}

.lm_modal .modal-content {
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

.lm_modal .modal-header {
  position: relative;
  min-height: 86px;
  padding: 29px 82px 24px 32px;
  border-bottom: 1px solid #ededed;
}

.lm_modal .modal-title {
  margin: 0;
  color: #111;
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
}

.lm_modal .modal-header .lm-close {
  position: absolute;
  top: 26px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  color: #111;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  box-shadow: none;
  opacity: 1;
}

.lm_modal .modal-header .lm-close:hover {
  color: #111;
  background: #f6f6f6;
  opacity: 1;
}

.lm_modal .modal-header .lm-close span {
  display: block;
  height: 30px;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 28px;
}

.lm_modal .modal-body {
  padding: 30px 32px 32px;
}
/*
 * SEO Multimova PRO: language popup styled like the UpStore theme dialogs.
 * Uses the module's .lm_modal class, so it does not depend on the widget ID.
 */

.lm_modal.in,
.lm_modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px !important;
}

/*
 * Fallback for the module's anchored mode. When a position selector is saved,
 * langpopup removes the .modal class and writes absolute coordinates inline.
 */
.lm_modal:not(.modal) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100500 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  padding: 24px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: rgba(0, 0, 0, 0.52);
  pointer-events: auto !important;
}

.lm_modal .modal-dialog {
  width: 500px !important;
  max-width: 100%;
  margin: 24px auto !important;
  opacity: 1 !important;
}

.lm_modal .modal-content {
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
}

.lm_modal .modal-header {
  position: relative;
  min-height: 86px;
  padding: 29px 82px 24px 32px;
  border-bottom: 1px solid #ededed;
}

.lm_modal .modal-title {
  margin: 0;
  color: #111;
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
}

.lm_modal .modal-header .lm-close {
  position: absolute;
  top: 26px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  color: #111;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  box-shadow: none;
  opacity: 1;
}

.lm_modal .modal-header .lm-close:hover {
  color: #111;
  background: #f6f6f6;
  opacity: 1;
}

.lm_modal .modal-header .lm-close span {
  display: block;
  height: 30px;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 28px;
}

.lm_modal .modal-body {
  padding: 30px 32px 32px;
}

.lm_modal .lm-modal-html {
  margin: 0 0 24px;
  color: #111;
  text-align: center;
}

.lm_modal .jp-language-popup__lead {
  margin: 0 0 7px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.lm_modal .jp-language-popup__hint {
  margin: 0;
  color: #777;
  font-size: 15px;
  line-height: 1.5;
}

.lm_modal .lm_flex {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.lm_modal .lm_flex > div {
  padding: 0 !important;
}

.lm_modal .lm_flex a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease,
    color 0.2s ease, transform 0.2s ease;
}
.lm_modal .lm_flex a:hover {
  color: #111;
  text-decoration: none;
  background: #f7f7f7;
  border-color: #cfcfcf;
  transform: translateY(-1px);
}

/* The module marks the main language with lm_deleteCookie(). */
.lm_modal .lm_flex a[onclick*="lm_deleteCookie"] {
  color: #fff;
  background: #f5222a;
  border-color: #f5222a;
}

.lm_modal .lm_flex a[onclick*="lm_deleteCookie"]:hover {
  color: #fff;
  background: #df151d;
  border-color: #df151d;
}

.lm_modal .lm_flex img {
  display: block;
  width: 24px;
  height: auto;
  margin: 0;
  border-radius: 3px;
}

/* The footer is normally disabled; these rules keep it tidy if enabled later. */
.lm_modal .modal-footer {
  padding: 0 32px 32px;
  text-align: left;
  border-top: 0;
}

.lm_modal .modal-footer .lm-close {
  min-height: 52px;
  padding: 12px 24px;
  color: #111;
  background: #f6f6f6;
  border: 0;
  border-radius: 26px;
}

@media (max-width: 575px) {
  .lm_modal.in,
  .lm_modal.show,
  .lm_modal:not(.modal) {
    align-items: flex-end;
    padding: 12px !important;
  }

  .lm_modal .modal-dialog {
    width: 100% !important;
    margin: 12px auto !important;
  }

  .lm_modal .modal-content {
    border-radius: 20px;
  }

  .lm_modal .modal-header {
    min-height: 76px;
    padding: 24px 68px 19px 24px;
  }

  .lm_modal .modal-header .lm-close {
    top: 20px;
    right: 22px;
  }

  .lm_modal .modal-title {
    font-size: 20px;
  }

  .lm_modal .modal-body {
    padding: 24px;
  }

  .lm_modal .lm_flex {
    grid-template-columns: 1fr;
  }
html body #lm_2_Modal.lm_modal .modal-dialog::before,
html body #lm_2_Modal.lm_modal .modal-dialog::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  filter: none !important;
  -webkit-filter: none !important;
}
#lm_2_Modal .lm_flex img {
  display: none !important;
}
}






@media (min-width: 992px) {
/* =====================================================
   JustPack / OCFilter 4.8.2.2 / UpStore
   FINAL CSS PATCH
   Вставить в самый низ custom.css после всех стилей темы и OCFilter
===================================================== */

/* ---------- ROOT COLORS ---------- */
.ocf-container,
.ocf-content {
  --jp-red: #ED2124;
  --jp-red-dark: #d7191c;
  --jp-black: #141414;
  --jp-text: #141414;
  --jp-muted: #7f8892;
  --jp-border: #e4e9ef;
  --jp-soft: #f4f6f8;
}

/* Убрать тестовую красную рамку, если она осталась */
.ocf-content .ocf-header {
  outline: none !important;
}

/* =====================================================
   1. ОБЩИЙ ВИД ФИЛЬТРА
===================================================== */

.ocf-container .ocf-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.ocf-container .ocf-header {
  min-height: 60px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 14px 0 !important;
  padding: 0 18px !important;

  background: #151515 !important;
  color: #ffffff !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 18px !important;
  box-shadow: none !important;

  font-size: 16px !important;
  font-weight: 800 !important;
}

.ocf-container .ocf-header .ocf-icon {
  color: #9aa3ad !important;
  opacity: 1 !important;
}

.ocf-container .ocf-body {
  padding: 0 !important;
  overflow: visible !important;
}

.ocf-container .ocf-filter-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  overflow: visible !important;
}

/* Карточка группы */
.ocf-container .ocf-filter {
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid var(--jp-border) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.ocf-container .ocf-filter-body {
  background: transparent !important;
}

.ocf-container .ocf-filter-header {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  padding: 15px 16px 8px !important;
  background: #ffffff !important;
  color: var(--jp-text) !important;
  cursor: pointer !important;
}

.ocf-container .ocf-filter-name {
  color: var(--jp-text) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.ocf-container .ocf-filter-discard {
  color: #a8b0b9 !important;
  opacity: .75 !important;
}

.ocf-container .ocf-filter-discard:hover {
  color: var(--jp-red) !important;
  opacity: 1 !important;
}

/* =====================================================
   2. ЗНАЧЕНИЯ И ЧЕКБОКСЫ
   ВАЖНО: OCFilter рисует чекбокс через .ocf-value-input::before/::after
===================================================== */

.ocf-container .ocf-value-list {
  padding: 0 12px 14px !important;
  background: #ffffff !important;
}

.ocf-container .ocf-value-list-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.ocf-container .ocf-value {
  width: 100% !important;
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 7px 8px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #4f5963 !important;
  text-align: left !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

.ocf-container .ocf-value:hover {
  background: #f4f6f8 !important;
  color: var(--jp-text) !important;
}

.ocf-container .ocf-value-name {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ocf-container .ocf-value-append {
  margin-left: auto !important;
}

.ocf-container .ocf-value-count {
  min-width: 25px !important;
  height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 8px !important;
  background: #eef1f4 !important;
  color: #7a838d !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* База чекбокса */
.ocf-container .ocf-value-input,
.ocf-container .ocf-value-input-checkbox {
  position: relative !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  flex: 0 0 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Квадрат чекбокса */
.ocf-container .ocf-value-input::before,
.ocf-container .ocf-value-input-checkbox::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  background: #ffffff !important;
  border: 1px solid #b9c2cc !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  transition: none !important;
}

/* Сначала полностью убираем стандартную svg-галку OCFilter */
.ocf-container .ocf-value-input::after,
.ocf-container .ocf-value-input-checkbox::after {
  content: "" !important;
  position: absolute !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

/* Активная строка */
.ocf-container .ocf-value.ocf-selected {
  background: rgba(237, 33, 36, .08) !important;
  color: var(--jp-text) !important;
}

.ocf-container .ocf-value.ocf-selected .ocf-value-name {
  color: var(--jp-text) !important;
  font-weight: 700 !important;
}

.ocf-container .ocf-value.ocf-selected .ocf-value-count {
  background: #f6dfe0 !important;
  color: #b51e20 !important;
}

/* Активный чекбокс */
.ocf-container .ocf-value.ocf-selected .ocf-value-input::before,
.ocf-container .ocf-value.ocf-selected .ocf-value-input-checkbox::before {
  background: var(--jp-red) !important;
  border-color: var(--jp-red) !important;
}

/* Новая нормальная галочка */
.ocf-container .ocf-value.ocf-selected .ocf-value-input::after,
.ocf-container .ocf-value.ocf-selected .ocf-value-input-checkbox::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 5px !important;
  top: 2px !important;
  width: 5px !important;
  height: 9px !important;
  border: solid #ffffff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
  background: none !important;
  background-image: none !important;
}

/* Неактивные значения */
.ocf-container .ocf-value.ocf-disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
}

.ocf-container .ocf-value.ocf-disabled .ocf-value-input::before,
.ocf-container .ocf-value.ocf-disabled .ocf-value-input-checkbox::before {
  background: #f1f3f5 !important;
  border-color: #d8dee5 !important;
}

/* Показать еще */
.ocf-container .ocf-btn-show-values {
  width: calc(100% - 24px) !important;
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 4px 12px 14px !important;
  padding: 7px 12px !important;
  background: #141414 !important;
  color: #ffffff !important;
  border: 1px solid #141414 !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.ocf-container .ocf-btn-show-values:hover {
  background: var(--jp-red) !important;
  border-color: var(--jp-red) !important;
  color: #ffffff !important;
}

/* =====================================================
   3. БЛОК "ВЫ ВЫБРАЛИ" — точный класс из selected_filter.twig
===================================================== */

.ocf-container .ocf-selected-card {
  margin: 0 0 14px 0 !important;
  padding: 15px 16px !important;
  background: #ffffff !important;
  border: 1px solid var(--jp-border) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  color: var(--jp-text) !important;
}

.ocf-container .ocf-selected-header {
  margin: 0 0 12px 0 !important;
  color: var(--jp-text) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  opacity: 1 !important;
}

.ocf-container .ocf-selected-filter {
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--jp-text) !important;
}

.ocf-container .ocf-selected-filter-name {
  flex: 0 0 auto !important;
  margin: 0 !important;
  color: #81909f !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.ocf-container .ocf-selected-discard {
  min-width: 0 !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 7px 10px 7px 12px !important;
  background: #f3f5f7 !important;
  color: var(--jp-text) !important;
  border: 1px solid #e1e6ec !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.ocf-container .ocf-selected-discard:hover {
  background: rgba(237, 33, 36, .08) !important;
  border-color: rgba(237, 33, 36, .25) !important;
  color: var(--jp-text) !important;
}

.ocf-container .ocf-selected-value-name {
  margin: 0 !important;
  color: var(--jp-text) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.ocf-container .ocf-selected-discard .ocf-icon,
.ocf-container .ocf-selected-discard .ocf-times-circle {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  color: #7f8994 !important;
  border-radius: 50% !important;
  opacity: 1 !important;
}

.ocf-container .ocf-selected-discard:hover .ocf-icon,
.ocf-container .ocf-selected-discard:hover .ocf-times-circle {
  color: var(--jp-red) !important;
}

.ocf-container .ocf-selected-card .ocf-between {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-top: 12px !important;
  align-items: center !important;
}

/* Сбросить внутри блока выбранных */
.ocf-container .ocf-selected-card .ocf-text-danger,
.ocf-container .ocf-selected-card .ocf-between .ocf-btn:first-child {
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  background: #ffffff !important;
  color: var(--jp-red) !important;
  border: 1px solid rgba(237, 33, 36, .32) !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.ocf-container .ocf-selected-card .ocf-between .ocf-btn:first-child:hover {
  background: rgba(237, 33, 36, .08) !important;
  color: var(--jp-red) !important;
}

/* Уточнить */
.ocf-container .ocf-selected-card [data-ocf="specify"] {
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  background: #141414 !important;
  color: #ffffff !important;
  border: 1px solid #141414 !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.ocf-container .ocf-selected-card [data-ocf="specify"]:hover {
  background: var(--jp-red) !important;
  border-color: var(--jp-red) !important;
  color: #ffffff !important;
}

/* =====================================================
   4. НИЖНИЕ КНОПКИ И УБИРАЕМ БЕЛЫЕ ТЕНИ OCFilter
===================================================== */

.ocf-container .ocf-footer {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 3 !important;
  margin: 14px 0 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ocf-container .ocf-footer::before,
.ocf-container .ocf-footer::after,
.ocf-theme-light .ocf-footer::after,
.ocf-theme-light-block .ocf-footer::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
}

.ocf-container .ocf-footer .ocf-between {
  display: grid !important;
  grid-template-columns: 110px 1fr !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.ocf-container .ocf-footer .ocf-btn {
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* Сбросить внизу */
html.light-theme .ocf-container .ocf-footer .ocf-between .ocf-btn:first-child,
html.light-theme .ocf-container .ocf-footer [data-ocf-discard="*"],
.light-theme .ocf-container .ocf-footer .ocf-between .ocf-btn:first-child,
.light-theme .ocf-container .ocf-footer [data-ocf-discard="*"] {
  background: #ffffff !important;
  color: #141414 !important;
  border: 1px solid #dce2e8 !important;
  opacity: 1 !important;
}

html.light-theme .ocf-container .ocf-footer .ocf-between .ocf-btn:first-child:hover,
html.light-theme .ocf-container .ocf-footer [data-ocf-discard="*"]:hover,
.light-theme .ocf-container .ocf-footer .ocf-between .ocf-btn:first-child:hover,
.light-theme .ocf-container .ocf-footer [data-ocf-discard="*"]:hover {
  color: var(--jp-red) !important;
  border-color: var(--jp-red) !important;
  background: #ffffff !important;
}

/* Показать товары */
.ocf-container .ocf-search-btn-static,
.ocf-theme-light .ocf-search-btn-static,
.ocf-theme-light-block .ocf-search-btn-static {
  background: var(--jp-red) !important;
  color: #ffffff !important;
  border: 1px solid var(--jp-red) !important;
  box-shadow: none !important;
}

.ocf-container .ocf-search-btn-static:hover,
.ocf-theme-light .ocf-search-btn-static:hover,
.ocf-theme-light-block .ocf-search-btn-static:hover {
  background: var(--jp-red-dark) !important;
  border-color: var(--jp-red-dark) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Disabled */
.ocf-container .ocf-btn.ocf-disabled,
.ocf-container .ocf-btn:disabled,
.ocf-container .ocf-search-btn-static.ocf-disabled,
.ocf-container .ocf-search-btn-static:disabled {
  cursor: not-allowed !important;
  background: #eef1f4 !important;
  color: #9aa3ad !important;
  border: 1px solid #eef1f4 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* =====================================================
   5. DARK PAGE FIX — чтобы светлые карточки не терялись на темном фоне
===================================================== */

.ocf-container .ocf-selected-card,
.ocf-container .ocf-filter {
  box-shadow: 0 1px 0 rgba(255,255,255,.06) !important;
}

@media (max-width: 767px) {
  .ocf-container .ocf-header {
    border-radius: 16px !important;
  }

  .ocf-container .ocf-filter,
  .ocf-container .ocf-selected-card {
    border-radius: 16px !important;
  }

  .ocf-container .ocf-value {
    min-height: 40px !important;
  }

  .ocf-container .ocf-footer .ocf-between {
    grid-template-columns: 105px 1fr !important;
  }
}
/* =========================================
   OCFilter — сдвинуть пункты левее
========================================= */

/* Заголовки блоков фильтра */
.ocf-content .ocf-filter-header {
  padding-left: 3px !important;
  padding-right: 3px !important;
}

/* Внутренний контейнер со значениями */
.ocf-content .ocf-value-list {
  padding-left: 3px !important;
  padding-right: 3px !important;
}

/* Список значений */
.ocf-content .ocf-value-list-body {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Одна строка фильтра */
.ocf-content .ocf-value {
  padding-left: 10px !important;
  margin-left: 0 !important;
  gap: 5px !important;
}

/* Чекбокс */
.ocf-content .ocf-value-input,
.ocf-content .ocf-value-input-checkbox {
  margin-left: 0 !important;
}

/* Текст пункта */
.ocf-content .ocf-value-name {
  margin-left: 0 !important;
}

/* Блок "Вы выбрали" тоже чуть ровнее */
.ocf-content .ocf-selected-card {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Если внутри selected-card есть строки выбора */
.ocf-content .ocf-selected-card .ocf-value,
.ocf-content .ocf-selected-card .ocf-selected-value,
.ocf-content .ocf-selected-card .ocf-selected-item {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.ocf-theme-light-block.ocf-vertical .ocf-filter, .ocf-theme-light-block.ocf-vertical .ocf-module-page {
        padding: 15px 8px !important;
    }
.ocf-theme-light-block .ocf-value .ocf-value-input::after {
  filter: none !important; /* Отменяем старый фильтр */
  color: #2a7a78 !important; /* Задаем цвет напрямую (примерный аналог вашего фильтра) */
}
/* =========================================
   OCFilter — выбранные значения под названием
   Только десктоп, мобильный не ломаем
========================================= */
@media (min-width: 992px) {

  /* одна строка выбранного фильтра */
  .ocf-container .ocf-selected-filter {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  /* название фильтра на отдельной строке */
  .ocf-container .ocf-selected-filter-name {
    flex: 0 0 100% !important;
    display: block !important;
    margin: 0 0 6px 0 !important;
    color: #81909f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
  }

  /* кнопки-значения под названием */
  .ocf-container .ocf-selected-filter .ocf-selected-discard {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    max-width: 100% !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    margin: 0 !important;

    background: #eef1f4 !important;
    border: 1px solid #d9e0e7 !important;
    border-radius: 999px !important;

    color: #141414 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  /* крестик внутри выбранного значения */
  .ocf-container .ocf-selected-filter .ocf-selected-discard i,
  .ocf-container .ocf-selected-filter .ocf-selected-discard svg,
  .ocf-container .ocf-selected-filter .ocf-selected-discard .ocf-icon {
    margin-left: 8px !important;
    flex: 0 0 auto !important;
  }

  /* если значение очень длинное */
  .ocf-container .ocf-selected-filter .ocf-selected-discard span,
  .ocf-container .ocf-selected-filter .ocf-selected-discard {
    word-break: break-word !important;
  }
}
}

/* =========================================
   OCFilter footer — кнопки в 2 строки
   Не трогаем мобильный выездной фильтр
========================================= */
/* Filter Footer rules unified in section at line ~8700 */
.ocf-noUi-connect:before, .ocf-noUi-handle {
    background-color: #ed2124 !important;
}
.ocf-theme-light-block .ocf-scroll-y {
    background-image: none !important;
}
/* quickview & product quantity standard handled in section 5 */

.module-articles__image {
    height: 220px !important;
    overflow: hidden !important;
    border-radius: 18px 18px 0 0 !important;
}

.module-articles__image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.module-articles__image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}








/* ===============================
   JustPack — внутренняя новость
   НЕ трогает товары
   =============================== */

#content.ns-smv > .row:has(.image-atricle) {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Основной блок новости */
#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 28px 0 50px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    display: grid;
    grid-template-columns: minmax(360px, 45%) minmax(0, 55%);
    gap: 0;
    align-items: start !important;

    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 28px;
    overflow: visible !important;
}

/* Левая часть — картинка */
#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .image-atricle {
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    border: 1px solid #eeeeee !important;
}

/* Картинка */
#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .image-atricle img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: top center !important;
    border-radius: 24px !important;
}

/* Правая часть — текст */
#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article {
    padding: 36px 44px;
    background: #ffffff;
    color: #141414;
    font-size: 16px;
    line-height: 1.72;
    border-left: 1px solid #eeeeee;
    align-self: start;
    position: relative;
    z-index: 2;
}

#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article p {
    margin: 0 0 16px;
}

#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article p:last-child {
    margin-bottom: 0;
}

/* Первый абзац */
#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article p:first-child {
    font-size: 18px;
    line-height: 1.62;
    font-weight: 500;
    color: #141414;
}

/* Блоки доставки */
#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article p:has(strong) {
    background: #f8f8f8;
    border-left: 4px solid #ED2124;
    border-radius: 14px;
    padding: 14px 16px;
    margin: 18px 0;
}

#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article strong {
    color: #141414;
    font-weight: 700;
}

/* Нижняя панель */
#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .info-article {
    grid-column: 1 / -1;

    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;

    margin: 0 !important;
    padding: 18px 24px;

    background: #f8f8f8;
    border-top: 1px solid #eeeeee;

    color: #777777;
    font-size: 14px;

    position: relative;
    z-index: 3;
}

#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .info-article .a2a_kit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .info-article svg {
    width: 20px;
    height: 20px;
    color: #999999;
}

#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .total-comnent-article,
#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .aviewed-article,
#content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .date-added-article {
    display: flex !important;
    align-items: center;
    gap: 7px;
    color: #777777;
}

/* ===============================
   Sticky-картинка — только десктоп
   =============================== */

@media (min-width: 992px) {
    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) {
        --article-sticky-top: 200px;
        --article-image-top-offset: 43px;
        --article-image-side-offset: 40px;
        --article-image-bottom-offset: 116px;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .image-atricle {
        position: sticky !important;
        top: var(--article-sticky-top) !important;

        margin-top: var(--article-image-top-offset) !important;
        margin-left: var(--article-image-side-offset) !important;
        margin-right: var(--article-image-side-offset) !important;
        margin-bottom: var(--article-image-bottom-offset) !important;

        width: calc(100% - var(--article-image-side-offset) * 2) !important;

        max-height: calc(
            100vh - var(--article-sticky-top) - var(--article-image-bottom-offset)
        ) !important;

        align-self: start !important;
        overflow: hidden !important;
        z-index: 1;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .image-atricle img {
        display: block !important;
        width: 100% !important;
        height: auto !important;

        max-height: calc(
            100vh - var(--article-sticky-top) - var(--article-image-bottom-offset)
        ) !important;

        object-fit: contain !important;
        object-position: top center !important;
    }
}

/* ===============================
   Планшет
   =============================== */

@media (max-width: 991px) {
    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) {
        display: block;
        margin: 22px 0 40px !important;
        border-radius: 24px;
        overflow: hidden !important;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .image-atricle {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        margin: 0 !important;
        border-radius: 24px 24px 0 0 !important;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .image-atricle img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        border-radius: 24px 24px 0 0 !important;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article {
        padding: 26px 28px;
        border-left: 0;
        border-top: 1px solid #eeeeee;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .info-article {
        padding: 16px 20px;
    }
}

/* ===============================
   Мобильная версия
   =============================== */

@media (max-width: 575px) {
    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) {
        margin: 16px 0 36px !important;
        border-radius: 20px;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .image-atricle {
        border-radius: 20px 20px 0 0 !important;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .image-atricle img {
        border-radius: 20px 20px 0 0 !important;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article {
        padding: 18px 16px;
        font-size: 15px;
        line-height: 1.65;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article p {
        margin-bottom: 14px;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article p:first-child {
        font-size: 16px;
        line-height: 1.6;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .description-article p:has(strong) {
        padding: 12px 14px;
        border-radius: 12px;
        margin: 14px 0;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .info-article {
        padding: 14px 16px;
        border-radius: 0;
        gap: 12px;
        font-size: 13px;
    }

    #content.ns-smv > .row > .col-xs-12.col-sm-12:has(.image-atricle) .info-article .a2a_kit {
        width: 100%;
        margin-right: 0;
    }
}
.jp-category-description-fullwidth .category_description img {
    display: none !important;
}
.small-slider__title_xs {
    border-radius: 5px !important;
    background: #353535a1 !important;
    padding: 10px !important;
    font-size: 1.2em !important;
    margin: 14px 23px 0 0 !important;
}
.product-groups .product-group .product-group-products .product-group-product.out-of-stock a::before {
  background: rgb(0 0 0 / 8%) !important;
}

/* JustPack mobile cleanup: 2026-10-30 */
@media (max-width: 991px) {
  .small-slider,
  .banner-blocks-container {
    display: none !important;
  }

  .categorywall-0 .wall-category-box > .wc-col-xs:nth-child(3),
  .categorywall-0 .wall-category-box > .wc-col-xs:nth-child(4) {
    display: none !important;
  }

  .product-thumb .image .stickers-ns {
    top: auto !important;
    bottom: 12px !important;
  }

  /* neutralized ocf-module-1 override */
}
/* End JustPack mobile cleanup */

/* JustPack mobile logo and hero text fix: 2026-10-30 */
@media (max-width: 991px) {
  .light-theme .up-header #logo img {
    width: auto !important;
    height: 40px !important;
    max-width: 130px !important;
    max-height: 40px !important;
    object-fit: contain !important;
  }

  .megasliderpro__content-title {
    top: 50px !important;
    left: 25px !important;
    width: calc(100% - 50px) !important;
  }

  .megasliderpro__title {
    padding: 8px 10px !important;
    margin: 0 0 12px !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
  }

  .megasliderpro__sub-title {
    margin: 0 5px !important;
    font-size: clamp(19px, 5vw, 22px) !important;
    line-height: 1.2 !important;
  }

  .megasliderpro__content-price {
    left: 25px !important;
    right: 25px !important;
    width: auto !important;
    bottom: 38px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }
}
/* End JustPack mobile logo and hero text fix */

/* JustPack stable product actions: 2026-10-30 */
.product-grid .product-thumb:hover .addit-action,
.container-module .product-thumb:hover .addit-action {
  top: 20px !important;
}

@media (max-width: 991px) {
  .product-grid .product-thumb:hover .addit-action,
  .container-module .product-thumb:hover .addit-action {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}
/* End JustPack stable product actions */

/* JustPack mobile card click and spacing: 2026-10-30 */
@media (max-width: 991px) {
  .product-grid .product-thumb .addit-action,
  .container-module .product-thumb .addit-action,
  .product-grid .product-thumb:hover .addit-action,
  .container-module .product-thumb:hover .addit-action {
    top: 8px !important;
    bottom: auto !important;
    left: 8px !important;
    right: 8px !important;
    transform: none !important;
    height: auto !important;
    width: auto !important;
    display: flex !important;
    gap: 6px !important;
  }

  .product-grid .product-thumb .addit-action > div,
  .container-module .product-thumb .addit-action > div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .product-grid .addit-action > div > button,
  .container-module .addit-action > div > button {
    width: 100% !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  }

  .dark-theme .product-grid .addit-action > div > button,
  .dark-theme .container-module .addit-action > div > button {
    border-color: rgba(255, 255, 255, 0.14) !important;
  }

  .product-grid .addit-action > div > button i,
  .container-module .addit-action > div > button i,
  .product-grid .addit-action > div > button svg,
  .container-module .addit-action > div > button svg {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .product-thumb .image .stickers-ns {
    left: 8px !important;
    bottom: 8px !important;
  }

  .product-thumb .image .stickers-ns .sticker-ns {
    min-width: 44px !important;
    height: 18px !important;
    line-height: 18px !important;
    font-size: 10px !important;
    padding: 0 7px !important;
  }
}
/* End JustPack mobile card click and spacing */

/* JustPack mobile card tap-through: 2026-10-30 */
@media (max-width: 991px) {
  .product-grid .product-thumb .addit-action,
  .container-module .product-thumb .addit-action,
  .product-thumb .image .stickers-ns {
    pointer-events: none !important;
  }

  .product-grid .product-thumb .addit-action button,
  .container-module .product-thumb .addit-action button {
    pointer-events: auto !important;
  }
}
/* End JustPack mobile card tap-through */

/* JustPack touch cards: disable hover image swap: 2026-10-30 */
@media (max-width: 991px) and (hover: none), (max-width: 991px) and (pointer: coarse) {
  .product-thumb:hover .main-img {
    opacity: 1 !important;
    transform: rotateY(0deg) !important;
  }

  .product-thumb:hover .additional-img-hover {
    opacity: 0 !important;
    transform: rotateY(-180deg) !important;
    pointer-events: none !important;
  }
}
/* End JustPack touch cards */

/* JustPack mobile light logo size match: 2026-10-30 */
@media (max-width: 991px) {
  .light-theme .up-header #logo img {
    width: 130px !important;
    height: auto !important;
    max-width: 130px !important;
    max-height: 56px !important;
    object-fit: contain !important;
  }
}
/* End JustPack mobile light logo size match */

/* JustPack light catalog button hover/open text: 2026-10-30 */
.light-theme .btn-menu-top:hover,
.light-theme .btn-menu-top:hover i,
.light-theme .btn-menu-top:hover .text-category,
.light-theme .btn-menu-top.active-btn,
.light-theme .btn-menu-top.active-btn i,
.light-theme .btn-menu-top.active-btn .text-category {
  color: #ffffff !important;
}
/* End JustPack light catalog button hover/open text */

/* JustPack product options: critical first-paint styles v3 */
#product .jp-option-grid{display:flow-root;margin:0 0 10px!important;padding:0!important}
#product .product-group .product-group-name{display:block!important;margin:0 0 8px!important;color:inherit!important;font-size:15px!important;font-weight:500!important;line-height:1.35!important}
#product .jp-option-grid .product-group-products{margin:0!important;padding:0!important}
#product .jp-option-grid a.group-text{margin:0!important}
#product .jp-options-toggle{margin:12px 0 0!important}
:root {
  --jp-opt-bg: #ffffff;
  --jp-opt-border: #d1d5db;
  --jp-opt-color: #1f2937;
  --jp-opt-current-bg: rgba(57, 117, 36, 0.08);
  --jp-opt-current-border: #397524;
  --jp-opt-current-color: #1a4710;
}

html.dark-theme,
.dark-theme {
  --jp-opt-bg: #1e2025;
  --jp-opt-border: #374151;
  --jp-opt-color: #f3f4f6;
  --jp-opt-current-bg: rgba(34, 197, 94, 0.22);
  --jp-opt-current-border: #22c55e;
  --jp-opt-current-color: #4ade80;
}

/* ========================================================
   JustPack: Intelligent Adaptive Option Groups & Swatches
   ======================================================== */

/* 0. Hide H1 above columns instantly on First Paint */
.container > h1.h1-prod-name:not(.h1-reviews-page),
#app-sp-ajax > h1.h1-prod-name:not(.h1-reviews-page),
#content > h1.h1-prod-name:not(.h1-reviews-page) {
  display: none !important;
}

#product .right-block-inner h1.h1-prod-name,
#product .h1-prod-name {
  display: block !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--up-text-wd-color, #1a1a1a) !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
}

#product {
  transition: opacity 0.18s ease !important;
}
#product.jp-variant-loading {
  opacity: 0.55 !important;
  pointer-events: none !important;
}

/* 0. Prevent large image flash on initial page load / refresh (FOUC) */
.thumbnails .general-image,
.general-image .swiper,
.general-image .swiper-slide {
  max-height: 480px !important;
}
.thumbnails .general-image img {
  max-width: 100% !important;
  max-height: 480px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

/* 1. Full-fill Color Swatches (All Colors: Tape, Stretch Film, PP, Server Swatches) */
#product .product-group:is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) .product-group-products,
#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) .product-group-products {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  margin: 8px 0 12px 0 !important;
  padding: 4px 2px !important;
}

#product .product-group:is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) .product-group-product,
#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) .product-group-product {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
}

#product .product-group:is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) :is(a.group-text, a.group-color),
#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) :is(a.group-text, a.group-color) {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.16) !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  overflow: hidden !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease !important;
}

#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) a.group-text {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) a.group-text * {
  pointer-events: none !important;
}

/* Swatch fill: Tape */
#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) .jp-tape-swatch,
#product .jp-tape-swatch {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  border-radius: 7px !important;
  border: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Swatch fill: Native OpenCart */
#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) a.group-color .padding-wrap,
#product .jp-color-grid a.group-color .padding-wrap {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) a.group-color .first-color,
#product .jp-color-grid .first-color {
  width: 100% !important;
  height: 100% !important;
  border-radius: 7px !important;
  border: none !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Transparent pattern */
#product .jp-tape-transparent,
#product a.group-text:has(.jp-tape-transparent),

#product a.group-color[title*="Прозор"] .first-color {
  background: repeating-conic-gradient(#cbd5e1 0% 25%, #ffffff 0% 50%) 50% / 8px 8px !important;
}

/* White swatch inner edge */
#product .jp-tape-swatch[style*="255, 255, 255"],
#product a.group-color[title*="Біл"] .first-color,
#product a.group-color[title*="Бел"] .first-color,
#product a.group-color[href*="bila"] .first-color {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12) !important;
}

/* Hover state */
#product .product-group:is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) :is(a.group-text, a.group-color):hover {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(57, 117, 36, 0.45) !important;
  transform: scale(1.05) !important;
  z-index: 2 !important;
}

/* Active / Selected state: prominent outer ring without shrinking or box-in-box */
#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) :is(.product-group-product.current, .current) :is(a.group-text, a.group-color),
#product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid, [data-attribute-id="18"]) :is(a.group-text, a.group-color).active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #397524 !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
  transform: scale(1.06) !important;
  z-index: 3 !important;
}

/* 2. Large Multi-Option Catalogs with Toggle (e.g. Zip-Lock Bags 12+ items) */
#product .product-group:not(.jp-expanded) .product-group-products .product-group-product:nth-child(n+13):not(.current),
#product .product-group-product.jp-option-hidden,
#product .jp-option-hidden {
  display: none !important;
}
#product .product-group.jp-expanded .product-group-products .product-group-product {
  display: block !important;
}
#product .product-group:has(.jp-options-toggle) .product-group-products,
#product .product-group.jp-has-toggle .product-group-products {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 8px 0 12px 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

@media (max-width: 991px) {
  #product .product-group:has(.jp-options-toggle) .product-group-products,
  #product .product-group.jp-has-toggle .product-group-products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575px) {
  #product .product-group:has(.jp-options-toggle) .product-group-products,
  #product .product-group.jp-has-toggle .product-group-products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

#product .product-group:has(.jp-options-toggle) .product-group-product,
#product .product-group.jp-has-toggle .product-group-product {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#product .product-group:has(.jp-options-toggle) a.group-text,
#product .product-group.jp-has-toggle a.group-text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 4px !important;
  border: 1px solid var(--jp-opt-border, #d1d5db) !important;
  border-radius: 8px !important;
  background: var(--jp-opt-bg, #fff) !important;
  color: var(--jp-opt-color, #1f2937) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: center !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

#product .product-group:has(.jp-options-toggle) .current a.group-text,
#product .product-group.jp-has-toggle .current a.group-text {
  border: 2px solid var(--jp-opt-current-border, #397524) !important;
  background: var(--jp-opt-current-bg, rgba(57, 117, 36, 0.08)) !important;
  color: var(--jp-opt-current-color, #1a4710) !important;
  font-weight: 600 !important;
}

/* 3. Standard Non-Toggle Option Groups (Width, Length, Thickness - Flex Pills) */
#product .product-group:not(:has(.jp-options-toggle)):not(.jp-has-toggle):not(.jp-tape-colors):not(.jp-pp-colors):not(.jp-server-colors):not(.jp-color-grid):not([data-attribute-id="18"]) .product-group-products {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 6px 0 10px 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#product .product-group:not(:has(.jp-options-toggle)):not(.jp-has-toggle):not(.jp-tape-colors):not(.jp-pp-colors):not(.jp-server-colors):not(.jp-color-grid):not([data-attribute-id="18"]) .product-group-product {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#product .product-group:not(:has(.jp-options-toggle)):not(.jp-has-toggle):not(.jp-tape-colors):not(.jp-pp-colors):not(.jp-server-colors):not(.jp-color-grid):not([data-attribute-id="18"]) a.group-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 64px !important;
  width: auto !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 1px solid var(--jp-opt-border, #d1d5db) !important;
  border-radius: 8px !important;
  background: var(--jp-opt-bg, #fff) !important;
  color: var(--jp-opt-color, #1f2937) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: center !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

#product .product-group:not(:has(.jp-options-toggle)):not(.jp-has-toggle):not(.jp-tape-colors):not(.jp-pp-colors):not(.jp-server-colors):not(.jp-color-grid):not([data-attribute-id="18"]) .current a.group-text {
  border: 2px solid var(--jp-opt-current-border, #397524) !important;
  background: var(--jp-opt-current-bg, rgba(57, 117, 36, 0.08)) !important;
  color: var(--jp-opt-current-color, #1a4710) !important;
  font-weight: 600 !important;
}

#product .jp-options-toggle {
  display: block !important;
  width: 100% !important;
  min-height: 40px !important;
  margin: 8px 0 16px !important;
  padding: 8px 16px !important;
  border: 1px solid var(--jp-opt-border, #d1d5db) !important;
  border-radius: 8px !important;
  background: var(--jp-opt-bg, #fff) !important;
  color: var(--jp-opt-color, #1f2937) !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-align: center !important;
}
/* /JustPack product options: critical first-paint styles v4 */


/* JustPack tape colours: critical first-paint styles v2 */
#product .jp-tape-colors a.group-text{font-size:0!important}
#product .jp-tape-swatch{display:block;width:30px;height:30px;border-radius:5px;border:1px solid rgba(0,0,0,.16);box-sizing:border-box}
#product .jp-tape-transparent{background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 50%/10px 10px}
#product .jp-tape-colors .current .jp-tape-swatch{box-shadow:0 0 0 2px white,0 0 0 3px #397524}
#product .product-group:not(.jp-tape-colors):has(a.group-text[href*="skotch-sini"],a.group-text[href*="skotch-syni"],a.group-text[href*="siniy-skotch"]):has(a.group-text[href*="skotch-zelen"],a.group-text[href*="zelenyy-skotch"]):has(a.group-text[href*="skotch-chervon"],a.group-text[href*="krasnyy-skotch"]) a.group-text{font-size:0!important}
#product .product-group:not(.jp-tape-colors):has(a.group-text[href*="skotch-sini"],a.group-text[href*="skotch-syni"],a.group-text[href*="siniy-skotch"]):has(a.group-text[href*="skotch-zelen"],a.group-text[href*="zelenyy-skotch"]):has(a.group-text[href*="skotch-chervon"],a.group-text[href*="krasnyy-skotch"]) a.group-text::after{content:"";display:block;width:30px;height:30px;border-radius:5px;border:1px solid rgba(0,0,0,.16);box-sizing:border-box;background:#888}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-sini"],[href*="skotch-syni"],[href*="siniy-skotch"])::after{background:#2563eb}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-zelen"],[href*="zelenyy-skotch"])::after{background:#15803d}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="/skotch-kolorovyj-"],[href*="/cvetnoj-skotch-"])::after{background:#fff}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-chervon"],[href*="krasnyy-skotch"])::after{background:#dc2626}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-zhov"],[href*="zheltyy-skotch"],[href*="zhyoltyy-skotch"])::after{background:#facc15}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-korychnev"],[href*="korichnevyy-skotch"])::after{background:#8b5a2b}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-prozoryj-universalnyj"],[href*="skotch-prozorij-universalnij"],[href*="prozrachnyj-universalnyj-skotch"])::after{background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 50%/10px 10px}
#product .product-group:not(.jp-tape-colors) .current a.group-text::after{box-shadow:0 0 0 2px white,0 0 0 3px #397524}
/* /JustPack tape colours: critical first-paint styles v2 */


/* JustPack tape colours: first-paint priority fix v3 */
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-sini"],[href*="skotch-syni"],[href*="siniy-skotch"])::after{background:#2563eb!important}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-zelen"],[href*="zelenyy-skotch"])::after{background:#15803d!important}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="/skotch-kolorovyj-"],[href*="/cvetnoj-skotch-"])::after{background:#fff!important}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-chervon"],[href*="krasnyy-skotch"])::after{background:#dc2626!important}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-zhov"],[href*="zheltyy-skotch"],[href*="zhyoltyy-skotch"])::after{background:#facc15!important}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-korychnev"],[href*="korichnevyy-skotch"])::after{background:#8b5a2b!important}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-prozoryj-universalnyj"],[href*="skotch-prozorij-universalnij"],[href*="prozrachnyj-universalnyj-skotch"])::after{background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 50%/10px 10px!important}
/* /JustPack tape colours: first-paint priority fix v3 */

/* JustPack option labels: dark-theme contrast */
.dark-theme #product .product-group .product-group-name{
  color:var(--up-text-wd-color,#fff)!important;
}
/* /JustPack option labels: dark-theme contrast */
/* JustPack stable tape swatches v4 */
#product .product-group:has(a[href*="skotch-sini"]):has(a[href*="skotch-zelen"]) .product-group-product:has(a:is([href*="skotch-sini"],[href*="skotch-syni"],[href*="siniy-skotch"])){order:0!important}
#product .product-group:has(a[href*="skotch-sini"]):has(a[href*="skotch-zelen"]) .product-group-product:has(a:is([href*="skotch-zelen"],[href*="zelenyy-skotch"])){order:1!important}
#product .product-group:has(a[href*="skotch-sini"]):has(a[href*="skotch-zelen"]) .product-group-product:has(a:is([href*="/skotch-kolorovyj-"],[href*="/cvetnoj-skotch-"])){order:2!important}
#product .product-group:has(a[href*="skotch-sini"]):has(a[href*="skotch-zelen"]) .product-group-product:has(a:is([href*="skotch-chervon"],[href*="krasnyy-skotch"])){order:3!important}
#product .product-group:has(a[href*="skotch-sini"]):has(a[href*="skotch-zelen"]) .product-group-product:has(a:is([href*="skotch-zhov"],[href*="zheltyy-skotch"],[href*="zhyoltyy-skotch"])){order:4!important}
#product .product-group:has(a[href*="skotch-sini"]):has(a[href*="skotch-zelen"]) .product-group-product:has(a:is([href*="skotch-korychnev"],[href*="korichnevyy-skotch"],[href*="skotch-prozoryj-kolorovyj"],[href*="prozrachnyj-cvetnoj-skotch"])){order:5!important}
#product .product-group:has(a[href*="skotch-sini"]):has(a[href*="skotch-zelen"]) .product-group-product:has(a:is([href*="skotch-prozoryj-universalnyj"],[href*="skotch-prozorij-universalnij"],[href*="prozrachnyj-universalnyj-skotch"])){order:6!important}
#product .product-group:not(.jp-tape-colors) a.group-text:is([href*="skotch-prozoryj-kolorovyj"],[href*="prozrachnyj-cvetnoj-skotch"])::after{background:#8b5a2b!important}
#product .price-group{border-top:0!important}

/* JustPack consistent option states and catalog button, 2026-11-04 */
#product .product-groups{border-bottom:0!important}
#product .product-group-product.current a,#product a.product-group-select-option.current{cursor:default!important;opacity:1!important}
#product :is(.jp-server-colors,.jp-tape-colors,.jp-pp-colors,.jp-color-grid) .product-group-product.disabled_for_click a{opacity:1!important;border-style:dashed!important}
#product :is(.jp-server-colors,.jp-tape-colors,.jp-pp-colors,.jp-color-grid) .product-group-product.current a{border-style:solid!important}
.dark-theme #product .product-group-name{color:#fff!important}
.up-header .btn-menu-top,.up-header .btn-menu-top:is(:hover,:focus,:active,.active){background:#cf3a32!important;border-color:#cf3a32!important;color:#fff!important;opacity:1!important}
.up-header .btn-menu-top :is(i,.text-category){color:#fff!important;opacity:1!important;background:transparent!important}
.up-header .btn-menu-top:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* JustPack: show full titles in compact product modules (2026-11-05). */
.position-no-owl .row_items .product-thumb{display:grid!important;grid-template-columns:minmax(80px,130px) minmax(0,1fr);grid-template-rows:auto 1fr;grid-template-areas:"name name" "image details";padding:15px;align-items:start}
.position-no-owl .row_items .product-thumb>.product-name{grid-area:name;position:static;width:auto;min-width:0;min-height:0;height:auto;max-height:none;overflow:visible;margin:0 0 12px}
.position-no-owl .row_items .product-thumb>.product-name a{display:block;-webkit-line-clamp:unset;line-clamp:unset;white-space:normal;overflow:visible;text-overflow:clip;height:auto;max-height:none;overflow-wrap:anywhere;line-height:22px}
.position-no-owl .row_items .product-thumb>.image{grid-area:image;width:100%;min-width:0;float:none}
.position-no-owl .row_items .product-thumb>.caption{grid-area:details;min-width:0}

/* Reserve two title lines so compact product rows stay aligned. */
.position-no-owl .row_items .product-thumb>.product-name{min-height:44px}
@media(max-width:991px){.position-no-owl .row_items .product-thumb>.product-name{min-height:0 !important;margin:0 0 8px !important;}}


/* JustPack UX improvements: 2026-11-11 */
/* 1. Hero & small slider legible glass pills + balanced hierarchy */
.megasliderpro__content-title {
  top: 44px !important;
  width: 78% !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.megasliderpro__title {
  display: inline-block;
  max-width: 100%;
  border-radius: 12px !important;
  background: rgba(24, 26, 30, 0.74) !important;
  backdrop-filter: blur(4px);
  padding: 11px 16px !important;
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.megasliderpro__sub-title {
  display: inline-block;
  max-width: 100%;
  border-radius: 10px !important;
  background: rgba(24, 26, 30, 0.66) !important;
  backdrop-filter: blur(4px);
  padding: 8px 14px !important;
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: #ffffff !important;
}
.small-slider__title_xs {
  border-radius: 10px !important;
  background: rgba(24, 26, 30, 0.74) !important;
  backdrop-filter: blur(4px);
  padding: 9px 12px !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  margin: 12px 16px 0 0 !important;
  color: #ffffff !important;
}
.small-slider__title_lg {
  border-radius: 10px !important;
  background: rgba(24, 26, 30, 0.68) !important;
  backdrop-filter: blur(4px);
  padding: 9px 12px !important;
  font-size: 14px !important;
  line-height: 1.38 !important;
  margin: 10px 16px 0 0 !important;
}
@media (max-width: 991px) {
  .megasliderpro__content-title {
    top: 68px !important;
    left: 20px !important;
    width: calc(100% - 40px) !important;
    gap: 8px;
  }
  .megasliderpro__title {
    font-size: 17px !important;
    line-height: 1.3 !important;
    padding: 8px 12px !important;
    margin: 0 !important;
  }
  .megasliderpro__sub-title {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    padding: 6px 10px !important;
    margin: 0 !important;
  }
}

/* 2. Advantages strip: 4 balanced columns edge-to-edge + bespoke icons */
@media (min-width: 992px) {
  .banner-blocks-container:has(> :nth-child(4):last-child) > [class*="col-"] {
    flex: 0 0 25%;
    max-width: 25%;
    width: 25%;
  }
}
.banner-blocks-container .banner-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 16px;
  padding: 20px !important;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.025);
  transition: none !important;
}
@media (max-width: 1199px) {
  .banner-blocks-container .banner-item {
    flex-direction: column !important;
    gap: 12px;
    padding: 16px !important;
  }
}
.banner-blocks-container .banner-item:hover {
  transform: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.025) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  background: var(--up-bg-main) !important;
}
.dark-theme .banner-blocks-container .banner-item,
.dark-theme .banner-blocks-container .banner-item:hover {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: var(--up-bg-main) !important;
}
.banner-blocks-container .banner-item .banner-image {
  display: flex !important;
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  max-width: 50px !important;
  border-radius: 14px !important;
  margin: 0 !important;
  background: var(--up-bg-main-hover, #f4f5f7);
  align-items: center;
  justify-content: center;
  position: relative;
}
.banner-blocks-container .banner-item:hover .banner-image {
  background: var(--up-bg-main-hover, #f4f5f7) !important;
}
.banner-blocks-container .banner-item .banner-image img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain;
}
.banner-blocks-container .banner-item .banner-image .bb-circle-color {
  top: -3px !important;
  right: -3px !important;
  width: 12px !important;
  height: 12px !important;
  border: 2px solid var(--up-bg-main, #fff);
}
.banner-blocks-container .banner-item .banner-info {
  min-width: 0;
}
.banner-blocks-container .banner-item .banner-info .banner-title {
  margin-bottom: 6px !important;
  font-size: 14.5px !important;
  line-height: 1.3 !important;
}
.banner-blocks-container .banner-item .banner-info .banner-description {
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}

/* 3. Fill empty 4th column on homepage when pos14 has no active module */
@media (min-width: 1200px) {
  .bg_mode_pos_11 .row-flex:not(:has(.pos14)) > .position-no-owl {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

/* 4. Product Card Bottom Row: [Price (left)] - [Stepper (center)] - [Cart (right)] strictly on 1 line */
.price-actions-box {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px !important;
  width: 100% !important;
  margin-top: auto !important;
}

.price-actions-box > .price {
  order: 1 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  text-align: left !important;
}

.price-actions-box > .price .price_value {
  font-size: 18px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
}

.price-actions-box > .price .price-tax {
  display: none !important;
}

.price-actions-box > .quantity_plus_minus {
  order: 2 !important;
  flex: 0 0 114px !important;
  width: 114px !important;
  min-width: 114px !important;
  max-width: 114px !important;
  height: 38px !important;
  margin: 0 !important;
}

.price-actions-box > .quantity_plus_minus .add-action,
.price-actions-box > .quantity_plus_minus .add-down,
.price-actions-box > .quantity_plus_minus .add-up {
  flex: 0 0 24px !important;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  height: 32px !important;
}

.price-actions-box > .quantity_plus_minus input,
.price-actions-box > .quantity_plus_minus input.quantity-num {
  font-size: 13.5px !important;
  padding: 0 !important;
}

.price-actions-box > .cart {
  order: 3 !important;
  flex: 0 0 40px !important;
  margin: 0 !important;
}

.price-actions-box > .cart .btn-general {
  width: 40px !important;
  height: 38px !important;
  min-width: 40px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

#product .quantity-adder .add-action i,
#popup-quickview .quantity-adder .add-action i {
  font-size: 16px;
}
.position-no-owl .row_items .quantity_plus_minus {
  display: none !important;
}
@media (max-width: 600px) {
  .container-module .product-thumb .quantity_plus_minus,
  .product-grid .product-thumb .quantity_plus_minus {
    display: none !important;
  }
}

/* Average reviews store button layout */
.average-reviews .btn-block-rs {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
}
.average-reviews .btn-block-rs .chm-btn {
  width: 100% !important;
  justify-content: center !important;
}

/* 5. Module headings & compact column cards: remove double left indent and align flush on desktop & mobile */
/* Section 5 unified in JP-UI-FIXES-2026 below */
.position-no-owl .row_items .product-thumb {
  padding: 10px 0 15px 0 !important;
}
/* 6. Breathing room below Popular Categories module */
.container-module.jp-category-slider {
  margin-bottom: 34px !important;
}
@media (max-width: 767px) {
  .container-module.jp-category-slider {
    margin-bottom: 24px !important;
  }
}
/* 7. Mobile category page compact subcategory pills + toggle (PackPro-inspired, never on homepage .jp-category-slider) */
.jp-subcats-toggle,
.jp-category-slider .jp-subcats-toggle {
  display: none !important;
}
@media (max-width: 767px) {
  :not(.jp-category-slider) > .sub-categories {
    margin-bottom: 14px !important;
  }
  :not(.jp-category-slider) > .sub-categories .swiper-sub-category {
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  :not(.jp-category-slider) > .sub-categories .swiper-sub-category__navigation {
    display: none !important;
  }
  :not(.jp-category-slider) > .sub-categories .swiper-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px !important;
    transform: none !important;
    transition: none !important;
    width: auto !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  :not(.jp-category-slider) > .box-sub-cat {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 0 14px 0 !important;
  }
  :not(.jp-category-slider) > .box-sub-cat::before,
  :not(.jp-category-slider) > .box-sub-cat::after {
    display: none !important;
    content: none !important;
  }
  :not(.jp-category-slider) > .sub-categories .swiper-sub-category__item,
  :not(.jp-category-slider) > .box-sub-cat .item-subc {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important;
    text-align: left !important;
  }
  :not(.jp-category-slider) > .sub-categories:not(.jp-subcats-expanded) .swiper-wrapper:has(> :nth-child(4)) > :nth-child(n + 4),
  :not(.jp-category-slider) > .box-sub-cat:not(.jp-subcats-expanded):has(> :nth-child(4)) > :nth-child(n + 4) {
    display: none !important;
  }
  :not(.jp-category-slider) > .sub-categories .subcategory,
  :not(.jp-category-slider) > .box-sub-cat .subcategory {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 7px !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 36px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px 12px 4px 5px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid #d9dee5 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    text-decoration: none !important;
    position: relative !important;
  }
  :not(.jp-category-slider) > .sub-categories .subcategory::before,
  :not(.jp-category-slider) > .sub-categories .subcategory::after,
  :not(.jp-category-slider) > .box-sub-cat .subcategory::before,
  :not(.jp-category-slider) > .box-sub-cat .subcategory::after,
  :not(.jp-category-slider) > .sub-categories .sc-image::before,
  :not(.jp-category-slider) > .box-sub-cat .sc-image::before {
    display: none !important;
    content: none !important;
  }
  :not(.jp-category-slider) > .sub-categories .sc-image,
  :not(.jp-category-slider) > .box-sub-cat .sc-image {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    margin: 0 !important;
    padding: 2px !important;
    border-radius: 50% !important;
    background: #f3f5f8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }
  :not(.jp-category-slider) > .sub-categories .sc-image img,
  :not(.jp-category-slider) > .box-sub-cat .sc-image img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  :not(.jp-category-slider) > .sub-categories .sc-name,
  :not(.jp-category-slider) > .box-sub-cat .sc-name {
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    color: var(--up-text-color, #1f2328) !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
  :not(.jp-category-slider) > .sub-categories > .jp-subcats-toggle,
  :not(.jp-category-slider) > .box-sub-cat > .jp-subcats-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 38px !important;
    margin: 9px 0 0 0 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid #d9dee5 !important;
    color: var(--up-text-color, #1f2328) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    transition: background-color 0.15s ease, border-color 0.15s ease !important;
  }
  .jp-subcats-toggle svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease !important;
  }
  .jp-subcats-expanded .jp-subcats-toggle svg {
    transform: rotate(180deg) !important;
  }
  .dark-theme :not(.jp-category-slider) > .sub-categories .subcategory,
  .dark-theme :not(.jp-category-slider) > .box-sub-cat .subcategory,
  .dark-theme :not(.jp-category-slider) > .sub-categories > .jp-subcats-toggle,
  .dark-theme :not(.jp-category-slider) > .box-sub-cat > .jp-subcats-toggle {
    background: var(--up-bg-main, #25262a) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: var(--up-text-color, #f1f3f5) !important;
  }
  .dark-theme :not(.jp-category-slider) > .sub-categories .sc-image,
  .dark-theme :not(.jp-category-slider) > .box-sub-cat .sc-image {
    background: rgba(255, 255, 255, 0.08) !important;
  }
}
/* 9. Mobile 3-up category slider, footer legal strip & lookbook polish */
@media (max-width: 767px) {
  .jp-category-slider .sub-categories {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .jp-category-slider .sub-categories .swiper-module {
    padding: 6px 0 8px !important;
  }
  .jp-category-slider .subcategory.bg_item {
    padding: 8px 5px 10px !important;
    border-radius: 12px !important;
  }
  .jp-category-slider .subcategory .sc-image {
    min-height: 98px !important;
    height: 98px !important;
    width: 100% !important;
    margin-bottom: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .jp-category-slider .subcategory .sc-image img {
    max-height: 92px !important;
    max-width: 92px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .jp-category-slider .subcategory.bg_item .sc-name {
    font-size: 11.5px !important;
    line-height: 1.25 !important;
    padding: 0 2px !important;
    text-align: center !important;
  }
}
.jp-footer-legal {
  margin-top: 20px;
  margin-bottom: 18px;
}
.jp-footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.04);
  border: 1px solid rgba(17, 24, 39, 0.1);
  font-size: 12.5px;
  line-height: 1.45;
  color: #4b5563;
}
footer.ch-dark-theme .jp-footer-legal__inner,
.dark-theme footer .jp-footer-legal__inner {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #b1b1b1;
}
.jp-footer-legal__inner > p {
  display: contents;
  margin: 0;
}
.jp-footer-legal__inner p + p {
  display: block;
  width: 100%;
  margin: 4px 0 0;
}
.jp-footer-legal__inner strong,
.jp-footer-legal__inner b,
.jp-footer-legal__name {
  font-weight: 600;
  color: #111827;
}
footer.ch-dark-theme .jp-footer-legal__inner strong,
footer.ch-dark-theme .jp-footer-legal__inner b,
footer.ch-dark-theme .jp-footer-legal__name,
.dark-theme footer .jp-footer-legal__inner strong,
.dark-theme footer .jp-footer-legal__inner b,
.dark-theme footer .jp-footer-legal__name {
  color: #f3f4f6;
}
.jp-footer-legal__sep {
  opacity: 0.35;
}
.jp-footer-legal__inner a,
.jp-footer-legal__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.jp-footer-legal__inner a:hover,
.jp-footer-legal__inner a:focus,
.jp-footer-legal__link:hover,
.jp-footer-legal__link:focus {
  color: #ed2124;
  text-decoration: underline;
}
@media (max-width: 767px) {
  .jp-footer-legal {
    margin-top: 14px;
    margin-bottom: 14px;
  }
  .jp-footer-legal__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
    font-size: 12px;
  }
  .jp-footer-legal__sep {
    display: none;
  }
}
@media (max-width: 767px) {
  .jp-lookbook-slider .jp-lookbook-swiper {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
.jp-lookbook-slider .title-module {
  padding-right: 112px !important;
}
.jp-lookbook-slider .swiper-mod-navigation.disabled-navigation,
.jp-lookbook-slider .swiper-pagination-lock {
  display: none !important;
}
.jp-lookbook-slider .swiper-module {
  padding-top: 8px;
  padding-bottom: 4px;
}
.jp-lookbook-slider .swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}
.jp-lookbook-slider .swiper:not(.swiper-initialized) .lookbook__slide {
  flex: 0 0 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  .jp-lookbook-slider .swiper:not(.swiper-initialized) .swiper-wrapper {
    gap: 16px;
  }
  .jp-lookbook-slider .swiper:not(.swiper-initialized) .lookbook__slide {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}
@media (min-width: 992px) {
  .jp-lookbook-slider .swiper:not(.swiper-initialized) .swiper-wrapper {
    gap: 20px;
  }
  .jp-lookbook-slider .swiper:not(.swiper-initialized) .lookbook__slide {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
  }
}
.container-module.jp-lookbook-slider .swiper-initialized .swiper-slide:not(.swiper-slide-visible),
.container-module.jp-lookbook-slider .swiper-visible .swiper-slide:not(.swiper-slide-visible) {
  opacity: 1;
}
.jp-lookbook-slider .lookbook__slide {
  height: auto;
}
.jp-lookbook-slider .lookbook__item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
}
.dark-theme .jp-lookbook-slider .lookbook__item {
  border-color: rgba(255, 255, 255, 0.08);
}
.jp-lookbook-slider .jp-lookbook-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  position: static !important;
}
.jp-lookbook-slider .jp-lookbook-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.22);
  opacity: 1;
  margin: 0 !important;
  transition: width 0.2s ease, background-color 0.2s ease;
}
.dark-theme .jp-lookbook-slider .jp-lookbook-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.28);
}
.jp-lookbook-slider .jp-lookbook-pagination .swiper-pagination-bullet-active {
  width: 22px;
  background: #ed2124;
}

/* JustPack Information Product Grids (Recommended & Bestsellers pages) */
.jp-info-products-grid {
  margin-top: 8px;
}
.jp-info-products-grid__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.jp-info-products-grid__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.jp-info-products-grid__item .product-thumb {
  margin-bottom: 0;
  height: 100%;
  border-radius: 12px;
}
@media (max-width: 1199px) {
  .jp-info-products-grid__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (max-width: 991px) {
  .jp-info-products-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 767px) {
  .jp-info-products-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
/* /JustPack UX improvements */

/* Clickable Google Maps address link in header & mobile phones dropdown */
.up-header-phones__dropdown.ch-dropdown > li.jp-header-address-item,
.mobile-sidebar-phones__inner .up-header-phones__dropdown > li.jp-header-address-item {
  padding: 0;
}
.up-header-phones__dropdown.ch-dropdown > li.jp-header-address-item > a.jp-header-address-link,
.mobile-sidebar-phones__inner .up-header-phones__dropdown > li > a.jp-header-address-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  white-space: normal;
  line-height: 1.38;
  color: var(--up-text-color, #222222);
  font-weight: 500;
  text-decoration: none;
  padding: 6px 8px !important;
  border-radius: 8px;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.jp-header-address-link__icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #e31e24;
}
.jp-header-address-link__text {
  white-space: pre-line;
  text-decoration: underline;
  text-decoration-color: rgba(227, 30, 36, 0.35);
  text-underline-offset: 3px;
}
.up-header-phones__dropdown.ch-dropdown > li.jp-header-address-item > a.jp-header-address-link:hover,
.mobile-sidebar-phones__inner .up-header-phones__dropdown > li > a.jp-header-address-link:hover {
  color: #e31e24;
  background-color: rgba(227, 30, 36, 0.06);
}
.dark-theme .up-header-phones__dropdown.ch-dropdown > li.jp-header-address-item > a.jp-header-address-link:hover,
.dark-theme .mobile-sidebar-phones__inner .up-header-phones__dropdown > li > a.jp-header-address-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Mobile menu drawer typography, contacts/callback block & social links */
#mobm-left-content .m-mm-list .m-mm-list-item .mm-a {
  font-size: 16px;
  line-height: 1.35;
  min-height: 50px;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
}
#mobm-left-content .m-mm-list .m-mm-list-item .mm-a .m-mm-item-name {
  font-size: 16px;
  line-height: 1.35;
}
#mobm-left-content .header-nav-links > li > button,
#mobm-left-content .header-nav-links > li > a {
  font-size: 16px !important;
  line-height: 1.35 !important;
  padding: 12px 0 !important;
}
#mobm-left-content .jp-mob-contacts-block {
  border-top: 1px solid var(--up-border-color, #ebebeb);
  margin: 6px -15px 0;
  padding: 16px 18px;
}
#mobm-left-content .jp-mob-contacts-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
#mobm-left-content .jp-mob-contacts-icon {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--up-text-color, #222222);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#mobm-left-content .jp-mob-contacts-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
#mobm-left-content .jp-mob-phones-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#mobm-left-content .jp-mob-phone-link {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--up-text-color, #222222);
  text-decoration: none;
}
#mobm-left-content .jp-mob-phone-link:hover,
#mobm-left-content .jp-mob-phone-link:active {
  color: #e31e24;
}
#mobm-left-content .jp-mob-callback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1px solid var(--up-border-color, #dcdcdc);
  background: transparent;
  color: var(--up-text-color, #222222);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
#mobm-left-content .jp-mob-callback-btn:hover,
#mobm-left-content .jp-mob-callback-btn:focus {
  border-color: #e31e24;
  color: #e31e24;
  background-color: rgba(227, 30, 36, 0.04);
}
#mobm-left-content .desc_info_mob {
  margin-top: 0;
  padding: 12px 18px;
  font-size: 13.5px;
  line-height: 1.45;
  border-top: 1px solid var(--up-border-color, #ebebeb);
}
#mobm-left-content .jp-mob-socials-block {
  border-top: 1px solid var(--up-border-color, #ebebeb);
  margin: 0 -15px;
  padding: 16px 18px 22px;
}
#mobm-left-content .jp-mob-socials-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--up-text-wd-color, #7a7a7a);
  margin-bottom: 12px;
}
#mobm-left-content .jp-mob-socials-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
#mobm-left-content .jp-mob-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: var(--up-text-color, #222222);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
#mobm-left-content .jp-mob-social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
#mobm-left-content .jp-mob-social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#mobm-left-content .jp-mob-social-link i {
  font-size: 19px;
}
.dark-theme #mobm-left-content .jp-mob-callback-btn {
  border-color: rgba(255, 255, 255, 0.24);
  color: #f3f3f3;
}
.dark-theme #mobm-left-content .jp-mob-social-link {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* 10. Balanced vertical spacing above position-no-owl */
.bg_mode_pos_11 {
  padding-top: 28px;
}
@media (max-width: 991px) {
  .bg_mode_pos_11 {
    padding-top: 18px;
  }
  .bg_mode_pos_11 .position-no-owl .container-module {
    margin-bottom: 24px;
  }
}

/* 11. Crisp logos, restored drawer menu size, redesigned drawer footer & mobile compact cards */
.up-header__logo-desktop img[src*=".svg"],
.up-header__logo-mobile img[src*=".svg"] {
  width: 130px;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 991px) {
  .light-theme .up-header #logo img,
  .dark-theme .up-header #logo img {
    width: 130px !important;
    height: auto !important;
    max-width: 130px !important;
    max-height: 44px !important;
    object-fit: contain !important;
  }
}

/* Mobile drawer header logo switching cleanly with theme */
#mobm-left-content .mobm-top {
  gap: 10px;
  padding-right: 50px;
}
#mobm-left-content .mobm-top .jp-mobm-logo {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  line-height: 0;
}
#mobm-left-content .mobm-top .jp-mobm-logo-img {
  width: 114px;
  max-width: 100%;
  height: auto !important;
  max-height: 26px;
  object-fit: contain;
  display: inline-block;
}
#mobm-left-content .mobm-top .jp-mobm-logo-img--dark {
  display: none;
}
html.dark-theme #mobm-left-content .mobm-top .jp-mobm-logo-img--light {
  display: none;
}
html.dark-theme #mobm-left-content .mobm-top .jp-mobm-logo-img--dark {
  display: inline-block;
}

/* Restore original Upstore menu font size in mobile drawer */
#mobm-left-content .m-mm-list .m-mm-list-item .mm-a {
  font-size: 14px !important;
  line-height: 1.35 !important;
  min-height: 0 !important;
  height: 100% !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#mobm-left-content .m-mm-list .m-mm-list-item .mm-a .m-mm-item-name {
  font-size: 14px !important;
  line-height: 1.35 !important;
}
#mobm-left-content .header-nav-links > li > button,
#mobm-left-content .header-nav-links > li > a {
  font-size: 14px !important;
  line-height: 1.35 !important;
  padding: 10px 0 !important;
}

/* Redesigned mobile drawer footer (phones, schedule, callback, socials) */
#mobm-left-content .jp-mob-drawer-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--up-border-color, #ebebeb);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 22px;
}
#mobm-left-content .jp-mob-contacts-card {
  background: var(--up-bg-main, #f7f8fa);
  border: 1px solid var(--up-border-color, #ebebeb);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#mobm-left-content .jp-mob-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#mobm-left-content .jp-mob-info-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--up-bg-wd, #ffffff);
  border: 1px solid var(--up-border-color, #e9e9e9);
  color: var(--up-text-color, #222222);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
#mobm-left-content .jp-mob-phones-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
#mobm-left-content .jp-mob-phone-link {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--up-text-color, #1a1a1a);
  text-decoration: none;
}
#mobm-left-content .jp-mob-phone-link:hover,
#mobm-left-content .jp-mob-phone-link:active {
  color: #e31e24;
}
#mobm-left-content .jp-mob-contacts-card .desc_info_mob.jp-mob-schedule-text {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--up-text-wd-color, #555555);
  min-width: 0;
}
#mobm-left-content .jp-mob-schedule-text p {
  margin: 0;
}
#mobm-left-content .jp-mob-callback-btn {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(227, 30, 36, 0.35);
  background: var(--up-bg-wd, #ffffff);
  color: #e31e24;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
#mobm-left-content .jp-mob-callback-btn:hover,
#mobm-left-content .jp-mob-callback-btn:focus {
  background: #e31e24;
  border-color: #e31e24;
  color: #ffffff;
}
#mobm-left-content .jp-mob-socials-block {
  margin: 0 !important;
  padding: 2px 2px 0 !important;
  border-top: 0 !important;
}
#mobm-left-content .jp-mob-socials-title {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--up-text-wd-color, #7a7a7a);
  margin-bottom: 10px;
}
#mobm-left-content .jp-mob-socials-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
#mobm-left-content .jp-mob-social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
html.dark-theme #mobm-left-content .jp-mob-contacts-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
html.dark-theme #mobm-left-content .jp-mob-info-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f3f3f3;
}
html.dark-theme #mobm-left-content .jp-mob-phone-link {
  color: #ffffff;
}
html.dark-theme #mobm-left-content .jp-mob-contacts-card .desc_info_mob.jp-mob-schedule-text {
  color: #b8b8b8;
}
html.dark-theme #mobm-left-content .jp-mob-callback-btn {
  background: rgba(227, 30, 36, 0.14);
  border-color: rgba(227, 30, 36, 0.45);
  color: #ff6b70;
}
html.dark-theme #mobm-left-content .jp-mob-callback-btn:hover,
html.dark-theme #mobm-left-content .jp-mob-callback-btn:focus {
  background: #e31e24;
  border-color: #e31e24;
  color: #ffffff;
}

/* Mobile compact product rows: tight title-to-photo coupling + crisp card separation */
@media (max-width: 991px) {
  .position-no-owl .title-module {
    margin-bottom: 12px !important;
  }
  .position-no-owl .row_items .item {
    margin-bottom: 16px !important;
  }
  .position-no-owl .row_items .item:last-child {
    margin-bottom: 0 !important;
  }
  .position-no-owl .row_items .product-thumb {
    padding: 8px 0 12px !important;
    row-gap: 0 !important;
  }
  .position-no-owl .row_items .product-thumb:not(:last-child) {
    margin-bottom: 14px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px dashed var(--up-border-color, #e9e9e9);
  }
  .position-no-owl .row_items .item:not(:last-child) .product-thumb:last-child {
    padding-bottom: 16px !important;
    border-bottom: 1px dashed var(--up-border-color, #e9e9e9);
  }
  .position-no-owl .row_items .product-thumb > .product-name a {
    line-height: 1.35 !important;
  }
}


/* JP-UI-FIXES-2026 */
/* Issue #2: Center .title-module headings against .swiper-mod-navigation and .see-all-reviews across all viewports */
.container-module {
  position: relative;
}
.container-module .title-module,
.title-module {
  display: flex !important;
  align-items: center !important;
  min-height: 48px !important;
  padding: 0 !important;
  margin-bottom: 12px !important;
  box-sizing: border-box;
}
.container-module .title-module > span,
.title-module > span {
  display: block;
  padding: 0 !important;
  line-height: 1.25;
}
.container-module:has(.swiper-mod-navigation:not(.jp-mod-nav-standalone):not(.disabled-navigation)) .title-module,
.jp-lookbook-slider:has(.swiper-mod-navigation:not(.disabled-navigation)) .title-module,
.jp-category-slider:has(.swiper-mod-navigation:not(.jp-mod-nav-standalone):not(.disabled-navigation)) .title-module {
  padding-right: 112px !important;
}
.container-module .swiper-mod-navigation {
  top: var(--jp-nav-top, 0px) !important;
  right: 0 !important;
  margin: 0 !important;
}
.container-module .swiper-mod-navigation.jp-mod-nav-standalone {
  top: auto !important;
}
.container-module .title-module:has(.see-all-reviews) {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  padding: 0 !important;
  min-height: 48px !important;
}
.container-module .title-module:has(.see-all-reviews) .see-all-reviews {
  position: static !important;
  top: auto !important;
  right: auto !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  margin: 0 !important;
}
#column-left .container-module .title-module:has(.see-all-reviews),
#column-right .container-module .title-module:has(.see-all-reviews) {
  flex-wrap: wrap;
}

/* Issue #1 & #7: Equal height & row alignment in product carousels + grid cards, plus pre-init flex fallback */
.container-module .swiper-module:not(.swiper-initialized):not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  align-items: stretch;
}
.container-module:not(:has(.row_items)) .swiper-module:not(.swiper-initialized):not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-wrapper > .item {
  flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
  padding-right: 10px;
}
@media (min-width: 710px) {
  .container-module:not(:has(.row_items)) .swiper-module:not(.swiper-initialized):not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-wrapper > .item {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}
@media (min-width: 992px) {
  .container-module:not(:has(.row_items)) .swiper-module:not(.swiper-initialized):not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-wrapper > .item {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
@media (min-width: 1220px) {
  .container-module:not(:has(.row_items)) .swiper-module:not(.swiper-initialized):not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-wrapper > .item {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-wrapper {
  align-items: stretch !important;
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb,
#account-wishlist .wl-product-layout.product-grid .product-thumb,
.category-page .product-layout.product-grid .product-thumb,
.jp-info-products-grid .product-thumb {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  flex: 1 1 auto !important;
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb > .image > a,
#account-wishlist .wl-product-layout.product-grid .product-thumb > .image > a,
.category-page .product-layout.product-grid .product-thumb > .image > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb > .image > a > img,
#account-wishlist .wl-product-layout.product-grid .product-thumb > .image > a > img,
.category-page .product-layout.product-grid .product-thumb > .image > a > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb > .caption,
#account-wishlist .wl-product-layout.product-grid .product-thumb > .caption,
.category-page .product-layout.product-grid .product-thumb > .caption,
.jp-info-products-grid .product-thumb > .caption {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb > .caption .product-name,
#account-wishlist .wl-product-layout.product-grid .product-thumb > .caption .product-name,
.category-page .product-layout.product-grid .product-thumb > .caption .product-name,
.jp-info-products-grid .product-thumb > .caption .product-name {
  min-height: 60px !important;
  margin-bottom: 8px !important;
}
@media (min-width: 992px) {
  .container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb > .caption .product-name,
  #account-wishlist .wl-product-layout.product-grid .product-thumb > .caption .product-name,
  .category-page .product-layout.product-grid .product-thumb > .caption .product-name,
  .jp-info-products-grid .product-thumb > .caption .product-name {
    min-height: 66px !important;
    margin-bottom: 10px !important;
  }
  .container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb > .caption .product-name a,
  #account-wishlist .wl-product-layout.product-grid .product-thumb > .caption .product-name a,
  .category-page .product-layout.product-grid .product-thumb > .caption .product-name a,
  .jp-info-products-grid .product-thumb > .caption .product-name a {
    -webkit-line-clamp: 3 !important;
  }
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb > .caption > div:nth-child(2),
#account-wishlist .wl-product-layout.product-grid .product-thumb > .caption > div:nth-child(2),
.category-page .product-layout.product-grid .product-thumb > .caption > div:nth-child(2),
.jp-info-products-grid .product-thumb > .caption > div:nth-child(2) {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb > .caption .product_model_sstatus,
#account-wishlist .wl-product-layout.product-grid .product-thumb > .caption .product_model_sstatus,
.category-page .product-layout.product-grid .product-thumb > .caption .product_model_sstatus,
.jp-info-products-grid .product-thumb > .caption .product_model_sstatus {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
.container-module .swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .swiper-slide.item > .product-thumb > .caption .price-actions-box,
#account-wishlist .wl-product-layout.product-grid .product-thumb > .caption .price-actions-box,
.category-page .product-layout.product-grid .product-thumb > .caption .price-actions-box,
.jp-info-products-grid .product-thumb > .caption .price-actions-box {
  margin-top: auto !important;
  padding-top: 6px;
}

/* Issue #4: Two-column layout for Personal Details in Account Edit (#account-edit) */
#account-edit .chm-account-content fieldset {
  max-width: 100% !important;
}
@media (min-width: 768px) {
  #account-edit .chm-account-content fieldset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 16px;
    align-items: start;
  }
  #account-edit .chm-account-content fieldset > legend {
    grid-column: 1 / -1;
    margin-bottom: 6px;
  }
  #account-edit .chm-account-content fieldset > .form-group {
    margin-bottom: 0;
    min-width: 0;
  }
  #account-edit .chm-account-content fieldset > .form-group:has(textarea) {
    grid-column: 1 / -1;
  }
  #account-edit .chm-account-content .buttons {
    margin-top: 22px;
  }
}

/* Issue #5: Account sidebar + optional filter stacked cleanly on Wishlist */
#account-wishlist .jp-wishlist-leftcol > #column-left {
  width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
}
#account-wishlist .jp-wishlist-leftcol > #column-left .chm-mod-account {
  margin-bottom: 16px;
}
#account-wishlist .jp-wishlist-leftcol .filter-wishlist {
  margin-bottom: 16px;
}
@media (max-width: 991px) {
  #account-wishlist .jp-wishlist-leftcol {
    width: 100%;
  }
  #account-wishlist .jp-wishlist-leftcol:not(:has(.filter-wishlist)) {
    display: none;
  }
}
@media (min-width: 992px) {
  #account-wishlist .jp-wishlist-leftcol {
    float: none;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (min-width: 1500px) {
  #account-wishlist .jp-wishlist-leftcol {
    width: 22%;
    flex: 0 0 22%;
    max-width: 22%;
  }
}

@media (max-width: 991px) {
  #account-edit #content,
  #content.col-sm-9:has(> .chm-account-content) {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* JP-UI-FIXES-2026-B2 */
/* 1. Category view switcher in theme pill style */
.product_list_toolbar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  height: 48px;
  padding: 4px;
  border-radius: 42px;
  background: var(--up-bg-wd, #ffffff);
  border: 1px solid var(--up-border-color, #e5e5e5);
  box-shadow: none !important;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
}
html.dark-theme .product_list_toolbar,
.dark-theme .product_list_toolbar {
  background: #1D1D1D;
  border-color: #2c2c2c;
  box-shadow: none !important;
}
.product_list_toolbar .indicator-active {
  display: none !important;
}
.product_list_toolbar button.btn-view {
  width: 46px;
  height: 38px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  border-radius: 38px;
  background: transparent;
  color: #707070;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.product_list_toolbar #grid-view,
.product_list_toolbar #list-view {
  display: inline-flex;
}
@media (min-width: 1200px) {
  .product_list_toolbar #price-view.visible-lg {
    display: inline-flex !important;
  }
}
html.dark-theme .product_list_toolbar button.btn-view,
.dark-theme .product_list_toolbar button.btn-view {
  color: #a8a8a8;
}
.product_list_toolbar button.btn-view:hover,
.product_list_toolbar button.btn-view:focus-visible {
  background: rgba(237, 33, 36, 0.08);
  color: #ED2124;
  outline: none;
}
html.dark-theme .product_list_toolbar button.btn-view:hover,
html.dark-theme .product_list_toolbar button.btn-view:focus-visible,
.dark-theme .product_list_toolbar button.btn-view:hover,
.dark-theme .product_list_toolbar button.btn-view:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.product_list_toolbar button.btn-view svg {
  color: inherit !important;
}
.product_list_toolbar button.btn-view.active,
.product_list_toolbar button.btn-view.active:hover,
.product_list_toolbar button.btn-view.active:focus {
  background: #CF3A32;
  color: #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
}
.product_list_toolbar button.btn-view.active svg,
html.dark-theme .product_list_toolbar button.btn-view.active svg {
  color: #ffffff !important;
}

/* 2. Premium Cart Button and Stepper in Price View (.product-price) & Catalog Cards */
.product-price .product-thumb .caption {
  display: grid !important;
  grid-template-areas: "product_name price" "model_sstatus price" !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border-right: 1px solid var(--up-border-color) !important;
  border-left: none !important;
}
.product-price .product-thumb .caption .product-name {
  grid-area: product_name !important;
  padding: 14px 16px 4px 16px !important;
  margin: 0 !important;
}
.product-price .product-thumb .product_model_sstatus {
  grid-area: model_sstatus !important;
  padding: 0 16px 14px 16px !important;
  margin: 0 !important;
}
.product-price .product-thumb .price-actions-box,
.product-price .product-thumb .caption .price-actions-box {
  grid-area: price !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  align-self: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 20px 0 12px !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-left: none !important;
  box-sizing: border-box !important;
  justify-self: end !important;
}

/* Vertical Midline Centered Price across Views */
.product-price .product-thumb .caption .price-actions-box .price,
.product-list .product-thumb .caption .price-actions-box .price,
.product-thumb .caption .price-actions-box .price {
  order: 1 !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: right !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  flex: 0 0 auto !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  height: 38px !important;
  box-sizing: border-box !important;
}
.product-price .product-thumb .caption .price-actions-box .price .price_value,
.product-price .product-thumb .caption .price-actions-box .price .price-new,
.product-price .product-thumb .caption .price-actions-box .price .price_no_special,
.product-list .product-thumb .caption .price-actions-box .price .price_value,
.product-list .product-thumb .caption .price-actions-box .price .price-new,
.product-list .product-thumb .caption .price-actions-box .price .price_no_special {
  display: inline-flex !important;
  align-items: center !important;
  height: 38px !important;
  line-height: 38px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.product-price .product-thumb .caption .price-actions-box .price .price-old,
.product-list .product-thumb .caption .price-actions-box .price .price-old {
  display: inline-flex !important;
  align-items: center !important;
  height: 38px !important;
  line-height: 38px !important;
  font-size: 13px !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
}
.product-price .product-thumb .caption .price-actions-box .price .price-tax,
.product-list .product-thumb .caption .price-actions-box .price .price-tax {
  display: none !important;
}
html.dark-theme .product-thumb .caption .price-actions-box .price,
.dark-theme .product-thumb .caption .price-actions-box .price {
  color: #f8fafc !important;
}

/* Clean Quantity Stepper matching popup cart styling with 10px rounded corners matching buttons */
.product-thumb .price-actions-box .quantity_plus_minus,
.product-price .product-thumb .caption .price-actions-box .quantity_plus_minus,
.product-list .product-thumb .caption .price-actions-box .quantity_plus_minus,
.product-grid .product-thumb .caption .price-actions-box .quantity_plus_minus {
  order: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 90px !important;
  min-width: 90px !important;
  max-width: 90px !important;
  height: 38px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  padding: 0 2px !important;
  margin: 0 !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}
html.dark-theme .quantity_plus_minus,
html.dark-theme .product-thumb .price-actions-box .quantity_plus_minus,
html.dark-theme .product-price .product-thumb .caption .price-actions-box .quantity_plus_minus,
html.dark-theme .product-list .product-thumb .caption .price-actions-box .quantity_plus_minus,
html.dark-theme .product-grid .product-thumb .caption .price-actions-box .quantity_plus_minus,
html.dark-theme .jp-info-products-grid .product-thumb .caption .price-actions-box .quantity_plus_minus,
.dark-theme .quantity_plus_minus,
.dark-theme .product-thumb .price-actions-box .quantity_plus_minus,
.dark-theme .product-price .product-thumb .caption .price-actions-box .quantity_plus_minus,
.dark-theme .product-list .product-thumb .caption .price-actions-box .quantity_plus_minus,
.dark-theme .product-grid .product-thumb .caption .price-actions-box .quantity_plus_minus,
.dark-theme .jp-info-products-grid .product-thumb .caption .price-actions-box .quantity_plus_minus {
  background: #24262b !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.product-thumb .price-actions-box .quantity_plus_minus .add-down {
  order: 1 !important;
  width: 24px !important;
  min-width: 24px !important;
  height: 36px !important;
  border-radius: 9px 0 0 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  background: transparent !important;
  color: #475569 !important;
  user-select: none !important;
  border: none !important;
  padding: 0 !important;
  transition: color 0.15s ease !important;
}
.product-thumb .price-actions-box .quantity_plus_minus input.quantity-num {
  order: 2 !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 36px !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}
html.dark-theme .product-thumb .price-actions-box .quantity_plus_minus input.quantity-num,
.dark-theme .product-thumb .price-actions-box .quantity_plus_minus input.quantity-num {
  color: #ffffff !important;
}
.product-thumb .price-actions-box .quantity_plus_minus .add-up {
  order: 3 !important;
  width: 24px !important;
  min-width: 24px !important;
  height: 36px !important;
  border-radius: 0 9px 9px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  background: transparent !important;
  color: #475569 !important;
  user-select: none !important;
  border: none !important;
  padding: 0 !important;
  transition: color 0.15s ease !important;
}
.product-thumb .price-actions-box .quantity_plus_minus .add-action svg {
  display: none !important;
}
.product-thumb .price-actions-box .quantity_plus_minus .add-down::before {
  font-family: FontAwesome !important;
  content: "\f104" !important;
  font-size: 15px !important;
  line-height: 1 !important;
  color: #475569 !important;
}
.product-thumb .price-actions-box .quantity_plus_minus .add-up::before {
  font-family: FontAwesome !important;
  content: "\f105" !important;
  font-size: 15px !important;
  line-height: 1 !important;
  color: #475569 !important;
}
.product-thumb .price-actions-box .quantity_plus_minus .add-down:hover::before,
.product-thumb .price-actions-box .quantity_plus_minus .add-up:hover::before {
  color: #0f172a !important;
}
html.dark-theme .product-thumb .price-actions-box .quantity_plus_minus .add-down::before,
html.dark-theme .product-thumb .price-actions-box .quantity_plus_minus .add-up::before,
.dark-theme .product-thumb .price-actions-box .quantity_plus_minus .add-down::before,
.dark-theme .product-thumb .price-actions-box .quantity_plus_minus .add-up::before {
  color: #cbd5e1 !important;
}
html.dark-theme .product-thumb .price-actions-box .quantity_plus_minus .add-down:hover::before,
html.dark-theme .product-thumb .price-actions-box .quantity_plus_minus .add-up:hover::before,
.dark-theme .product-thumb .price-actions-box .quantity_plus_minus .add-down:hover::before,
.dark-theme .product-thumb .price-actions-box .quantity_plus_minus .add-up:hover::before {
  color: #ffffff !important;
}

/* Cart Button with brand red #cf3a32 and NO neon shadow */
.product-price .product-thumb .caption .price-actions-box .cart {
  order: 3 !important;
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
.product-thumb .caption .price-actions-box .cart .btn-general,
.product-price .product-thumb .caption .price-actions-box .cart .btn-general,
.product-list .product-thumb .caption .price-actions-box .cart .btn-general,
.product-grid .product-thumb .caption .price-actions-box .cart .btn-general {
  width: auto !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  background: #cf3a32 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border: none !important;
  box-shadow: none !important;
  transition: background-color 0.15s ease !important;
  cursor: pointer !important;
  transform: none !important;
  position: relative !important;
}
.product-thumb .caption .price-actions-box .cart .btn-general:hover,
.product-thumb .caption .price-actions-box .cart .btn-general:focus,
.product-price .product-thumb .caption .price-actions-box .cart .btn-general:hover,
.product-list .product-thumb .caption .price-actions-box .cart .btn-general:hover,
.product-grid .product-thumb .caption .price-actions-box .cart .btn-general:hover {
  background: #b52f28 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}
.product-thumb .caption .price-actions-box .cart .btn-general span.text-cart-add,
.product-price .product-thumb .caption .price-actions-box .cart .btn-general span.text-cart-add {
  display: inline !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.01em !important;
}
.product-thumb .caption .price-actions-box .cart .btn-general i.up-icon-cart,
.product-price .product-thumb .caption .price-actions-box .cart .btn-general i.up-icon-cart {
  font-size: 17px !important;
  line-height: 1 !important;
  color: #ffffff !important;
}

/* Grid view button and stepper alignment & generous spacing */
.product-grid .product-thumb .caption .price-actions-box {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px 8px !important;
  width: 100% !important;
}
.product-grid .product-thumb .caption .price-actions-box > .price {
  width: 100% !important;
  flex: 0 0 100% !important;
  margin-bottom: 6px !important;
}
.product-grid .product-thumb .caption .price-actions-box > .quantity_plus_minus {
  flex: 0 0 88px !important;
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  border-radius: 10px !important;
  margin: 0 !important;
}
.product-grid .product-thumb .caption .price-actions-box > .cart,
.product-grid .product-thumb .price-actions-box > .cart {
  order: 3 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
}
.product-grid .product-thumb .caption .price-actions-box > .cart .btn-general,
.product-grid .product-thumb .price-actions-box > .cart .btn-general {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}
.product-grid .product-thumb .caption .price-actions-box > .cart .btn-general.is-active,
.product-grid .product-thumb .price-actions-box > .cart .btn-general.is-active {
  padding-left: 12px !important;
  padding-right: 26px !important;
}
.product-grid .product-thumb .caption .price-actions-box .cart .btn-general .text-cart-add {
  display: inline-block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}
@media (max-width: 420px) {
  .product-grid .product-thumb .caption .price-actions-box > .cart,
  .product-grid .product-thumb .price-actions-box > .cart {
    flex: 0 0 40px !important;
    width: 40px !important;
  }
  .product-grid .product-thumb .caption .price-actions-box .cart .btn-general .text-cart-add {
    display: none !important;
  }
  .product-grid .product-thumb .caption .price-actions-box .cart .btn-general {
    min-width: 40px !important;
    padding: 0 !important;
  }
}

/* Product Price View (Desktop Rows) & List View Spacing & Borders */
.product-layout.product-price,
.product-price {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
}

.product-price .product-thumb,
.product-price:first-child .product-thumb,
.product-price:last-child .product-thumb,
.product-price:nth-child(n+1) .product-thumb {
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
  background: #ffffff !important;
}

.product-price .product-thumb:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  border-color: #cbd5e1 !important;
}

.product-list .product-thumb {
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
  background: #ffffff !important;
}

.product-list .product-thumb:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  border-color: #cbd5e1 !important;
}

html.dark-theme .product-price .product-thumb,
html.dark-theme .product-price:first-child .product-thumb,
html.dark-theme .product-price:last-child .product-thumb,
html.dark-theme .product-price:nth-child(n+1) .product-thumb,
.dark-theme .product-price .product-thumb,
html.dark-theme .product-list .product-thumb,
.dark-theme .product-list .product-thumb {
  background: #18191c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

html.dark-theme .product-price .product-thumb:hover,
.dark-theme .product-price .product-thumb:hover,
html.dark-theme .product-list .product-thumb:hover,
.dark-theme .product-list .product-thumb:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

/* 3. Mirror smooth FAQ container geometry override */
.sp-seo-faq .faq-text {
  padding: 0 !important;
  border-top: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}
.sp-seo-faq .faq-text > div {
  padding: 18px 24px 23px;
  border-top: 1px solid var(--up-border-color, #ededed);
}
@media (max-width: 767px) {
  .sp-seo-faq .faq-text > div {
    padding: 16px 18px 18px;
  }
}

/* 5. Recolor blue footer elements to brand red */
footer .footer-ribbon {
  background-color: #ED2124 !important;
}
footer .footer-ribbon-box::after {
  background-color: #B31215 !important;
}
footer .btn-subscribe {
  border-color: #ED2124 !important;
  color: #ED2124 !important;
}
footer .btn-subscribe:hover,
footer .btn-subscribe:focus {
  background-color: #ED2124 !important;
  border-color: #ED2124 !important;
  color: #ffffff !important;
}
footer .btn-subscribe svg path {
  fill: currentColor !important;
}
footer .btn-newsletter {
  background-color: #ED2124 !important;
  border-color: #ED2124 !important;
  color: #ffffff !important;
}
footer .btn-newsletter:hover,
footer .btn-newsletter:focus {
  background-color: #CF1B1E !important;
  border-color: #CF1B1E !important;
}
footer .footer-contact a[href^="mailto:"],
footer .footer-contact a[href^="mailto:"] span {
  color: #ED2124 !important;
}
footer .footer-contact a[href^="mailto:"]:hover,
footer .footer-contact a[href^="mailto:"]:hover span {
  color: #ff4d50 !important;
}

/* 6. Footer copyright row layout */
.copyright__payments .copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  text-align: center;
  line-height: 1.5;
}
.jp-meta-sep {
  opacity: 0.45;
}
@media (max-width: 575px) {
  .copyright__payments {
    padding-bottom: 18px;
  }
  .jp-meta-sep {
    display: none;
  }
}
@media (min-width: 992px) {
  .copyright__payments .copyright {
    padding-right: 230px;
  }
}
footer .copyright .jp-meta-ext {
  color: #ED2124 !important;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease;
}
footer .copyright .jp-meta-ext:hover,
footer .copyright .jp-meta-ext:focus {
  color: #ff4d50 !important;
  text-decoration: underline;
}

/* 7. Uniform footer contacts column & red map address */
footer .footer-contact ul.list-unstyled:first-child {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
@media (min-width: 576px) {
  footer .footer-contact ul.list-unstyled:first-child {
    margin-bottom: 0;
  }
}
footer .footer-contact ul.list-unstyled:first-child > li {
  margin-bottom: 0 !important;
}
footer .footer-contact ul.list-unstyled:first-child > li > .dflex {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px;
  margin-bottom: 0 !important;
  line-height: 22px;
}
footer .footer-contact ul.list-unstyled:first-child > li > .dflex .icon-image {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}
footer .footer-contact ul.list-unstyled:first-child > li > .dflex > :not(.icon-image),
footer .footer-contact ul.list-unstyled:first-child > li > .dflex > :not(.icon-image) > div {
  margin-bottom: 0 !important;
  font-size: 15px !important;
  line-height: 22px !important;
  font-weight: 500;
}
footer .footer-contact ul.list-unstyled:first-child > li a[href*="maps"] {
  color: #ED2124 !important;
  font-weight: 500;
  transition: color 0.18s ease;
}
footer .footer-contact ul.list-unstyled:first-child > li a[href*="maps"]:hover,
footer .footer-contact ul.list-unstyled:first-child > li a[href*="maps"]:focus {
  color: #ff4d50 !important;
}

/* 8. Homepage benefits description legible contrast */
.banner-blocks-container .banner-item .banner-info .banner-description {
  color: #3d3d3d !important;
}
html.dark-theme .banner-blocks-container .banner-item .banner-info .banner-description,
.dark-theme .banner-blocks-container .banner-item .banner-info .banner-description {
  color: #cccccc !important;
}

/* JP-UI-FIXES-2026-B3 */
/* 1. Subcategory & Category Slider title top-line alignment */
.jp-category-slider .subcategory.bg_item {
  justify-content: flex-start !important;
}
.jp-category-slider .subcategory.bg_item .sc-image {
  flex: 0 0 auto;
}
.jp-category-slider .subcategory.bg_item .sc-name {
  flex: 1 1 auto;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .jp-category-slider .subcategory.bg_item .sc-name {
    min-height: 40px;
  }
  .sub-categories .subcategory,
  .box-sub-cat .subcategory {
    justify-content: flex-start !important;
  }
  .sub-categories .subcategory .sc-image,
  .box-sub-cat .subcategory .sc-image {
    flex: 0 0 auto !important;
    margin-bottom: 10px !important;
  }
  .sub-categories .subcategory .sc-name,
  .box-sub-cat .subcategory .sc-name {
    margin: 0 0 12px !important;
    min-height: 40px;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .jp-category-slider .subcategory.bg_item .sc-name {
    min-height: 30px;
  }
}

/* 2. Category SEO expand button: crisp rectangular button without shadow/blur */
.jp-cat-desc-toggle {
  height: 38px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.jp-cat-desc-toggle:hover,
.jp-cat-desc-toggle:focus-visible {
  background: rgba(237, 33, 36, 0.04) !important;
  box-shadow: none !important;
}
html.dark-theme .jp-cat-desc-toggle:hover,
html.dark-theme .jp-cat-desc-toggle:focus-visible,
.dark-theme .jp-cat-desc-toggle:hover,
.dark-theme .jp-cat-desc-toggle:focus-visible {
  background: rgba(237, 33, 36, 0.14) !important;
  box-shadow: none !important;
}

/* 4. Override hardcoded theme blue :hover colors with brand red */
.light-theme .product-thumb .product-name a:hover,
.light-theme .product-thumb .product-name a:focus-visible,
.dark-theme .product-thumb .product-name a:hover,
.dark-theme .product-thumb .product-name a:focus-visible,
.light-theme .subcategory:hover .sc-name,
.dark-theme .subcategory:hover .sc-name,
.subcategory a:hover .sc-name,
.subcategory:hover .sc-name,
.light-theme .cart-item .cart-item-prod-name a:hover,
.dark-theme .cart-item .cart-item-prod-name a:hover,
.customer-reviews__name a:hover,
.articles__title a:hover,
.module-articles__title a:hover,
.compare-product__name a:hover,
#additional-menu .nsmenu-type-manufacturer a.nsmenu-parent-title:hover,
#additional-menu .nsmenu-type-category-full-image .nsmenu-ischild a:hover,
#additional-menu .nsmenu-type-category-full-image .nsmenu-parent-title:hover,
#menu-vertical #menu-vertical-list > li .dropdown-menu-simple .nsmenu-full3level .nsmenu-parent-title:hover,
#menu-vertical #menu-vertical-list > li .dropdown-menu-full-image .nsmenu-parent-title:hover,
#menu-vertical #menu-vertical-list > li .dropdown-menu-simple .nsmenu-full3level .level4_full li a:hover,
#menu-vertical #menu-vertical-list > li .dropdown-menu-full-image .nsmenu-ischild li a:hover {
  color: var(--up-color-link-hover, #ED2124) !important;
}

/* 6. FAQ info page spacing & paragraph rhythm */
.sp-seo-faq.jp-info-faq {
  margin: 18px 0 28px;
}
.sp-seo-faq.jp-info-faq .faq-text > div > div + div,
.sp-seo-faq.jp-info-faq .faq-text > div > p + p {
  margin-top: 6px;
}

/* 7. Unmistakable in-cart button indicator - solid brand red #cf3a32, checkmark badge, NO pale green */
.light-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock),
.light-theme .product-thumb:hover .cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"]),
.light-theme #product .cart .btn-general.is-active:not(.btn-notify-stock),
.light-theme #popup-quickview .cart .btn-general.is-active:not(.btn-notify-stock),
html.dark-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock),
.dark-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock),
html.dark-theme .product-thumb:hover .cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"]),
.dark-theme .product-thumb:hover .cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"]),
html.dark-theme #product .cart .btn-general.is-active:not(.btn-notify-stock),
.dark-theme #product .cart .btn-general.is-active:not(.btn-notify-stock),
html.dark-theme #popup-quickview .cart .btn-general.is-active:not(.btn-notify-stock),
.dark-theme #popup-quickview .cart .btn-general.is-active:not(.btn-notify-stock) {
  position: relative !important;
  background-color: #cf3a32 !important;
  border: 1px solid #cf3a32 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  padding-left: 14px !important;
  padding-right: 28px !important;
}
.light-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock):hover,
.light-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock):focus,
.light-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock):active,
.light-theme #product .cart .btn-general.is-active:not(.btn-notify-stock):hover,
.light-theme #product .cart .btn-general.is-active:not(.btn-notify-stock):focus,
.light-theme #popup-quickview .cart .btn-general.is-active:not(.btn-notify-stock):hover,
html.dark-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock):hover,
.dark-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock):hover,
html.dark-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock):focus,
.dark-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock):focus {
  background-color: #b52f28 !important;
  border: 1px solid #b52f28 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.light-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock) .up-icon-cart,
.light-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock):hover .up-icon-cart,
.light-theme .product-thumb:hover .cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"]) .up-icon-cart,
.light-theme #product .cart .btn-general.is-active:not(.btn-notify-stock) .up-icon-cart,
.light-theme #product .cart .btn-general.is-active:not(.btn-notify-stock):hover .up-icon-cart,
.light-theme #popup-quickview .cart .btn-general.is-active:not(.btn-notify-stock) .up-icon-cart,
.light-theme #popup-quickview .cart .btn-general.is-active:not(.btn-notify-stock):hover .up-icon-cart,
html.dark-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock) .up-icon-cart,
.dark-theme .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock) .up-icon-cart,
html.dark-theme #product .cart .btn-general.is-active:not(.btn-notify-stock) .up-icon-cart,
.dark-theme #product .cart .btn-general.is-active:not(.btn-notify-stock) .up-icon-cart {
  color: #ffffff !important;
}

/* Corner checkmark badge on cart buttons with ample right margin from text */
.product-thumb .caption .price-actions-box .cart .btn-general.is-active,
.product-price .product-thumb .caption .price-actions-box .cart .btn-general.is-active,
.product-list .product-thumb .caption .price-actions-box .cart .btn-general.is-active,
.product-grid .product-thumb .caption .price-actions-box .cart .btn-general.is-active {
  padding-left: 14px !important;
  padding-right: 28px !important;
}

.product-thumb .caption .price-actions-box .cart .btn-general.is-active::after,
.cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock)::after,
.btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock):not(.related-products__action .btn-general)::after {
  content: "" !important;
  position: absolute !important;
  top: -2px !important;
  right: 2px !important;
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background-color: #22c55e !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4.5 10.5 8.2 14.2 15.8 6.2' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 10px !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
  display: block !important;
  z-index: 2 !important;
  pointer-events: none !important;
}
html.dark-theme .product-thumb .caption .price-actions-box .cart .btn-general.is-active::after,
html.dark-theme .cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock)::after,
.dark-theme .product-thumb .caption .price-actions-box .cart .btn-general.is-active::after,
.dark-theme .cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock)::after {
  border-color: #18191c !important;
}
.btn-general.is-active.squircle:not([onclick*="upstoreNotifyStock"]):not(.btn-notify-stock) .up-icon-cart {
  transform: translate(-2px, 2px) scale(0.92);
}

/* Related products plus-icon -> green checkmark when in cart */
.related-products__action .btn-general.is-active:not([onclick*="upstoreNotifyStock"]) .add-icon-plus::before,
.related-products__action .btn-general.is-active:not([onclick*="upstoreNotifyStock"]) .add-icon-plus::after {
  display: none !important;
}
.related-products__action .btn-general.is-active:not([onclick*="upstoreNotifyStock"])::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4.5 10.5 8.2 14.2 15.8 6.2' stroke='%23057505' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  pointer-events: none;
}
html.dark-theme .related-products__action .btn-general.is-active:not([onclick*="upstoreNotifyStock"])::after,
.dark-theme .related-products__action .btn-general.is-active:not([onclick*="upstoreNotifyStock"])::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4.5 10.5 8.2 14.2 15.8 6.2' stroke='%234ade80' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Full-width labeled cart buttons: swap bag icon to check-circle and hide corner badge */
.product-list .product-thumb .cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"])::after,
#product .cart .btn-general.is-active:not(.btn-notify-stock)::after,
#popup-quickview .cart .btn-general.is-active:not(.btn-notify-stock)::after,
#fm-fixed-mobile-bottom .btn-general.is-active::after {
  display: none !important;
}
.product-list .product-thumb .cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"]) .up-icon-cart::before,
#product .cart .btn-general.is-active:not(.btn-notify-stock) .up-icon-cart::before,
#popup-quickview .cart .btn-general.is-active:not(.btn-notify-stock) .up-icon-cart::before {
  content: "\e906" !important;
}
.product-list .product-thumb .cart .btn-general.is-active:not([onclick*="upstoreNotifyStock"]) .text-cart-add,
#product .cart .btn-general.is-active:not(.btn-notify-stock) .text-cart-add,
#popup-quickview .cart .btn-general.is-active:not(.btn-notify-stock) .text-cart-add {
  font-weight: 600;
}

/* JP-UI-FIXES-2026-B4 */
/* 1. Mobile Account floating Menu button & Account/Primary red brand states */
.chm-account-button {
  background: #ED2124 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  filter: none !important;
}
.chm-account-button:hover,
.chm-account-button:focus,
.chm-account-button:active {
  background: #CF3A32 !important;
  color: #ffffff !important;
}
.chm-account-button .icon-account-menu,
.chm-account-button .text-am-menu {
  color: #ffffff !important;
}
.chm-list-group-item.active::before {
  background: #ED2124 !important;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:active:focus {
  background-color: #CF3A32 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
.chm-btn-outline-primary {
  border-color: #ED2124 !important;
  color: #ED2124 !important;
}
.chm-btn-outline-primary:hover,
.chm-btn-outline-primary:focus,
.chm-btn-outline-primary:active {
  background-color: #ED2124 !important;
  border-color: #ED2124 !important;
  color: #ffffff !important;
}
.checkbox-input[type="radio"]:checked,
.chm-radio label input[type="radio"]:checked,
.checkbox-input[type="checkbox"]:checked {
  background-color: #ED2124 !important;
  border-color: #ED2124 !important;
}
.checkbox-input:hover,
.chm-radio label input[type="radio"]:hover {
  border-color: #ED2124 !important;
}

/* 2-5. Account pages full width on mobile/tablet (<992px) + separated newsletter buttons */
@media (max-width: 991px) {
  .row-flex > #content,
  .row-flex > #content.col-sm-9,
  .row-flex > #content.col-md-9,
  .row-flex > #content.col-sm-6,
  .row-flex > #content.col-md-6 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}
@media (max-width: 767px) {
  .chm-account-content {
    width: 100%;
    padding: 18px 16px;
    border-radius: 16px;
  }
}
.chm-account-content .buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.chm-account-content .buttons::before,
.chm-account-content .buttons::after {
  display: none !important;
  content: none !important;
}
.chm-account-content .buttons > .pull-left,
.chm-account-content .buttons > .pull-right {
  float: none !important;
}
@media (max-width: 479px) {
  .chm-account-content .buttons {
    gap: 10px;
  }
  .chm-account-content .buttons > .pull-left,
  .chm-account-content .buttons > .pull-right {
    flex: 1 1 calc(50% - 5px);
    min-width: 120px;
  }
  .chm-account-content .buttons > .pull-left > .btn,
  .chm-account-content .buttons > .pull-right > .btn,
  .chm-account-content .buttons > .pull-right > input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}

/* 6. Mobile Contacts popup: icon-to-text gap & vertical breathing room */
.mobile-sidebar-phones__items {
  gap: 6px;
  padding: 8px 0 16px;
}
.mobile-sidebar-phones__text-af {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
}
.mobile-sidebar-phones__dropdown li {
  padding: 13px 0 !important;
  min-height: 52px;
}
.mobile-sidebar-phones__dropdown li > a,
.mobile-sidebar-phones__dropdown li > div {
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  width: 100%;
  font-size: 15px;
  line-height: 1.4;
}
.mobile-sidebar-phones__dropdown .up-header-phones__icon-image,
.mobile-sidebar-phones__dropdown .mobile-sidebar-phones__icon-image {
  margin-right: 0 !important;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-sidebar-phones__inner .mobile-sidebar-phones__dropdown > li.jp-header-address-item,
.mobile-sidebar-phones__inner .up-header-phones__dropdown > li.jp-header-address-item {
  padding: 13px 0 !important;
}
.mobile-sidebar-phones__inner .mobile-sidebar-phones__dropdown > li > a.jp-header-address-link,
.mobile-sidebar-phones__inner .up-header-phones__dropdown > li > a.jp-header-address-link {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  white-space: normal;
  line-height: 1.45;
  color: var(--up-text-color, #222222);
  font-weight: 500;
  text-decoration: none;
  padding: 2px 0 !important;
  border-radius: 8px;
}
.mobile-sidebar-phones__inner .jp-header-address-link__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  padding: 2px;
  margin-top: 1px;
  color: #ED2124;
}

/* 7. Slide-out Mini-Cart mobile stepper & item layout */
@media (max-width: 767px) {
  .header-cart-fix-right .header-cart-product-item {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .header-cart-fix-right .header-cart-product-item-left {
    flex: 0 0 88px;
    max-width: 88px;
  }
  .header-cart-fix-right .header-cart-product-item-left .btn-link-delete {
    width: 34px;
    height: 34px;
    left: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .header-cart-fix-right .header-cart-product-item-center {
    flex: 1 1 calc(100% - 88px);
    width: auto;
    min-width: 0;
    padding: 0 0 0 10px;
  }
  .header-cart-fix-right .header-cart-price-quantity {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 14px;
    padding-left: 20px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }
  .header-cart-fix-right .header-cart-price-quantity .header-cart-item-total {
    margin-top: 0;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
  }
  /* .header-cart-fix-right stepper standardized in Section 5 */
}

/* 8. Checkout & Cart page steppers svg color */
.page-cart .ch-cart-quantity button svg,
.ch-cart-quantity button svg {
  stroke: currentColor !important;
}
@media (max-width: 767px) {
  .page-cart .cart-item .cart-item-price-quantity {
    align-items: center;
    gap: 10px;
  }
  .page-cart .cart-item .cart-item-price-quantity > .dflex {
    align-items: center;
    gap: 8px;
  }
  .page-cart .cart-item .cart-item-price-quantity .btn-remove {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* 9. Popup Cart / Fastorder modal mobile steppers */
@media (max-width: 767px) {
  /* #popup-quickorder mobile stepper standardized in Section 5 */
  #popup-quickorder .cart-products__action {
    align-items: center;
    gap: 10px;
  }
  #popup-quickorder .cart-products__remove .btn-link-delete {
    width: 38px !important;
    height: 38px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
}

/* 10. Mobile Left Drawer: logo left / title center, bigger Theme & Language toggles */
#mobm-left-content .mobm-top .jp-mobm-logo {
  margin: 0 !important;
  flex: 0 0 auto;
}
#mobm-left-content .mobm-top .mobm-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  font-weight: 600;
}
#mobm-left-content .mobm-header-block {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 16px;
}
#mobm-left-content .mobm-header-block .mh-left-b.mob-theme-mode,
#mobm-left-content .mobm-header-block .mh-left-b.mob-language {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#mobm-left-content .mobm-header-block .mob-text-theme-mode,
#mobm-left-content .mobm-header-block .mob-text-language {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
  padding-left: 2px;
  text-align: left;
}
#mobm-left-content .mob-theme-mode .up-theme-mode {
  width: 100%;
  height: 46px;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}
#mobm-left-content .mob-theme-mode .up-theme-btn {
  flex: 1 1 50%;
  width: auto;
  height: 36px;
  border-radius: 9px;
}
#mobm-left-content .mob-theme-mode .up-theme-btn svg {
  width: 20px;
  height: 20px;
}
#mobm-left-content .mob-language #language,
#mobm-left-content .mob-language .dropdown-box {
  width: 100%;
  margin: 0 !important;
}
#mobm-left-content .mob-language .dropdown-menu.up-compact-dropdown {
  width: 100% !important;
  height: 46px !important;
  padding: 4px !important;
  border-radius: 12px !important;
  gap: 4px;
  justify-content: stretch !important;
}
#mobm-left-content .mob-language .dropdown-menu.up-compact-dropdown > li {
  flex: 1 1 50%;
  height: 100%;
  display: flex;
}
#mobm-left-content .mob-language .dropdown-menu.up-compact-dropdown > li > button {
  width: 100%;
  height: 36px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 9px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ========================================================
   JustPack: Comprehensive Dark Theme Support for Product Page
   ======================================================== */
html.dark-theme #product .right-block-inner h1.h1-prod-name,
html.dark-theme #product h1.h1-prod-name,
html.dark-theme #product .h1-prod-name,
.dark-theme #product .right-block-inner h1.h1-prod-name,
.dark-theme #product h1.h1-prod-name,
.dark-theme #product .h1-prod-name {
  color: #f3f4f6 !important;
}

html.dark-theme #product .info-product .info-model,
html.dark-theme #product .info-product .info-weight,
html.dark-theme #product .info-product .info-manufacturer,
.dark-theme #product .info-product .info-model,
.dark-theme #product .info-product .info-weight,
.dark-theme #product .info-product .info-manufacturer {
  color: #9ca3af !important;
}

html.dark-theme #product .info-product .info-model span,
html.dark-theme #product .info-product .info-weight span,
html.dark-theme #product .info-product .info-manufacturer span,
html.dark-theme #product .info-product .info-manufacturer a,
.dark-theme #product .info-product .info-model span,
.dark-theme #product .info-product .info-weight span,
.dark-theme #product .info-product .info-manufacturer span,
.dark-theme #product .info-product .info-manufacturer a {
  color: #f3f4f6 !important;
}

html.dark-theme #product .info-product .compare-wishlist-group .btn,
.dark-theme #product .info-product .compare-wishlist-group .btn {
  color: #9ca3af !important;
  border-color: #374151 !important;
  background: #1f2227 !important;
}

html.dark-theme #product .product-group-name,
html.dark-theme #product .product-group-title,
.dark-theme #product .product-group-name,
.dark-theme #product .product-group-title {
  color: #f3f4f6 !important;
}

/* Inactive / disabled for click in dark theme */
html.dark-theme #product .product-group-product.disabled_for_click a.group-text,
.dark-theme #product .product-group-product.disabled_for_click a.group-text {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #9ca3af !important;
  border-style: dashed !important;
  border-color: #4b5563 !important;
  opacity: 0.85 !important;
}

/* Color swatches in dark theme */
html.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product a.group-text,
html.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product a.group-color,
.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product a.group-text,
.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product a.group-color {
  background: #18191c !important;
  border: 1px solid #4b5563 !important;
  opacity: 1 !important;
}

html.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product.current a.group-text,
html.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product.current a.group-color,
.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product.current a.group-text,
.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product.current a.group-color {
  border: 2px solid #22c55e !important;
  box-shadow: 0 0 0 2px #0f0f0f, 0 0 0 4px #22c55e !important;
}

html.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product.disabled_for_click a.group-text,
html.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product.disabled_for_click a.group-color,
.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product.disabled_for_click a.group-text,
.dark-theme #product :is(.jp-tape-colors, .jp-pp-colors, .jp-server-colors, .jp-color-grid) .product-group-product.disabled_for_click a.group-color {
  border: 1px dashed #6b7280 !important;
  opacity: 0.9 !important;
}

html.dark-theme .jp-tape-swatch[style*="rgb(0, 0, 0)"],
html.dark-theme .jp-tape-swatch[style*="#000"],
.dark-theme .jp-tape-swatch[style*="rgb(0, 0, 0)"],
.dark-theme .jp-tape-swatch[style*="#000"] {
  border: 1.5px solid #6b7280 !important;
}

/* Toggle hover in dark theme */
html.dark-theme #product .jp-options-toggle:hover,
.dark-theme #product .jp-options-toggle:hover {
  background: #282d35 !important;
  border-color: #22c55e !important;
  color: #4ade80 !important;
}

/* Price & Counter in Dark Theme */
html.dark-theme #product .jp-purchase-block .autocalc-product-price,
html.dark-theme #product .autocalc-product-price,
html.dark-theme #product .price-new span,
html.dark-theme #product .price-new,
.dark-theme #product .jp-purchase-block .autocalc-product-price,
.dark-theme #product .autocalc-product-price,
.dark-theme #product .price-new span,
.dark-theme #product .price-new {
  color: #f3f4f6 !important;
}

html.dark-theme #product .price-old,
.dark-theme #product .price-old {
  color: #9ca3af !important;
}

html.dark-theme #product .quantity-adder .quantity-product,
.dark-theme #product .quantity-adder .quantity-product {
  background: transparent !important;
  color: #f3f4f6 !important;
  border: none !important;
}

html.dark-theme #product .quantity-adder .add-action,
.dark-theme #product .quantity-adder .add-action {
  color: #9ca3af !important;
}

html.dark-theme #product .product-payment__name,
html.dark-theme #product .product-delivery__name,
.dark-theme #product .product-payment__name,
.dark-theme #product .product-delivery__name {
  color: #e5e7eb !important;
}

/* --- JUSTPACK AUDIT & NEW FEATURES (v2.8) --- */

/* 1. Lookbook circular arrows vertically centered */
.jp-lookbook-slider {
  position: relative !important;
}
.jp-lookbook-slider .title-module {
  padding-right: 0 !important;
}
.jp-lookbook-slider .swiper-mod-navigation {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 0 !important;
  margin: 0 !important;
  z-index: 20 !important;
  pointer-events: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transform: translateY(-50%) !important;
}
.jp-lookbook-slider .swiper-mod-navigation .swiper-mod-arrow {
  pointer-events: auto !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(17, 24, 39, 0.85) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.jp-lookbook-slider .swiper-mod-navigation .swiper-mod-arrow:hover {
  background: #000 !important;
  transform: scale(1.08) !important;
}
.jp-lookbook-slider .swiper-mod-navigation .prev-prod {
  margin-left: 8px !important;
}
.jp-lookbook-slider .swiper-mod-navigation .next-prod {
  margin-right: 8px !important;
}
@media (min-width: 1200px) {
  .jp-lookbook-slider .swiper-mod-navigation .prev-prod {
    margin-left: -18px !important;
  }
  .jp-lookbook-slider .swiper-mod-navigation .next-prod {
    margin-right: -18px !important;
  }
}

/* 2. Options toggle vertical centering */
#product .jp-options-toggle-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 12px 0 16px !important;
}
#product .jp-options-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
  padding: 8px 20px !important;
  min-height: 36px !important;
  width: auto !important;
  border-radius: 20px !important;
  text-align: center !important;
}
#product .jp-options-toggle > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

/* 3. Product Description Collapse */
.jp-product-desc-wrap {
  position: relative;
}
.jp-product-desc-content.jp-collapsed {
  max-height: 220px;
  overflow: hidden;
  position: relative;
}
.jp-product-desc-content.jp-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
.dark-theme .jp-product-desc-content.jp-collapsed::after {
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0), #121212);
}
.jp-desc-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.jp-desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(17, 24, 39, 0.05);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.2s ease;
}
.jp-desc-toggle:hover {
  background: rgba(17, 24, 39, 0.1);
}
.dark-theme .jp-desc-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f3f4f6;
}
.dark-theme .jp-desc-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
}
.jp-desc-toggle.jp-expanded .jp-desc-arrow {
  transform: rotate(180deg);
}

/* 4. Google Review Button */
.btn-block-rs {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}
.chm-btn-google {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  color: #374151 !important;
  border: 1px solid #d1d5db !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.chm-btn-google:hover {
  background: #f9fafb !important;
  border-color: #9ca3af !important;
  color: #111827 !important;
  text-decoration: none !important;
}
.dark-theme .chm-btn-google {
  background: #1f242d !important;
  color: #f3f4f6 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.dark-theme .chm-btn-google:hover {
  background: #282f3c !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* 5. Payment Pills Contrast */
.product-payment__name {
  color: #111827 !important;
}
.dark-theme .product-payment__name {
  color: #111827 !important;
}

/* 6. Clean Price Divider Line */
#product .price-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
}
.dark-theme #product .price-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Specificity override for dark theme payment pill text */
html.dark-theme #product .product-payment__name,
.dark-theme #product .product-payment__name {
  color: #111827 !important;
}


/* ==========================================================================
   JUSTPACK MASTER REFINEMENTS (BATCH 3 & AUDIT FIXES)
   ========================================================================== */

/* 1. Global hide for empty-state and useless continue buttons */
.buttons .pull-right > a.btn[href$="/"],
.buttons .pull-right > a.btn[href$="/ru"],
.buttons .pull-right > a.btn[href$="/ru/"],
.buttons.clearfix.text-center > a.btn[href$="/"],
.buttons.clearfix.text-center > a.btn[href$="/ru"],
.buttons.clearfix.text-center > a.btn[href$="/ru/"],
#error-not-found .buttons,
.error-not-found .buttons,
.page-cart-empty + .buttons,
#account-transaction .buttons,
#account-order .buttons,
#account-order-info .buttons,
#account-reward .buttons,
.product-special .buttons,
.special-special .buttons,
.product-manufacturer .buttons,
.account-address-list .buttons .pull-left {
  display: none !important;
}

/* 2. Brand Red for All Cart / Buy Buttons */
.btn-general,
#button-cart,
.product-thumb .cart .btn-general,
.add-to-cart-footer .btn-general,
.cart .btn-general {
  background-color: #ED2124 !important;
  border-color: #ED2124 !important;
  color: #FFFFFF !important;
}
.btn-general:hover,
.btn-general:focus,
.btn-general:active,
#button-cart:hover,
#button-cart:focus,
#button-cart:active,
.product-thumb .cart .btn-general:hover,
.product-thumb .cart .btn-general:focus,
.product-thumb .cart .btn-general:active,
.product-thumb:hover .cart .btn-general,
.add-to-cart-footer .btn-general:hover {
  background-color: #c81518 !important;
  border-color: #c81518 !important;
  color: #FFFFFF !important;
}
.product-thumb .cart .btn-general .up-icon-cart,
.product-thumb:hover .cart .btn-general .up-icon-cart,
.cart .btn-general .up-icon-cart {
  color: #FFFFFF !important;
}

/* 3. Product Thumb Cart Button ALWAYS VISIBLE (no hover flicker) */
.product-thumb .cart,
.container-module .product-thumb .cart,
.product-grid .product-thumb .cart,
.product-list .product-thumb .cart,
.product-slider .product-thumb .cart {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

/* 4. Cart & Compare Delete Button - Sleek Dark & Light Aesthetic */
.btn-remove,
.page-cart .cart-item .cart-item-price-quantity .btn-remove {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}
html.dark-theme .btn-remove,
.dark-theme .btn-remove,
html.dark-theme .btn-remove-compare,
.dark-theme .btn-remove-compare,
html.dark-theme .cart-item .btn-remove,
.dark-theme .cart-item .btn-remove {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #94a3b8 !important;
}
html.dark-theme .btn-remove:hover,
.dark-theme .btn-remove:hover,
html.dark-theme .btn-remove-compare:hover,
.dark-theme .btn-remove-compare:hover,
html.dark-theme .cart-item .btn-remove:hover,
.dark-theme .cart-item .btn-remove:hover {
  background: rgba(237, 33, 36, 0.18) !important;
  border-color: #ED2124 !important;
  color: #ED2124 !important;
}
html.light-theme .btn-remove,
.light-theme .btn-remove,
html.light-theme .btn-remove-compare,
.light-theme .btn-remove-compare,
html.light-theme .cart-item .btn-remove,
.light-theme .cart-item .btn-remove {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
}
html.light-theme .btn-remove:hover,
.light-theme .btn-remove:hover,
html.light-theme .btn-remove-compare:hover,
.light-theme .btn-remove-compare:hover,
html.light-theme .cart-item .btn-remove:hover,
.light-theme .cart-item .btn-remove:hover {
  background: rgba(237, 33, 36, 0.1) !important;
  border-color: #ED2124 !important;
  color: #ED2124 !important;
}

/* ==========================================================================
   5. CANONICAL SITE-WIDE STANDARD: QUANTITY STEPPER PILL (Universal Rule)
   Unified standard for ALL steppers across the site (Fixed width 132px):
   - Product card in catalog/grid/list/slider (.quantity_plus_minus)
   - Product page (#product .quantity-adder)
   - Quickview modal (#popup-quickview .quantity-adder)
   - Quick order modal (#popup-quickorder .quantity_quickorder, .fo_product__quantity)
   - Popup cart modal (#popup-cart, .shopping-cart .ch-cart-quantity, #modal-quickorder .quantity_quickorder)
   - Checkout page (#onepcheckout .ch-cart-quantity, .page-cart .ch-cart-quantity)
   - Header cart dropdown (.header-cart-price-quantity .ch-cart-quantity)
   Accommodates 1 to 100 000 with zero overflow, single outer border, 10px radius.
   ========================================================================== */

/* Outer pill container */
.quantity-adder,
.quantity_quickorder,
.fo_product__quantity,
.ch-cart-quantity,
.quantity_plus_minus,
#product .quantity-adder,
#popup-quickview .quantity-adder,
#popup-quickorder .quantity_quickorder,
#modal-quickorder .quantity_quickorder,
.page-cart .ch-cart-quantity,
.shopping-cart .ch-cart-quantity,
.header-cart-price-quantity .ch-cart-quantity,
.cart-item-price-quantity .ch-cart-quantity {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 132px !important;
  min-width: 132px !important;
  max-width: 132px !important;
  height: 38px !important;
  background: #202226 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  padding: 2px 4px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  box-shadow: none !important;
  margin: 0 !important;
  flex: 0 0 132px !important;
}

/* Inner wrapper for .quantity-adder */
.quantity-adder .quantity-number {
  width: 100% !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Light theme overrides */
html.light-theme .quantity-adder,
html.light-theme .quantity_quickorder,
html.light-theme .fo_product__quantity,
html.light-theme .ch-cart-quantity,
html.light-theme .quantity_plus_minus,
html.light-theme #product .quantity-adder,
html.light-theme #popup-quickview .quantity-adder,
html.light-theme #popup-quickorder .quantity_quickorder,
html.light-theme #modal-quickorder .quantity_quickorder,
html.light-theme .page-cart .ch-cart-quantity,
html.light-theme .shopping-cart .ch-cart-quantity,
html.light-theme .header-cart-price-quantity .ch-cart-quantity,
html.light-theme .cart-item-price-quantity .ch-cart-quantity,
.light-theme .quantity-adder,
.light-theme .quantity_quickorder,
.light-theme .fo_product__quantity,
.light-theme .ch-cart-quantity,
.light-theme .quantity_plus_minus,
.light-theme #product .quantity-adder,
.light-theme #popup-quickview .quantity-adder,
.light-theme #popup-quickorder .quantity_quickorder,
.light-theme #modal-quickorder .quantity_quickorder,
.light-theme .page-cart .ch-cart-quantity,
.light-theme .shopping-cart .ch-cart-quantity,
.light-theme .header-cart-price-quantity .ch-cart-quantity,
.light-theme .cart-item-price-quantity .ch-cart-quantity,
html:not(.dark-theme) .quantity-adder,
html:not(.dark-theme) .quantity_quickorder,
html:not(.dark-theme) .fo_product__quantity,
html:not(.dark-theme) .ch-cart-quantity,
html:not(.dark-theme) .quantity_plus_minus,
html:not(.dark-theme) #product .quantity-adder,
html:not(.dark-theme) #popup-quickview .quantity-adder,
html:not(.dark-theme) #popup-quickorder .quantity_quickorder,
html:not(.dark-theme) #modal-quickorder .quantity_quickorder,
html:not(.dark-theme) .page-cart .ch-cart-quantity,
html:not(.dark-theme) .shopping-cart .ch-cart-quantity,
html:not(.dark-theme) .header-cart-price-quantity .ch-cart-quantity,
html:not(.dark-theme) .cart-item-price-quantity .ch-cart-quantity {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
}

/* Explicit Dark theme re-enforcement (beats any third-party ID selectors) */
html.dark-theme .quantity-adder,
html.dark-theme .quantity_quickorder,
html.dark-theme .fo_product__quantity,
html.dark-theme .ch-cart-quantity,
html.dark-theme .quantity_plus_minus,
html.dark-theme #product .quantity-adder,
html.dark-theme #popup-quickview .quantity-adder,
html.dark-theme #popup-quickorder .quantity_quickorder,
html.dark-theme #modal-quickorder .quantity_quickorder,
html.dark-theme .page-cart .ch-cart-quantity,
html.dark-theme .shopping-cart .ch-cart-quantity,
html.dark-theme .header-cart-price-quantity .ch-cart-quantity,
html.dark-theme .cart-item-price-quantity .ch-cart-quantity,
.dark-theme .quantity-adder,
.dark-theme .quantity_quickorder,
.dark-theme .fo_product__quantity,
.dark-theme .ch-cart-quantity,
.dark-theme .quantity_plus_minus,
.dark-theme #product .quantity-adder,
.dark-theme #popup-quickview .quantity-adder,
.dark-theme #popup-quickorder .quantity_quickorder,
.dark-theme #modal-quickorder .quantity_quickorder,
.dark-theme .page-cart .ch-cart-quantity,
.dark-theme .shopping-cart .ch-cart-quantity,
.dark-theme .header-cart-price-quantity .ch-cart-quantity,
.dark-theme .cart-item-price-quantity .ch-cart-quantity {
  background: #202226 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}

/* Universal zero inner borders, outlines, shadows, backgrounds */
.quantity-adder *,
.quantity_quickorder *,
.fo_product__quantity *,
.ch-cart-quantity *,
.quantity_plus_minus * {
  box-sizing: border-box !important;
}

.quantity-adder .add-action,
.quantity-adder .add-down,
.quantity-adder .add-up,
.quantity-adder input,
.quantity-adder input.quantity-product,
.quantity_quickorder .btn-minus-quantity,
.quantity_quickorder .btn-plus-quantity,
.quantity_quickorder .btn-plus-minus,
.quantity_quickorder input,
.quantity_quickorder input.qty_quickorder,
.fo_product__quantity .btn-minus-quantity,
.fo_product__quantity .btn-plus-quantity,
.fo_product__quantity .btn-plus-minus,
.fo_product__quantity input,
.ch-cart-quantity .btn-quantity-minus,
.ch-cart-quantity .btn-quantity-plus,
.ch-cart-quantity .input-btn,
.ch-cart-quantity .add-action,
.ch-cart-quantity input,
.ch-cart-quantity input.form-control,
.quantity_plus_minus .add-action,
.quantity_plus_minus .add-down,
.quantity_plus_minus .add-up,
.quantity_plus_minus input,
.quantity_plus_minus input.quantity-num,
#product .quantity-adder *,
#popup-quickview .quantity-adder *,
#popup-quickorder .quantity_quickorder *,
#modal-quickorder .quantity_quickorder *,
.page-cart .ch-cart-quantity *,
.shopping-cart .ch-cart-quantity *,
.cart-item-price-quantity .ch-cart-quantity * {
  border: none !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-left: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Flex item ordering for .quantity_plus_minus (minus left, input middle, plus right) */
.quantity_plus_minus .add-down {
  order: 1 !important;
}
.quantity_plus_minus input,
.quantity_plus_minus input.quantity-num {
  order: 2 !important;
}
.quantity_plus_minus .add-up {
  order: 3 !important;
}

/* Minus and Plus buttons sizing and styling */
.quantity-adder .add-action,
.quantity-adder .add-down,
.quantity-adder .add-up,
.quantity_quickorder .btn-minus-quantity,
.quantity_quickorder .btn-plus-quantity,
.quantity_quickorder .btn-plus-minus,
.fo_product__quantity .btn-minus-quantity,
.fo_product__quantity .btn-plus-quantity,
.fo_product__quantity .btn-plus-minus,
.ch-cart-quantity .btn-quantity-minus,
.ch-cart-quantity .btn-quantity-plus,
.ch-cart-quantity .input-btn,
.ch-cart-quantity .input-btn button,
.ch-cart-quantity .add-action,
.quantity_plus_minus .add-action,
.quantity_plus_minus .add-down,
.quantity_plus_minus .add-up,
.page-cart .ch-cart-quantity button {
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.75) !important;
  cursor: pointer !important;
  border-radius: 6px !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  text-decoration: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Light theme button color */
html.light-theme .quantity-adder .add-action,
html.light-theme .quantity-adder .add-down,
html.light-theme .quantity-adder .add-up,
html.light-theme .quantity_quickorder .btn-minus-quantity,
html.light-theme .quantity_quickorder .btn-plus-quantity,
html.light-theme .quantity_quickorder .btn-plus-minus,
html.light-theme .fo_product__quantity .btn-minus-quantity,
html.light-theme .fo_product__quantity .btn-plus-quantity,
html.light-theme .fo_product__quantity .btn-plus-minus,
html.light-theme .ch-cart-quantity .btn-quantity-minus,
html.light-theme .ch-cart-quantity .btn-quantity-plus,
html.light-theme .ch-cart-quantity .input-btn,
html.light-theme .ch-cart-quantity .input-btn button,
html.light-theme .ch-cart-quantity .add-action,
html.light-theme .quantity_plus_minus .add-action,
html.light-theme .quantity_plus_minus .add-down,
html.light-theme .quantity_plus_minus .add-up,
.light-theme .quantity-adder .add-action,
.light-theme .quantity-adder .add-down,
.light-theme .quantity-adder .add-up,
.light-theme .quantity_quickorder .btn-minus-quantity,
.light-theme .quantity_quickorder .btn-plus-quantity,
.light-theme .quantity_quickorder .btn-plus-minus,
.light-theme .fo_product__quantity .btn-minus-quantity,
.light-theme .fo_product__quantity .btn-plus-quantity,
.light-theme .fo_product__quantity .btn-plus-minus,
.light-theme .ch-cart-quantity .btn-quantity-minus,
.light-theme .ch-cart-quantity .btn-quantity-plus,
.light-theme .ch-cart-quantity .input-btn,
.light-theme .ch-cart-quantity .input-btn button,
.light-theme .ch-cart-quantity .add-action,
.light-theme .quantity_plus_minus .add-action,
.light-theme .quantity_plus_minus .add-down,
.light-theme .quantity_plus_minus .add-up,
html:not(.dark-theme) .quantity-adder .add-action,
html:not(.dark-theme) .quantity-adder .add-down,
html:not(.dark-theme) .quantity-adder .add-up,
html:not(.dark-theme) .quantity_quickorder .btn-minus-quantity,
html:not(.dark-theme) .quantity_quickorder .btn-plus-quantity,
html:not(.dark-theme) .quantity_quickorder .btn-plus-minus,
html:not(.dark-theme) .fo_product__quantity .btn-minus-quantity,
html:not(.dark-theme) .fo_product__quantity .btn-plus-quantity,
html:not(.dark-theme) .fo_product__quantity .btn-plus-minus,
html:not(.dark-theme) .ch-cart-quantity .btn-quantity-minus,
html:not(.dark-theme) .ch-cart-quantity .btn-quantity-plus,
html:not(.dark-theme) .ch-cart-quantity .input-btn,
html:not(.dark-theme) .ch-cart-quantity .input-btn button,
html:not(.dark-theme) .ch-cart-quantity .add-action,
html:not(.dark-theme) .quantity_plus_minus .add-action,
html:not(.dark-theme) .quantity_plus_minus .add-down,
html:not(.dark-theme) .quantity_plus_minus .add-up {
  color: #475569 !important;
}

/* Hover effects */
.quantity-adder .add-action:hover,
.quantity-adder .add-down:hover,
.quantity-adder .add-up:hover,
.quantity_quickorder .btn-minus-quantity:hover,
.quantity_quickorder .btn-plus-quantity:hover,
.quantity_quickorder .btn-plus-minus:hover,
.fo_product__quantity .btn-minus-quantity:hover,
.fo_product__quantity .btn-plus-quantity:hover,
.fo_product__quantity .btn-plus-minus:hover,
.ch-cart-quantity .btn-quantity-minus:hover,
.ch-cart-quantity .btn-quantity-plus:hover,
.ch-cart-quantity .input-btn button:hover,
.ch-cart-quantity .add-action:hover,
.quantity_plus_minus .add-action:hover,
.quantity_plus_minus .add-down:hover,
.quantity_plus_minus .add-up:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

html.light-theme .quantity-adder .add-action:hover,
html.light-theme .quantity-adder .add-down:hover,
html.light-theme .quantity-adder .add-up:hover,
html.light-theme .quantity_quickorder .btn-minus-quantity:hover,
html.light-theme .quantity_quickorder .btn-plus-quantity:hover,
html.light-theme .quantity_quickorder .btn-plus-minus:hover,
html.light-theme .fo_product__quantity .btn-minus-quantity:hover,
html.light-theme .fo_product__quantity .btn-plus-quantity:hover,
html.light-theme .fo_product__quantity .btn-plus-minus:hover,
html.light-theme .ch-cart-quantity .btn-quantity-minus:hover,
html.light-theme .ch-cart-quantity .btn-quantity-plus:hover,
html.light-theme .ch-cart-quantity .input-btn button:hover,
html.light-theme .ch-cart-quantity .add-action:hover,
html.light-theme .quantity_plus_minus .add-action:hover,
html.light-theme .quantity_plus_minus .add-down:hover,
html.light-theme .quantity_plus_minus .add-up:hover,
html:not(.dark-theme) .quantity-adder .add-action:hover,
html:not(.dark-theme) .quantity-adder .add-down:hover,
html:not(.dark-theme) .quantity-adder .add-up:hover,
html:not(.dark-theme) .quantity_quickorder .btn-minus-quantity:hover,
html:not(.dark-theme) .quantity_quickorder .btn-plus-quantity:hover,
html:not(.dark-theme) .quantity_quickorder .btn-plus-minus:hover,
html:not(.dark-theme) .fo_product__quantity .btn-minus-quantity:hover,
html:not(.dark-theme) .fo_product__quantity .btn-plus-quantity:hover,
html:not(.dark-theme) .fo_product__quantity .btn-plus-minus:hover,
html:not(.dark-theme) .ch-cart-quantity .btn-quantity-minus:hover,
html:not(.dark-theme) .ch-cart-quantity .btn-quantity-plus:hover,
html:not(.dark-theme) .ch-cart-quantity .input-btn button:hover,
html:not(.dark-theme) .ch-cart-quantity .add-action:hover,
html:not(.dark-theme) .quantity_plus_minus .add-action:hover,
html:not(.dark-theme) .quantity_plus_minus .add-down:hover,
html:not(.dark-theme) .quantity_plus_minus .add-up:hover {
  background: rgba(0, 0, 0, 0.06) !important;
  color: #0f172a !important;
}

/* Stepper Icons: Modern Clean Minus and Plus */
.quantity_plus_minus .add-down svg,
.quantity_plus_minus .add-up svg {
  display: none !important;
}
.quantity_plus_minus .add-down::before {
  content: '−' !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: inherit !important;
}
.quantity_plus_minus .add-up::before {
  content: '+' !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: inherit !important;
}

.quantity-adder svg,
.quantity_quickorder svg,
.fo_product__quantity svg,
.ch-cart-quantity svg,
.quantity_plus_minus svg,
.page-cart .ch-cart-quantity button svg {
  stroke: currentColor !important;
  width: 12px !important;
  height: 12px !important;
  transform: none !important;
}
.quantity-adder i,
.quantity_quickorder i,
.fo_product__quantity i,
.ch-cart-quantity i,
.quantity_plus_minus i {
  font-size: 14px !important;
  color: inherit !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Input: Perfectly sized to fit up to 100 000 with zero overflow */
.quantity-adder input,
.quantity-adder input.quantity-product,
.quantity-adder .quantity-number input,
.quantity_quickorder input,
.quantity_quickorder input.qty_quickorder,
.fo_product__quantity input,
.ch-cart-quantity input,
.ch-cart-quantity input.form-control,
.quantity_plus_minus input,
.quantity_plus_minus input.quantity-num,
.page-cart .ch-cart-quantity .form-control {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 32px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 0 2px !important;
  margin: 0 !important;
  line-height: 32px !important;
  box-sizing: border-box !important;
}

html.light-theme .quantity-adder input,
html.light-theme .quantity-adder input.quantity-product,
html.light-theme .quantity-adder .quantity-number input,
html.light-theme .quantity_quickorder input,
html.light-theme .quantity_quickorder input.qty_quickorder,
html.light-theme .fo_product__quantity input,
html.light-theme .ch-cart-quantity input,
html.light-theme .ch-cart-quantity input.form-control,
html.light-theme .quantity_plus_minus input,
html.light-theme .quantity_plus_minus input.quantity-num,
html.light-theme .page-cart .ch-cart-quantity .form-control,
.light-theme .quantity-adder input,
.light-theme .quantity_quickorder input,
.light-theme .fo_product__quantity input,
.light-theme .ch-cart-quantity input,
.light-theme .quantity_plus_minus input,
html:not(.dark-theme) .quantity-adder input,
html:not(.dark-theme) .quantity-adder input.quantity-product,
html:not(.dark-theme) .quantity-adder .quantity-number input,
html:not(.dark-theme) .quantity_quickorder input,
html:not(.dark-theme) .quantity_quickorder input.qty_quickorder,
html:not(.dark-theme) .fo_product__quantity input,
html:not(.dark-theme) .ch-cart-quantity input,
html:not(.dark-theme) .ch-cart-quantity input.form-control,
html:not(.dark-theme) .quantity_plus_minus input,
html:not(.dark-theme) .quantity_plus_minus input.quantity-num,
html:not(.dark-theme) .page-cart .ch-cart-quantity .form-control {
  color: #0f172a !important;
}

/* 6. Benefits Grid Cards Spacing & Ergonomics */
.block-banner-footer {
  padding: 18px 16px !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.image-banner-footer {
  margin-bottom: 12px !important;
}
.block-banner-footer .banner-title-footer,
.title-banner-footer {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
}
.block-banner-footer .banner-description-footer,
.text-banner-footer {
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: #94A3B8 !important;
  margin: 0 !important;
}
html.dark-theme .text-banner-footer,
.dark-theme .text-banner-footer,
html.dark-theme .banner-description-footer,
.dark-theme .banner-description-footer {
  color: #CBD5E1 !important;
}
/* Fix "Почему мы?" Ribbon corner */
.footer-ribbon-box::after,
.footer-ribbon-box::before,
.footer-ribbon::after,
.footer-ribbon::before {
  display: none !important;
  content: none !important;
}
.footer-ribbon {
  background: #ED2124 !important;
  border-radius: 12px !important;
  transform: none !important;
  box-shadow: 0 4px 12px rgba(237, 33, 36, 0.25) !important;
}
.footer-ribbon span {
  transform: none !important;
}

/* 7. Round Navigation Arrows on Sliders */
.owl-nav button.owl-prev,
.owl-nav button.owl-next,
.swiper-button-prev,
.swiper-button-next,
.pos11 .owl-nav button,
.pos12 .owl-nav button,
.pos13 .owl-nav button,
.pos14 .owl-nav button {
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
}
.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover,
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #ED2124 !important;
  border-color: #ED2124 !important;
  color: #ffffff !important;
}

/* 8. Homepage Promotions 4th Column Card */
.jp-promo-placeholder-card {
  background: #18191c !important;
  border: 1px dashed rgba(237, 33, 36, 0.35) !important;
  border-radius: 16px !important;
  padding: 30px 20px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 320px !important;
  height: 100% !important;
  box-sizing: border-box !important;
}
.jp-promo-icon {
  margin-bottom: 16px !important;
}
.jp-promo-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 10px !important;
  line-height: 1.35 !important;
}
.jp-promo-desc {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #94a3b8 !important;
  margin-bottom: 20px !important;
}
.jp-promo-btn {
  background: #ED2124 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 8px 22px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.jp-promo-btn:hover {
  background: #c81518 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* 9. Footer Newsletter Subscribe Button - Brand Red */
footer .btn-subscribe {
  border: 1.5px solid #ED2124 !important;
  color: #ED2124 !important;
}
footer .btn-subscribe:hover,
footer .btn-subscribe:focus {
  background: #ED2124 !important;
  color: #ffffff !important;
  border-color: #ED2124 !important;
}
footer .btn-subscribe svg path,
footer .btn-subscribe svg {
  fill: #ED2124 !important;
  stroke: #ED2124 !important;
}
footer .btn-subscribe:hover svg path,
footer .btn-subscribe:hover svg {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* 10. Footer Copyright Centering & Mobile Clearance */
.copyright__payments {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  padding-bottom: 80px !important;
}
@media (min-width: 768px) {
  .copyright__payments {
    flex-direction: row !important;
    justify-content: space-between !important;
    padding-bottom: 20px !important;
  }
}
.copyright {
  text-align: center !important;
  margin: 0 auto !important;
}

/* 11. Wishlist Tags & Radio Buttons Corporate Red */
.btn-active-fw,
.btn-active-fw:focus,
.btn-active-fw:active,
.btn-active-fw:hover {
  background: #ED2124 !important;
  border-color: #ED2124 !important;
  color: #ffffff !important;
}
.fw-stock-item .fw-radio > input:checked + span::before {
  border-color: #ED2124 !important;
  background-color: #ED2124 !important;
  box-shadow: 0 0 0 0.2rem rgba(237, 33, 36, 0.25) !important;
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: #ED2124 !important;
}

/* 12. Delivery Options Row Clean Flex */
.product-delivery__text {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  gap: 12px !important;
}
.product-delivery__left-block {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.product-delivery__right-block {
  flex-shrink: 0 !important;
  text-align: right !important;
}
.product-delivery__text-price {
  white-space: nowrap !important;
  font-weight: 600 !important;
  color: #10B981 !important;
  font-size: 14px !important;
}

/* 13. Account Edit Profile 2-Column Grid Layout */
@media (min-width: 768px) {
  .chm-account-content form fieldset {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -10px !important;
    margin-right: -10px !important;
  }
  .chm-account-content form fieldset legend {
    flex: 0 0 100% !important;
    width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .chm-account-content form fieldset .form-group {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }
}

/* 14. Product Reviews Tab Buttons */
.reviews-product .btn-block-rs {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 16px !important;
}
.reviews-product .btn-block-rs .chm-btn-black {
  background: #ED2124 !important;
  border: 1px solid #ED2124 !important;
  color: #ffffff !important;
  border-radius: 24px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}
.reviews-product .btn-block-rs .chm-btn-black:hover {
  background: #c81518 !important;
  border-color: #c81518 !important;
  transform: translateY(-1px) !important;
}
.reviews-product .btn-block-rs .jp-google-review-btn {
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 24px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.2s ease !important;
}
.dark-theme .reviews-product .btn-block-rs .jp-google-review-btn {
  background: #24272f !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}
.reviews-product .btn-block-rs .jp-google-review-btn:hover {
  border-color: #4285F4 !important;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2) !important;
  transform: translateY(-1px) !important;
}

/* 15. Bilingual Promo Placeholder Visibility */
html[lang="ru"] .jp-promo-txt-ua,
html[lang="ru"] .jp-promo-link-ua,
body.ru .jp-promo-txt-ua,
body.ru .jp-promo-link-ua {
  display: none !important;
}
html[lang="ru"] .jp-promo-txt-ru,
html[lang="ru"] .jp-promo-link-ru,
body.ru .jp-promo-txt-ru,
body.ru .jp-promo-link-ru {
  display: block !important;
}

html:not([lang="ru"]):not(.ru) .jp-promo-txt-ru,
html:not([lang="ru"]):not(.ru) .jp-promo-link-ru {
  display: none !important;
}
html:not([lang="ru"]):not(.ru) .jp-promo-txt-ua,
html:not([lang="ru"]):not(.ru) .jp-promo-link-ua {
  display: block !important;
}


/* ==========================================================================
   FIXES: Stepper Borders, Delivery Mobile Layout, Reviews Google Buttons
   ========================================================================== */

/* 2. Delivery Options Row Clean Flex - Mobile Column with Dots under Address */

/* Desktop (min-width: 768px): single continuous line, aligned dotted divider and price */
@media (min-width: 768px) {
  .product-delivery__text.delivery-price-available {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    position: relative !important;
  }
  .product-delivery__text.delivery-price-available:before {
    position: absolute !important;
    top: 10px !important;
    left: 0 !important;
    width: 100% !important;
    content: '' !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25) !important;
    display: block !important;
    z-index: 0 !important;
  }
  .light-theme .product-delivery__text.delivery-price-available:before {
    border-bottom-color: rgba(0, 0, 0, 0.2) !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__left-block {
    position: relative !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__name {
    display: inline-flex !important;
    background: var(--up-bg-gray, #1f2227) !important;
    padding-right: 8px !important;
    line-height: 20px !important;
    position: relative !important;
    z-index: 1 !important;
  }
  .light-theme .product-delivery__text.delivery-price-available .product-delivery__name {
    background: var(--up-bg-gray, #f7f8fa) !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__right-block {
    position: relative !important;
    z-index: 1 !important;
    background: var(--up-bg-gray, #1f2227) !important;
    padding-left: 8px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  .light-theme .product-delivery__text.delivery-price-available .product-delivery__right-block {
    background: var(--up-bg-gray, #f7f8fa) !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__text-price {
    line-height: 20px !important;
    height: 20px !important;
    display: block !important;
    font-weight: 600 !important;
    color: #10B981 !important;
  }
  .product-delivery__text.delivery-price-available .jp-deliv-main,
  .product-delivery__text.delivery-price-available .jp-deliv-addr1,
  .product-delivery__text.delivery-price-available .jp-deliv-addr2 {
    display: inline !important;
    margin: 0 !important;
  }
  .product-delivery__text.delivery-price-available .jp-deliv-addr1 {
    margin-left: 4px !important;
  }
  .product-delivery__text.delivery-price-available .jp-deliv-addr2 {
    margin-left: 4px !important;
  }
}

/* Mobile (max-width: 767px): 3 distinct lines for address and tight dotted divider */
@media (max-width: 767px) {
  /* Nova Poshta and other services without right price */
  .product-delivery__text:not(.delivery-price-available) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
  }
  .product-delivery__text:not(.delivery-price-available) .product-delivery__left-block {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
  .product-delivery__text:not(.delivery-price-available) .product-delivery__left-block .product-delivery__name {
    width: 100% !important;
    display: block !important;
    white-space: normal !important;
  }
  .product-delivery__text:not(.delivery-price-available) .product-delivery__right-block {
    display: none !important;
    width: 0 !important;
    flex: 0 0 0 !important;
  }

  /* Pickup / Free delivery item with price: 3 lines for address, tightly integrated below schedule */
  .product-delivery__text.delivery-price-available {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    position: relative !important;
    gap: 0 !important;
  }
  .product-delivery__text.delivery-price-available:before {
    display: none !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__left-block {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__name {
    width: 100% !important;
    display: block !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    background: transparent !important;
    padding-right: 0 !important;
  }
  .product-delivery__text.delivery-price-available .jp-deliv-main {
    display: block !important;
    width: 100% !important;
  }
  .product-delivery__text.delivery-price-available .jp-deliv-addr1 {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 2px !important;
  }
  .product-delivery__text.delivery-price-available .jp-deliv-addr2 {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 1px !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__description {
    margin-top: 3px !important;
    margin-bottom: 0 !important;
    line-height: 1.3 !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__right-block {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-top: 2px !important;
    padding-left: 0 !important;
    background: transparent !important;
    position: relative !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__right-block:before {
    content: '' !important;
    flex: 1 1 auto !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25) !important;
    margin-right: 8px !important;
  }
  .light-theme .product-delivery__text.delivery-price-available .product-delivery__right-block:before {
    border-bottom-color: rgba(0, 0, 0, 0.2) !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__text-price {
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #10B981 !important;
  }
}

/* 3. Product Reviews & Store Reviews Layout & Google Button */
@media (min-width: 768px) {
  .reviews-product .btn-block-rs,
  .average-reviews .btn-block-rs {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    width: auto !important;
    margin-top: 16px !important;
  }
  .reviews-product .btn-block-rs button.chm-btn,
  .reviews-product .btn-block-rs .jp-google-review-btn,
  .average-reviews .btn-block-rs button.chm-btn,
  .average-reviews .btn-block-rs .jp-google-review-btn {
    width: auto !important;
    white-space: nowrap !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 767px) {
  .reviews-product {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .reviews-product__average {
    width: 100% !important;
    margin-right: 0 !important;
  }
  .reviews-product__rating-summary {
    width: 100% !important;
  }
  .reviews-block.dflex {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .average-reviews {
    width: 100% !important;
  }
  .rating-summary {
    width: 100% !important;
  }
  .reviews-product .btn-block-rs,
  .average-reviews .btn-block-rs {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 16px !important;
  }
  .reviews-product .btn-block-rs button.chm-btn,
  .reviews-product .btn-block-rs .jp-google-review-btn,
  .average-reviews .btn-block-rs button.chm-btn,
  .average-reviews .btn-block-rs .jp-google-review-btn {
    width: 100% !important;
    margin-top: 0 !important;
  }
}

.btn-block-rs button.chm-btn,
.reviews-product .btn-block-rs .chm-btn-black,
.average-reviews .btn-block-rs .chm-btn-black {
  background: #ED2124 !important;
  border: 1px solid #ED2124 !important;
  color: #ffffff !important;
  border-radius: 24px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}
.btn-block-rs button.chm-btn:hover,
.reviews-product .btn-block-rs .chm-btn-black:hover,
.average-reviews .btn-block-rs .chm-btn-black:hover {
  background: #c81518 !important;
  border-color: #c81518 !important;
  transform: translateY(-1px) !important;
}

.btn-block-rs .jp-google-review-btn {
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 1px solid #d1d5db !important;
  border-radius: 24px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.btn-block-rs .jp-google-review-btn:hover {
  background: #f9fafb !important;
  border-color: #9ca3af !important;
  transform: translateY(-1px) !important;
}
.dark-theme .btn-block-rs .jp-google-review-btn {
  background: #202226 !important;
  color: #f3f4f6 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.dark-theme .btn-block-rs .jp-google-review-btn:hover {
  background: #2c2f36 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Language toggle for Google Review text in Store Reviews */
html[lang="ru"] .jp-google-rev-text-ua,
html:not([lang="uk"]):not([lang="uk-UA"]) .jp-google-rev-text-ua {
  display: none !important;
}
html[lang="uk"] .jp-google-rev-text-ru,
html[lang="uk-UA"] .jp-google-rev-text-ru {
  display: none !important;
}

/* Fix average reviews container height so multiple buttons never overflow or overlap summary */
.reviews-product__average,
.average-reviews {
  height: auto !important;
  max-height: none !important;
  min-height: auto !important;
}


/* ==========================================================================
   Hero MegaMenu: Prevent cutoff on refresh & eliminate bottom void
   ========================================================================== */
@media (min-width: 1200px) {
  .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical-list {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 8px 0 !important;
    box-sizing: border-box !important;
  }
  .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical-list > li {
    flex: 1 1 0 !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical-list > li > a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* --- BATCH 10 ENHANCEMENTS & BUGFIXES (v5.8) --- */

/* 1. Hero Promo Block Desktop Full Height & Mobile Hidden */
@media (min-width: 992px) {
  .pos14.jp-promo-placeholder-col {
    display: flex !important;
    flex-direction: column !important;
  }
  .pos14.jp-promo-placeholder-col .container-module {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    margin-bottom: 0 !important;
  }
  .pos14.jp-promo-placeholder-col .jp-promo-placeholder-card {
    flex: 1 1 auto !important;
    min-height: 480px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

@media (max-width: 991px) {
  .pos14,
  .jp-promo-placeholder-col,
  .box-bg-full .pos14 {
    display: none !important;
  }
}

.jp-promo-sub-box {
  width: 100% !important;
  max-width: 250px !important;
  margin-bottom: 14px !important;
}
.jp-promo-sub-input {
  width: 100% !important;
  height: 40px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: #111215 !important;
  color: #ffffff !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  outline: none !important;
  box-sizing: border-box !important;
  margin-bottom: 8px !important;
}
.theme-light .jp-promo-sub-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
.theme-light .jp-promo-placeholder-card {
  background: #f8fafc !important;
  border-color: rgba(237, 33, 36, 0.3) !important;
}
.theme-light .jp-promo-title {
  color: #0f172a !important;
}
.theme-light .jp-promo-desc {
  color: #64748b !important;
}
.jp-promo-sub-btn {
  width: 100% !important;
  height: 40px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
}
.jp-promo-sub-msg {
  font-size: 12px !important;
  margin-top: 6px !important;
  min-height: 18px !important;
  line-height: 1.3 !important;
}
.jp-promo-more-link {
  font-size: 12px !important;
  color: #94a3b8 !important;
  text-decoration: underline !important;
  transition: color 0.18s ease !important;
}
.jp-promo-more-link:hover {
  color: #ED2124 !important;
}

/* 4. Slide-in & Popup Cart Button Spacing */
.header-cart-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.header-cart-actions .chm-btn {
  margin-bottom: 0 !important;
  width: 100% !important;
}
.header-cart-actions .row {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.header-cart-actions .row > div {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}
.header-cart-sticky .row {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.header-cart-sticky .row > div {
  width: 100% !important;
  margin-bottom: 0 !important;
}
.header-cart-sticky .chm-btn {
  margin-bottom: 0 !important;
}

/* 5. Mobile Product Gallery Round Navigation Arrows */
.general-image .swiper-ai-arrow {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background-color: rgba(22, 22, 22, 0.8) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.2s ease !important;
}
.general-image .swiper-ai-arrow.prev-image-mobile {
  left: 10px !important;
}
.general-image .swiper-ai-arrow.next-image-mobile {
  right: 10px !important;
}
.general-image .swiper-ai-arrow svg,
.general-image .swiper-ai-arrow i {
  color: #ffffff !important;
  font-size: 14px !important;
}
.theme-light .general-image .swiper-ai-arrow {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: #222222 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}
.theme-light .general-image .swiper-ai-arrow svg,
.theme-light .general-image .swiper-ai-arrow i {
  color: #222222 !important;
}

/* 6. Tooltip dismiss & mobile tooltip prevention */
@media (max-width: 991px) {
  .tooltip {
    display: none !important;
  }
}

/* 7. Rounded Partner Logos */
.carousel-mod .item,
.carousel-mod .swiper-slide,
.carousel-mod .item img,
.carousel-mod .swiper-slide img,
.brands-carousel .item img,
.manufacturers-carousel img {
  border-radius: 14px !important;
  overflow: hidden !important;
}

/* 8. Mobile Contacts Phones & Email Spacing */
@media (max-width: 991px) {
  .ch_contacts_phone {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .ch_contacts_phone li {
    margin-bottom: 0 !important;
  }
  .ch_contacts_phone .item-phone a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    width: 100% !important;
    max-width: 320px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }
  .theme-light .ch_contacts_phone .item-phone a {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
  }
  .contact_email {
    margin-top: 14px !important;
  }
  .contact_email a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    width: 100% !important;
    max-width: 320px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }
  .theme-light .contact_email a {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
  }
}

/* 9. Newsletter Subscription Error Display */
.box-newsletter .newsletter {
  height: auto !important;
}
#error-msg {
  position: static !important;
  display: block !important;
  margin-top: 8px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
#error-msg .nl-warning {
  color: #ED2124 !important;
  font-weight: 500 !important;
}
#error-msg .nl-success {
  color: #27ae60 !important;
  font-weight: 500 !important;
}

/* 10. Header Contacts Modal Address Card */
.up-header-phones__dropdown.ch-dropdown > li.jp-header-address-item > a.jp-header-address-link,
.mobile-sidebar-phones__inner .up-header-phones__dropdown > li > a.jp-header-address-link,
.mobile-sidebar-phones__inner .mobile-sidebar-phones__dropdown > li > a.jp-header-address-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
}
.jp-header-address-link__icon,
.mobile-sidebar-phones__inner .jp-header-address-link__icon {
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  align-self: center !important;
  color: #ED2124 !important;
}

.header-cart-actions .row:before,
.header-cart-actions .row:after,
.header-cart-sticky .row:before,
.header-cart-sticky .row:after {
  display: none !important;
  content: none !important;
}
.header-cart-actions > a.chm-btn,
.header-cart-actions .row > div > a.chm-btn {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}


/* ========================================================
   BATCH-11: COMPREHENSIVE UI/UX & THEME STABILIZATION
======================================================== */

/* 1. OCFilter Theme Separation: Dark Theme vs Light Theme */
.dark-theme .ocf-container,
.dark-theme .ocf-offcanvas,
.dark-theme .ocf-content {
  --jp-border: rgba(255, 255, 255, 0.08);
  --jp-text: #ffffff;
}

/* Offcanvas Drawer Base (Mobile) */
.dark-theme .ocf-content,
.dark-theme .ocf-container .ocf-content,
.dark-theme [class*="ocf-mobile"] .ocf-content,
.dark-theme .ocf-mobile-1 .ocf-content,
.dark-theme .ocf-container.ocf-mobile-active,
.dark-theme .ocf-container.ocf-mobile-active .ocf-content,
.dark-theme .ocf-container.ocf-is-mobile .ocf-content,
.dark-theme .ocf-offcanvas,
.dark-theme .ocf-offcanvas .ocf-content {
  background-color: #141414 !important;
  background: #141414 !important;
  color: #ffffff !important;
}

.dark-theme .ocf-footer,
.dark-theme .ocf-container .ocf-footer,
.dark-theme [class*="ocf-mobile"] .ocf-footer,
.dark-theme .ocf-mobile-1 .ocf-footer,
.dark-theme .ocf-container.ocf-mobile-active .ocf-footer,
.dark-theme .ocf-container.ocf-is-mobile .ocf-footer,
.dark-theme .ocf-offcanvas .ocf-footer {
  background-color: #141414 !important;
  background: #141414 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.6) !important;
}

.dark-theme .ocf-container.ocf-mobile-active .ocf-header,
.dark-theme .ocf-container.ocf-is-mobile .ocf-header,
.dark-theme .ocf-offcanvas .ocf-header {
  background: #1a1a1d !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .ocf-container .ocf-close-mobile,
.dark-theme .ocf-container .ocf-close-mobile i {
  color: #ffffff !important;
}

.dark-theme .ocf-container.ocf-mobile-active .ocf-body,
.dark-theme .ocf-container.ocf-is-mobile .ocf-body,
.dark-theme .ocf-offcanvas .ocf-body {
  background-color: #141414 !important;
}

/* Filter Groups / Pills on Mobile */
.dark-theme .ocf-container.ocf-mobile-active .ocf-filter,
.dark-theme .ocf-container.ocf-is-mobile .ocf-filter,
.dark-theme .ocf-offcanvas .ocf-filter,
.dark-theme.ocf-theme-light-block .ocf-filter,
.dark-theme .ocf-theme-light-block .ocf-filter {
  background-color: #1e1e23 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.dark-theme .ocf-container.ocf-mobile-active .ocf-filter-header,
.dark-theme .ocf-container.ocf-is-mobile .ocf-filter-header,
.dark-theme .ocf-offcanvas .ocf-filter-header {
  background: transparent !important;
  color: #ffffff !important;
}

.dark-theme .ocf-container .ocf-filter-name {
  color: #ffffff !important;
}

.dark-theme .ocf-container .ocf-angle,
.dark-theme .ocf-container .ocf-angle-right,
.dark-theme .ocf-container .ocf-arrow-left {
  color: #9aa3ad !important;
}

.dark-theme .ocf-container .ocf-active-label {
  color: #ED2124 !important;
}

/* Expanded Filter Subpanel on Mobile */
.dark-theme .ocf-container .ocf-open .ocf-filter-header,
.dark-theme .ocf-container .ocf-open > .ocf-filter-body > .ocf-filter-header {
  background-color: #1a1a1d !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.dark-theme .ocf-container .ocf-value-list {
  background-color: #141414 !important;
}

.dark-theme .ocf-container .ocf-value {
  color: #d1d5db !important;
}

.dark-theme .ocf-container .ocf-value:hover,
.dark-theme .ocf-container .ocf-value:active {
  background-color: #24242a !important;
  color: #ffffff !important;
}

.dark-theme .ocf-container .ocf-value.ocf-selected {
  background-color: rgba(237, 33, 36, 0.15) !important;
  color: #ffffff !important;
}

.dark-theme .ocf-container .ocf-value-count {
  background-color: #27282e !important;
  color: #9aa3ad !important;
}

.dark-theme .ocf-container .ocf-value-input::before,
.dark-theme .ocf-container .ocf-value-input-checkbox::before {
  background: #232328 !important;
  border-color: #4b525d !important;
}

/* Slider Inputs in Dark Theme */
.dark-theme .ocf-container .ocf-form-control,
.dark-theme .ocf-container input.form-control {
  background: #1f1f24 !important;
  color: #ffffff !important;
  border-color: #3b3f46 !important;
}

.dark-theme .ocf-container .ocf-input-group-addon {
  background: #282a30 !important;
  color: #9aa3ad !important;
  border-color: #3b3f46 !important;
}

.dark-theme .ocf-container .ocf-noUi-base {
  background: #33363e !important;
}

.dark-theme .ocf-container .ocf-noUi-connect {
  background: #ED2124 !important;
}

.dark-theme .ocf-container .ocf-noUi-handle {
  background: #ffffff !important;
  border-color: #ED2124 !important;
}

/* Mobile Offcanvas Footer */
.dark-theme .ocf-container.ocf-mobile-active .ocf-footer,
.dark-theme .ocf-container.ocf-is-mobile .ocf-footer,
.dark-theme .ocf-offcanvas .ocf-footer {
  background-color: #141414 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.6) !important;
}

.dark-theme .ocf-container [data-ocf-discard="*"],
.dark-theme .ocf-container .ocf-footer [data-ocf-discard] {
  color: #9aa3ad !important;
}

.dark-theme .ocf-container [data-ocf-discard="*"]:hover {
  color: #ED2124 !important;
}

.dark-theme .ocf-container .ocf-search-btn-static {
  background: #ED2124 !important;
  color: #ffffff !important;
  border: none !important;
}

.dark-theme .ocf-container .ocf-search-btn-static.ocf-disabled,
.dark-theme .ocf-container .ocf-search-btn-static:disabled {
  background: #2a2a2f !important;
  color: #6b7280 !important;
}

/* Desktop Dark Filter */
.dark-theme .ocf-container .ocf-header:not(.ocf-mobile) {
  background: #1a1a1d !important;
  border: 1px solid #2a2a2e !important;
  color: #ffffff !important;
}
.dark-theme .ocf-container:not(.ocf-mobile) .ocf-filter {
  background: #18181b !important;
  border: 1px solid #2a2a2e !important;
}
.dark-theme .ocf-container:not(.ocf-mobile) .ocf-filter-header {
  background: #18181b !important;
  color: #ffffff !important;
}

/* Light Theme Guaranteed Pristine Light Style */
.light-theme .ocf-container.ocf-mobile-active .ocf-content,
.light-theme .ocf-container.ocf-is-mobile .ocf-content,
.light-theme .ocf-offcanvas .ocf-content {
  background-color: #ffffff !important;
  color: #141414 !important;
}
.light-theme .ocf-container .ocf-filter-header {
  color: #141414 !important;
}
.light-theme .ocf-container .ocf-filter-name {
  color: #141414 !important;
}

/* 2. Category & Product Description Collapse styling */
.jp-cat-desc-wrap,
.jp-product-desc-wrap {
  position: relative !important;
}
.jp-cat-desc-content.jp-collapsed,
.jp-product-desc-content.jp-collapsed {
  max-height: 180px !important;
  overflow: hidden !important;
  position: relative !important;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
.jp-cat-toggle-wrap,
.jp-desc-toggle-wrap {
  margin-top: 10px !important;
  text-align: center !important;
}
.jp-desc-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 22px !important;
  border-radius: 999px !important;
  border: 1.5px solid #ED2124 !important;
  background: transparent !important;
  color: #ED2124 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.jp-desc-toggle:hover {
  background: #ED2124 !important;
  color: #ffffff !important;
}
.dark-theme .jp-desc-toggle {
  background: rgba(237, 33, 36, 0.12) !important;
  border-color: rgba(237, 33, 36, 0.5) !important;
  color: #ff5252 !important;
}
.dark-theme .jp-desc-toggle:hover {
  background: #ED2124 !important;
  color: #ffffff !important;
}
.jp-desc-toggle .jp-desc-arrow {
  transition: transform 0.25s ease !important;
}
.jp-desc-toggle.jp-expanded .jp-desc-arrow {
  transform: rotate(180deg) !important;
}

/* 3. Return Policy / Information Page Contact Links */
.information-information a.jp-contact-link,
.information-information a[href^="tel:"],
.information-information a[href^="mailto:"] {
  color: #ED2124 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(237, 33, 36, 0.3) !important;
  transition: color 0.2s ease !important;
}
.information-information a.jp-contact-link:hover,
.information-information a[href^="tel:"]:hover,
.information-information a[href^="mailto:"]:hover {
  color: #d1191c !important;
  text-decoration-color: #ED2124 !important;
}

/* 4. Hot Kits Banner: Remove Strange Horizontal Line */
.jp-lookbook-slider .swiper-mod-navigation,
.lookbook .swiper-mod-navigation {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  background: transparent !important;
  box-shadow: none !important;
  height: 0 !important;
  min-height: 0 !important;
  pointer-events: none !important;
}
.jp-lookbook-slider .swiper-mod-navigation::before,
.jp-lookbook-slider .swiper-mod-navigation::after,
.lookbook .swiper-mod-navigation::before,
.lookbook .swiper-mod-navigation::after {
  display: none !important;
  content: none !important;
}
.jp-lookbook-slider .swiper-mod-arrow,
.lookbook .swiper-mod-arrow {
  pointer-events: auto !important;
}

/* 5. Product Page: Manufacturer Label Centering */
.row-info-product .col-6.top-action {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}
.row-info-product .info-manufacturer {
  display: flex !important;
  align-items: center !important;
  min-height: 20px !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  line-height: 1.3 !important;
}

/* 6. Mobile Floating Menu: Remove Neon Glow / Shadow */
.chm-account-button {
  background: #ED2124 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}
.chm-account-button:hover,
.chm-account-button:focus,
.chm-account-button:active {
  background: #CF3A32 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

/* 7. OnePage Checkout: "Я зарегистрирован" Button & Positioning */
.title-customer {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
  width: 100% !important;
}
.title-customer .title-customer__label {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
.title-customer .i_am_registered,
.btn-registered-customer {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  margin-top: 0 !important;
  cursor: pointer !important;
}
/* Light theme */
.light-theme .title-customer .i_am_registered,
.light-theme .btn-registered-customer {
  background: rgba(237, 33, 36, 0.08) !important;
  color: #ED2124 !important;
  border: 1.5px solid rgba(237, 33, 36, 0.35) !important;
}
.light-theme .title-customer .i_am_registered:hover,
.light-theme .btn-registered-customer:hover {
  background: #ED2124 !important;
  color: #ffffff !important;
  border-color: #ED2124 !important;
}
/* Dark theme */
.dark-theme .title-customer .i_am_registered,
.dark-theme .btn-registered-customer {
  background: rgba(237, 33, 36, 0.16) !important;
  color: #ff5252 !important;
  border: 1.5px solid rgba(237, 33, 36, 0.45) !important;
}
.dark-theme .title-customer .i_am_registered:hover,
.dark-theme .btn-registered-customer:hover {
  background: #ED2124 !important;
  color: #ffffff !important;
  border-color: #ED2124 !important;
}


/* ==========================================================================
   BATCH 13 MASTER DESIGN SYSTEM & VISUAL ENHANCEMENTS (v6.0)
   ========================================================================== */

/* 1. Universal Stepper (+-) Standard Sizing & Theme Styling */
.ch-cart-quantity,
.page-cart .ch-cart-quantity,
.shopping-cart .ch-cart-quantity,
.header-cart-price-quantity .ch-cart-quantity,
.cart-item-price-quantity .ch-cart-quantity,
#product .quantity-adder,
#popup-quickview .quantity-adder,
#popup-quickorder .quantity_quickorder,
#modal-quickorder .quantity_quickorder {
  width: 136px !important;
  min-width: 136px !important;
  max-width: 136px !important;
  height: 38px !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Dark Theme Steppers */
html.dark-theme .ch-cart-quantity,
html.dark-theme #product .quantity-adder,
html.dark-theme .quantity_plus_minus,
.dark-theme .ch-cart-quantity,
.dark-theme #product .quantity-adder,
.dark-theme .quantity_plus_minus {
  background: #202226 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}
html.dark-theme .ch-cart-quantity input,
html.dark-theme #product .quantity-adder input,
html.dark-theme .quantity_plus_minus input,
.dark-theme .ch-cart-quantity input,
.dark-theme #product .quantity-adder input,
.dark-theme .quantity_plus_minus input {
  color: #ffffff !important;
}
html.dark-theme .ch-cart-quantity svg path,
html.dark-theme .ch-cart-quantity svg line,
.dark-theme .ch-cart-quantity svg path,
.dark-theme .ch-cart-quantity svg line {
  stroke: #cbd5e1 !important;
}

/* Light Theme Steppers */
html.light-theme .ch-cart-quantity,
html.light-theme #product .quantity-adder,
html.light-theme .quantity_plus_minus,
.light-theme .ch-cart-quantity,
.light-theme #product .quantity-adder,
.light-theme .quantity_plus_minus {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}
html.light-theme .ch-cart-quantity input,
html.light-theme #product .quantity-adder input,
html.light-theme .quantity_plus_minus input,
.light-theme .ch-cart-quantity input,
.light-theme #product .quantity-adder input,
.light-theme .quantity_plus_minus input {
  color: #0f172a !important;
}
html.light-theme .ch-cart-quantity svg path,
html.light-theme .ch-cart-quantity svg line,
.light-theme .ch-cart-quantity svg path,
.light-theme .ch-cart-quantity svg line {
  stroke: #334155 !important;
}

/* Stepper Input in Cart/Checkout */
.ch-cart-quantity input,
.page-cart .ch-cart-quantity input,
.cart-item-price-quantity .ch-cart-quantity input {
  padding: 0 4px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Stepper in Product Cards */
.quantity_plus_minus {
  width: 104px !important;
  min-width: 104px !important;
  max-width: 104px !important;
  height: 38px !important;
  border-radius: 10px !important;
  flex: 0 0 104px !important;
}
.quantity_plus_minus input,
.quantity_plus_minus input.quantity-num {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 0 2px !important;
}

/* 2. Product Delivery Alignment: Desktop Single Line + Dotted Leader & Mobile 4-lines */
@media (min-width: 768px) {
  .product-delivery__text.delivery-price-available:before {
    display: none !important;
  }
  .product-delivery__text.delivery-price-available {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    width: 100% !important;
    row-gap: 4px !important;
    position: relative !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__left-block {
    display: contents !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__name {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: baseline !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__name .jp-deliv-title-pc {
    display: inline !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: inherit !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__name .jp-deliv-mob {
    display: none !important;
  }
  .product-delivery__text.delivery-price-available:after {
    content: '' !important;
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25) !important;
    margin: 0 12px !important;
    height: 1px !important;
    align-self: center !important;
  }
  .light-theme .product-delivery__text.delivery-price-available:after {
    border-bottom-color: rgba(0, 0, 0, 0.2) !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__right-block {
    grid-column: 3 / 4 !important;
    grid-row: 1 / 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__right-block:before {
    display: none !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__text-price {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #10B981 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__description {
    grid-column: 1 / 4 !important;
    grid-row: 2 / 3 !important;
    margin: 0 !important;
    font-size: 13px !important;
    color: var(--up-text-muted, #8a8d93) !important;
  }
}

@media (max-width: 767px) {
  .product-delivery__text.delivery-price-available:before {
    display: none !important;
  }
  .product-delivery__text.delivery-price-available:after {
    display: none !important;
  }
  .product-delivery__text.delivery-price-available {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__left-block {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__name .jp-deliv-title-pc {
    display: none !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__name .jp-deliv-mob {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    line-height: 1.35 !important;
  }
  .product-delivery__text.delivery-price-available .jp-deliv-line1 {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: inherit !important;
    margin-bottom: 1px !important;
  }
  .product-delivery__text.delivery-price-available .jp-deliv-line2,
  .product-delivery__text.delivery-price-available .jp-deliv-line3 {
    font-size: 14px !important;
    color: inherit !important;
    margin-bottom: 1px !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__description {
    font-size: 13px !important;
    margin-top: 3px !important;
    color: var(--up-text-muted, #8a8d93) !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__right-block {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 100% !important;
    margin-top: 4px !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__right-block:before {
    content: '' !important;
    flex: 1 1 auto !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25) !important;
    margin-right: 8px !important;
    height: 1px !important;
  }
  .light-theme .product-delivery__text.delivery-price-available .product-delivery__right-block:before {
    border-bottom-color: rgba(0, 0, 0, 0.2) !important;
  }
  .product-delivery__text.delivery-price-available .product-delivery__text-price {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #10B981 !important;
    white-space: nowrap !important;
  }
}

/* 3. Hero Promo Card: Full Height Alignment & Light/Dark Theme Separation */
@media (max-width: 991px) {
  .pos14.jp-promo-placeholder-col {
    display: none !important;
  }
}
@media (min-width: 992px) {
  .pos14.jp-promo-placeholder-col {
    display: flex !important;
    flex-direction: column !important;
  }
  .pos14.jp-promo-placeholder-col .container-module {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    margin-bottom: 0 !important;
  }
  .pos14.jp-promo-placeholder-col .jp-promo-placeholder-card {
    flex: 1 1 0 !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* Light theme Hero Promo Card */
html.light-theme .pos14 .jp-promo-placeholder-card,
.light-theme .pos14 .jp-promo-placeholder-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}
html.light-theme .pos14 .jp-promo-title,
.light-theme .pos14 .jp-promo-title {
  color: #1e293b !important;
}
html.light-theme .pos14 .jp-promo-desc,
.light-theme .pos14 .jp-promo-desc {
  color: #64748b !important;
}
html.light-theme .pos14 .jp-promo-sub-input,
.light-theme .pos14 .jp-promo-sub-input {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
html.light-theme .pos14 .jp-promo-sub-input::placeholder,
.light-theme .pos14 .jp-promo-sub-input::placeholder {
  color: #94a3b8 !important;
}
html.light-theme .pos14 .jp-promo-more-link,
.light-theme .pos14 .jp-promo-more-link {
  color: #64748b !important;
}
html.light-theme .pos14 .jp-promo-more-link:hover,
.light-theme .pos14 .jp-promo-more-link:hover {
  color: #ED2124 !important;
}

/* Dark theme Hero Promo Card */
html.dark-theme .pos14 .jp-promo-placeholder-card,
.dark-theme .pos14 .jp-promo-placeholder-card {
  background: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}
html.dark-theme .pos14 .jp-promo-title,
.dark-theme .pos14 .jp-promo-title {
  color: #ffffff !important;
}
html.dark-theme .pos14 .jp-promo-desc,
.dark-theme .pos14 .jp-promo-desc {
  color: #94a3b8 !important;
}
html.dark-theme .pos14 .jp-promo-sub-input,
.dark-theme .pos14 .jp-promo-sub-input {
  background: #18191c !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}
html.dark-theme .pos14 .jp-promo-more-link,
.dark-theme .pos14 .jp-promo-more-link {
  color: #94a3b8 !important;
}

/* 4. Desktop Catalog Menu: Height Stretches Evenly to Prevent Bottom Void */
@media (min-width: 992px) {
  .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical,
  .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical-list {
    height: 100% !important;
    min-height: 100% !important;
  }
  .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical-list {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 8px 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical-list > li {
    flex: 1 1 0 !important;
    height: auto !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
  }
  .menu-header-box.mm_open_hp:not(.m-sticky) #menu-vertical-list > li > a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* 5. OCFilter Theme Separation: Dark Drawer on Dark Theme, Light Drawer on Light Theme */
html.dark-theme .ocf-container,
html.dark-theme .ocf-content,
html.dark-theme .ocf-header,
html.dark-theme .ocf-body,
html.dark-theme .ocf-filter-list,
html.dark-theme .ocf-filter-body > .ocf-value-list,
html.dark-theme .ocf-open .ocf-filter-header,
html.dark-theme .ocf-footer,
.dark-theme .ocf-container,
.dark-theme .ocf-content,
.dark-theme .ocf-header,
.dark-theme .ocf-body,
.dark-theme .ocf-filter-list,
.dark-theme .ocf-filter-body > .ocf-value-list,
.dark-theme .ocf-open .ocf-filter-header,
.dark-theme .ocf-footer {
  background-color: #141414 !important;
  background: #141414 !important;
  color: #ffffff !important;
}
html.dark-theme .ocf-container .ocf-filter,
.dark-theme .ocf-container .ocf-filter {
  background-color: #1e1e23 !important;
  background: #1e1e23 !important;
  border-radius: 12px !important;
  margin: 0 0 12px 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}
html.dark-theme .ocf-container .ocf-filter-header,
.dark-theme .ocf-container .ocf-filter-header {
  padding: 12px 16px !important;
  color: #ffffff !important;
}
html.dark-theme .ocf-container .ocf-filter-name,
.dark-theme .ocf-container .ocf-filter-name {
  color: #ffffff !important;
  font-weight: 500 !important;
}
html.dark-theme .ocf-container .ocf-angle-right,
html.dark-theme .ocf-container .ocf-arrow-left,
.dark-theme .ocf-container .ocf-angle-right,
.dark-theme .ocf-container .ocf-arrow-left {
  color: #94a3b8 !important;
  fill: #94a3b8 !important;
}
html.dark-theme .ocf-container .ocf-value,
.dark-theme .ocf-container .ocf-value {
  color: #e2e8f0 !important;
}
html.dark-theme .ocf-container .ocf-value-name,
.dark-theme .ocf-container .ocf-value-name {
  color: #e2e8f0 !important;
}
html.dark-theme .ocf-container .ocf-close-mobile,
.dark-theme .ocf-container .ocf-close-mobile {
  color: #ffffff !important;
  fill: #ffffff !important;
}
html.dark-theme .ocf-container .ocf-header-title,
.dark-theme .ocf-container .ocf-header-title {
  color: #ffffff !important;
}
html.dark-theme .ocf-container .ocf-footer,
.dark-theme .ocf-container .ocf-footer {
  background-color: #141414 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* OCFilter Light Theme Guarantee */
html.light-theme .ocf-container,
html.light-theme .ocf-content,
html.light-theme .ocf-header,
html.light-theme .ocf-body,
html.light-theme .ocf-filter-list,
html.light-theme .ocf-filter-body > .ocf-value-list,
html.light-theme .ocf-open .ocf-filter-header,
html.light-theme .ocf-footer,
.light-theme .ocf-container,
.light-theme .ocf-content,
.light-theme .ocf-header,
.light-theme .ocf-body,
.light-theme .ocf-filter-list,
.light-theme .ocf-filter-body > .ocf-value-list,
.light-theme .ocf-open .ocf-filter-header,
.light-theme .ocf-footer {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #0f172a !important;
}
html.light-theme .ocf-container .ocf-filter,
.light-theme .ocf-container .ocf-filter {
  background-color: #f8fafc !important;
  background: #f8fafc !important;
  border-radius: 12px !important;
  margin: 0 0 12px 0 !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
html.light-theme .ocf-container .ocf-filter-header,
.light-theme .ocf-container .ocf-filter-header {
  padding: 12px 16px !important;
  color: #0f172a !important;
}
html.light-theme .ocf-container .ocf-filter-name,
.light-theme .ocf-container .ocf-filter-name {
  color: #0f172a !important;
  font-weight: 500 !important;
}
html.light-theme .ocf-container .ocf-angle-right,
html.light-theme .ocf-container .ocf-arrow-left,
.light-theme .ocf-container .ocf-angle-right,
.light-theme .ocf-container .ocf-arrow-left {
  color: #64748b !important;
  fill: #64748b !important;
}
html.light-theme .ocf-container .ocf-value,
.light-theme .ocf-container .ocf-value {
  color: #1e293b !important;
}
html.light-theme .ocf-container .ocf-value-name,
.light-theme .ocf-container .ocf-value-name {
  color: #1e293b !important;
}
html.light-theme .ocf-container .ocf-close-mobile,
.light-theme .ocf-container .ocf-close-mobile {
  color: #0f172a !important;
  fill: #0f172a !important;
}
html.light-theme .ocf-container .ocf-header-title,
.light-theme .ocf-container .ocf-header-title {
  color: #0f172a !important;
}
html.light-theme .ocf-container .ocf-footer,
.light-theme .ocf-container .ocf-footer {
  background-color: #ffffff !important;
  border-top: none !important;
}

/* OCFilter Desktop Sidebar Rounded Corners (18px) */
@media (min-width: 768px) {
  .ocf-container,
  .ocf-container .ocf-content,
  .ocf-container .ocf-body {
    border-radius: 18px !important;
  }
  .ocf-container .ocf-filter,
  .ocf-container .ocf-filter.ocf-slider,
  .ocf-container .ocf-filter-body,
  .ocf-container .ocf-slider-body {
    border-radius: 18px !important;
    overflow: hidden !important;
  }
}

/* 6. Footer Newsletter Error Message Position */
.newsletter {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
}
.newsletter .input-group {
  width: 100% !important;
}
#error-msg {
  display: block !important;
  width: 100% !important;
  margin-top: 8px !important;
  text-align: left !important;
}

/* 7. Product Card Spacing & Stepper/Cart Gap */
.product-thumb .caption .product-name {
  margin-bottom: 8px !important;
}
.product-thumb .caption .rating {
  margin-bottom: 8px !important;
}
.product-thumb .caption .product_model_sstatus {
  margin-bottom: 12px !important;
}
.price-actions-box {
  gap: 8px !important;
}
.price-actions-box > .cart {
  margin-left: 6px !important;
}
@media (max-width: 575px) {
  .price-actions-box {
    flex-wrap: wrap !important;
  }
  .price-actions-box > .price {
    width: 100% !important;
    flex: 1 1 100% !important;
    margin-bottom: 4px !important;
  }
}

/* 8. Pickup Note & Direction Link */
.jp-pickup-note-box {
  margin-top: 8px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: rgba(237, 33, 36, 0.06) !important;
  border: 1px solid rgba(237, 33, 36, 0.2) !important;
}
.jp-pickup-note-box .jp-pickup-map-link {
  margin-top: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #ED2124 !important;
  font-weight: 500 !important;
}
.jp-pickup-note-box .jp-pickup-map-link:hover {
  color: #ff4747 !important;
}

/* 9. Round Chevron Arrow in Checkout Dop Module Accordion */
.text-checkout-modules {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.text-checkout-modules i,
.text-checkout-modules .up-icon-angle-down {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-size: 11px !important;
  color: inherit !important;
  transition: transform 0.2s ease !important;
}
.light-theme .text-checkout-modules i,
.light-theme .text-checkout-modules .up-icon-angle-down {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}
.text-checkout-modules:not(.collapsed) i,
.text-checkout-modules:not(.collapsed) .up-icon-angle-down {
  transform: rotate(180deg) !important;
}

/* 10. Modal Quickorder Footer Buttons Gap */
#modal-quickorder .popup-footer,
.modal-footer,
.popup-cart-footer {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: center !important;
}
#modal-quickorder .popup-footer .chm-btn,
.modal-footer .chm-btn {
  margin: 0 !important;
}

/* 11. Footer Contact Icons Centering & Payments Logos */
footer .icon-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  margin-right: 14px !important;
}
footer .icon-image img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}
footer a.dflex[href^="tel:"],
footer a.dflex[href^="mailto:"] {
  align-items: center !important;
  gap: 12px !important;
}
.ch-payments img,
.ch-payments svg {
  border-radius: 8px !important;
}
.opc-cart-weight {
  display: none !important;
}
.category_description .psfl-l {
  display: none !important;
}

/* ==========================================================================
   BATCH 14 MASTER SYSTEM IMPROVEMENTS (v6.1)
   ========================================================================== */

/* 1. Fancybox Image Lightbox: Rounded Corners (Task 1) */
.fancybox-content,
.fancybox-image,
.fancybox-slide--image .fancybox-content {
  border-radius: 20px !important;
  overflow: hidden !important;
}

/* 2. Fancybox Navigation Chevrons: Round Theme Circles & Visible (Task 2) */
.fancybox-navigation .fancybox-button {
  background: rgba(30, 32, 38, 0.85) !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: calc(50% - 24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  opacity: 0.95 !important;
  visibility: visible !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}
.fancybox-navigation .fancybox-button:hover {
  background: #ED2124 !important;
  border-color: #ED2124 !important;
  opacity: 1 !important;
  transform: scale(1.08) !important;
}
.fancybox-navigation .fancybox-button--arrow_left {
  left: 24px !important;
}
.fancybox-navigation .fancybox-button--arrow_right {
  right: 24px !important;
}
.fancybox-navigation .fancybox-button svg {
  width: 22px !important;
  height: 22px !important;
  color: #ffffff !important;
}
.fancybox-navigation .fancybox-button svg path {
  fill: #ffffff !important;
}

/* 3. Fancybox Top-Right Toolbar Buttons (Task 3) */
.fancybox-toolbar {
  top: 16px !important;
  right: 16px !important;
  background: transparent !important;
  display: flex !important;
  gap: 8px !important;
}
.fancybox-toolbar .fancybox-button {
  background: rgba(30, 32, 38, 0.85) !important;
  border-radius: 50% !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}
.fancybox-toolbar .fancybox-button:hover {
  background: rgba(50, 54, 64, 0.95) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: scale(1.06) !important;
}
.fancybox-toolbar .fancybox-button--close:hover {
  background: #ED2124 !important;
  border-color: #ED2124 !important;
}
.fancybox-toolbar .fancybox-button svg {
  width: 18px !important;
  height: 18px !important;
}

/* 4. Google Reviews Button: Pure Static (No Neon Glow / No Animation) (Task 4) */
.btn-block-rs .jp-google-review-btn,
.reviews-product .btn-block-rs .jp-google-review-btn,
.average-reviews .btn-block-rs .jp-google-review-btn,
.chm-btn-google,
.jp-google-reviews-btn {
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
  filter: none !important;
}
.btn-block-rs .jp-google-review-btn:hover,
.reviews-product .btn-block-rs .jp-google-review-btn:hover,
.average-reviews .btn-block-rs .jp-google-review-btn:hover,
.chm-btn-google:hover,
.jp-google-reviews-btn:hover {
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}
.dark-theme .btn-block-rs .jp-google-review-btn,
.dark-theme .reviews-product .btn-block-rs .jp-google-review-btn,
.dark-theme .chm-btn-google {
  background: #202226 !important;
  color: #f3f4f6 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}
.dark-theme .btn-block-rs .jp-google-review-btn:hover,
.dark-theme .reviews-product .btn-block-rs .jp-google-review-btn:hover,
.dark-theme .chm-btn-google:hover {
  background: #2a2d34 !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}
.light-theme .btn-block-rs .jp-google-review-btn,
.light-theme .reviews-product .btn-block-rs .jp-google-review-btn,
.light-theme .chm-btn-google {
  background: #ffffff !important;
  color: #1f2937 !important;
  border: 1px solid #d1d5db !important;
}
.light-theme .btn-block-rs .jp-google-review-btn:hover,
.light-theme .reviews-product .btn-block-rs .jp-google-review-btn:hover,
.light-theme .chm-btn-google:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}


/* 5. All Reviews Link: Red Theme Color (Task 5) */
.see-all-reviews,
a.see-all-reviews,
.title-module .see-all-reviews {
  color: #ED2124 !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: color 0.2s ease !important;
}
.see-all-reviews svg,
a.see-all-reviews svg {
  color: #ED2124 !important;
  fill: #ED2124 !important;
}
.see-all-reviews:hover,
a.see-all-reviews:hover {
  color: #c81518 !important;
}
.see-all-reviews:hover svg,
a.see-all-reviews:hover svg {
  color: #c81518 !important;
  fill: #c81518 !important;
}

/* 5. All Reviews Button: Red Theme Color (Task 5) */
#tab-review a.chm-btn-black,
.reviews-product a.chm-btn-black,
.text-center a.chm-btn-black[href*="page-reviews"],
a.chm-btn[href*="page-reviews"] {
  background: #ED2124 !important;
  border-color: #ED2124 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
#tab-review a.chm-btn-black:hover,
.reviews-product a.chm-btn-black:hover,
.text-center a.chm-btn-black[href*="page-reviews"]:hover,
a.chm-btn[href*="page-reviews"]:hover {
  background: #c81518 !important;
  border-color: #c81518 !important;
  color: #ffffff !important;
}

/* 6. Product Reviews Page H1 Heading Restored (Task 6) */
.container > h1.h1-prod-name.h1-reviews-page,
.container > h1.h1-reviews-page,
h1.h1-reviews-page,
.h1-reviews-page {
  display: block !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin: 16px 0 20px 0 !important;
  line-height: 1.3 !important;
  visibility: visible !important;
}
.dark-theme h1.h1-reviews-page {
  color: #ffffff !important;
}
.light-theme h1.h1-reviews-page {
  color: #0f172a !important;
}

/* 7. Product Card: Price full top row, Stepper +- & Cart on bottom row (Task 7) */
.product-thumb .caption .price-actions-box {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-top: auto !important;
  gap: 0 !important;
}
.product-thumb .caption .price-actions-box > .price {
  width: 100% !important;
  flex: 0 0 100% !important;
  margin-bottom: 8px !important;
  text-align: left !important;
  order: 1 !important;
  display: block !important;
}
.product-thumb .caption .price-actions-box > .price .price_value,
.product-thumb .caption .price-actions-box > .price .price-new {
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: inherit !important;
}
.product-thumb .caption .price-actions-box > .quantity_plus_minus {
  order: 2 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 90px !important;
  max-width: calc(100% - 50px) !important;
  height: 38px !important;
  margin: 0 !important;
}
.product-layout:not(.product-grid):not(.product-price):not(.product-list) .product-thumb .caption .price-actions-box > .cart {
  order: 3 !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  margin: 0 0 0 8px !important;
}
.product-layout:not(.product-grid):not(.product-price):not(.product-list) .product-thumb .caption .price-actions-box > .cart .btn-general {
  width: 42px !important;
  height: 38px !important;
  min-width: 42px !important;
}

/* 8. Header Phone Dropdown Route Link (Task 8) */
.up-header-phones__dropdown .jp-route-link {
  font-size: 12px !important;
  color: #ED2124 !important;
  display: inline-block !important;
  margin-top: 4px !important;
  text-decoration: underline !important;
}
.up-header-phones__dropdown .jp-route-link:hover {
  color: #ff4747 !important;
}

/* 9. Popup Cart & Quickorder Phone Input & Button Restored (Task 9) */
.fo-group-field-tel .input-group-btn,
.fo-group-field-tel .input-group-btn button,
#popup-quickorder .fo-group-field-tel .chm-btn-outline-primary,
#modal-quickorder .fo-group-field-tel .chm-btn-outline-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ED2124 !important;
  border-color: #ED2124 !important;
  color: #ffffff !important;
  border-radius: 0 10px 10px 0 !important;
  height: 44px !important;
  padding: 0 18px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.fo-group-field-tel .input-group-btn button:hover,
#popup-quickorder .fo-group-field-tel .chm-btn-outline-primary:hover,
#modal-quickorder .fo-group-field-tel .chm-btn-outline-primary:hover {
  background: #c81518 !important;
  border-color: #c81518 !important;
  color: #ffffff !important;
}
.fo-group-field-tel .input-group-btn button i,
.fo-group-field-tel .input-group-btn button .btn-text {
  color: #ffffff !important;
  display: inline-block !important;
}
.fo-group-field-tel #fo-contact-phone {
  height: 44px !important;
  border-radius: 10px 0 0 10px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  min-width: 140px !important;
}
.dark-theme .fo-group-field-tel #fo-contact-phone {
  background: #1e2025 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-right: none !important;
  color: #ffffff !important;
}
.light-theme .fo-group-field-tel #fo-contact-phone {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-right: none !important;
  color: #0f172a !important;
}

@media (max-width: 575px) {
  .fo-cart-totals-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .fo-group-field-tel {
    width: 100% !important;
    max-width: 100% !important;
  }
  .fo-group-field-tel .input-group {
    display: flex !important;
    width: 100% !important;
  }
  .fo-group-field-tel #fo-contact-phone {
    flex: 1 1 auto !important;
    width: 100% !important;
  }
  .fo-cart-totals {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
}

/* 10. OCFilter Selected Card & Price Scale Clean Dark/Light Themes (Task 10) */
/* Dark Theme */
html.dark-theme .ocf-selected-card,
.dark-theme .ocf-selected-card {
  background: #18191c !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  color: #ffffff !important;
}
html.dark-theme .ocf-selected-header,
.dark-theme .ocf-selected-header {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  margin-bottom: 10px !important;
}
html.dark-theme .ocf-selected-filter-name,
.dark-theme .ocf-selected-filter-name {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
}
html.dark-theme .ocf-container .ocf-selected-discard,
html.dark-theme .ocf-container .ocf-selected-filter .ocf-selected-discard,
html.dark-theme .ocf-selected-discard,
.dark-theme .ocf-container .ocf-selected-discard,
.dark-theme .ocf-container .ocf-selected-filter .ocf-selected-discard,
.dark-theme .ocf-selected-discard {
  background: #23252b !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
  padding: 6px 12px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
html.dark-theme .ocf-selected-discard:hover,
.dark-theme .ocf-selected-discard:hover {
  background: #2e323b !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}
html.dark-theme .ocf-selected-value-name,
.dark-theme .ocf-selected-value-name {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
}
html.dark-theme .ocf-selected-discard .ocf-icon,
.dark-theme .ocf-selected-discard .ocf-icon {
  color: #94a3b8 !important;
}
html.dark-theme .ocf-between,
.dark-theme .ocf-between {
  margin-top: 14px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  justify-content: space-between !important;
}
html.dark-theme .ocf-between .ocf-btn,
.dark-theme .ocf-between .ocf-btn {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
}
html.dark-theme .ocf-between .ocf-text-danger,
.dark-theme .ocf-between .ocf-text-danger {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.1) !important;
}
html.dark-theme .ocf-between .ocf-text-danger:hover,
.dark-theme .ocf-between .ocf-text-danger:hover {
  background: rgba(239, 68, 68, 0.2) !important;
}
html.dark-theme .ocf-between button[data-ocf="specify"],
.dark-theme .ocf-between button[data-ocf="specify"] {
  color: #ffffff !important;
  background: #2b2e36 !important;
}
html.dark-theme .ocf-between button[data-ocf="specify"]:hover,
.dark-theme .ocf-between button[data-ocf="specify"]:hover {
  background: #363a44 !important;
}

html.dark-theme .ocf-slider-input-group,
.dark-theme .ocf-slider-input-group {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
html.dark-theme .ocf-form-control,
.dark-theme .ocf-form-control {
  background: #202226 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
}
html.dark-theme .ocf-input-group-addon,
.dark-theme .ocf-input-group-addon {
  color: #94a3b8 !important;
  background: transparent !important;
  border: none !important;
}
html.dark-theme .ocf-noUi-value,
.dark-theme .ocf-noUi-value {
  color: #94a3b8 !important;
}
html.dark-theme .ocf-noUi-marker,
.dark-theme .ocf-noUi-marker {
  background: rgba(255, 255, 255, 0.2) !important;
}
html.dark-theme .ocf-noUi-base:before,
.dark-theme .ocf-noUi-base:before {
  background-color: #2b2d33 !important;
}
html.dark-theme .ocf-noUi-connect:before,
html.dark-theme .ocf-noUi-handle,
.dark-theme .ocf-noUi-connect:before,
.dark-theme .ocf-noUi-handle {
  background-color: #ED2124 !important;
}
html.dark-theme .ocf-noUi-handle,
.dark-theme .ocf-noUi-handle {
  border-color: #18191c !important;
}

/* Light Theme */
html.light-theme .ocf-selected-card,
.light-theme .ocf-selected-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}
html.light-theme .ocf-selected-header,
.light-theme .ocf-selected-header {
  color: #0f172a !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  margin-bottom: 10px !important;
}
html.light-theme .ocf-selected-filter-name,
.light-theme .ocf-selected-filter-name {
  color: #64748b !important;
  font-size: 13.5px !important;
}
html.light-theme .ocf-selected-discard,
.light-theme .ocf-selected-discard {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 6px 12px !important;
  color: #0f172a !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
html.light-theme .ocf-selected-discard:hover,
.light-theme .ocf-selected-discard:hover {
  background: #e2e8f0 !important;
}
html.light-theme .ocf-selected-value-name,
.light-theme .ocf-selected-value-name {
  color: #0f172a !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
}
html.light-theme .ocf-selected-discard .ocf-icon,
.light-theme .ocf-selected-discard .ocf-icon {
  color: #64748b !important;
}
html.light-theme .ocf-between,
.light-theme .ocf-between {
  margin-top: 14px !important;
  padding-top: 12px !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  justify-content: space-between !important;
}
html.light-theme .ocf-between .ocf-btn,
.light-theme .ocf-between .ocf-btn {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
}
html.light-theme .ocf-between .ocf-text-danger,
.light-theme .ocf-between .ocf-text-danger {
  color: #dc2626 !important;
  background: #fee2e2 !important;
}
html.light-theme .ocf-between button[data-ocf="specify"],
.light-theme .ocf-between button[data-ocf="specify"] {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

html.light-theme .ocf-slider-input-group,
.light-theme .ocf-slider-input-group {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
html.light-theme .ocf-form-control,
.light-theme .ocf-form-control {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
}
html.light-theme .ocf-input-group-addon,
.light-theme .ocf-input-group-addon {
  color: #64748b !important;
  background: transparent !important;
  border: none !important;
}
html.light-theme .ocf-noUi-value,
.light-theme .ocf-noUi-value {
  color: #64748b !important;
}
html.light-theme .ocf-noUi-marker,
.light-theme .ocf-noUi-marker {
  background: #cbd5e1 !important;
}
html.light-theme .ocf-noUi-base:before,
.light-theme .ocf-noUi-base:before {
  background-color: #e2e8f0 !important;
}
html.light-theme .ocf-noUi-connect:before,
html.light-theme .ocf-noUi-handle,
.light-theme .ocf-noUi-connect:before,
.light-theme .ocf-noUi-handle {
  background-color: #ED2124 !important;
}
html.light-theme .ocf-noUi-handle,
.light-theme .ocf-noUi-handle {
  border-color: #ffffff !important;
}

/* ========================================================
   BATCH-14: MASTER POLISH & DESIGN CONSISTENCY FIXES
======================================================== */

/* 1. Category FAQ Accordion */
.jp-category-faq-wrapper {
  margin: 32px 0 24px 0 !important;
  width: 100% !important;
  clear: both !important;
}
.sp-seo-faq-block .faq-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  color: #111827 !important;
}
html.dark-theme .sp-seo-faq-block .faq-title,
.dark-theme .sp-seo-faq-block .faq-title {
  color: #f3f4f6 !important;
}
.sp-seo-faq-block ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.sp-seo-faq-block li.faq-question {
  list-style: none !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
}
html.dark-theme .sp-seo-faq-block li.faq-question,
.dark-theme .sp-seo-faq-block li.faq-question {
  background: #1c1c21 !important;
  border-color: #2c2c35 !important;
}
.sp-seo-faq-block .faq-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 15px 18px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  user-select: none !important;
  color: #111827 !important;
  transition: color 0.2s ease !important;
}
html.dark-theme .sp-seo-faq-block .faq-link,
.dark-theme .sp-seo-faq-block .faq-link {
  color: #f3f4f6 !important;
}
.sp-seo-faq-block .faq-link:hover {
  color: #ED2124 !important;
}
.sp-seo-faq-block .faq-link::after {
  content: '' !important;
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  border-right: 2px solid #9ca3af !important;
  border-bottom: 2px solid #9ca3af !important;
  transform: rotate(45deg) !important;
  transition: transform 0.25s ease !important;
  margin-left: 12px !important;
  flex-shrink: 0 !important;
}
.sp-seo-faq-block li.faq-question.active .faq-link::after,
.sp-seo-faq-block .faq-link[aria-expanded="true"]::after {
  transform: rotate(-135deg) !important;
  border-color: #ED2124 !important;
}
.sp-seo-faq-block .faq-text {
  padding: 0 18px 16px 18px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #4b5563 !important;
  border-top: 1px solid #f3f4f6 !important;
  padding-top: 12px !important;
}
html.dark-theme .sp-seo-faq-block .faq-text,
.dark-theme .sp-seo-faq-block .faq-text {
  color: #9ca3af !important;
  border-top-color: #2c2c35 !important;
}
.sp-seo-faq-block .faq-text a {
  color: #ED2124 !important;
  text-decoration: underline !important;
}

/* 2. Fancybox Lightbox Rounded Corners & Navigation Arrows */
.fancybox-content,
.fancybox-slide--image .fancybox-content,
.fancybox-slide--image .fancybox-image {
  border-radius: 16px !important;
  overflow: hidden !important;
}
.fancybox-navigation .fancybox-button {
  background: rgba(30, 30, 30, 0.6) !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease !important;
}
.fancybox-navigation .fancybox-button:hover {
  background: #ED2124 !important;
}
.fancybox-navigation .fancybox-button > div {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.fancybox-navigation .fancybox-button svg {
  display: block !important;
  margin: auto !important;
  width: 22px !important;
  height: 22px !important;
}
.fancybox-thumbs__list a {
  border-radius: 10px !important;
  background-size: cover !important;
  background-position: center !important;
  margin: 6px 0 !important;
  overflow: hidden !important;
}

/* 3. Homepage Promotions Block Height Flush (506px) & Mobile Hide */
.pos14 .jp-promo-placeholder-card {
  height: 456px !important;
  max-height: 456px !important;
  min-height: 456px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 24px 20px 20px 20px !important;
  box-sizing: border-box !important;
}
.pos14 .jp-promo-placeholder-card .jp-promo-icon,
.jp-promo-icon {
  font-size: 42px !important;
  line-height: 1 !important;
  text-align: center !important;
  margin-top: 8px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.pos14 .jp-promo-placeholder-card .jp-promo-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}
.pos14 .jp-promo-placeholder-card .jp-promo-desc {
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  margin-bottom: 16px !important;
  text-align: center !important;
  color: #9ca3af !important;
}
.pos14 .jp-promo-placeholder-card .jp-promo-sub-box {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.pos14 .jp-promo-placeholder-card .jp-promo-sub-input {
  width: 100% !important;
  height: 42px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: #141416 !important;
  color: #ffffff !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  text-align: center !important;
}
html.light-theme .pos14 .jp-promo-placeholder-card .jp-promo-sub-input {
  background: #ffffff !important;
  border-color: #d1d5db !important;
  color: #111827 !important;
}
.pos14 .jp-promo-placeholder-card .jp-promo-sub-btn {
  width: 100% !important;
  height: 42px !important;
  border-radius: 10px !important;
  background: #ED2124 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border: none !important;
}
.pos14 .jp-promo-placeholder-card .jp-promo-footer-link {
  margin-top: 14px !important;
  font-size: 13px !important;
}
.pos14 .jp-promo-placeholder-card .jp-promo-more-link {
  color: #9ca3af !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.pos14 .jp-promo-placeholder-card .jp-promo-more-link:hover {
  color: #ED2124 !important;
}
@media (max-width: 991px) {
  .pos14,
  .pos14.jp-promo-placeholder-col {
    display: none !important;
  }
}

/* 4. Mobile Filter Drawer Dark Theme (Explicit Coverage) */
html.dark-theme .ocf-container,
html.dark-theme .ocf-container.ocf-mobile-1,
html.dark-theme .ocf-container.ocf-mobile-open,
html.dark-theme .ocf-container.ocf-mobile-active,
html.dark-theme .ocf-container.ocf-is-mobile,
html.dark-theme .ocf-offcanvas,
html.dark-theme .ocf-content,
html.dark-theme .ocf-body,
.dark-theme .ocf-container,
.dark-theme .ocf-container.ocf-mobile-1,
.dark-theme .ocf-container.ocf-mobile-open,
.dark-theme .ocf-container.ocf-mobile-active,
.dark-theme .ocf-container.ocf-is-mobile,
.dark-theme .ocf-offcanvas,
.dark-theme .ocf-content,
.dark-theme .ocf-body {
  background: #16161a !important;
  background-color: #16161a !important;
  color: #ffffff !important;
}

html.dark-theme .ocf-container .ocf-header,
html.dark-theme .ocf-container.ocf-mobile-active .ocf-header,
.dark-theme .ocf-container .ocf-header,
.dark-theme .ocf-container.ocf-mobile-active .ocf-header {
  background: #16161a !important;
  border-bottom: 1px solid #282830 !important;
  color: #ffffff !important;
}

html.dark-theme .ocf-container .ocf-header .ocf-icon,
html.dark-theme .ocf-container .ocf-close-mobile,
.dark-theme .ocf-container .ocf-header .ocf-icon,
.dark-theme .ocf-container .ocf-close-mobile {
  color: #ffffff !important;
}

html.dark-theme .ocf-container.ocf-mobile-1 .ocf-filter,
html.dark-theme .ocf-container.ocf-mobile-active .ocf-filter,
html.dark-theme .ocf-container .ocf-filter,
.dark-theme .ocf-container.ocf-mobile-1 .ocf-filter,
.dark-theme .ocf-container.ocf-mobile-active .ocf-filter,
.dark-theme .ocf-container .ocf-filter {
  background: #222227 !important;
  background-color: #222227 !important;
  border: 1px solid #2e2e36 !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
}

html.dark-theme .ocf-container .ocf-filter-header,
.dark-theme .ocf-container .ocf-filter-header {
  background: transparent !important;
  color: #ffffff !important;
}

html.dark-theme .ocf-container .ocf-filter-name,
html.dark-theme .ocf-container .ocf-filter-header,
.dark-theme .ocf-container .ocf-filter-name,
.dark-theme .ocf-container .ocf-filter-header {
  color: #ffffff !important;
}

html.dark-theme .ocf-container .ocf-filter-header .ocf-icon,
html.dark-theme .ocf-container .ocf-filter-header .ocf-arrow-right,
.dark-theme .ocf-container .ocf-filter-header .ocf-arrow-right {
  color: #9ca3af !important;
}

html.dark-theme .ocf-container .ocf-footer,
html.dark-theme .ocf-container.ocf-mobile-active .ocf-footer,
.dark-theme .ocf-container .ocf-footer,
.dark-theme .ocf-container.ocf-mobile-active .ocf-footer {
  background: #141414 !important;
  border-top: none !important;
}

html.dark-theme .ocf-container .ocf-footer [data-ocf-discard],
.dark-theme .ocf-container .ocf-footer [data-ocf-discard] {
  color: #9ca3af !important;
}

html.dark-theme .ocf-container .ocf-footer .ocf-search-btn-static,
.dark-theme .ocf-container .ocf-footer .ocf-search-btn-static {
  background: #2a2a32 !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  border: none !important;
}

/* 5. Desktop Category Menu Height Adaptability */
@media (min-width: 992px) {
  .menu-box.m_type_header_1,
  .menu-box.m_type_header_1 #menu-vertical,
  .menu-box.m_type_header_1 #menu-vertical-list {
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }
  .menu-box.m_type_header_1 #menu-vertical-list > li {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
  }
  .menu-box.m_type_header_1 #menu-vertical-list > li > a {
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    padding: 6px 15px !important;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .menu-box.m_type_header_1 #menu-vertical-list > li > a {
    padding: 4px 12px !important;
  }
  .menu-box.m_type_header_1 #menu-vertical-list > li > a .item-name {
    font-size: 13px !important;
  }
}

/* 6. Product Card Bottom Row: Price, Stepper, Cart (1 Line) */
.product-thumb .caption .price-actions-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  margin-top: auto !important;
  gap: 6px !important;
}
.product-thumb .caption .price-actions-box > .price {
  width: auto !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  text-align: left !important;
  order: 1 !important;
  display: block !important;
  white-space: nowrap !important;
}
.product-thumb .caption .price-actions-box > .price .price_value,
.product-thumb .caption .price-actions-box > .price .price-new {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
.product-thumb .caption .price-actions-box > .quantity_plus_minus {
  order: 2 !important;
  flex: 0 0 84px !important;
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  height: 38px !important;
  margin: 0 !important;
  display: flex !important;
}
.product-layout:not(.product-grid):not(.product-price):not(.product-list) .product-thumb .caption .price-actions-box > .cart {
  order: 3 !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  margin: 0 !important;
}
.product-layout:not(.product-grid):not(.product-price):not(.product-list) .product-thumb .caption .price-actions-box > .cart .btn-general {
  width: 42px !important;
  height: 38px !important;
  min-width: 42px !important;
}

/* 7. Checkout & Cart Stepper Standard Fixed Width Pill (120px) */
.ch-cart-quantity,
.cart-item-price-quantity .ch-cart-quantity,
#checkout .ch-cart-quantity,
.table-responsive .ch-cart-quantity {
  width: 120px !important;
  min-width: 120px !important;
  max-width: 120px !important;
  height: 36px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html.dark-theme .ch-cart-quantity,
.dark-theme .ch-cart-quantity {
  background: #202226 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
html.light-theme .ch-cart-quantity,
.light-theme .ch-cart-quantity {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

.ch-cart-quantity input,
.ch-cart-quantity input.form-control {
  width: 100% !important;
  min-width: 40px !important;
  height: 34px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 0 4px !important;
  margin: 0 !important;
}

html.dark-theme .ch-cart-quantity input,
.dark-theme .ch-cart-quantity input {
  color: #ffffff !important;
}
html.light-theme .ch-cart-quantity input,
.light-theme .ch-cart-quantity input {
  color: #0f172a !important;
}

.ch-cart-quantity .input-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 34px !important;
}
.ch-cart-quantity .btn-quantity-minus,
.ch-cart-quantity .btn-quantity-plus {
  width: 32px !important;
  height: 34px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}
html.dark-theme .ch-cart-quantity svg,
.dark-theme .ch-cart-quantity svg,
html.dark-theme .ch-cart-quantity svg line,
.dark-theme .ch-cart-quantity svg line {
  stroke: #ffffff !important;
  color: #ffffff !important;
}
html.light-theme .ch-cart-quantity svg,
.light-theme .ch-cart-quantity svg,
html.light-theme .ch-cart-quantity svg line,
.light-theme .ch-cart-quantity svg line {
  stroke: #374151 !important;
  color: #374151 !important;
}

.ch-cart-quantity .btn-quantity-minus:hover,
.ch-cart-quantity .btn-quantity-plus:hover {
  background: rgba(237, 33, 36, 0.15) !important;
}

/* 8. Header Address Cohesive Clickable Card */
.up-header-phones__dropdown.ch-dropdown > li.jp-header-address-item > a.jp-header-address-link,
.mobile-sidebar-phones__inner .up-header-phones__dropdown > li > a.jp-header-address-link {
  display: none !important;
}
.jp-header-address-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  margin-top: 4px !important;
  margin-bottom: 8px !important;
}
html.light-theme .jp-header-address-card {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
.jp-header-address-card:hover {
  background: rgba(237, 33, 36, 0.08) !important;
  border-color: #ED2124 !important;
}
.jp-header-address-card__icon-wrap {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  background: rgba(237, 33, 36, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 1px !important;
}
.jp-header-address-card__icon {
  width: 16px !important;
  height: 16px !important;
  color: #ED2124 !important;
  stroke: #ED2124 !important;
}
.jp-header-address-card__body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}
.jp-header-address-card .jp-addr-lines {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: var(--up-text-color, #ffffff) !important;
  margin-bottom: 4px !important;
}
html.light-theme .jp-header-address-card .jp-addr-lines {
  color: #1e293b !important;
}
.jp-header-address-card .jp-route-btn {
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #ED2124 !important;
  text-decoration: underline !important;
}

/* 9. Popup Cart & Quick Order Phone Input + Button on 1 Line */
#modal-quickorder .fo-group-field-tel .input-group,
#popup-quickorder .fo-group-field-tel .input-group {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 380px !important;
}
#modal-quickorder .fo-group-field-tel input#fo-contact-phone,
#popup-quickorder .fo-group-field-tel input#fo-contact-phone {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 160px !important;
  height: 44px !important;
  border-radius: 10px 0 0 10px !important;
  font-size: 14px !important;
}
#modal-quickorder .fo-group-field-tel .input-group-btn,
#popup-quickorder .fo-group-field-tel .input-group-btn {
  display: flex !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}
#modal-quickorder .fo-group-field-tel .input-group-btn button,
#popup-quickorder .fo-group-field-tel .input-group-btn button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ED2124 !important;
  border: 1px solid #ED2124 !important;
  color: #ffffff !important;
  border-radius: 0 10px 10px 0 !important;
  height: 44px !important;
  padding: 0 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  gap: 8px !important;
}

/* 10. Brown Color Swatch Solid */
#product a.group-color[data-color*="коричн" i] .first-color,
#product a.group-color[title*="коричн" i] .first-color,
#product a.group-color[title*="коричневий" i] .first-color,
#product a.group-color[title*="коричнева" i] .first-color {
  background: #854d0e !important;
  background-color: #854d0e !important;
  background-image: none !important;
}


/* ==========================================================================
   JUSTPACK MASTER FIXES V6.5 - 12 CRITICAL DESIGN & UX ALIGNMENTS
   ========================================================================== */

/* 1 & 8: Clean Filter Container & Geometry Alignment */
#column-left {
  margin-top: 16px !important;
}

#column-left .ocf-container,
html.light-theme #column-left .ocf-container,
.light-theme #column-left .ocf-container,
html.dark-theme #column-left .ocf-container,
.dark-theme #column-left .ocf-container,
html:not(.dark-theme) #column-left .ocf-container {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

html.light-theme .ocf-container .ocf-header,
.light-theme .ocf-container .ocf-header,
html:not(.dark-theme) .ocf-container .ocf-header {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  margin: 0 0 12px 0 !important;
  padding: 0 18px !important;
  min-height: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 0 14px 0 !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

html.light-theme .ocf-container .ocf-filter,
.light-theme .ocf-container .ocf-filter,
html:not(.dark-theme) .ocf-container .ocf-filter {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  margin-bottom: 10px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html.light-theme .ocf-container .ocf-filter-header,
.light-theme .ocf-container .ocf-filter-header,
html:not(.dark-theme) .ocf-container .ocf-filter-header {
  background: #ffffff !important;
  color: #0f172a !important;
  padding: 12px 14px !important;
}

/* Price Slider Input Alignment (Min - Max) */
.ocf-slider-input-group,
.dark-theme .ocf-slider-input-group,
.light-theme .ocf-slider-input-group {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-bottom: 14px !important;
}

.ocf-slider-input-group input.ocf-form-control {
  flex: 1 1 0 !important;
  width: calc(50% - 15px) !important;
  min-width: 0 !important;
  height: 38px !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 4px 8px !important;
  box-sizing: border-box !important;
}

.ocf-slider-input-group .ocf-input-group-addon {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Centered clear dash separator */
.ocf-slider-input-group .ocf-input-group-addon:first-of-type {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 12px !important;
  padding: 0 2px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

.dark-theme .ocf-slider-input-group .ocf-input-group-addon:first-of-type {
  color: #94a3b8 !important;
}

/* Hide trailing currency suffix so it never clips into 'г' or distorts symmetrical inputs */
.ocf-slider-input-group .ocf-input-group-addon:last-child {
  display: none !important;
}

/* Filter Footer Buttons (Desktop Clean Sticky Layout for ALL themes) */
@media (min-width: 768px) {
  .ocf-container .ocf-footer,
  .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile),
  [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile) {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 20 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 0 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile)::before,
  .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile)::after,
  [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile)::before,
  [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile)::after {
    display: none !important;
    content: none !important;
    box-shadow: none !important;
  }

  .ocf-container .ocf-footer .ocf-between,
  .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile) > .ocf-between,
  [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile) > .ocf-between,
  .ocf-footer .ocf-between {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-top: none !important;
  }

  .ocf-container .ocf-footer .ocf-btn,
  .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile) .ocf-btn,
  [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile) .ocf-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
  }
}

/* Light Theme Filter Footer */
html.light-theme .ocf-container .ocf-footer,
html.light-theme .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile),
html.light-theme [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile),
.light-theme .ocf-container .ocf-footer,
.light-theme .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile),
.light-theme [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile),
html:not(.dark-theme) .ocf-container .ocf-footer,
html:not(.dark-theme) .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile),
html:not(.dark-theme) [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile) {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

html.light-theme .ocf-footer [data-ocf-discard],
html.light-theme .ocf-footer [data-ocf-discard="*"],
html.light-theme .ocf-footer .ocf-between .ocf-btn:first-child,
.light-theme .ocf-footer [data-ocf-discard],
.light-theme .ocf-footer [data-ocf-discard="*"],
.light-theme .ocf-footer .ocf-between .ocf-btn:first-child,
html:not(.dark-theme) .ocf-footer [data-ocf-discard],
html:not(.dark-theme) .ocf-footer [data-ocf-discard="*"],
html:not(.dark-theme) .ocf-footer .ocf-between .ocf-btn:first-child {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}
html.light-theme .ocf-footer [data-ocf-discard]:hover,
html.light-theme .ocf-footer .ocf-between .ocf-btn:first-child:hover,
.light-theme .ocf-footer [data-ocf-discard]:hover,
.light-theme .ocf-footer .ocf-between .ocf-btn:first-child:hover,
html:not(.dark-theme) .ocf-footer [data-ocf-discard]:hover,
html:not(.dark-theme) .ocf-footer .ocf-between .ocf-btn:first-child:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

html.light-theme .ocf-footer .ocf-search-btn-static.ocf-disabled,
html.light-theme .ocf-footer .ocf-search-btn-static:disabled,
.light-theme .ocf-footer .ocf-search-btn-static.ocf-disabled,
.light-theme .ocf-footer .ocf-search-btn-static:disabled,
html:not(.dark-theme) .ocf-footer .ocf-search-btn-static.ocf-disabled,
html:not(.dark-theme) .ocf-footer .ocf-search-btn-static:disabled {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border: 1px solid #e2e8f0 !important;
  cursor: not-allowed !important;
}
html.light-theme .ocf-footer .ocf-search-btn-static:not(.ocf-disabled):not(:disabled),
.light-theme .ocf-footer .ocf-search-btn-static:not(.ocf-disabled):not(:disabled),
html:not(.dark-theme) .ocf-footer .ocf-search-btn-static:not(.ocf-disabled):not(:disabled) {
  background: #cf3a32 !important;
  color: #ffffff !important;
  border: 1px solid #cf3a32 !important;
  box-shadow: none !important;
}

/* Dark Theme Filter Footer */
html.dark-theme .ocf-container .ocf-footer,
html.dark-theme .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile),
html.dark-theme [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile),
.dark-theme .ocf-container .ocf-footer,
.dark-theme .ocf-container .ocf-content > .ocf-footer:not(.ocf-mobile),
.dark-theme [id^="ocf-module-"] .ocf-content > .ocf-footer:not(.ocf-mobile) {
  background: #18191c !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

html.dark-theme .ocf-footer [data-ocf-discard],
html.dark-theme .ocf-footer [data-ocf-discard="*"],
html.dark-theme .ocf-footer .ocf-between .ocf-btn:first-child,
.dark-theme .ocf-footer [data-ocf-discard],
.dark-theme .ocf-footer [data-ocf-discard="*"],
.dark-theme .ocf-footer .ocf-between .ocf-btn:first-child {
  background: #24262b !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
html.dark-theme .ocf-footer [data-ocf-discard]:hover,
html.dark-theme .ocf-footer .ocf-between .ocf-btn:first-child:hover,
.dark-theme .ocf-footer [data-ocf-discard]:hover,
.dark-theme .ocf-footer .ocf-between .ocf-btn:first-child:hover {
  background: #2d3036 !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

html.dark-theme .ocf-footer .ocf-search-btn-static.ocf-disabled,
html.dark-theme .ocf-footer .ocf-search-btn-static:disabled,
.dark-theme .ocf-footer .ocf-search-btn-static.ocf-disabled,
.dark-theme .ocf-footer .ocf-search-btn-static:disabled {
  background: #202226 !important;
  color: #64748b !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: not-allowed !important;
}
html.dark-theme .ocf-footer .ocf-search-btn-static:not(.ocf-disabled):not(:disabled),
.dark-theme .ocf-footer .ocf-search-btn-static:not(.ocf-disabled):not(:disabled) {
  background: #cf3a32 !important;
  color: #ffffff !important;
  border: 1px solid #cf3a32 !important;
  box-shadow: none !important;
}

/* 2 & 7: Footer JustPack Logo Exact Horizontal Midline Alignment */
.footer-top {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.footer-top > div:first-child {
  display: flex !important;
  align-items: center !important;
}

#logo-footer {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

#logo-footer img {
  display: block !important;
  margin: 0 !important;
}

/* 3: Account Navigation Menu in Wishlist / Sidebar */
#account-account #column-left,
#account-wishlist #column-left,
.container #column-left #chm-menu-account {
  margin-bottom: 20px !important;
}

#chm-menu-account .chm-list-group {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.dark-theme #chm-menu-account .chm-list-group {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* 4 & 5: Category List View Buy Button Expansion, Line Alignment & Cart Positioning */
.product-list .product-thumb .caption {
  padding: 15px 0 15px 15px !important;
}

.product-list .product-thumb .caption .price-actions-box {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  width: auto !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  margin-right: 0 !important;
  align-self: flex-end !important;
  padding-right: 12px !important;
  padding-bottom: 0 !important;
}

.product-list .product-thumb .caption .price-actions-box > .price {
  order: 1 !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 16px 0 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  height: 38px !important;
}

.product-list .product-thumb .caption .price-actions-box > .quantity_plus_minus {
  order: 2 !important;
  flex: 0 0 auto !important;
  width: 90px !important;
  min-width: 90px !important;
  max-width: 90px !important;
  height: 38px !important;
  border-radius: 10px !important;
  margin: 0 12px 0 0 !important;
}

.product-list .product-thumb .caption .price-actions-box > .cart,
.product-list .product-thumb .cart {
  order: 3 !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 105px !important;
  margin: 0 !important;
}

.product-list .product-thumb .caption .price-actions-box > .cart .btn-general,
.product-list .product-thumb .cart .btn-general {
  width: auto !important;
  min-width: 105px !important;
  height: 38px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border-radius: 10px !important;
  background: #cf3a32 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.product-list .product-thumb .caption .price-actions-box > .cart .text-cart-add,
.product-list .product-thumb .cart .text-cart-add {
  display: inline-block !important;
  font-weight: 600 !important;
}

/* 6: Category FAQ ("Часті питання") Card Accordion Styling */
.jp-category-faq-wrapper,
.sp-seo-faq-block {
  margin: 24px 0 16px !important;
  padding: 0 !important;
  clear: both !important;
}

.sp-seo-faq-block .faq-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 14px !important;
}

.sp-seo-faq-block ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.sp-seo-faq-block li.faq-question {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: #ffffff !important;
}

.dark-theme .sp-seo-faq-block li.faq-question {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: #1c1d22 !important;
}

.sp-seo-faq-block .faq-link {
  padding: 14px 18px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.sp-seo-faq-block .faq-link::after {
  content: "▾" !important;
  font-size: 14px !important;
  transition: transform 0.2s ease !important;
  margin-left: 10px !important;
}

.sp-seo-faq-block .faq-link.faq-open::after {
  transform: rotate(180deg) !important;
}

.sp-seo-faq-block .faq-text {
  padding: 0 18px 14px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
}

.dark-theme .sp-seo-faq-block .faq-text {
  color: #94a3b8 !important;
}

/* 9: Cart Popup Quick Order Phone & Action Buttons */
#popup-quickorder .fo-group-field-tel .input-group {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
}

#popup-quickorder .fo-group-field-tel #fo-contact-phone {
  height: 46px !important;
  border-radius: 12px 0 0 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-right: none !important;
  font-size: 15px !important;
  padding: 0 16px !important;
  flex: 1 1 auto !important;
}

#popup-quickorder .fo-group-field-tel .input-group-btn {
  display: flex !important;
  flex: 0 0 auto !important;
}

#popup-quickorder .fo-group-field-tel .input-group-btn .chm-btn {
  height: 46px !important;
  border-radius: 0 12px 12px 0 !important;
  background: var(--jp-red, #ED2124) !important;
  color: #ffffff !important;
  border: 1px solid var(--jp-red, #ED2124) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 0 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

#popup-quickorder .modal-footer .d-flex {
  gap: 16px !important;
  padding-top: 20px !important;
}

#popup-quickorder .modal-footer .chm-btn {
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 24px !important;
}

.dark-theme #popup-quickorder .fo-group-field-tel #fo-contact-phone {
  background: #1c1d22 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

/* 10: Price Counter Pulse Animation */
@keyframes jpPricePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); color: #ED2124; }
  100% { transform: scale(1); }
}

.price-updating,
.jp-price-pulse {
  animation: jpPricePulse 0.35s ease-in-out !important;
  display: inline-block !important;
  transition: transform 0.2s ease !important;
}

/* 11: Remove Heavy Shadows Site-wide (Clean Flat Aesthetic) */
.product-thumb,
.container-module,
.banner-footer,
.block-banner-footer,
.box-banner-container,
.jp-promo-placeholder-card,
.ocf-container,
.ocf-filter,
.btn-google-review,
.btn-subscribe,
.btn-general,
.ch-btn,
.btn-cart {
  box-shadow: none !important;
}

/* 12: Product Card Layout - Price Top Row, Stepper & Cart Bottom Row */
.pos11 .product-thumb .price-actions-box,
.pos12 .product-thumb .price-actions-box,
.pos13 .product-thumb .price-actions-box,
.product-grid .product-thumb .price-actions-box,
.product-slider .product-thumb .price-actions-box {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.pos11 .product-thumb .price-actions-box > .price,
.pos12 .product-thumb .price-actions-box > .price,
.pos13 .product-thumb .price-actions-box > .price,
.product-grid .product-thumb .price-actions-box > .price,
.product-slider .product-thumb .price-actions-box > .price {
  order: 1 !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  margin-bottom: 8px !important;
  display: block !important;
  text-align: left !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.pos11 .product-thumb .price-actions-box > .quantity_plus_minus,
.pos12 .product-thumb .price-actions-box > .quantity_plus_minus,
.pos13 .product-thumb .price-actions-box > .quantity_plus_minus,
.product-grid .product-thumb .price-actions-box > .quantity_plus_minus,
.product-slider .product-thumb .price-actions-box > .quantity_plus_minus {
  order: 2 !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
}

.pos11 .product-thumb .price-actions-box > .cart,
.pos12 .product-thumb .price-actions-box > .cart,
.pos13 .product-thumb .price-actions-box > .cart,
.product-slider .product-thumb .price-actions-box > .cart {
  order: 3 !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  margin-left: 8px !important;
}


/* ==========================================================================
   DESKTOP FILTER GEOMETRY & FLUSH ALIGNMENT FIX (ZERO HORIZONTAL INDENTS)
   ========================================================================== */
@media (min-width: 768px) {
  #column-left {
    margin-top: 16px !important;
  }

  #column-left .ocf-container,
  html.light-theme #column-left .ocf-container,
  .light-theme #column-left .ocf-container,
  html.dark-theme #column-left .ocf-container,
  .dark-theme #column-left .ocf-container,
  html:not(.dark-theme) #column-left .ocf-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  .ocf-container .ocf-header,
  html.light-theme .ocf-container .ocf-header,
  .light-theme .ocf-container .ocf-header,
  html.dark-theme .ocf-container .ocf-header,
  .dark-theme .ocf-container .ocf-header {
    width: 100% !important;
    margin: 0 0 14px 0 !important;
    padding: 0 18px !important;
    min-height: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
    box-shadow: none !important;
  }

  .ocf-container .ocf-filter,
  html.light-theme .ocf-container .ocf-filter,
  .light-theme .ocf-container .ocf-filter,
  html.dark-theme .ocf-container .ocf-filter,
  .dark-theme .ocf-container .ocf-filter,
  html:not(.dark-theme) .ocf-container .ocf-filter {
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
    box-shadow: none !important;
  }

  .ocf-container .ocf-filter-header {
    border-radius: 18px !important;
  }
}


/* ==========================================================================
   FILTER CARDS & #141414 CONTAINER INTERNAL INDENTS (BALANCED 4-SIDE PADDING)
   ========================================================================== */
.ocf-container .ocf-filter,
html.light-theme .ocf-container .ocf-filter,
.light-theme .ocf-container .ocf-filter,
html.dark-theme .ocf-container .ocf-filter,
.dark-theme .ocf-container .ocf-filter,
html:not(.dark-theme) .ocf-container .ocf-filter {
  padding: 12px 10px !important;
}

.ocf-container .ocf-filter-header,
html.light-theme .ocf-container .ocf-filter-header,
.light-theme .ocf-container .ocf-filter-header,
html.dark-theme .ocf-container .ocf-filter-header,
.dark-theme .ocf-container .ocf-filter-header {
  margin-bottom: 14px !important;
}

/* #141414 Value List Panel: Clean 14px indents and 12px rounded corners */
.ocf-container .ocf-value-list,
.ocf-container .ocf-filter-body > .ocf-value-list,
html.light-theme .ocf-container .ocf-value-list,
.light-theme .ocf-container .ocf-value-list,
html.dark-theme .ocf-container .ocf-value-list,
.dark-theme .ocf-container .ocf-value-list,
html.dark-theme .ocf-container .ocf-filter-body > .ocf-value-list,
.dark-theme .ocf-container .ocf-filter-body > .ocf-value-list {
  padding: 14px 14px 16px 14px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

.ocf-slider-input-group {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  width: 100% !important;
}

.ocf-value-slider {
  padding: 6px 10px 4px 10px !important;
  box-sizing: border-box !important;
}

.ocf-container .ocf-value-list .ocf-value {
  padding: 4px 0 !important;
  margin-bottom: 2px !important;
}
/* ==========================================================================
   PRODUCT CARDS SYSTEM RESTORATION: ROUNDED CORNERS (20px) & CLEAN INDENTS
   ========================================================================== */
.product-grid .product-thumb,
.product-slider .product-thumb,
.container-module .product-thumb,
.product-thumb.bg_image,
.product-grid .product-thumb.bg_image,
.product-slider .product-thumb.bg_image {
  border-radius: 20px !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
}

/* Dark theme card container */
.dark-theme .product-grid .product-thumb,
.dark-theme .product-slider .product-thumb,
.dark-theme .container-module .product-thumb,
.dark-theme .product-grid .product-thumb.bg_image,
.dark-theme .product-slider .product-thumb.bg_image {
  background: #18191d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
}

/* Light theme card container */
.light-theme .product-grid .product-thumb,
.light-theme .product-slider .product-thumb,
.light-theme .container-module .product-thumb,
.light-theme .product-grid .product-thumb.bg_image,
.light-theme .product-slider .product-thumb.bg_image {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
}

/* Image rounded top corners matching card */
.product-grid .product-thumb .image,
.product-slider .product-thumb .image,
.container-module .product-thumb .image {
  border-radius: 19px 19px 0 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
}

/* Caption clean indents, padding & bottom alignment */
.product-grid .product-thumb .caption,
.product-slider .product-thumb .caption,
.container-module .product-thumb .caption,
.product-grid .product-thumb.bg_image .caption,
.product-slider .product-thumb.bg_image .caption {
  padding: 12px 14px 14px 14px !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.product-grid .product-thumb .caption .product-name,
.product-slider .product-thumb .caption .product-name {
  margin-bottom: 8px !important;
}

.product-grid .product-thumb .caption .price-actions-box,
.product-slider .product-thumb .caption .price-actions-box {
  margin-top: auto !important;
  width: 100% !important;
}

/* ==========================================================================
   HOMEPAGE 4-MODULE COMPACT CARDS (Лідери, Новинки, Рекомендуємо)
   Fix for clipped images, 0px border collisions, and unified alignment
   ========================================================================== */
.position-no-owl .row_items .product-thumb {
  padding: 14px !important;
  display: grid !important;
  grid-template-columns: 100px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr !important;
  grid-template-areas:
    "name name"
    "image details" !important;
  column-gap: 12px !important;
  row-gap: 10px !important;
  border-radius: 18px !important;
  background: #18191d !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  overflow: hidden !important;
  align-items: stretch !important;
  height: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.light-theme .position-no-owl .row_items .product-thumb {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

/* Full width title clamped to 2 lines */
.position-no-owl .row_items .product-thumb > .product-name {
  grid-area: name !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 40px !important;
  max-height: 40px !important;
  overflow: hidden !important;
  line-height: 20px !important;
}

.position-no-owl .row_items .product-thumb > .product-name a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
}

/* Rounded image inside inner padding — never clipped by outer border */
.position-no-owl .row_items .product-thumb > .image {
  grid-area: image !important;
  width: 100px !important;
  height: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  align-self: center !important;
}

.position-no-owl .row_items .product-thumb > .image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.position-no-owl .row_items .product-thumb > .image img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
}

/* Caption details */
.position-no-owl .row_items .product-thumb > .caption {
  grid-area: details !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
  height: auto !important;
}

.position-no-owl .row_items .product-thumb .caption .rating {
  margin-bottom: 2px !important;
  height: 16px !important;
  line-height: 16px !important;
}

.position-no-owl .row_items .product-thumb .caption .product_model_sstatus {
  margin-bottom: 4px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Price actions box */
.position-no-owl .row_items .product-thumb .caption .price-actions-box {
  margin-top: auto !important;
  padding-top: 4px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
}

.position-no-owl .row_items .product-thumb .caption .price-actions-box > .price {
  order: 1 !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  display: block !important;
  white-space: nowrap !important;
}

.position-no-owl .row_items .product-thumb .caption .price-actions-box > .quantity_plus_minus {
  order: 2 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 82px !important;
  height: 34px !important;
  margin: 0 !important;
}

.position-no-owl .row_items .product-thumb .caption .price-actions-box > .quantity_plus_minus input {
  font-size: 13px !important;
  padding: 0 !important;
}

.position-no-owl .row_items .product-thumb .caption .price-actions-box > .quantity_plus_minus .add-action {
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 28px !important;
}

.position-no-owl .row_items .product-thumb .caption .price-actions-box > .cart {
  order: 3 !important;
  flex: 0 0 36px !important;
  width: 36px !important;
  margin-left: 6px !important;
}

.position-no-owl .row_items .product-thumb .caption .price-actions-box > .cart .btn-general {
  width: 36px !important;
  height: 34px !important;
  min-width: 36px !important;
  border-radius: 8px !important;
  padding: 0 !important;
}

@media (min-width: 1400px) {
  .position-no-owl .row_items .product-thumb {
    padding: 16px !important;
    grid-template-columns: 120px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    row-gap: 12px !important;
  }
  .position-no-owl .row_items .product-thumb > .image {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
  }
  .position-no-owl .row_items .product-thumb .caption .price-actions-box > .quantity_plus_minus {
    max-width: 110px !important;
    height: 36px !important;
  }
  .position-no-owl .row_items .product-thumb .caption .price-actions-box > .cart {
    flex: 0 0 40px !important;
    width: 40px !important;
  }
  .position-no-owl .row_items .product-thumb .caption .price-actions-box > .cart .btn-general {
    width: 40px !important;
    height: 36px !important;
    min-width: 40px !important;
  }
}

/* ==========================================================================
   FILTER ACCORDION COLLAPSE/EXPAND WITH STATE PERSISTENCE
   ========================================================================== */
.ocf-container .ocf-header::after {
  content: none !important;
  display: none !important;
}

.ocf-container .ocf-filter,
html.dark-theme .ocf-container .ocf-filter,
.dark-theme .ocf-container .ocf-filter,
html.light-theme .ocf-container .ocf-filter,
.light-theme .ocf-container .ocf-filter {
  padding: 10px 10px !important;
  margin-bottom: 8px !important;
  box-sizing: border-box !important;
  border-radius: 18px !important;
}

.ocf-container .ocf-filter .ocf-filter-header,
html.dark-theme .ocf-container .ocf-filter .ocf-filter-header,
.dark-theme .ocf-container .ocf-filter .ocf-filter-header,
html.light-theme .ocf-container .ocf-filter .ocf-filter-header,
.light-theme .ocf-container .ocf-filter .ocf-filter-header {
  cursor: pointer !important;
  user-select: none !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  padding-right: 36px !important;
  margin-bottom: 0 !important;
  min-height: 44px !important;
}

.ocf-container .ocf-filter .ocf-filter-header::after {
  content: "" !important;
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: translateY(-50%) rotate(45deg) !important;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  opacity: 0.65 !important;
  pointer-events: none !important;
}

.ocf-container .ocf-filter.jp-collapsed .ocf-filter-header::after {
  transform: translateY(-50%) rotate(-45deg) !important;
  opacity: 0.45 !important;
}

.ocf-container .ocf-filter .ocf-filter-header:hover::after {
  opacity: 1 !important;
}

.ocf-container .ocf-filter .jp-filter-collapse {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.ocf-container .ocf-filter.jp-collapsed:not(.jp-animating) .jp-filter-collapse {
  display: none !important;
  height: 0 !important;
}

.ocf-container .ocf-value-list,
.ocf-container .ocf-filter-body > .ocf-value-list,
html.light-theme .ocf-container .ocf-value-list,
.light-theme .ocf-container .ocf-value-list,
html.dark-theme .ocf-container .ocf-value-list,
.dark-theme .ocf-container .ocf-value-list,
html.dark-theme .ocf-container .ocf-filter-body > .ocf-value-list,
.dark-theme .ocf-container .ocf-filter-body > .ocf-value-list {
  display: block !important;
  padding: 14px 14px 16px 14px !important;
  margin: 10px 0 0 0 !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}


/* Category Full Width FAQ & Description Blocks (Aligned to Container Grid) */
.jp-category-faq-wrapper.jp-category-faq-fullwidth,
.jp-category-faq-fullwidth {
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 35px 0 25px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.jp-category-faq-fullwidth .sp-seo-faq-block {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.jp-category-description-fullwidth {
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 25px 0 60px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.jp-category-description-fullwidth .category_description {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.jp-category-description-fullwidth .category_description .p-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================================
   Static Review Button in Reviews Tab (No animation, no shadow)
   ============================================================ */
.reviews-product .btn-block-rs button,
.reviews-product .btn-block-rs .chm-btn-black,
.average-reviews .btn-block-rs .chm-btn-black,
#tab-review button[data-target="#ch-modal-review"],
button[data-target="#ch-modal-review"],
.reviews-product .btn-block-rs a.chm-btn-black,
#tab-review a.chm-btn-black {
  background: #ED2124 !important;
  border: 1px solid #ED2124 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.reviews-product .btn-block-rs button:hover,
.reviews-product .btn-block-rs .chm-btn-black:hover,
.average-reviews .btn-block-rs .chm-btn-black:hover,
#tab-review button[data-target="#ch-modal-review"]:hover,
button[data-target="#ch-modal-review"]:hover,
.reviews-product .btn-block-rs a.chm-btn-black:hover,
#tab-review a.chm-btn-black:hover,
.reviews-product .btn-block-rs button:focus,
.reviews-product .btn-block-rs .chm-btn-black:focus,
.reviews-product .btn-block-rs button:active,
.reviews-product .btn-block-rs .chm-btn-black:active {
  background: #c81518 !important;
  border-color: #c81518 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

/* ============================================================
   Next/Prev Product Hover Popover (Desktop only, hidden on mobile)
   ============================================================ */
.popover.popover-prev-prod,
.popover.popover-next-prod {
  border: 0 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
  max-width: 200px !important;
  width: 200px !important;
  padding: 14px !important;
  z-index: 1050 !important;
}

.popover.popover-prev-prod .popover-content,
.popover.popover-next-prod .popover-content {
  padding: 0 !important;
}

.popover.popover-prev-prod .popover-pr-image img,
.popover.popover-next-prod .popover-pr-image img {
  border-radius: 10px !important;
  max-height: 140px !important;
  margin: 0 auto !important;
  display: block !important;
}

.popover.popover-prev-prod .popover-pr-name,
.popover.popover-next-prod .popover-pr-name {
  color: #111827 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  margin: 10px 0 6px !important;
  text-align: center !important;
}

.popover.popover-prev-prod .price,
.popover.popover-next-prod .price {
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 !important;
}

.popover.popover-prev-prod .price .price_no_special,
.popover.popover-next-prod .price .price_no_special,
.popover.popover-prev-prod .price .price-new span,
.popover.popover-next-prod .price .price-new span {
  color: #ED2124 !important;
  font-weight: 700 !important;
}

.popover.popover-prev-prod .price .price-old,
.popover.popover-next-prod .price .price-old {
  font-size: 13px !important;
  color: #888888 !important;
  text-decoration: line-through !important;
}

/* Hide next/prev popover strictly on mobile */
@media (max-width: 991px) {
  .popover.popover-prev-prod,
  .popover.popover-next-prod,
  .nextprevprod .popover {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Ensure Price View (horizontal product rows) actions are always vertically centered and never glued to the bottom border */
.product-layout.product-price .product-thumb .caption .price-actions-box,
.product-price .product-thumb .caption .price-actions-box,
.product-price .product-thumb .price-actions-box {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center !important;
}


/* ==========================================================================
   ROUND 15: USER DIRECTED FIXES
   1. Price on top row full-width for modules & custom grid pages (novynky-tovariv, etc.)
   2. Footer Subscribe block flush to right edge
   3. Dark theme stepper digits visibility & background fix
   4. Icon-only cart button in home sliders / modules (no text clipping)
   ========================================================================== */

/* 1. Price above actions for modules, novynky-tovariv, hity-prodazh, my-rekomenduyemo */
.jp-info-products-grid .product-thumb .caption .price-actions-box,
.jp-info-products-grid .product-thumb .price-actions-box,
.container-module:not(.swiper-module) .product-thumb .caption .price-actions-box,
.product-layout:not(.product-list):not(.product-price) .product-thumb .caption .price-actions-box,
.product-layout:not(.product-list):not(.product-price) .product-thumb .price-actions-box {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-top: auto !important;
  gap: 8px 0 !important;
}

.jp-info-products-grid .product-thumb .caption .price-actions-box > .price,
.jp-info-products-grid .product-thumb .price-actions-box > .price,
.product-layout:not(.product-list):not(.product-price) .product-thumb .caption .price-actions-box > .price,
.product-layout:not(.product-list):not(.product-price) .product-thumb .price-actions-box > .price {
  order: 1 !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  display: block !important;
  text-align: left !important;
  height: auto !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.jp-info-products-grid .product-thumb .caption .price-actions-box > .quantity_plus_minus,
.jp-info-products-grid .product-thumb .price-actions-box > .quantity_plus_minus,
.product-layout:not(.product-list):not(.product-price) .product-thumb .caption .price-actions-box > .quantity_plus_minus,
.product-layout:not(.product-list):not(.product-price) .product-thumb .price-actions-box > .quantity_plus_minus {
  order: 2 !important;
  flex: 0 0 auto !important;
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
  height: 38px !important;
  border-radius: 10px !important;
  margin: 0 !important;
}

.jp-info-products-grid .product-thumb .caption .price-actions-box > .cart,
.jp-info-products-grid .product-thumb .price-actions-box > .cart,
.product-layout:not(.product-list):not(.product-price) .product-thumb .caption .price-actions-box > .cart,
.product-layout:not(.product-list):not(.product-price) .product-thumb .price-actions-box > .cart {
  order: 3 !important;
  flex: 1 1 auto !important;
  margin-left: 8px !important;
  width: auto !important;
}

.jp-info-products-grid .product-thumb .caption .price-actions-box > .cart .btn-general,
.jp-info-products-grid .product-thumb .price-actions-box > .cart .btn-general,
.product-layout:not(.product-list):not(.product-price) .product-thumb .caption .price-actions-box > .cart .btn-general,
.product-layout:not(.product-list):not(.product-price) .product-thumb .price-actions-box > .cart .btn-general {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
}

/* 2. Footer Subscribe Block: Flush to Right Edge */
.box-newsletter {
  display: flex !important;
  justify-content: flex-end !important;
}
.box-newsletter .newsletter-info,
.box-newsletter .newsletter {
  margin-left: auto !important;
  margin-right: 0 !important;
}
@media (max-width: 767px) {
  .box-newsletter {
    justify-content: center !important;
  }
  .box-newsletter .newsletter-info,
  .box-newsletter .newsletter {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* 3. Dark Theme Stepper Digits & Dark Background Fix */
html.dark-theme .quantity_plus_minus,
html.dark-theme .product-thumb .price-actions-box .quantity_plus_minus,
html.dark-theme .product-price .product-thumb .caption .price-actions-box .quantity_plus_minus,
html.dark-theme .product-list .product-thumb .caption .price-actions-box .quantity_plus_minus,
html.dark-theme .product-grid .product-thumb .caption .price-actions-box .quantity_plus_minus,
html.dark-theme .jp-info-products-grid .product-thumb .caption .price-actions-box .quantity_plus_minus,
html.dark-theme .position-no-owl .row_items .product-thumb .caption .price-actions-box > .quantity_plus_minus,
html.dark-theme .quantity-adder,
html.dark-theme .quantity_quickorder,
html.dark-theme .fo_product__quantity,
html.dark-theme .ch-cart-quantity,
.dark-theme .quantity_plus_minus,
.dark-theme .product-thumb .price-actions-box .quantity_plus_minus,
.dark-theme .product-price .product-thumb .caption .price-actions-box .quantity_plus_minus,
.dark-theme .product-list .product-thumb .caption .price-actions-box .quantity_plus_minus,
.dark-theme .product-grid .product-thumb .caption .price-actions-box .quantity_plus_minus,
.dark-theme .jp-info-products-grid .product-thumb .caption .price-actions-box .quantity_plus_minus,
.dark-theme .position-no-owl .row_items .product-thumb .caption .price-actions-box > .quantity_plus_minus,
.dark-theme .quantity-adder,
.dark-theme .quantity_quickorder,
.dark-theme .fo_product__quantity,
.dark-theme .ch-cart-quantity {
  background: #24262b !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

html.dark-theme .quantity_plus_minus input,
html.dark-theme .quantity_plus_minus input.quantity-num,
html.dark-theme .quantity-adder input,
html.dark-theme .quantity_quickorder input,
html.dark-theme .fo_product__quantity input,
html.dark-theme .ch-cart-quantity input,
.dark-theme .quantity_plus_minus input,
.dark-theme .quantity_plus_minus input.quantity-num,
.dark-theme .quantity-adder input,
.dark-theme .quantity_quickorder input,
.dark-theme .fo_product__quantity input,
.dark-theme .ch-cart-quantity input {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
}

html.dark-theme .quantity_plus_minus .add-action,
html.dark-theme .quantity_plus_minus .add-down,
html.dark-theme .quantity_plus_minus .add-up,
.dark-theme .quantity_plus_minus .add-action,
.dark-theme .quantity_plus_minus .add-down,
.dark-theme .quantity_plus_minus .add-up {
  color: #cbd5e1 !important;
  background: transparent !important;
}

html.dark-theme .quantity_plus_minus .add-down::before,
html.dark-theme .quantity_plus_minus .add-up::before,
.dark-theme .quantity_plus_minus .add-down::before,
.dark-theme .quantity_plus_minus .add-up::before {
  color: #cbd5e1 !important;
}

html.dark-theme .quantity_plus_minus .add-down:hover::before,
html.dark-theme .quantity_plus_minus .add-up:hover::before,
.dark-theme .quantity_plus_minus .add-down:hover::before,
.dark-theme .quantity_plus_minus .add-up:hover::before {
  color: #ffffff !important;
}

html.dark-theme .quantity_plus_minus svg path,
.dark-theme .quantity_plus_minus svg path {
  fill: #cbd5e1 !important;
}

/* 4. Icon-Only Cart Button for Sliders / Modules ('Лідери продажів', 'Новинки', 'Рекомендуємо') */
.pos11 .product-thumb .price-actions-box .cart .text-cart-add,
.pos12 .product-thumb .price-actions-box .cart .text-cart-add,
.pos13 .product-thumb .price-actions-box .cart .text-cart-add,
.pos14 .product-thumb .price-actions-box .cart .text-cart-add,
.product-slider .product-thumb .price-actions-box .cart .text-cart-add,
.position-no-owl .product-thumb .caption .price-actions-box .cart .text-cart-add,
.swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .product-thumb .caption .price-actions-box .cart .text-cart-add {
  display: none !important;
}

.pos11 .product-thumb .price-actions-box .cart,
.pos12 .product-thumb .price-actions-box .cart,
.pos13 .product-thumb .price-actions-box .cart,
.pos14 .product-thumb .price-actions-box .cart,
.product-slider .product-thumb .price-actions-box .cart,
.position-no-owl .product-thumb .caption .price-actions-box .cart,
.swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .product-thumb .caption .price-actions-box .cart {
  flex: 0 0 40px !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  margin-left: 8px !important;
}

.pos11 .product-thumb .price-actions-box .cart .btn-general,
.pos12 .product-thumb .price-actions-box .cart .btn-general,
.pos13 .product-thumb .price-actions-box .cart .btn-general,
.pos14 .product-thumb .price-actions-box .cart .btn-general,
.product-slider .product-thumb .price-actions-box .cart .btn-general,
.position-no-owl .product-thumb .caption .price-actions-box .cart .btn-general,
.swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .product-thumb .caption .price-actions-box .cart .btn-general {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 38px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.pos11 .product-thumb .price-actions-box .cart .btn-general i,
.pos12 .product-thumb .price-actions-box .cart .btn-general i,
.pos13 .product-thumb .price-actions-box .cart .btn-general i,
.pos14 .product-thumb .price-actions-box .cart .btn-general i,
.product-slider .product-thumb .price-actions-box .cart .btn-general i,
.position-no-owl .product-thumb .caption .price-actions-box .cart .btn-general i,
.swiper-module:not(.swiper-sub-category):not(.jp-lookbook-swiper):not(.kits-module) .product-thumb .caption .price-actions-box .cart .btn-general i {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1 !important;
}
