/* Lamoda-like catalog: compact brand filter + clean cards */
.ocf-filter[id="ocf-filter-1"] .ocf-value-list,
.ocf-filter[id="ocf-filter-1"] .ocf-collapse-value,
.ocf-filter[id="ocf-filter-1"] .ocf-scroll-y {
  max-height: 220px !important;
  overflow-y: auto !important;
}
.ocf-filter[id="ocf-filter-1"] .ocf-value-list-body,
.ocf-filter[id="ocf-filter-1"] .ocf-auto-column {
  column-count: 1 !important;
  display: block !important;
  width: 100% !important;
}
.ocf-brand-search {
  width: 100%;
  margin: 0 0 8px;
  padding: 7px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}
.sub-categories .subcategory.bg_item .sc-image {
  min-height: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px 0;
}
.sub-categories .sc-image img {
  display: block;
  object-fit: contain;
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 88px;
  margin: 0 auto;
}
#content .product-thumb .rating,
#content .product-thumb .action-timer,
#content .stickers-ns,
#content .product_model_sstatus,
#content .product-thumb .cart,
#content .quantity_plus_minus {
  display: none !important;
}
.product-category .product-thumb {
  border: none;
  box-shadow: none;
  background: #fff;
}
.product-category .product-thumb .image {
  background: #f6f6f6;
  margin-bottom: 10px;
}
.product-category .product-thumb .product-name {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  min-height: 36px;
  margin-bottom: 6px;
}
.product-category .product-thumb .product-name a {
  color: #111;
}
.product-category .product-thumb .price {
  font-size: 15px;
  font-weight: 600;
}
.product-category .product-thumb .price-old {
  font-weight: 400;
  color: #999;
  font-size: 13px;
}
.product-category .product-thumb .addit-action {
  opacity: 0;
  transition: opacity .15s;
}
.product-category .product-thumb:hover .addit-action {
  opacity: 1;
}
.column-left .list-group,
#column-left .box-category {
  max-height: 280px;
  overflow: auto;
}
#column-left a,
#column-left .list-group a,
#column-left .box-category a,
#column-left .mod-categories a,
.mod-categories a {
  color: #111 !important;
}
#column-left a:hover,
#column-left a:focus,
.mod-categories a:hover {
  color: #000 !important;
  text-decoration: underline;
}

/* Modivo-like product */
.product-product .tabs__header { display: none !important; }
.product-product .h1-prod-name {
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0;
  margin: 0 0 10px;
  font-family: inherit !important;
}
.product-product .manufacturer a,
.product-product .brand a {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  text-transform: lowercase;
}
.product-product .info-model,
.product-product .product_model_sstatus,
.product-product .quantity_plus_minus,
.product-product .quickorder,
.product-product #button-fastorder,
.product-product .found-cheaper,
.product-product .price-tax {
  display: none !important;
}
.product-product .price-new,
.product-product .special_value {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #c41e3a !important;
}
.product-product .price-old {
  font-size: 16px !important;
  margin-left: 8px;
}
.product-product .prestige-price-off {
  background: #c41e3a;
  margin-left: 8px;
}
.product-product #button-cart.btn-general {
  width: 100%;
  min-height: 52px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 600;
}
.prestige-opt-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}
.prestige-opt-tiles--size {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.prestige-opt-tiles--solo {
  display: flex;
  grid-template-columns: none;
  max-width: 88px;
}
.prestige-opt-hide {
  display: none !important;
}
.prestige-opt-tile {
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #d5d5d5;
  background: #fff;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.2;
}
.prestige-opt-tile.is-on {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
  font-weight: 600;
}
.product-product .options .control-label {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: #111;
  font-weight: 600;
  margin-bottom: 6px;
}
.product-product .image-block,
.product-product .general-image {
  background: #f6f6f6;
}
.product-product .thumbnails .thumbnail { background: #f6f6f6; }

/* Premium product page */
.h1-prod-name {
  font-family: "Times New Roman", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: .04em;
  font-size: 28px !important;
  margin: 8px 0 20px;
}
.info-weight {
  display: none !important;
}
body .right-block-inner .prestige-left,
.prestige-left {
  width: 100%;
  box-sizing: border-box;
  margin: 14px 0 0;
}
.prestige-left__text {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}
.prestige-left__bar {
  height: 4px;
  background: #ececec;
  border-radius: 99px;
  overflow: hidden;
}
.prestige-left__bar span {
  display: block;
  height: 100%;
  background: #111;
  border-radius: 99px;
}
body .right-block-inner .timer_reward.prestige-timer-on,
body #product ~ .timer_reward.prestige-timer-on,
body .timer_reward.prestige-timer-on {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 !important;
  float: none !important;
}
body .prestige-timer-on .product-timer {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 52px !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 12px 16px !important;
  border: 1px solid #ececec !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}
body .prestige-timer-on .product-timer__title {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #111 !important;
  white-space: nowrap;
}
body .prestige-timer-on .product-timer .countDays,
body .prestige-timer-on .product-timer .countHours,
body .prestige-timer-on .product-timer .countMinutes,
body .prestige-timer-on .product-timer .countSec {
  color: #111 !important;
}
body .right-block-inner .prestige-ship,
.prestige-ship {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 12px 0 28px !important;
  padding: 16px 16px !important;
  background: #f4f4f4;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  line-height: 1.55;
}
.prestige-ship__eta strong {
  color: #111;
  font-weight: 600;
}
body .right-block-inner .short-desc-b,
.short-desc-b {
  margin-top: 8px !important;
  padding-top: 8px;
  clear: both;
}
body .right-block-inner .title_short_description {
  margin-top: 0 !important;
}
.product-product .general-image,
.product-product .main-image,
.product-product .image-block {
  background: #f4f2ef;
}
.product-product .thumbnails .thumbnail {
  border: none;
  padding: 0;
  background: #f4f2ef;
}
.product-product .price-new,
.product-product .price_value,
.product-product .special_value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .02em;
}
.product-product .price-tax { display: none !important; }
.product-product .btn-general {
  border-radius: 0;
  min-height: 48px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}
.product-product .form-group label,
.product-product .options .control-label {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #666;
}
.header-logo img,
.logo img {
  max-height: 48px;
  width: auto;
}
.upstore-banner-blocks .banner-item img,
.banner-blocks img {
  object-fit: cover;
}
#content .price-tax { display: none !important; }

/* Lamoda-like sale */
.product-thumb {
  position: relative;
}
.product-thumb .stickers-ns,
.product-thumb .sticker-ns.sticker-special,
.item .stickers-ns {
  display: none !important;
}
.prestige-sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 2px;
}
.product-thumb .price-old,
.product-product .price-old {
  color: #9a9a9a !important;
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 8px;
}
.product-thumb .price-new,
.product-thumb .special_value {
  color: #111 !important;
  font-weight: 700;
}
.sticker-ns.sticker-special,
.stickers-ns .sticker-special {
  background: #111 !important;
  color: #fff !important;
  border-radius: 2px !important;
  font-size: 11px !important;
  letter-spacing: .04em;
}

/* Footer / contacts compact */
.footer-payments img,
.payments-footer img,
.product-payments img {
  height: 22px;
  width: auto;
}
.footer-social a img {
  height: 22px;
}
footer .ch-socials img,
footer .ch-socials i {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
}
footer .ch-socials a {
  color: #cfcfcf !important;
}

/* Full-bleed men/women tiles */
.banner-blocks-container {
  margin-left: -10px;
  margin-right: -10px;
}
.banner-blocks-container > [class*="col-"] {
  width: 50% !important;
  max-width: 50%;
  flex: 0 0 50%;
}
.banner-blocks-container .banner-item {
  position: relative !important;
  min-height: 280px !important;
  height: 280px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  display: block !important;
  align-items: stretch !important;
  background-size: cover !important;
  background-position: center !important;
}
.banner-blocks-container .banner-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}
.banner-blocks-container .banner-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}
.banner-blocks-container .bb-circle-color { display: none !important; }
.banner-blocks-container .banner-info {
  position: relative;
  z-index: 2;
  justify-content: flex-end !important;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
  color: #fff;
}
.banner-blocks-container .banner-title,
.banner-blocks-container .banner-description {
  color: #fff !important;
}
.banner-blocks-container .banner-title {
  font-size: 22px;
  font-weight: 600;
}

/* Lamoda-like price */
.price-actions-box .price,
.product-thumb .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.product-thumb .price-new,
.product-thumb .special_value,
.product-product .price-new,
.product-product .special_value {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111 !important;
  order: 1;
}
.product-thumb .price-old,
.product-product .price-old {
  font-size: 13px !important;
  color: #8d8d8d !important;
  text-decoration: line-through;
  font-weight: 400 !important;
  order: 2;
}
.product-thumb .quantity_plus_minus {
  display: none !important;
}
.prestige-price-off {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 2px;
  letter-spacing: .03em;
  order: 3;
  margin: 0;
}

/* Breadcrumbs like Lamoda */
.breadcrumb {
  font-size: 13px;
  color: #8a8a8a;
}
.breadcrumb a { color: #8a8a8a; }
.breadcrumb > li + li:before { content: "/"; padding: 0 6px; color: #bbb; }

/* Mega menu category thumbs */
.nsmenu-type-category img,
.megamenu-category img,
.menu-image img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .header-logo img,
  .logo img {
    max-height: 34px;
  }
  .h1-prod-name {
    font-size: 22px !important;
  }
  .prestige-sale-badge {
    top: 8px;
    left: 8px;
    font-size: 11px;
    padding: 5px 7px;
  }
  .product-product .btn-general {
    min-height: 44px;
    width: 100%;
    margin-bottom: 8px;
  }
  .megasliderpro,
  .upstore-megasliderpro,
  .banner-blocks,
  .upstore-banner-blocks {
    margin-left: 0;
    margin-right: 0;
  }
  .footer .row > [class*="col-"] {
    margin-bottom: 18px;
  }
}

/* Скрыть нижний моб. док UpStore — перекрывал цену на карточке */
#fm-fixed-mobile-bottom {
  display: none !important;
}
.add-to-cart-footer.fm_b_1,
.add-to-cart-footer.fm_b_2,
.add-to-cart-footer.fm_b_3 {
  bottom: 0 !important;
}
footer .block-banner-footer .image-banner-footer img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
@media (min-width: 768px) {
  footer .block-banner-footer {
    transition: box-shadow .2s ease, transform .2s ease;
  }
  footer .block-banner-footer:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
  }
}

/* OCFilter — чёрно-белый Prestige */
.ocf-container,
.ocf-container a,
.ocf-btn-link,
.ocf-btn-link:hover,
.ocf-btn-link:focus,
.ocf-hidden-filters-more,
.ocf-hidden-values-more,
.ocf-discard,
.ocf-footer a {
  color: #111 !important;
}
.ocf-noUi-connect:before,
.ocf-noUi-handle {
  background-color: #111 !important;
}
.ocf-noUi-base:before,
.ocf-noUi-connects:before,
.ocf-noUi-connects:after {
  background-color: #ddd !important;
}
.ocf-noUi-active,
.ocf-noUi-handle.ocf-noUi-active {
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1) !important;
}
.ocf-container input[type="checkbox"],
.ocf-container input[type="radio"] {
  accent-color: #111;
}
.ocf-value input:checked + label,
.ocf-value.ocf-selected .ocf-value-name,
.ocf-value input:checked ~ .ocf-value-name {
  color: #111 !important;
}
.ocf-container .ocf-value-name:before,
.ocf-container .ocf-checkbox,
.ocf-container label:before {
  border-color: #bbb !important;
}
.ocf-container input:checked + .ocf-value-name:before,
.ocf-container .ocf-selected .ocf-value-name:before,
.ocf-container input:checked + label:before {
  background-color: #111 !important;
  border-color: #111 !important;
}
.ocf-container .ocf-btn-primary,
.ocf-container button.ocf-btn,
.ocf-footer .ocf-btn,
.ocf-search-btn-popover .ocf-btn,
#ocf-module-1 .ocf-btn[type="button"] {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}
.ocf-container .ocf-btn-default,
.ocf-container .ocf-discard,
.ocf-footer .ocf-discard {
  background: #fff !important;
  border: 1px solid #ddd !important;
  color: #111 !important;
}
.ocf-container input.ocf-input,
.ocf-container .ocf-price-from,
.ocf-container .ocf-price-to,
.ocf-slider-input input {
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  color: #111 !important;
  box-shadow: none !important;
}
.ocf-container input.ocf-input:focus,
.ocf-slider-input input:focus {
  border-color: #111 !important;
  outline: none !important;
}
.ocf-filter-header,
.ocf-header,
.ocf-name {
  color: #111 !important;
  font-weight: 600;
}
.ocf-footer .ocf-between {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.ocf-footer .ocf-between > .ocf-btn {
  width: 100% !important;
  margin: 0 !important;
  display: block !important;
  float: none !important;
  box-sizing: border-box;
}
.ocf-footer .ocf-btn-link {
  background: #fff !important;
  border: 1px solid #ddd !important;
  color: #111 !important;
  padding: 8px 12px;
}
.ocf-footer .ocf-search-btn-static {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

/* Отзывы / вопросы: плавное раскрытие + кнопки на одной линии */
.prestige-acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin: 20px 0 28px;
}
.prestige-acc,
.prestige-acc-grid > .tab-pane {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.prestige-acc__title {
  position: relative;
  margin: 0 !important;
  padding: 16px 52px 16px 18px !important;
  min-height: 72px;
  display: flex;
  align-items: center;
  font-size: 18px !important;
  font-weight: 600 !important;
  cursor: pointer;
  user-select: none;
}
.prestige-acc__title:after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #111;
  font-weight: 400;
}
.prestige-acc.is-open .prestige-acc__title:after {
  content: "−";
}
.prestige-acc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s ease;
}
.prestige-acc.is-open .prestige-acc__body {
  grid-template-rows: 1fr;
}
.prestige-acc__clip {
  overflow: hidden;
  min-height: 0;
  padding: 0 18px;
}
.prestige-acc.is-open .prestige-acc__clip {
  padding-bottom: 18px;
}
.prestige-acc__toolbar {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 0 0 14px;
}
.prestige-acc__toolbar .chm-btn {
  margin: 0 !important;
}
.prestige-acc .reviews-product {
  display: block !important;
}
.prestige-acc .reviews-product__average {
  display: block !important;
}
.prestige-acc .reviews-product__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.reviews-product__rating-summary,
.product-rating-summary__item {
  display: none !important;
}
.prestige-review-stars {
  display: inline-flex;
  gap: 2px;
  color: #d0d0d0;
  font-size: 16px;
}
.prestige-review-stars .is-on {
  color: #111;
}
@media (max-width: 767px) {
  .prestige-acc-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .prestige-acc__title {
    font-size: 15px !important;
    padding: 14px 48px 14px 16px !important;
  }
}

#modal-quickorder .chm-btn-primary,
#modal-quickorder #up-btn-fastorder,
#modal-quickorder .qo_confirm,
#modal-addcart .chm-btn-primary {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.18) !important;
}
#modal-quickorder .chm-btn-outline-primary {
  background: #fff !important;
  border: 1px solid #111 !important;
  color: #111 !important;
}
#modal-quickorder select[name^="option"],
#fastorder_data select[name^="option"] {
  display: none !important;
}
