/* v3 catalog pilot: warm, unified catalog surface */
.iw-catalog-body {
  grid-template-columns: minmax(0, 1fr);
  --iw-cat-bg: #f7f4ef;
  --iw-cat-surface: #ffffff;
  --iw-cat-soft: #f5f1e9;
  --iw-cat-soft-2: #fbfaf7;
  --iw-cat-border: #e5ded2;
  --iw-cat-text: #2f344e;
  --iw-cat-muted: #7a7f93;
  --iw-cat-green: #02730a;
  --iw-cat-green-dark: #035d08;
  --iw-cat-terracotta: #cf2734;
  background: var(--iw-cat-bg);
}

.iw-catalog-body main {
  background: transparent;
}

.iw-catalog-body main > .container-fluid {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px 2.5rem;
  box-sizing: border-box;
}

/* page heading */
.iw-catalog-body #breadcrumb-navigation {
  margin: 0;
}

.iw-catalog-body #breadcrumb-navigation .container-fluid {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: visible;
}

.iw-catalog-body .bx_breadcrumbs {
  margin: .55rem 0 .25rem;
  text-wrap: nowrap;
}

.iw-catalog-body .bx_breadcrumbs ul {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin: 0;
  padding: 0;
}

.iw-catalog-body .bx_breadcrumbs ul li {
  display: flex;
  align-items: center;
  font-size: .7rem;
}

.iw-catalog-body .bx_breadcrumbs ul li:last-child,
.iw-catalog-body .bx_breadcrumbs ul li:nth-last-child(2):not(:first-child) {
  display: none;
}

.iw-catalog-body .bx_breadcrumbs ul li a {
  padding: 0;
  color: var(--iw-cat-green);
  font-size: .7rem;
  font-variation-settings: "wght" 600;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.iw-catalog-body .bx_breadcrumbs ul li span.delimeter {
  display: inline;
  padding: 0 .15rem;
  color: #b7ad9e;
  font-size: .7rem;
}

.iw-catalog-body main h1.small {
  margin: .2rem 0 .85rem !important;
  color: var(--iw-cat-text);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-variation-settings: "wght" 600;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.iw-catalog-body .cat-order {
  top: .2rem;
}

.iw-catalog-body .cat-order button,
.iw-catalog-body .cat-list button {
  border: 1px solid var(--iw-cat-border);
  border-radius: 999px;
  background: var(--iw-cat-surface);
  color: var(--iw-cat-text);
  box-shadow: none;
  padding: .55rem .9rem;
  font-size: .82rem;
  font-variation-settings: "wght" 550;
}

.iw-catalog-body .cat-order button:hover,
.iw-catalog-body .cat-order.show button,
.iw-catalog-body .cat-list button:hover,
.iw-catalog-body .cat-list.show button {
  border-color: rgba(2, 115, 10, .35);
  background: #f1f8ef;
  color: var(--iw-cat-green);
}

.iw-catalog-body .cat-order .dropdown-menu {
  padding: .35rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(47, 52, 78, .12);
}

.iw-catalog-body .cat-order .dropdown-item {
  border-radius: 9px;
  padding: .5rem .7rem;
  color: var(--iw-cat-text);
  font-size: .84rem;
}

.iw-catalog-body .cat-order .dropdown-item:hover,
.iw-catalog-body .cat-order .dropdown-item.selected {
  background: #f1f8ef;
  color: var(--iw-cat-green);
}

.iw-catalog-body .cat-order .dropdown-item i {
  color: var(--iw-cat-green);
}

.iw-catalog-body .cat-order button svg,
.iw-catalog-body .cat-list button svg {
  color: var(--iw-cat-green);
}

/* category filter */
.iw-catalog-body .cat-filter {
  max-width: none;
  margin: 0 0 1.4rem;
  padding: .35rem;
  overflow: visible;
  border: 1px solid var(--iw-cat-border);
  border-radius: 16px;
  background: var(--iw-cat-surface);
  box-shadow: 0 8px 24px rgba(47, 52, 78, .045);
}

.iw-catalog-body .cat-filter .wrap {
  gap: .35rem;
  padding: .25rem;
}

.iw-catalog-body .cat-filter .wrap a {
  border-radius: 999px;
  padding: .55rem .9rem;
  background: var(--iw-cat-soft);
  color: #5f6478;
  font-size: .84rem;
  font-variation-settings: "wght" 500;
}

.iw-catalog-body .cat-filter .wrap a:hover {
  background: #edf5ea;
  color: var(--iw-cat-green);
}

.iw-catalog-body .cat-filter .wrap a.active {
  background: var(--iw-cat-green);
  color: #fff;
  box-shadow: 0 4px 10px rgba(2, 115, 10, .16);
}

/* product cards */
.iw-catalog-body .bx_catalog_list_home .bx_catalog_item {
  margin-bottom: 16px;
  padding: 0 8px !important;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  border: 1px solid var(--iw-cat-border);
  border-radius: 16px;
  background: var(--iw-cat-surface);
  box-shadow: 0 8px 22px rgba(47, 52, 78, .045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bx-no-touch .iw-catalog-body .bx_catalog_list_home .bx_catalog_item_container:hover {
  border-color: #d5cbbc;
  box-shadow: 0 14px 30px rgba(47, 52, 78, .09);
  transform: translateY(-3px);
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_images {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 .7rem;
  overflow: hidden;
  border-radius: 11px;
  background: var(--iw-cat-soft);
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_images_double {
  display: none;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_images img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.iw-catalog-body .bx_catalog_list_home .bx_stick,
.iw-catalog-body .bx_catalog_list_home .bx_stick_disc {
  top: 9px;
  bottom: auto;
  left: 9px;
  padding: .3rem .55rem;
  border-radius: 999px;
  background: var(--iw-cat-terracotta);
  font-size: .68rem !important;
  line-height: 1;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_title {
  min-height: 4.05em;
  margin: .1rem 0 .35rem;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--iw-cat-text);
  font-size: .9rem;
  font-variation-settings: "wght" 500;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  min-height: 4.05em;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_price {
  margin-top: .2rem;
  color: var(--iw-cat-text);
  font-size: 1.06rem;
  font-variation-settings: "wght" 650;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_price span {
  margin-bottom: .05rem;
  color: #a5a5a5;
  font-size: .76rem;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: auto;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blockone,
.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_price,
.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blocktwo {
  width: 100%;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blockone {
  margin-bottom: 0;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blockone > div {
  display: flex !important;
  align-items: center;
  gap: .3rem;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blockone .bx_col_input {
  flex: 0 0 1.9rem;
  width: 1.9rem;
  margin: 0;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls .bx_bt_button_type_2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 8px;
  background: var(--iw-cat-soft);
  color: #5f6478;
  line-height: 1;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls .bx_bt_button_type_2:hover {
  border-color: rgba(2, 115, 10, .35);
  background: #edf5ea;
  color: var(--iw-cat-green);
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls input[type=text] {
  width: 1.9rem;
  border: 0;
  background: transparent;
  color: var(--iw-cat-text);
  font-variation-settings: "wght" 600;
  text-align: center;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blockone span {
  color: var(--iw-cat-muted);
  font-size: .78rem;
  font-variation-settings: "wght" 500;
}

.iw-catalog-body .bx_catalog_list_home .bx_cnt_desc {
  position: static;
  top: auto;
  right: auto;
  display: inline-block;
  width: auto;
  margin-left: .25rem;
  vertical-align: middle;
  font-size: .74rem;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blocktwo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .8rem;
  border-radius: 10px;
  background: var(--iw-cat-green);
  color: #fff;
  font-size: .78rem;
  font-variation-settings: "wght" 600;
  box-shadow: 0 6px 12px rgba(2, 115, 10, .16);
  transition: background .15s ease;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls .bx_catalog_item_controls_blocktwo a {
  width: 100%;
  min-width: 0;
  border-radius: 10px;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blocktwo a .d-md-none {
  display: inline !important;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blocktwo a:hover {
  background: var(--iw-cat-green-dark);
  color: #fff;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blocktwo.iw-card-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blocktwo.iw-card-actions > a {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0 !important;
  height: 2.35rem;
  margin: 0;
}

.iw-catalog-body .bx_catalog_list_home .iw-card-del {
  display: inline-flex;
  flex: 0 0 2.35rem;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid var(--iw-cat-border);
  border-radius: 10px;
  background: #fff;
  color: #9a9fb2;
  font-size: .9rem;
  cursor: pointer;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.iw-catalog-body .bx_catalog_list_home .iw-card-del:hover {
  border-color: rgba(232, 87, 36, .35);
  background: rgba(232, 87, 36, .07);
  color: #e85724;
}

.iw-catalog-body .bx_catalog_list_home .iw-card-del.busy {
  opacity: .45;
  pointer-events: none;
}

/* bestsellers: same card language, no separate sand block */
.iw-catalog-body .bx_catalog_list_home.bestsellers {
  margin-top: 1.75rem;
  padding: 1.25rem 1.25rem 0;
  border: 1px solid var(--iw-cat-border);
  border-radius: 20px;
  background: var(--iw-cat-surface);
}

.iw-catalog-body h2.bx_item_list_title.bestsellers {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem !important;
  color: var(--iw-cat-text);
  font-size: 1.5rem;
  font-variation-settings: "wght" 600;
  letter-spacing: -.02em;
}

.iw-catalog-body h2.bx_item_list_title.bestsellers::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 4px;
  height: 1.55rem;
  border-radius: 3px;
  background: var(--iw-cat-green);
}

.iw-catalog-body .bestsellers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.iw-catalog-body .bestsellers-head h2.bx_item_list_title.bestsellers {
  margin: 0 !important;
}

.iw-catalog-body .bestsellers-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .45rem;
}

.iw-catalog-body .bestsellers-nav .swiper-button-prev,
.iw-catalog-body .bestsellers-nav .swiper-button-next {
  position: static;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  border-radius: 50%;
  background: var(--iw-cat-green);
  color: #fff;
}

.iw-catalog-body .bestsellers-nav .swiper-button-prev::after,
.iw-catalog-body .bestsellers-nav .swiper-button-next::after {
  font-size: 1rem;
}

.iw-catalog-body .bestsellers-nav .swiper-button-prev:hover,
.iw-catalog-body .bestsellers-nav .swiper-button-next:hover {
  background: var(--iw-cat-green-dark);
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .swiper-container {
  padding-top: .25rem;
  padding-bottom: 1rem;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .swiper-wrapper {
  align-items: stretch;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .swiper-slide {
  height: auto;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_container {
  height: 100%;
  border-color: #eee8de;
  background: var(--iw-cat-soft-2);
  box-shadow: none;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_images {
  background: var(--iw-cat-soft);
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_controls {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_controls_blockone,
.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_price,
.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_controls_blocktwo {
  width: 100%;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_controls_blockone > div {
  justify-content: center;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_price {
  text-align: center;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_controls_blocktwo a {
  width: 100%;
  min-width: 0;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_controls_blocktwo.iw-card-actions > a {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0 !important;
  height: 2.35rem;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_bt_button_type_2 {
  width: 1.65rem;
  height: 1.65rem;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_col_input {
  width: 1.35rem;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers :is(.swiper-button-prev, .swiper-button-next) {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--iw-cat-green);
  color: #fff;
}

.iw-catalog-body .bx_catalog_list_home.bestsellers :is(.swiper-button-prev, .swiper-button-next):hover {
  background: var(--iw-cat-green-dark);
}

.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_catalog_item_title a,
.iw-catalog-body .bx_catalog_list_home.bestsellers .bx_price {
  color: var(--iw-cat-text);
}

@media (min-width: 1200px) {
  .iw-catalog-body .bx_catalog_list_home.bestsellers .swiper-container .bx_catalog_item {
    max-width: calc(100% / 5.5);
  }
}

/* keep the footer in the same warm family on catalog pages */
.iw-catalog-body #footer {
  border-top-color: var(--iw-cat-border);
  background: #f1ede5;
}

@media (max-width: 991px) {
  .iw-catalog-body main > .container-fluid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .iw-catalog-body #breadcrumb-navigation .container-fluid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .iw-catalog-body .cat-filter .wrap {
    gap: .3rem;
  }

  .iw-catalog-body .cat-filter .wrap a {
    padding: .45rem .62rem;
    font-size: .78rem;
  }

  .iw-catalog-body .bx_catalog_list_home .bx_catalog_item {
    padding: 0 6px !important;
  }

  .iw-catalog-body .bx_catalog_list_home.bestsellers {
    padding: 1rem 1rem 0;
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .iw-catalog-body main h1.small {
    margin-bottom: .6rem !important;
    font-size: 1.8rem;
  }

  .iw-catalog-body .cat-order {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: .55rem;
  }

  .iw-catalog-body .cat-list {
    margin-bottom: .55rem;
  }

  .iw-catalog-body .cat-filter {
    margin-bottom: 1rem;
  }

  .iw-catalog-body .bx_catalog_list_home .bx_catalog_item_container {
    padding: 8px;
    border-radius: 14px;
  }

  .iw-catalog-body .bx_catalog_list_home .bx_catalog_item_title a {
    font-size: .86rem;
  }

  .iw-catalog-body .bx_catalog_list_home .bx_catalog_item_controls_blocktwo a {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 2.35rem;
    padding: .45rem .6rem;
    border-radius: 9px;
  }

  .iw-catalog-body .bx_catalog_list_home.bestsellers {
    margin-top: 1.25rem;
    padding: .85rem .85rem 0;
  }

  .iw-catalog-body h2.bx_item_list_title.bestsellers {
    margin-bottom: .75rem !important;
    font-size: 1.3rem;
  }
}

/* цена: старая всегда сверху, текущая снизу — без перестановки при AJAX-обновлении */
.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_price .bx_price {
  display: flex;
  flex-direction: column;
}

.iw-catalog-body .bx_catalog_list_home .bx_catalog_item_price .bx_price > span {
  order: -1;
}

/* ===== product detail ===== */
.iw-product-body .bx_breadcrumbs ul li:last-child,
.iw-product-body .bx_breadcrumbs ul li:nth-last-child(2):not(:first-child) {
  display: flex;
}

.iw-product-body .bx_item_detail {
  margin-top: .25rem;
}

.iw-product-body .bx_item_container {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: 0;
  margin: 0 !important;
  padding: clamp(1rem, 2vw, 1.7rem);
  border: 1px solid var(--iw-cat-border);
  border-radius: 22px;
  background: var(--iw-cat-surface);
  box-shadow: 0 8px 24px rgba(47, 52, 78, .045);
}

.iw-product-body .bx_item_container > .bx_lt-,
.iw-product-body .bx_item_container > .bx_rt- {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  padding: 0 !important;
}

.iw-product-body .bx_item_container > .bx_md-,
.iw-product-body .bx_item_container > .bx_lb,
.iw-product-body .bx_item_container > .bx_rb- {
  grid-column: 1 / -1;
  width: auto;
  padding: 0;
}

.iw-product-body .bx_lt- {
  min-width: 0;
  border-radius: 17px;
  background: var(--iw-cat-soft);
}

.iw-product-body .bx_item_container > .bx_md-:has(.item_info_section:empty) {
  display: none;
}

.iw-product-body .bx_item_slider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: clamp(.75rem, 2vw, 1.5rem);
  border-radius: 17px;
  background: var(--iw-cat-soft);
}

.iw-product-body .bx_bigimages-,
.iw-product-body .bx_bigimages_imgcontainer,
.iw-product-body .catalog_big_image_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.iw-product-body .catalog_big_image_wrap img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 12px;
  mix-blend-mode: multiply;
}

.iw-product-body .bx_rt- {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.iw-product-body .item_price {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: .55rem;
  min-height: 3.4rem;
  margin: 0 0 1.15rem;
  padding-right: 5rem;
}

.iw-product-body .item_current_price {
  float: none;
  margin: 0;
  color: var(--iw-cat-text);
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-variation-settings: "wght" 650;
  line-height: 1;
}

.iw-product-body .item_old_price {
  float: none;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin: 0 0 .2rem;
  color: #a5a5a5;
  font-size: .9rem;
  line-height: 1.25;
}

.iw-product-body .item_old_price s {
  color: #a5a5a5;
  font-size: .9rem;
}

.iw-product-body .item_economy_price {
  color: #8b8f9e;
  font-size: .76rem;
}

.iw-product-body .bx_stick_disc {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  padding: .34rem .62rem;
  border-radius: 999px;
  background: var(--iw-cat-terracotta);
  color: #fff;
  font-size: .72rem;
  line-height: 1;
}

.iw-product-body .bx_item_detail .item_info_section {
  margin-top: 0;
}

.iw-product-body .item_buttons {
  margin: 0;
  padding: 0;
  border-bottom: 0 !important;
}

.iw-product-body .iw-item-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
}

.iw-product-body .item_buttons_counter_block.counter_control_buttons {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  width: auto;
}

.iw-product-body .item_buttons_counter_block.counter_control_buttons > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--iw-cat-border);
  border-radius: 10px;
  background: var(--iw-cat-soft);
  color: #5f6478;
  line-height: 1;
}

.iw-product-body .item_buttons_counter_block.counter_control_buttons > a:hover {
  border-color: rgba(2, 115, 10, .35);
  background: #edf5ea;
  color: var(--iw-cat-green);
}

.iw-product-body .item_buttons_counter_block.counter_control_buttons input {
  width: 2.8rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--iw-cat-text);
  font-variation-settings: "wght" 600;
  text-align: center;
}

.iw-product-body .item_buttons_counter_block.counter_control_buttons .bx_cnt_desc {
  position: static;
  display: inline-block;
  width: auto;
  margin-left: .15rem;
  color: var(--iw-cat-muted);
  font-size: .8rem;
}

.iw-product-body .item_buttons span[id$="_basket_actions"] {
  display: inline-flex;
}

.iw-product-body .item_buttons span[id$="_basket_actions"] a.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 10px;
  background: var(--iw-cat-green);
  color: #fff;
  font-size: .82rem;
  font-variation-settings: "wght" 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 12px rgba(2, 115, 10, .16);
}

.iw-product-body .item_buttons span[id$="_basket_actions"] a.btn-green:hover {
  background: var(--iw-cat-green-dark);
  color: #fff;
}

.iw-product-body .item_preview_text {
  margin: 1.35rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--iw-cat-border);
  color: #4f546b;
  font-size: .9rem;
  line-height: 1.65;
}

.iw-product-body .item_preview_text b {
  color: var(--iw-cat-text);
}

.iw-product-body .item_preview_text a {
  color: var(--iw-cat-green);
}

.iw-product-body .iw-item-cart {
  display: flex;
  width: auto;
}

.iw-product-body .iw-item-cart__links {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.iw-product-body .iw-item-cart__go {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 2.5rem;
  padding: 0 .9rem;
  border-radius: 10px;
  background: var(--iw-cat-green);
  color: #fff;
  font-size: .82rem;
  text-decoration: none;
}

.iw-product-body .iw-item-cart__del {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 10px;
  color: #9a9fb2;
  text-decoration: none;
}

.iw-product-body .iw-item-cart__del:hover {
  border-color: rgba(232, 87, 36, .35);
  background: rgba(232, 87, 36, .07);
  color: #e85724;
}

@media (max-width: 991px) {
  .iw-product-body .bx_item_container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .iw-product-body .bx_item_container > .bx_lt-,
  .iw-product-body .bx_item_container > .bx_rt- {
    grid-column: 1;
  }

  .iw-product-body .bx_item_slider {
    min-height: 0;
    padding: .75rem;
  }

  .iw-product-body .catalog_big_image_wrap img {
    max-height: 420px;
  }
}

@media (max-width: 767px) {
  .iw-product-body .item_price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    min-height: 0;
    padding-right: 3.6rem;
  }

  .iw-product-body .item_old_price {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .15rem .5rem;
    text-align: left;
  }

  .iw-product-body .bx_stick_disc {
    position: absolute;
    top: 0;
    right: 0;
    order: 0;
  }

  .iw-product-body .item_price:not(:has(.item_old_price s:not(:empty))) {
    align-items: center;
    padding-right: 0;
    text-align: center;
  }

  .iw-product-body .item_current_price {
    font-size: 2rem;
  }

  .iw-product-body .iw-item-row {
    align-items: stretch;
    flex-direction: column;
    gap: .6rem;
  }

  .iw-product-body .item_buttons_counter_block.counter_control_buttons {
    align-self: center;
  }

  .iw-product-body .item_buttons span[id$="_basket_actions"] {
    width: 100%;
  }

  .iw-product-body .item_buttons span[id$="_basket_actions"] a.btn-green {
    width: 100%;
  }

  .iw-product-body .iw-item-cart,
  .iw-product-body .iw-item-cart__links {
    width: 100%;
  }

  .iw-product-body .iw-item-cart__go {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* product gallery with thumbnail rail */
@media (min-width: 992px) {
  .iw-product-body .bx_item_container:has(> .morePhoto) {
    grid-template-columns: 68px minmax(0, 1.08fr) minmax(0, 1fr);
  }

  .iw-product-body .bx_item_container:has(> .morePhoto) > .morePhoto {
    display: flex !important;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    align-self: stretch;
    gap: 8px;
    width: 68px !important;
    max-width: 68px !important;
    max-height: 100%;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .iw-product-body .bx_item_container:has(> .morePhoto) > .bx_lt- {
    grid-column: 2;
    grid-row: 1;
  }

  .iw-product-body .bx_item_container:has(> .morePhoto) > .bx_rt- {
    grid-column: 3;
    grid-row: 1;
  }

  .iw-product-body .morePhotoItem {
    flex: 0 0 56px;
    width: 56px;
    height: 56px !important;
    margin: 0;
    border: 1px solid var(--iw-cat-border);
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
  }
}

@media (max-width: 991px) {
  .iw-product-body .bx_item_container > .morePhoto {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .iw-product-body .bx_item_slider {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
  }

  .iw-product-body .bx_item_slider .morePhoto.d-block.d-sm-none {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    margin: .15rem 0 0;
    padding: 0 0 .15rem;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .iw-product-body .bx_item_slider .morePhoto.d-block.d-sm-none .morePhotoItem {
    flex: 0 0 54px;
    width: 54px;
    height: 54px !important;
    margin: 0 .3rem 0 0;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 767px) {
  .iw-product-body .bx_item_slider .imgDots {
    display: none;
  }
}

.iw-product-body .bx_item_list_recommended {
  margin-top: 1.75rem;
}

.iw-product-body .bx_item_list_recommended_title {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem !important;
  color: var(--iw-cat-text);
  font-size: 1.5rem;
  font-variation-settings: "wght" 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.iw-product-body .bx_item_list_recommended_title::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 4px;
  height: 1.55rem;
  border-radius: 3px;
  background: var(--iw-cat-green);
}

/* ===== cart v3 ===== */
.iw-cart-v3 .bx_breadcrumbs ul li:last-child,
.iw-cart-v3 .bx_breadcrumbs ul li:nth-last-child(2):not(:first-child) {
  display: flex;
}

.iw-cart-v3 .iw-cart-page .basket-items-list-wrapper {
  padding: 0;
  border: 0;
  background: transparent;
}

.iw-cart-v3 .iw-cart-page .basket-items-list-table {
  border-collapse: separate;
  border-spacing: 0 10px;
}

.iw-cart-v3 .iw-cart-page tr.basket-items-list-item-container > td {
  padding: 14px 10px;
  border-top: 1px solid var(--iw-cat-border);
  border-bottom: 1px solid var(--iw-cat-border);
  background: #fff;
}

.iw-cart-v3 .iw-cart-page tr.basket-items-list-item-container > td:first-child {
  padding-left: 14px;
  border-left: 1px solid var(--iw-cat-border);
  border-radius: 16px 0 0 16px;
}

.iw-cart-v3 .iw-cart-page tr.basket-items-list-item-container > td:last-child {
  padding-right: 14px;
  border-right: 1px solid var(--iw-cat-border);
  border-radius: 0 16px 16px 0;
}

.iw-cart-v3 .iw-cart-page .basket-item-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  min-width: 88px;
  height: 88px;
  margin-right: 16px;
  padding: 0;
  border-radius: 14px;
  background: var(--iw-cat-soft);
}

.iw-cart-v3 .iw-cart-page .basket-item-image {
  width: auto;
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.iw-cart-v3 .iw-cart-page .basket-item-info-name {
  margin: 0;
  color: var(--iw-cat-text);
  font-size: .95rem;
  font-variation-settings: "wght" 500;
  line-height: 1.4;
}

.iw-cart-v3 .iw-cart-page .basket-item-info-name-link {
  color: var(--iw-cat-text);
  text-decoration: none;
}

.iw-cart-v3 .iw-cart-page .basket-item-price-current-text {
  color: var(--iw-cat-text);
  font-size: 1.1rem;
  font-variation-settings: "wght" 650;
}

.iw-cart-v3 .iw-cart-page .basket-item-price-old {
  color: #a5a5a5;
  font-size: .8rem;
  text-decoration: line-through;
}

.iw-cart-v3 .iw-cart-page .basket-item-price-title,
.iw-cart-v3 .iw-cart-page .basket-item-amount-field-description {
  color: #8b8f9e;
  font-size: .74rem;
}

.iw-cart-v3 .iw-cart-page .basket-item-amount-btn-minus,
.iw-cart-v3 .iw-cart-page .basket-item-amount-btn-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 8px;
  background: var(--iw-cat-soft);
}

.iw-cart-v3 .iw-cart-page .basket-item-amount-btn-minus::before,
.iw-cart-v3 .iw-cart-page .basket-item-amount-btn-minus::after,
.iw-cart-v3 .iw-cart-page .basket-item-amount-btn-plus::before,
.iw-cart-v3 .iw-cart-page .basket-item-amount-btn-plus::after {
  background: #5f6478;
}

.iw-cart-v3 .iw-cart-page .basket-item-amount-field {
  width: 2.6rem;
  border: 0;
  background: transparent;
  color: var(--iw-cat-text);
  font-variation-settings: "wght" 600;
  text-align: center;
}

.iw-cart-v3 .iw-cart-page .basket-checkout-container {
  padding: 1.25rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 52, 78, .045);
}

.iw-cart-v3 .iw-cart-page .basket-coupon-block-field .form-control {
  border-color: var(--iw-cat-border);
  border-radius: 10px;
  background: var(--iw-cat-soft);
}

.iw-cart-v3 .iw-cart-page .basket-btn-checkout {
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 10px;
  background: var(--iw-cat-green);
  color: #fff;
  font-size: .84rem;
  font-variation-settings: "wght" 600;
}

.iw-cart-v3 .iw-cart-page .basket-btn-checkout:hover {
  background: var(--iw-cat-green-dark);
}

.iw-cart-v3 .iw-cart-page .basket-checkout-block-total-title {
  color: #8b8f9e;
  font-size: .9rem;
}

.iw-cart-v3 .iw-cart-page .basket-coupon-block-total-price-current {
  color: var(--iw-cat-text);
  font-size: 1.5rem;
  font-variation-settings: "wght" 650;
}

.iw-cart-v3 .iw-cart-page .basket-coupon-block-total-price-difference {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: #fdf1ec;
  color: var(--iw-cat-terracotta);
  font-size: .76rem;
}

.iw-cart-v3 .iw-cart-page > h4 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
  color: var(--iw-cat-text);
  font-size: 1.5rem;
  font-variation-settings: "wght" 600;
  letter-spacing: -.02em;
  text-align: left;
}

.iw-cart-v3 .iw-cart-page > h4::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 4px;
  height: 1.55rem;
  border-radius: 3px;
  background: var(--iw-cat-green);
}

@media (max-width: 767px) {
  .iw-cart-v3 .iw-cart-page .basket-item-block-image {
    width: 72px;
    min-width: 72px;
    height: 72px;
    margin-right: 12px;
    border-radius: 12px;
  }

  .iw-cart-v3 .iw-cart-page .basket-item-image {
    max-width: 64px;
    max-height: 64px;
  }

  .iw-cart-v3 .iw-cart-page .basket-item-info-name {
    font-size: .9rem;
  }

  .iw-cart-v3 .iw-cart-page .basket-checkout-container {
    padding: 1rem;
    border-radius: 16px;
  }

  .iw-cart-v3 .iw-cart-page > h4 {
    margin-top: 1.5rem;
    font-size: 1.35rem;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .iw-cart-v3 .iw-cart-page tr.basket-items-list-item-container > td {
    padding: 10px 12px;
    border: 0 !important;
    background: transparent !important;
  }

  .iw-cart-v3 .iw-cart-page tr.basket-items-list-item-container > td:first-child,
  .iw-cart-v3 .iw-cart-page tr.basket-items-list-item-container > td:last-child {
    border-radius: 0;
  }
}


@media (max-width: 767px) {
  .iw-cart-v3 .iw-account-hero {
    margin-bottom: 16px !important;
  }

  .iw-cart-v3 .iw-cart-page .basket-items-list-table {
    border-spacing: 0;
  }

  .iw-cart-v3 .iw-cart-page tr.basket-items-list-item-container {
    margin-bottom: 16px;
  }

  .iw-cart-v3 .iw-cart-page tr.basket-items-list-item-container:last-child {
    margin-bottom: 0;
  }
}

/* ===== checkout v3 ===== */
.iw-checkout-v3 #order_form_div {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.iw-checkout-v3 .bx_breadcrumbs ul li:last-child,
.iw-checkout-v3 .bx_breadcrumbs ul li:nth-last-child(2):not(:first-child) {
  display: flex;
}

.iw-checkout-v3 .iw-account-hero {
  margin-bottom: 16px !important;
}

.iw-checkout-v3 #order_form_div .iw-checkout-card {
  margin-bottom: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 52, 78, .045);
}

.iw-checkout-v3 #order_form_div .iw-checkout-card .section-title {
  color: var(--iw-cat-text);
  font-size: 1.15rem;
  font-variation-settings: "wght" 600;
}

.iw-checkout-v3 #order_form_div .iw-checkout-card .section-title::before {
  background: var(--iw-cat-green);
}

.iw-checkout-v3 #order_form_div .iw-checkout-card .form-control {
  min-height: 2.5rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 10px;
  background: #f8f9fa;
  color: var(--iw-cat-text);
}

.iw-checkout-v3 #order_form_div .iw-checkout-card .form-control:focus {
  border-color: var(--iw-cat-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(2, 115, 10, .1);
}

.iw-checkout-v3 #order_form_div .iw-checkout-card .profile-selection {
  border-radius: 14px;
  background: var(--iw-cat-soft);
}

.iw-checkout-v3 #order_form_div .checkout-button {
  min-height: 2.6rem;
  margin-top: 1rem;
  padding: .6rem 1.5rem;
  border: 0;
  border-radius: 10px;
  background: var(--iw-cat-green);
  color: #fff;
  font-size: .86rem;
  font-variation-settings: "wght" 600;
  box-shadow: 0 6px 14px rgba(2, 115, 10, .14);
}

.iw-checkout-v3 #order_form_div .checkout-button:hover {
  background: var(--iw-cat-green-dark);
  color: #fff;
}

.iw-checkout-v3 #order_form_div .user-consent-section {
  border: 1px solid var(--iw-cat-border);
  border-radius: 14px;
  background: var(--iw-cat-soft);
}

.iw-checkout-v3 #order_form_div .order-summary-grid {
  border-color: var(--iw-cat-border);
  border-radius: 14px;
}

@media (max-width: 767px) {
  .iw-checkout-v3 #order_form_div .iw-checkout-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .iw-checkout-v3 #order_form_div .iw-checkout-card .section-title {
    font-size: 1.05rem;
  }

  .iw-checkout-v3 #order_form_div .checkout-button {
    width: 100%;
  }
}

/* tablet product layout: keep the two columns inside the card */
@media (min-width: 768px) and (max-width: 991px) {
  .iw-product-body .bx_item_container.row > .bx_lt-,
  .iw-product-body .bx_item_container.row > .bx_rt- {
    flex: 1 1 calc(50% - .5rem) !important;
    width: calc(50% - .5rem) !important;
    max-width: calc(50% - .5rem) !important;
    min-width: 0 !important;
  }
}

/* desktop catalog sidebar: separate it from the header */
@media (min-width: 1200px) {
  body.iw-catalog-body .home-categories-list {
    padding-top: 1rem;
  }
}

/* new / sale pages: keep the hero and section header distinct from the warm page */
body.iw-catalog-body .iw-sales-hero,
body.iw-catalog-body .iw-new-hero {
  border-color: rgba(160, 83, 55, .14);
  background:
    radial-gradient(circle at 86% 50%, rgba(255, 255, 255, .22), transparent 32%),
    linear-gradient(90deg, #fff 0%, #fff 64%, #f6e7d8 80%, #d9b08f 100%);
  box-shadow: 0 8px 24px rgba(47, 52, 78, .045);
}

@media (max-width: 575px) {
  body.iw-catalog-body .iw-sales-hero,
  body.iw-catalog-body .iw-new-hero {
    background: var(--iw-cat-surface);
  }
}

body.iw-catalog-body .iw-sales-section-head {
  border-bottom: 0 !important;
}

body.iw-catalog-body .iw-sales-kicker {
  font-size: .75rem;
  font-variation-settings: "wght" 500;
}

/* payment / delivery explanations: warm instead of the old gray panel */
body.iw-checkout-v3 #order_form_div .payment-delivery-content {
  border: 1px solid rgba(160, 83, 55, .08);
  border-radius: 0 0 12px 12px;
  background: #fcf8f4;
}

body.iw-checkout-v3 #order_form_div .payment-delivery-content p {
  color: #7a6b61;
}

/* order summary: compact product cards instead of the old table */
body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid {
  padding: .45rem;
  border: 0;
  border-radius: 16px;
  background: #faf6f0;
  overflow: visible;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item.header {
  display: none;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item:not(.header) {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: center;
  margin: 0;
  padding: .65rem .7rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(47, 52, 78, .03);
  color: var(--iw-cat-text);
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item:not(.header) + .item:not(.header) {
  margin-top: .4rem;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item:not(.header):hover {
  border-color: rgba(2, 115, 10, .18);
  background: #fff;
  color: var(--iw-cat-text);
  font-variation-settings: normal;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 4px;
  border-radius: 10px;
  background: #f6efe5;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .product-image img {
  width: 100%;
  height: 100%;
  max-height: 64px;
  object-fit: contain;
  border-radius: 8px;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .info {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .info .title {
  color: var(--iw-cat-text);
  font-size: .9rem;
  line-height: 1.3;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .info .wrap {
  grid-template-columns: auto auto;
  align-items: center;
  gap: .75rem;
  text-align: right;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .info .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: var(--iw-cat-soft);
  color: #6b6158;
  font-size: .75rem;
  white-space: nowrap;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .info .price {
  color: var(--iw-cat-text);
  font-size: .9rem;
  font-variation-settings: "wght" 600;
  white-space: nowrap;
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-table td {
  padding: .4rem 0;
  border-bottom: 1px dashed rgba(47, 52, 78, .1);
}

body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-table tr:last-child td {
  padding-top: .75rem;
  border-bottom: 0;
  color: var(--iw-cat-text);
  font-variation-settings: "wght" 600;
}

@media (max-width: 767px) {
  body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item:not(.header) {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: .75rem;
    padding: .6rem;
  }

  body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .product-image {
    width: 56px;
    height: 56px;
  }

  body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .info {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  body.iw-checkout-v3 #order_form_div .iw-checkout-card .order-summary-grid .item .info .wrap {
    grid-template-columns: auto auto;
    justify-content: flex-start;
    text-align: left;
  }
}

/* brands index: white logo cards and a lighter grid */
.iw-brands-intro {
  max-width: 760px;
  margin: -.25rem 0 1.5rem;
  color: #6b6158;
  font-size: .95rem;
  line-height: 1.55;
}

body.iw-brand-page .brands-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin: 0 !important;
}

body.iw-brand-page .brands-list > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.iw-brand-page .brands-list .item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 14px;
  border: 1px solid var(--iw-cat-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(47, 52, 78, .03);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

body.iw-brand-page .brands-list .item:hover {
  border-color: rgba(2, 115, 10, .22);
  box-shadow: 0 8px 20px rgba(47, 52, 78, .07);
  transform: translateY(-2px);
}

body.iw-brand-page .brands-list .item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 575px) {
  body.iw-brand-page .brands-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.iw-brand-page .brands-list .item {
    padding: 10px;
    border-radius: 12px;
  }

  .iw-brands-intro {
    margin-bottom: 1.25rem;
    font-size: .9rem;
  }
}


/* brand detail */
body.iw-brand-page .iw-brand-profile {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 52, 78, .045);
}

body.iw-brand-page .iw-brand-profile__logo {
  display: flex;
  flex: 0 0 210px;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 1rem;
  border: 1px solid rgba(160, 83, 55, .1);
  border-radius: 16px;
  background: #fff;
}

body.iw-brand-page .iw-brand-profile__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

body.iw-brand-page .iw-brand-profile__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: .25rem 0;
}

body.iw-brand-page .iw-brand-profile__kicker,
body.iw-brand-page .iw-brand-products-head__kicker {
  display: block;
  margin-bottom: .25rem;
  color: var(--iw-cat-green);
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.iw-brand-page .iw-brand-profile__text {
  max-width: 54rem;
  color: #5f6478;
  font-size: .92rem;
  line-height: 1.6;
}

body.iw-brand-page .iw-brand-profile__text p {
  margin: 0 0 .75rem;
}

body.iw-brand-page .iw-brand-profile__text ul {
  margin: .25rem 0 .5rem;
  padding-left: 1.15rem;
}

body.iw-brand-page .iw-brand-profile__text li + li {
  margin-top: .2rem;
}

body.iw-brand-page .iw-brand-profile__back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  padding-top: .6rem;
  color: var(--iw-cat-green);
  font-size: .82rem;
  text-decoration: none;
}

body.iw-brand-page .iw-brand-profile__back:hover {
  text-decoration: underline;
}

body.iw-brand-page .iw-brand-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.75rem 0 1rem;
}

body.iw-brand-page .iw-brand-products-head h2 {
  margin: 0 !important;
  color: var(--iw-cat-text);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}

@media (max-width: 767px) {
  body.iw-brand-page .iw-brand-profile {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  body.iw-brand-page .iw-brand-profile__logo {
    flex: 0 0 auto;
    width: 100%;
    min-height: 160px;
  }

  body.iw-brand-page .iw-brand-profile__logo img {
    max-height: 140px;
  }

  body.iw-brand-page .iw-brand-profile__text {
    font-size: .88rem;
  }

  body.iw-brand-page .iw-brand-products-head {
    margin-top: 1.4rem;
  }
}

/* search page */
body.iw-search-page .iw-search-page__bar {
  max-width: 760px;
  margin: .25rem 0 1.5rem;
}

body.iw-search-page .iw-search-page__bar form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 3rem;
  overflow: hidden;
  border: 1px solid var(--iw-cat-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(47, 52, 78, .035);
}

body.iw-search-page .iw-search-page__bar .fa {
  flex: 0 0 auto;
  margin-left: 1rem;
  color: #9a9fb2;
}

body.iw-search-page .iw-search-page__bar input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 .75rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--iw-cat-text);
  font-size: .92rem;
}

body.iw-search-page .iw-search-page__bar button {
  flex: 0 0 auto;
  align-self: stretch;
  padding: 0 1.4rem;
  border: 0;
  background: var(--iw-cat-green);
  color: #fff;
  font-size: .8rem;
  font-variation-settings: "wght" 600;
  cursor: pointer;
}

body.iw-search-page .iw-search-page__bar button:hover {
  background: var(--iw-cat-green-dark);
}

body.iw-search-page .iw-search-page__summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.iw-search-page .iw-search-page__summary-main {
  min-width: 0;
}

body.iw-search-page .iw-search-page__kicker {
  display: block;
  margin-bottom: .2rem;
  color: var(--iw-cat-green);
  font-size: .7rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

body.iw-search-page .iw-search-page__summary h2 {
  margin: 0 !important;
  color: var(--iw-cat-text);
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  line-height: 1.25;
}

body.iw-search-page .iw-search-page__count {
  display: inline-flex;
  margin-top: .45rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--iw-cat-soft);
  color: #6b6158;
  font-size: .75rem;
  white-space: nowrap;
}

body.iw-search-page .iw-search-page__sort {
  position: static;
  flex: 0 0 auto;
  margin: 0;
}

body.iw-search-page .iw-search-page__notice {
  max-width: 900px;
  margin: 0 0 1rem;
  color: #6b6158;
  font-size: .9rem;
  line-height: 1.5;
}

body.iw-search-page .iw-search-page__notice a {
  color: var(--iw-cat-green);
}

body.iw-search-page .iw-search-page__results .cat-order {
  display: none !important;
}

body.iw-search-page .iw-search-page__results {
  min-width: 0;
}

body.iw-search-page .iw-search-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 2.5rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(47, 52, 78, .045);
  text-align: center;
}

body.iw-search-page .iw-search-empty__icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 16px;
  background: #eef5ec;
  color: var(--iw-cat-green);
  font-size: 1.3rem;
}

body.iw-search-page .iw-search-empty p {
  margin: .35rem auto .75rem;
  max-width: 34rem;
  color: var(--iw-cat-muted);
  font-size: .9rem;
  line-height: 1.55;
}

body.iw-search-page .iw-search-empty p:first-of-type {
  color: var(--iw-cat-text);
  font-size: 1rem;
}

body.iw-search-page .iw-search-empty .btn-green {
  margin-top: .5rem;
}

@media (max-width: 767px) {
  body.iw-search-page .iw-search-page__summary {
    align-items: flex-start;
    flex-direction: column;
    gap: .5rem;
  }

  body.iw-search-page .iw-search-page__sort {
    align-self: flex-start;
  }

  body.iw-search-page .iw-search-page__bar {
    margin-bottom: 1.25rem;
  }

  body.iw-search-page .iw-search-page__bar form {
    height: 2.8rem;
  }

  body.iw-search-page .iw-search-page__bar button {
    padding: 0 1rem;
  }

  body.iw-search-page .iw-search-empty {
    padding: 2rem 1.1rem;
    border-radius: 18px;
  }
}

/* category landing: keep sorting next to the catalog, not over the H1 */
.iw-catalog-body .cat-order {
  position: static;
  top: auto;
  right: auto;
  float: none;
  display: flex;
  justify-content: flex-end;
  margin: 0 0 1rem;
}

/* category hero and description */
.iw-catalog-body img.section-hero {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  margin-bottom: 1.25rem;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(47, 52, 78, .045);
}

.iw-catalog-body .bx-section-desc {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 18px;
  background: var(--iw-cat-surface);
  box-shadow: 0 8px 24px rgba(47, 52, 78, .035);
}

.iw-catalog-body .bx-section-desc-post {
  margin: 0;
  color: #5f6478;
  font-size: .95rem;
  line-height: 1.65;
}

.iw-catalog-body .bx-section-desc-post p {
  margin: 0 0 .75rem;
}

.iw-catalog-body .bx-section-desc-post p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .iw-catalog-body img.section-hero {
    border-radius: 16px;
  }

  .iw-catalog-body .bx-section-desc {
    padding: 1rem;
    border-radius: 16px;
  }

  .iw-catalog-body .bx-section-desc-post {
    font-size: .9rem;
  }
}

/* category sections without a hero/description: bring the catalog closer to the H1 */
@media (min-width: 992px) {
  body.iw-category-page main > .container-fluid > .position-relative:not(:has(.section-hero, .bx-section-desc)) h1.small {
    margin-bottom: -2rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  body.iw-category-page main > .container-fluid > .position-relative:not(:has(.section-hero, .bx-section-desc)) h1.small {
    margin-bottom: .5rem !important;
  }

  body.iw-category-page main > .container-fluid > .position-relative:not(:has(.section-hero, .bx-section-desc)) .iw-catalog-controls {
    margin-bottom: .5rem;
  }
}

@media (max-width: 767px) {
  body.iw-category-page main > .container-fluid > .position-relative:not(:has(.section-hero, .bx-section-desc)) h1.small {
    margin-bottom: .25rem !important;
  }

  body.iw-category-page main > .container-fluid > .position-relative:not(:has(.section-hero, .bx-section-desc)) .iw-catalog-controls {
    margin-bottom: .6rem;
  }
}

/* category controls: sorting + mobile categories dropdown */
.iw-catalog-body .iw-catalog-controls {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
}

.iw-catalog-body .iw-catalog-controls .cat-order {
  position: static;
  top: auto;
  right: auto;
  float: none;
  display: inline-flex;
  justify-content: flex-start;
  width: auto;
  margin: 0;
}

.iw-catalog-body .iw-catalog-controls .cat-list {
  display: inline-flex;
  float: none;
  width: auto;
  margin: 0 0 0 auto;
}

.iw-catalog-body .cat-list .dropdown-menu {
  padding: .35rem;
  border: 1px solid var(--iw-cat-border);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(47, 52, 78, .12);
}

.iw-catalog-body .cat-list .dropdown-item {
  border-radius: 9px;
  padding: .5rem .7rem;
  color: var(--iw-cat-text);
  font-size: .84rem;
}

.iw-catalog-body .cat-list .dropdown-item:hover,
.iw-catalog-body .cat-list .dropdown-item.selected {
  background: #f1f8ef;
  color: var(--iw-cat-green);
}

@media (min-width: 768px) {
  .iw-catalog-body .iw-catalog-controls {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .iw-catalog-body .iw-catalog-controls {
    justify-content: space-between;
    margin-bottom: .6rem;
  }

  .iw-catalog-body .iw-catalog-controls .cat-list {
    margin-left: 0;
  }

  .iw-catalog-body .cat-list .dropdown-menu {
    max-width: calc(100vw - 32px);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  body.iw-category-page .iw-catalog-controls {
    margin-bottom: .5rem;
  }
}

/* bestsellers slider on large phones/tablets: 3 readable cards instead of 7 tiny ones */
@media (min-width: 577px) and (max-width: 767px) {
  .iw-catalog-body .bx_catalog_list_home.bestsellers .swiper-container .bx_catalog_item {
    max-width: calc(100% / 3);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .iw-catalog-body .bx_catalog_list_home.bestsellers .swiper-container .bx_catalog_item {
    max-width: calc(100% / 4);
  }
}
