.header-top {
 
    background: #ffffff !important;
}


.musson-faq {
  max-width: 1320px;
  margin: 38px auto 0;
}

.musson-faq__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #f4f6f9;
  border-bottom: 1px solid #e2e7ee;
  border-radius: 8px 8px 0 0;
}

.musson-faq__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1e3a5f;
}

.musson-faq__dot {
  width: 3px;
  height: 18px;
  flex: 0 0 3px;
  border-radius: 0;
  background: #1e3a5f;
  box-shadow: none;
}

.musson-faq__list {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e7ee;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 16px rgba(30,58,95,.05);
}

.musson-faq__item {
  border-bottom: 1px solid #eee;
}

.musson-faq__item:last-child {
  border-bottom: 0;
}

.musson-faq__question {
  width: 100%;
  min-height: 68px;
  padding: 18px 22px;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: #151515;
}

.musson-faq__question i {
  position: relative;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: #f4f6f9;
  transition: .25s ease;
}

.musson-faq__question i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: .25s ease;
}

.musson-faq__answer {
  display: none;
  padding: 0 22px 22px;
  color: #444;
  font-size: 15px;
  line-height: 1.65;
}

.musson-faq__answer p {
  margin: 0 0 12px;
}

.musson-faq__answer p:last-child {
  margin-bottom: 0;
}

.musson-faq__item.is-open .musson-faq__answer {
  display: block;
}

.musson-faq__item.is-open .musson-faq__question i {
  background: #1e3a5f;
  color: #fff;
}

.musson-faq__item.is-open .musson-faq__question i::before {
  transform: translate(-50%, -35%) rotate(-135deg);
}

.musson-faq__check {
  margin: 12px 0;
  padding: 14px 16px;
  background: #f4f6f9;
  border: 1px solid #e2e7ee;
  border-left: 3px solid #1e3a5f;
  border-radius: 6px;
}

.musson-faq__check strong {
  display: block;
  margin-bottom: 6px;
  color: #1e3a5f;
  font-size: 15px;
}

@media (max-width: 767px) {
  .musson-faq {
    margin-top: 28px;
    padding: 0 10px;
  }

  .musson-faq__head {
    padding: 15px 16px;
  }

  .musson-faq__head h2 {
    font-size: 17px;
  }

  .musson-faq__question {
    min-height: 82px;
    padding: 16px;
    font-size: 15px;
  }

  .musson-faq__answer {
    padding: 0 16px 18px;
    font-size: 14px;
  }
}


/* =========================================================
   BASE / TYPOGRAPHY
========================================================= */
body {
  line-height: 1.65;
}

.menu-product-title {
  font-weight: 700;
}



/* =========================================================
   FOOTER (AMX)  — чёрный остаётся (Вариант Б)
========================================================= */
#footer,
.amx-footer {
  background: #0a0a0a;
}

.amx-footer {
  color: #fff;
  font-size: 15px;
  line-height: 1.65;
  padding: 56px 0 34px;
}

.amx-footer a,
.amx-footer a:visited {
  color: #fff !important;
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s ease, color .2s ease, transform .18s ease, box-shadow .25s ease, background .25s ease;
}

.amx-footer a:hover {
  opacity: 1 !important;
}

.amx-footer__container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-left: 16px;
  padding-right: 16px;
}

.amx-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.amx-footer__logo {
  width: 160px;
  margin-bottom: 14px;
}

.amx-footer__desc {
  opacity: .82;
  max-width: 360px;
}

.amx-footer__title {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.amx-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amx-footer__list li + li {
  margin-top: 4px;
}

.amx-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.amx-footer__link svg {
  flex-shrink: 0;
}

.amx-footer__link {
  display: inline-flex;
  align-items: center;
  margin: 5px 0;
  opacity: .9;
}

.amx-footer__link:hover,
.amx-footer__list a:hover i {
  opacity: 1;
}

/* =========================================================
   TELEGRAM CTA  — бренд-цвет Telegram, НЕ трогаем
========================================================= */
.amx-messenger.tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #229ED9;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 500;
  max-width: fit-content;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(34,158,217,.18);
  transition: all .2s ease;
}

.amx-messenger.tg:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(34,158,217,.25);
}

.amx-messenger.tg i {
  font-size: 13px;
}

/* полностью убираем вертикальный текст */
.amx-messenger.tg .tg-text {
  display: inline;
}

/* убираем small вообще */
.amx-messenger.tg small {
  display: none;
}

.amx-messenger.tg strong {
  font-weight: 500;
}

.amx-footer__messengers {
  margin-top: 18px;
}




/* =========================================
   TELEGRAM STICKY BUTTON (SMOOTH)  — бренд-цвет, НЕ трогаем
========================================= */

#telegram-sticky {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 999;

  /* 🔥 главное */
  transition: bottom .35s cubic-bezier(.4,0,.2,1);
  will-change: bottom;
}

/* сама кнопка */
#telegram-sticky a {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #229ED9;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff !important;
  text-decoration: none;

  box-shadow: 0 6px 18px rgba(34,158,217,.3);

  /* плавность hover отдельно */
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}

/* hover */
#telegram-sticky a:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 24px rgba(34,158,217,.4);
}

/* иконка */
#telegram-sticky i {
  font-size: 1.2rem;
  line-height: 1;
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 767px) {
  #telegram-sticky {
    right: 1rem;
    bottom: 5rem;

    /* тоже анимируем */
    transition: bottom .35s cubic-bezier(.4,0,.2,1);
  }



  #telegram-sticky i {
    font-size: 1.1rem;
  }
}


/* =========================================================
   SOCIAL ICONS
========================================================= */
.amx-footer__social-icons {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.amx-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  transition: all .2s ease;
}

.amx-social:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.55);
}

/* =========================================================
   BOTTOM
========================================================= */
.amx-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

.amx-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.amx-footer__addr,
.amx-footer__copy {
  opacity: .75;
  font-size: 14px;
}

.amx-footer__dev {
  opacity: .6;
  font-size: 14px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
  .amx-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }

  .amx-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .amx-footer {
    padding: 48px 0 30px;
  }

  .amx-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .amx-footer__brand,
  .amx-footer__contacts,
  .amx-footer__links,
  .amx-footer__socials {
    text-align: left;
  }

  .amx-footer__logo {
    width: 140px;
  }

  .amx-footer__desc {
    margin-right: auto;
    max-width: 100%;
  }

  .amx-footer__messengers,
  .amx-footer__social-icons {
    justify-content: flex-start;
  }

  .amx-messenger.tg {
    padding: 13px 14px;
    border-radius: 16px;
  }

  .amx-messenger.tg strong {
    font-size: 13.5px;
  }

  .amx-messenger.tg small {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .amx-footer {
    font-size: 15px;
    padding: 42px 0 26px;
  }

  .amx-footer__container {
    gap: 46px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .amx-footer__top {
    gap: 34px;
  }

  .amx-footer__title {
    margin-bottom: 12px;
  }

  .amx-footer__link {
    margin: 4px 0;
  }

  .amx-footer__bottom {
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .amx-footer__addr,
  .amx-footer__copy,
  .amx-footer__dev {
    font-size: 13.5px;
  }

  .amx-messenger.tg {
    padding: 12px 13px;
    gap: 10px;
  }

  .amx-messenger.tg i {
    font-size: 17px;
  }

  .amx-messenger.tg strong {
    font-size: 13px;
  }

  .amx-messenger.tg small {
    font-size: 11.5px;
    line-height: 1.4;
  }

  .amx-messenger.tg::after {
    font-size: 15px;
  }
}

/* =========================================================
   FORMS / INPUTS / SELECTS
========================================================= */
.form-control {
  height: 50px; /* глобально — ок, но следи за textarea */
  border-radius: 8px;
}

.contact-rich .part .icon i {
    font-size: 1.4rem;
    color: #1e3a5f;
}

select.form-control:not([size]):not([multiple]) {
  height: 50px;
}

select.form-control.form-control-select {
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%, calc(100% - 2.5em) 50%;
}

.input-group:focus-within {
  outline: 0 !important;
}

.bootstrap-touchspin.input-group {
  background: #f4f6f9;
  border-radius: 8px;
  overflow: hidden;
}

.bootstrap-touchspin .form-control {
  border: 0;
  text-align: center;
  background: transparent;
  font-weight: 500;
}

.bootstrap-touchspin .btn-touchspin {
  background-color: #fff;
  border: 0;
  font-weight: 700;
  padding: 0 14px;
  font-size: 18px;
  color: #1e3a5f;
  line-height: 1;
  transition: all .2s ease-in-out;
}

/* Bootstrap 4 */
.input-group > .input-group-append > .btn {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Legacy (если где-то ещё есть BS3 модули) */
.input-group .input-group-btn > .btn {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

label.btn.btn-default {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
}

.form-control-comment {
  padding-top: .9rem;
}

@media (max-width:575px) {
  .contact-form .form-control-comment {
    padding-left: 20px;
    display: block;
  }
}

input.credit_input {
  border-radius: 8px !important;
  height: 50px;
}

/* =========================================================
   BUTTONS / CARDS / MODALS  — чёрные кнопки остаются (Вариант Б)
========================================================= */
.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
  background: #0e0f11;
  color: #fff;
  border: 1px solid #0e0f11;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background-color .15s ease, border-color .15s ease, transform .08s ease;
}

.btn-secondary,
.btn-secondary.disabled,
.btn-secondary:disabled {
  background: #e7e5e5;
  color: #333;
  height: 50px;
  border-radius: 8px;

}

.card {
  border: 0 !important;
}

.modal.show .modal-content {
  border-radius: 8px;
}

.ecm_credit8 .card-body {
  border-radius: 12px;
  background: #f4f6f9;
}

.ecm_credit8 .credit_input {
  max-width: 110px;
  border-radius: 6px;
}

/* =========================================================
   PRODUCT GRID / MINIATURES / REVIEWS
========================================================= */
.products-grid .product-add-cart {
  margin: 0 !important;
}

.product-miniature {
  border: solid 1px #eef1f5;
  outline: 1px transparent;
  border-radius: 6px;
}

.products-grid .product-miniature .iqitreviews-simple {
  justify-content: center;
}

.products-grid .product-price-and-shipping {
  min-height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.products-grid .product-price-and-shipping a {
  line-height: 1.2;
}

.products-grid .product-price,
.rte-content {
  font-size: 16px;
}





.products-grid .regular-price {
  line-height: 1;
}

.products-grid .product-price-and-shipping.has-discount .product-price {
  color: #1e3a5f !important;
  font-weight: 700;
}

.products-grid .product-title {
  min-height: 72px;
  max-height: 72px;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Названия товаров — чёрные */
.products .product-title,
.products .product-title a {
  color: #000 !important;
}

.product-miniature .iqitreviews-simple {
  margin-top: 5px;
}

.products-grid .iqitreviews-simple {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.products-grid .iqitreviews-simple .leave-review-link {
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.products-grid .iqitreviews-simple * {
  line-height: 1;
}

.iqitreviews-simple .review-count {
  margin-bottom: 2px;
}

/* MUSSON — catalog button (clean + shine) — чёрная остаётся */
.products-grid .product-add-cart {
  margin-top: 8px;
  padding-bottom: 10px;
}

.products-grid .product-add-cart .btn {
  position: relative;
  padding: 10px 18px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-weight: 600;
  border: 0;
  overflow: hidden;
  transition: .2s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

.products-grid .product-add-cart .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.products-grid .product-add-cart .btn:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.25), transparent);
  transform: translateX(-120%);
  transition: .5s ease;
}

.products-grid .product-add-cart .btn:hover:after {
  transform: translateX(120%);
}

/* =========================================================
   PRODUCT / IMAGES / SLICK
========================================================= */
#product .product-cover .expander,
.btn-product-list {
  border-radius: 6px;
}

#product .product-cover .expander > span,
#product-modal .modal-body .slick-arrow,
.images-container .slick-arrow {
  border-radius: 8px;
}

.slick-next,
.slick-prev {
  border-radius: 8px;
}

.img-fluid,
.img-thumbnail {
  border-radius: 12px;
}

.elementor img {
  border-radius: 12px;
}

/* =========================================================
   PAGE TITLES / RTE CONTENT
========================================================= */
#content-wrapper .page-title {
  font-size: 20px;
  color: #1e3a5f;
  font-weight: 600;
}

.rte-content {
  line-height: 1.6;
  color: #1c1c1e;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  margin-bottom: 2rem;
}

/* =========================================================
   HEADER / SEARCH
========================================================= */
.header-right-row {
  flex-wrap: nowrap;
}

.logo.img-fluid {
  max-height: 50px;
  width: auto;
}

@media (min-width:991px) {
  .logo.img-fluid {
    margin-bottom: 7px;
  }
}

@media (max-width: 991px) {
  .logo.img-fluid {
    margin-bottom: 4px;
  }
}

.header-search-col {
  margin-right: 14px;
  display: flex;
  align-items: center;
}

.header-search-col .ybc_searchbox,
.header-search-col form {
  margin: 0;
  position: relative;
}

.header-search-col input.search_query {
  width: 400px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid #dcdcdc;
  background: #fff;
  padding: 0 44px 0 14px;
  font-size: 14px;
  line-height: 40px;
  outline: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
  box-sizing: border-box;
}

.header-search-col input.search_query:focus {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 2px rgba(30,58,95,.16);
}

.header-search-col .btn.btn-default.button-search,
.header-search-col .btn.button-search,
.header-search-col button.button-search,
.header-search-col button[type=submit] {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #1e3a5f;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .12s ease, opacity .12s ease;
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.header-search-col button.button-search:hover,
.header-search-col button[type=submit]:hover {
  opacity: .92;
}

.header-search-col button.button-search:active,
.header-search-col button[type=submit]:active {
  transform: translateY(-50%) scale(.98);
}

.header-search-col button i,
.header-search-col button svg {
  color: #fff;
  fill: #fff;
}

.autocomplete-suggestions {

    max-height: 454px;

}

.header-search-col .search_block_results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(30,58,95,.10);
  z-index: 9999;
  box-sizing: border-box;
}

.header-search-col .search_block_results * {
  box-sizing: border-box;
}

.header-search-col .ybc_searchbox.has-results input.search_query,
.header-search-col form.has-results input.search_query {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.header-search-col .ybc_searchbox.has-results .search_block_results,
.header-search-col form.has-results .search_block_results {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  top: calc(100% + 0px);
  margin-top: 0;
  border-top-color: transparent;
}

.header-search-col .search_block_results .results_title,
.header-search-col .search_block_results .title {
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 10px 12px;
  background: #f4f6f9;
  border-bottom: 1px solid #e2e7ee;
}

.header-search-col .search_block_results a {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
}

.header-search-col .search_block_results a:hover {
  background: #f4f6f9;
}

.header-search-col .search_block_results img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #f0f0f0;
}

@media (max-width:1399px) {
  .header-search-col input.search_query { width: 300px; }
}

@media (max-width:1199px) {
  .header-search-col input.search_query { width: 260px; }
}

.cbp-horizontal .cbp-tab-title {

      line-height: normal !important;
}

/* =========================================================
   MOBILE HEADER / MENU
========================================================= */
#mobile-header-sticky.stuck-down,
#mobile-header-sticky.stuck-up.visible-stuck-up {
  background-color: #ffffff !important;
}

#mobile-header .col-mobile-menu-dropdown.show {
  background: transparent !important;
}

#mobile-header .col-mobile-menu-dropdown.show .m-nav-btn {
  color: inherit !important;
}

.col-mobile-menu-dropdown #_mobile_iqitmegamenu-mobile {
  position: absolute;
  left: 0;
  width: 100%;
}

#iqitmegamenu-horizontal {
  height: 55px;
}

#iqitmegamenu-mobile {
  background: #ffffff;
  color: #fff;
  height: calc(100vh - var(--mheader-h, 64px)) !important;
}

#iqitmegamenu-mobile li {
  margin: 4px 10px;
}

#iqitmegamenu-mobile li a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  transition: background .2s ease, transform .15s ease;
}

.m-nav-btn .fa-times,
.m-nav-btn.is-open .fa-bars {
  display: none;
}

.m-nav-btn.is-open .fa-times {
  display: inline-block;
}

.m-nav-btn i.fa-times {
  font-size: 22px !important;
  transform: translateY(-1px);
}

#_mobile_iqitmegamenu-mobile li > a {
  display: flex;
  align-items: center;
  font-size: 20px !important;
  font-weight: 600;
  line-height: 1.3;
  padding: 18px 12px !important;
  min-height: 56px;
  color: #000 !important;
  text-decoration: none !important;
}

/* =========================================================
   CATEGORY LAYOUT
========================================================= */
#category #left-column {
  display: none !important;
}

#category #content-wrapper {
  flex: 0 0 100%;
  max-width: 100%;
}

/* =========================================================
   BADGES / BACK TO TOP / MISC
========================================================= */
#back-to-top,
.merchant-badges {
  align-items: center;
  justify-content: center;
}

#back-to-top {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  color: #1e3a5f;
  font-size: 1.5rem;
  transition: opacity .3s ease, transform .3s ease, bottom .3s ease;
  transform: translateY(20px);
  z-index: 10;
}

.merchant-badges {
  min-height: 32px;
  display: flex;
}

.merchant_wrapper {
  margin-top: 5px;
}

.merchant_item.miniature .merchant_count.miniature {
  top: -6px;
  min-width: 14px;
  height: 14px;
  padding: 0 2px;
  border-radius: 50%;
  background: #1e3a5f;
  color: #fff;
  font: 700 8px/14px Inter, system-ui, sans-serif;
  text-align: center;
}

img.merchant_img.line,
img.merchant_img.miniature {
  background: #f0efef;
  border-radius: 12px;
  padding: 3px;
}

#bank-details dd {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#bank-details dd * {
  white-space: normal !important;
}

@media (max-width:480px) {
  #bank-details dd,
  #bank-details dt {
    font-size: 14px;
  }
}

/* Megamenu */
.cbp-hrmenu .cbp-hrsub-inner,
.cbp-hrmenu ul.cbp-hrsub-level2 {
  border-radius: 8px;
}

/* Dropdowns */
:not(.dropdown-menu-custom).dropdown-menu {
  border-radius: 8px;
}

/* Search results CTA */
.search_block_results .box_button_see a.ets_link_see {
  background-color: #1e3a5f !important;
  border-radius: 8px;
}

.search_block_results .box_button_see {
  background-color: #1e3a5f !important;
}

.search_block_results .box_button_see a.ets_link_see:hover,
.search_block_results .box_button_see:hover {
  background-color: #14283f !important;
}

.search_block_results .box_button_see {
  z-index: 20;
}

/* Product unavailable */
.product-miniature-grid .product-availability {
  margin-bottom: 50px;
}

.product-unavailable {
  background: #98757dc4;
  padding: 5px;
  border-radius: 8px;
}

/* Thumbnails spacing */
#products .thumbnail-container,
.products .thumbnail-container,
.products-section .thumbnail-container {
  margin-bottom: 0 !important;
}

/* Icon align tweak */
#cbp-hrmenu-tab-16 .cbp-mainlink-icon {
  vertical-align: -2px !important;
}












/* =========================================================
   ECM CREDIT8 — модалка оформления (UX refresh, override)
   Скоуп: #ecm_credit8_product-modal. Логику модулей не трогает,
   только раскладка/группировка/доставка. 2026-06-16
   ========================================================= */

/* ---- 1. Контейнер: одна колонка вместо 2-х ---- */
#ecm_credit8_product-modal .modal-dialog { max-width: 640px; }

#ecm_credit8_product-modal .modal-footer .row { flex-direction: column; }
#ecm_credit8_product-modal .modal-footer .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* ---- 2. Товар → компактная карточка (стиль Musson) ---- */
#ecm_credit8_product-modal .required.flex {
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}
#ecm_credit8_product-modal .ecm_credit8_img {
    flex: 0 0 56px;
    width: 56px;
    padding: 0;
}
#ecm_credit8_product-modal .ecm_credit8_img img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
}
#ecm_credit8_product-modal .required.title {
    padding-left: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
}
#ecm_credit8_product-modal .product-title {
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#ecm_credit8_product-modal .attributes_ecm_credit8 { padding-bottom: 4px; }
#ecm_credit8_product-modal .modal_price { font-weight: 600; }

/* ---- 3. Заголовки секций (стиль Musson: navy вертикальная риска) ---- */
#ecm_credit8_product-modal .ecm_section_title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 10px;
    font-size: 15px;
    font-weight: 800;
    color: #1e3a5f;
    text-transform: none;
}
#ecm_credit8_product-modal .ecm_section_title::before {
    content: "";
    flex: 0 0 3px;
    width: 3px;
    height: 18px;
    border-radius: 0;
    background: #1e3a5f;
    box-shadow: none;
}

/* имя + фамилия в одну строку (когда обернём в .ecm_name_grid) */
#ecm_credit8_product-modal .ecm_name_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
#ecm_credit8_product-modal .ecm_name_grid .credit_input { margin-bottom: 0; }

/* ---- 4. Поля контактов ---- */
#ecm_credit8_product-modal .ecm_credit8_label {
    margin-bottom: 4px;
    font-size: 13px;
    color: #11141a;
}
#ecm_credit8_product-modal #credit_carrier { margin-bottom: 12px; }

/* ---- 5. Блок доставки: визуально отделённая группа ---- */
/* отделение делает заголовок «Доставка» (.ecm_section_title), линию не дублируем */
#credit_carrier_extra {
    margin-top: 6px;
}
#credit_carrier_extra:empty {
    margin-top: 0;
}
#credit_carrier_extra .pad,
#credit_carrier_extra #ecm_novaposhta { padding: 0; }
#credit_carrier_extra .form-row { margin-bottom: 10px; }
#credit_carrier_extra .form-row:last-child { margin-bottom: 0; }
#credit_carrier_extra hr { display: none; }

/* ---- 6. Тип доставки (Відділення/Поштомат/Адреса) → сегменты ---- */
#credit_carrier_extra .form-row.to {
    display: flex;
    gap: 8px;
    margin: 4px 0 12px;
}
#credit_carrier_extra .form-row.to > label {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 9px 8px;
    text-align: center;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s ease;
}
#credit_carrier_extra .form-row.to > label .custom-radio { display: none; }
#credit_carrier_extra .form-row.to > label input.to {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
#credit_carrier_extra .form-row.to > label:hover { border-color: #1e3a5f; }
#credit_carrier_extra .form-row.to > label:has(input:checked) {
    background: #1e3a5f;
    border-color: #1e3a5f;
    color: #fff;
}

/* ---- 7. Состояние загрузки при смене перевозчика ---- */
#credit_carrier_extra.waiting {
    position: relative;
    min-height: 110px;
}
#credit_carrier_extra.waiting::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border: 3px solid #e3e6ea;
    border-top-color: #1e3a5f;
    border-radius: 50%;
    animation: ecm_credit8_spin .7s linear infinite;
}
@keyframes ecm_credit8_spin { to { transform: rotate(360deg); } }

/* ---- 8. Футер: кнопка ---- */
#ecm_credit8_product-modal .ecm_checkout_bar {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
}
#ecm_credit8_product-modal .ecm_checkout_bar .btn.checkout {
    width: 100%;
    max-width: 420px;
    margin: 0;
    height: 52px;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}
@media (max-width: 767px) {
    #ecm_credit8_product-modal .ecm_checkout_bar .btn.checkout { max-width: none; }
}

/* ---- 9. Мобайл ---- */
@media (max-width: 767px) {
    #ecm_credit8_product-modal .modal-dialog { max-width: 100%; }
    #ecm_credit8_product-modal .ecm_name_grid { grid-template-columns: 1fr; gap: 0; }
    #ecm_credit8_product-modal .ecm_name_grid .credit_input { margin-bottom: 12px; }
}

/* ---- 10. ВРЕМЕННО: скрыть «Спосіб доставки» (select остаётся в DOM,
   дефолтный перевозчик подгружает форму НП как и раньше).
   Прячем и обёртку (если кэш шаблона пересобран), и сам select+label
   напрямую — чтобы не зависеть от кэша Smarty. ---- */
#ecm_credit8_product-modal .ecm_carrier_select,
#ecm_credit8_product-modal #credit_carrier,
#ecm_credit8_product-modal label.ecm_credit8_label:has(+ #credit_carrier) {
    display: none !important;
}

/* ---- 11. Дропдаун живого поиска (город / відділення) ---- */
/* в потоке (а не absolute) — иначе вылетает за пределы модалки */
#credit_carrier_extra .form-row.live { position: relative; }
#credit_carrier_extra .live_scroll_element {
    position: static;
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 6px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(30, 58, 95, .12);
    max-height: 14rem;
    scrollbar-width: thin;
    scrollbar-color: #d9d9d9 transparent;
}

/* модалка скроллится внутри вьюпорта, дропдаун всегда достижим */
#ecm_credit8_product-modal .modal-content {
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
}
#credit_carrier_extra .drop_down_ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#credit_carrier_extra .drop_down_ul li {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.3;
    color: #1c1c1c;
    transition: background .12s ease, color .12s ease;
}
#credit_carrier_extra .drop_down_ul li.active,
#credit_carrier_extra .drop_down_ul li:hover {
    background: #f4f6f9;
    color: #1e3a5f;
    font-weight: 500;
}
#credit_carrier_extra .live_scroll_element::-webkit-scrollbar { width: 8px; }
#credit_carrier_extra .live_scroll_element::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 8px;
}
#credit_carrier_extra .live_scroll_element::-webkit-scrollbar-track { background: transparent; }
#credit_carrier_extra .live_scroll_element::-webkit-scrollbar-button { display: none; width: 0; height: 0; }

/* пустой список (нет результатов) не должен рисовать рамку-коробку */
#credit_carrier_extra .live_scroll_element:not(:has(li)) {
    display: none !important;
}

/* ---- 12. Доставка по адресу: улица + чекбокс «другой получатель» ---- */
/* улицу растягиваем на всю ширину, как «Дом» и «Кв.»:
   сама .street_delivery — flex-элемент, сжимается по контенту → форсим 100% */
#credit_carrier_extra .street_delivery {
    width: 100%;
    flex: 1 1 100%;
}
#credit_carrier_extra .street_delivery .input-group {
    display: block;
    width: 100%;
}
#credit_carrier_extra .street_delivery .form-control,
#credit_carrier_extra #RecipientStreet {
    width: 100%;
    flex: 1 1 auto;
    border-radius: 8px;
}
/* StreetType-аддон прячем, если пустой (двойная рамка в input-group) */
#credit_carrier_extra .street_delivery .StreetType:empty { display: none; }

/* чекбокс: тема не грузит Material Icons → показываем нативный */
#credit_carrier_extra .custom-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
}
#credit_carrier_extra .custom-checkbox > span { display: none; }
#credit_carrier_extra .custom-checkbox input[type="checkbox"] {
    position: relative;
    opacity: 1;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid #cfd4da;
    border-radius: 6px;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
#credit_carrier_extra .custom-checkbox input[type="checkbox"]:hover {
    border-color: #1e3a5f;
}
#credit_carrier_extra .custom-checkbox input[type="checkbox"]:checked {
    background: #1e3a5f;
    border-color: #1e3a5f;
}
#credit_carrier_extra .custom-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
#credit_carrier_extra .custom-checkbox label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
}

/* ---- 13. Скрыть «Другой получатель» в модалке кредита
   (чекбокс + поля имя/фамилия/телефон другого получателя).
   Остаётся в DOM, чекбокс не отмечен → поля не required. ---- */
#credit_carrier_extra .form-row:has(#another_recipient),
#credit_carrier_extra .form-row.another_recipient {
    display: none !important;
}

.credit_button {
    border-radius: 8px;
}







/* ---- 14. Сама модалка: тонкий скролл + липкий крестик (Apple-style) ---- */
/* тонкий скроллбар, как в дропдауне */
#ecm_credit8_product-modal .modal-content {
    scrollbar-width: thin;
    scrollbar-color: #d9d9d9 transparent;
}
#ecm_credit8_product-modal .modal-content::-webkit-scrollbar { width: 8px; }
#ecm_credit8_product-modal .modal-content::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 8px;
}
#ecm_credit8_product-modal .modal-content::-webkit-scrollbar-track { background: transparent; }

/* липкий крестик в сером кружке — плоский, без рамок и теней */
#ecm_credit8_product-modal .modal-body {
    display: flex;
    flex-direction: column;
}
#ecm_credit8_product-modal .close {
    position: sticky;
    top: 12px;
    z-index: 10;
    align-self: flex-end;
    width: 32px;
    height: 32px;
    margin: 4px 0 8px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #eef1f5;
    color: #1e3a5f;
    font-size: 20px;
    line-height: 1;
    opacity: 1;
    text-shadow: none;
    cursor: pointer;
    transition: background .15s ease;
}
#ecm_credit8_product-modal .close:hover { background: #e1e7ef; }
/* иконка из Font Awesome 4.7 вместо текстового × */
#ecm_credit8_product-modal .close span { display: none; }
#ecm_credit8_product-modal .close::before {
    content: "\f00d";
    font-family: "FontAwesome";
    font-weight: normal;
    font-size: 15px;
    line-height: 1;
}


/* лого Нової Пошти в заголовку «Доставка» */
#ecm_credit8_product-modal .ecm_section_title:has(+ .ecm_carrier_select)::after {
    content: "";
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    background: url("https://musson-ukraine.com.ua/img/cms/38np.png") no-repeat center / contain;
    margin-top: 4px;
}



/* подсказка про телефон monobank — видна только когда выбран Моно (MP) */
#ecm_credit8_product-modal .mono-phone-hint {
    display: none;
    align-items: flex-start;
    gap: 8px;
    margin: -4px 0 12px;
    padding: 10px 12px;
    background: #fff7e6;
    border: 1px solid #ffe2b0;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #6b4e00;
}
#ecm_credit8_product-modal .mono-phone-hint i { margin-top: 3px; }
#ecm_credit8_product-modal:has(input.merchantType[value="MP"]:checked) .mono-phone-hint {
    display: flex;
}
