/* Карточка товара: хлебные крошки, левый столбец категорий, правый блок покупки */

.emmet-product-page {
  max-width: 1500px;
}

/* Карусели «Похожие» / «Недавно смотрели» — на всю ширину контейнера, ниже сетки карточки */
.emmet-product-below-full {
  width: 100%;
  max-width: 100%;
  clear: both;
}

/* Сетка карточки товара: сайдбар + контент + правая колонка; вкладки под контентом, не на всю ширину */
.emmet-product-layout {
  display: grid;
  gap: 0.75rem 1rem;
  align-items: start;
}

@media (min-width: 992px) {
  .emmet-product-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
    grid-template-areas:
      "sidebar main aside"
      "tabs tabs aside";
  }

  .emmet-product-layout--no-sidebar {
    grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
    grid-template-areas:
      "main aside"
      "tabs aside";
  }

  .emmet-product-layout__sidebar {
    grid-area: sidebar;
  }

  .emmet-product-layout__main {
    grid-area: main;
    min-width: 0;
  }

  .emmet-product-layout__tabs {
    grid-area: tabs;
    min-width: 0;
    margin-top: 0;
  }

  .emmet-product-layout__aside {
    grid-area: aside;
    min-width: 0;
    align-self: start;
    position: sticky;
    top: 1rem;
  }

  body.emmet-page-scrolled .emmet-product-layout__aside {
    top: calc(var(--emmet-sticky-offset, 5.5rem) + 1rem);
  }
}

@media (min-width: 1200px) {
  .emmet-product-layout:not(.emmet-product-layout--no-sidebar) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr);
  }
}

@media (max-width: 991.98px) {
  .emmet-product-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "main"
      "aside"
      "tabs";
  }

  .emmet-product-layout__sidebar {
    display: none;
  }

  .emmet-product-layout__aside {
    position: static;
    top: auto;
  }
}

/* ——— Вкладки: описание / характеристики / отзывы ——— */
.emmet-product-page .emmet-product-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.15rem 0.35rem;
  padding: 0;
  margin: 0 0 1.1rem;
  list-style: none;
  border-bottom: 1px solid #e8e8e8;
}

.emmet-product-page .emmet-product-tabs .nav-item {
  margin-bottom: -1px;
}

.emmet-product-page .emmet-product-tabs .nav-link {
  position: relative;
  display: block;
  padding: 0.55rem 1rem 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--emmet-muted, #5c5c5c);
  text-decoration: none;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  transition: color 0.15s ease, background 0.15s ease;
}

.emmet-product-page .emmet-product-tabs .nav-link:hover,
.emmet-product-page .emmet-product-tabs .nav-link:focus {
  color: var(--emmet-accent-ink, #1a1a1a);
  background: #f7f7f7;
}

.emmet-product-page .emmet-product-tabs .nav-link.active {
  color: var(--emmet-accent-ink, #1a1a1a);
  background: #fff;
  box-shadow:
    inset 0 3px 0 0 var(--emmet-accent, #f5c400),
    0 1px 0 0 #fff;
}

.emmet-product-page .emmet-product-tab-panels {
  padding-top: 0.15rem;
}

/* ——— Таблица характеристик ——— */
.emmet-product-page .emmet-product-spec-live {
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.emmet-product-page .emmet-product-spec-table {
  margin-bottom: 0;
  --bs-table-bg: transparent;
  --bs-table-border-color: transparent;
  border-collapse: separate;
  border-spacing: 0;
}

.emmet-product-page .emmet-product-spec-table thead:not(:first-of-type) td {
  border-top: 10px solid #fff;
}

.emmet-product-page .emmet-product-spec-table thead td {
  border: 0;
  padding: 11px 16px 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emmet-muted, #5c5c5c);
  background: linear-gradient(180deg, #fafafa 0%, #f1f1f2 100%);
  vertical-align: middle;
}

.emmet-product-page .emmet-product-spec-table tbody td {
  border: 0;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  vertical-align: middle;
}

.emmet-product-page .emmet-product-spec-table tbody tr:first-child td {
  border-top: 0;
}

.emmet-product-page .emmet-product-spec-table tbody td:first-child {
  width: 40%;
  max-width: 280px;
  color: var(--emmet-muted, #5c5c5c);
  font-size: 14px;
}

.emmet-product-page .emmet-product-spec-table tbody td:last-child {
  color: var(--emmet-accent-ink, #1a1a1a);
  font-size: 15px;
  font-weight: 500;
}

.emmet-product-page .emmet-product-spec-table tbody tr:hover td {
  background: #fcfcfc;
}

/* ——— Хлебные крошки (компактная лента) ——— */
.emmet-breadcrumb {
  margin-bottom: 1rem;
  padding: 0.35rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.emmet-breadcrumb::-webkit-scrollbar {
  display: none;
}

.emmet-breadcrumb__list {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--emmet-muted, #5c5c5c);
}

.emmet-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.emmet-breadcrumb__item a {
  color: var(--emmet-muted, #5c5c5c);
  text-decoration: none;
}
.emmet-breadcrumb__item a:hover {
  color: var(--emmet-accent-hover, #d9ad00);
}

.emmet-breadcrumb__item--current span {
  color: var(--emmet-accent-ink, #1a1a1a);
  font-weight: 600;
}

.emmet-breadcrumb__sep {
  display: inline-flex;
  align-items: center;
  color: #c8c8c8;
  margin: 0 0.35rem;
  font-size: 10px;
}

/* ——— Левая колонка категорий ——— */
/* Колонка сайдбара выше соседней (фото, список поиска): иначе flyout уходит под контент */
.emmet-product-page > .row,
#product-search.emmet-search-page > .row {
  overflow: visible;
}

.emmet-product-layout__sidebar,
.emmet-product-page > .row > #emmet-product-sidebar-root,
#product-search.emmet-search-page .emmet-search-sidebar {
  position: relative;
  z-index: 40;
  overflow: visible;
}

.emmet-product-layout {
  overflow: visible;
}

#product-search.emmet-search-page .emmet-search-sidebar__inner {
  overflow: visible;
}

.emmet-product-layout__main,
.emmet-product-page .emmet-product-main,
#product-search.emmet-search-page #content {
  position: relative;
  z-index: 1;
}

.emmet-product-gallery-col,
.emmet-product-gallery-wrap {
  position: relative;
  z-index: 1;
}

.emmet-cat-sidebar {
  position: sticky;
  top: 1rem;
  background: #fff;
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.emmet-cat-sidebar__item {
  position: relative;
  overflow: visible;
  border-bottom: 1px solid #f0f0f0;
}
.emmet-cat-sidebar__item:last-child {
  border-bottom: none;
}

/* Кнопка «Уценка» под списком категорий — как в полосе шапки (корпоративный бледно-жёлтый) */
.emmet-cat-sidebar__clearance {
  border-top: 1px solid #f0f0f0;
  padding: 10px 12px;
  background: #fff;
}

.emmet-cat-sidebar__clearance-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--emmet-accent-ink, #1a1a1a);
  background: #fffbea;
  border: 1px solid rgba(245, 196, 0, 0.35);
  box-shadow: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.emmet-cat-sidebar__clearance-link:hover {
  color: var(--emmet-accent-ink, #1a1a1a);
  background: #fff3c2;
  border-color: rgba(245, 196, 0, 0.5);
}

.emmet-cat-sidebar__clearance-link--active {
  background: #fff3c2;
  border-color: var(--emmet-accent, #f5c400);
  box-shadow: inset 3px 0 0 var(--emmet-accent, #f5c400);
}

.emmet-cat-sidebar__clearance-icon {
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  font-size: 15px;
  color: var(--emmet-accent, #f5c400);
}

.emmet-cat-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--emmet-accent-ink, #1a1a1a);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}

.emmet-cat-sidebar__link:hover,
.emmet-cat-sidebar__item:hover .emmet-cat-sidebar__link {
  background: #fffbea;
  color: var(--emmet-accent-hover, #d9ad00);
}

.emmet-cat-sidebar__item--active .emmet-cat-sidebar__link {
  box-shadow: inset 3px 0 0 var(--emmet-accent, #f5c400);
  font-weight: 600;
}

.emmet-cat-sidebar__icon {
  width: 22px;
  text-align: center;
  color: var(--emmet-accent, #f5c400);
  flex-shrink: 0;
}

.emmet-cat-sidebar__chev {
  margin-left: auto;
  color: #bbb;
  font-size: 12px;
}

.emmet-cat-sidebar__flyout {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 0;
  min-width: 260px;
  max-width: min(360px, 70vw);
  max-height: min(70vh, 420px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  z-index: 120;
  padding: 10px 0;
  /* не участвует в потоке списка слева — только при наведении */
  white-space: normal;
}

.emmet-cat-sidebar__item--has-children:hover .emmet-cat-sidebar__flyout,
.emmet-cat-sidebar__item--has-children:focus-within .emmet-cat-sidebar__flyout {
  display: block;
}

.emmet-cat-sidebar__flyout a {
  display: block;
  padding: 8px 16px;
  color: var(--emmet-accent-ink, #1a1a1a);
  text-decoration: none;
  font-size: 14px;
}
.emmet-cat-sidebar__flyout a:hover {
  background: #f7f7f7;
  color: var(--emmet-accent-hover, #d9ad00);
}

/* Нижние пункты: подменю вверх, чтобы не обрезалось низом экрана */
.emmet-cat-sidebar__item:nth-last-child(-n+5) .emmet-cat-sidebar__flyout {
  top: auto;
  bottom: 0;
}

@media (max-width: 991.98px) {
  .emmet-cat-sidebar__flyout {
    display: none !important;
  }
}

/* ——— Центр: заголовок ——— */
.emmet-product-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Центр: краткое описание, цены, плашка скидки */
.emmet-product-intro {
  font-size: 14px;
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-product-short {
  font-size: 15px;
  line-height: 1.55;
  color: var(--emmet-muted, #5c5c5c);
  margin-bottom: 0.65rem;
}

.emmet-product-intro__price .emmet-product-intro__stock {
  width: 100%;
  max-width: 100%;
  margin: 0.65rem 0 0;
  box-sizing: border-box;
}

.emmet-product-intro__price .emmet-product-intro__price-note {
  margin-bottom: 0;
}

.emmet-product-gallery-col {
  min-width: 0;
}

.emmet-product-buy__toolbar-form {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.emmet-product-buy__icon-actions {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

button.emmet-product-buy__iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: #fff;
  color: #5a5a5a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

button.emmet-product-buy__iconbtn i {
  font-size: 1rem;
  line-height: 1;
}

button.emmet-product-buy__iconbtn:hover {
  border-color: rgba(245, 196, 0, 0.55);
  color: var(--emmet-accent-ink, #1a1a1a);
  background: #fffef8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

button.emmet-product-buy__iconbtn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.45);
}

button.emmet-product-buy__iconbtn--wish:hover {
  color: #c2185b;
  border-color: rgba(194, 24, 91, 0.35);
  background: #fff5f9;
}

button.emmet-product-buy__iconbtn--compare:hover {
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-product-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--emmet-muted, #6b6b6b);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease;
}

.emmet-product-ai-btn:hover,
.emmet-product-ai-btn:focus-visible {
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-product-ai-btn__ico {
  font-size: 13px;
  opacity: 0.85;
}

.emmet-product-ai-btn--toolbar {
  margin-left: 0.15rem;
  padding: 7px 11px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #34d399 0%, #22c55e 55%, #16a34a 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.28);
}

.emmet-product-ai-btn--toolbar:hover,
.emmet-product-ai-btn--toolbar:focus-visible {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 3px 14px rgba(22, 163, 74, 0.35);
}

.emmet-product-ai-btn--toolbar .emmet-product-ai-btn__ico {
  opacity: 1;
  font-size: 14px;
}

.emmet-quick-order {
  width: 100%;
  max-width: 20.5rem;
  margin-bottom: 1rem;
  padding: 12px 12px 10px;
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 12px;
  background: #fafafa;
  box-sizing: border-box;
}

.emmet-quick-order__title {
  margin: 0 0 2px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-quick-order__lead {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--emmet-muted, #6b6b6b);
}

.emmet-quick-order__label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-quick-order__fields .col-12 + .col-12 {
  margin-top: 0;
}

.emmet-quick-order__input {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  line-height: 1.3;
}

.emmet-quick-order__input:focus {
  border-color: var(--emmet-accent, #f5c400);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.25);
}

.emmet-quick-order__input.is-invalid {
  border-color: #dc3545;
}

.emmet-quick-order__error {
  min-height: 1.1rem;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.3;
  color: #dc3545;
}

.emmet-quick-order__privacy {
  margin-top: 8px;
}

.emmet-quick-order__privacy-label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--emmet-muted, #6b6b6b);
}

.emmet-quick-order__privacy-label .emmet-consult-privacy__link {
  font-size: inherit;
}

.emmet-quick-order__submit {
  margin-top: 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--emmet-accent, #f5c400);
  color: var(--emmet-accent-ink, #1a1a1a);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease;
}

.emmet-quick-order__submit:hover,
.emmet-quick-order__submit:focus-visible {
  background: var(--emmet-accent-hover, #e6b800);
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-quick-order__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.emmet-quick-order__thanks {
  padding: 12px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.emmet-quick-order__thanks-ico {
  display: block;
  margin: 0 auto 8px;
  font-size: 1.75rem;
  color: #198754;
}

.emmet-quick-order__thanks-text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--emmet-accent-ink, #1a1a1a);
}

/* Модалка «Помощник ИИ» (заглушка) */
.emmet-ai-assistant-modal__dialog {
  max-width: 420px;
}

.emmet-ai-assistant-modal__body {
  padding-top: 0.5rem;
  padding-bottom: 1.75rem;
}

.emmet-ai-assistant-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--emmet-accent, #f5c400);
  color: var(--emmet-accent-ink, #1a1a1a);
  font-size: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.emmet-ai-assistant-modal__title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-ai-assistant-modal__text {
  margin: 0 0 0.5rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-ai-assistant-modal__ok {
  border: 0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: var(--emmet-accent, #f5c400);
  color: var(--emmet-accent-ink, #1a1a1a);
  font-weight: 800;
  font-size: 15px;
}

.emmet-ai-assistant-modal__ok:hover,
.emmet-ai-assistant-modal__ok:focus-visible {
  background: var(--emmet-accent-hover, #e6b800);
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px dashed #d8d8d8;
  background: #fafafa;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.emmet-discount-badge--active {
  border-style: solid;
  border-color: rgba(245, 196, 0, 0.75);
  background: linear-gradient(180deg, #fffdf0 0%, #fff8d6 100%);
  color: var(--emmet-accent-ink, #1a1a1a);
  box-shadow: 0 0 0 1px rgba(245, 196, 0, 0.2), 0 0 20px rgba(245, 196, 0, 0.35);
  animation: emmet-discount-pulse 2.4s ease-in-out infinite;
}

@keyframes emmet-discount-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(245, 196, 0, 0.2), 0 0 14px rgba(245, 196, 0, 0.28);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(245, 196, 0, 0.35), 0 0 26px rgba(245, 196, 0, 0.45);
  }
}

.emmet-product-meta {
  font-size: 14px;
  color: var(--emmet-muted, #5c5c5c);
}
.emmet-product-meta ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.emmet-product-meta li {
  margin-bottom: 0.35rem;
}

.emmet-product-on-order {
  color: var(--emmet-accent-ink, #1a1a1a);
  font-weight: 600;
}

/* ——— Правый блок «В корзину» ——— */
.emmet-product-buy {
  position: relative;
  top: auto;
  background: #fff;
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 14px;
  padding: 1rem 1.1rem 1.25rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.emmet-product-buy--compact {
  padding: 0.9rem 1rem 1.15rem;
}

@media (min-width: 1200px) {
  .emmet-product-buy--compact {
    padding: 0.85rem 0.95rem 1.1rem;
  }
}

.emmet-product-buy__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
}

.emmet-product-intro__sku {
  font-size: 0.9375rem;
  color: var(--emmet-muted, #5c5c5c);
  line-height: 1.35;
}

.emmet-product-intro__sku-value {
  font-weight: 800;
  color: var(--emmet-accent-ink, #1a1a1a);
  letter-spacing: 0.02em;
}

.emmet-product-intro__price-line {
  display: block;
  margin-top: 0;
  line-height: 1.15;
}

.emmet-product-intro__price .price-new {
  display: inline;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--emmet-accent-ink, #1a1a1a);
  line-height: 1.1;
}

.emmet-product-intro__price .price-new .emmet-product-intro__price-asterisk {
  display: inline-block;
  font-size: 0.85em;
  font-weight: 800;
  line-height: 0;
  color: var(--emmet-accent-ink, #1a1a1a);
  margin: 0 0 0 0.1em;
  padding: 0;
  vertical-align: top;
  position: relative;
  top: 0.04em;
}

.emmet-product-intro__price-note {
  margin: 4px 0 0;
  max-width: 22rem;
  font-size: 12px;
  line-height: 1.45;
  color: var(--emmet-muted, #6b6b6b);
}

.emmet-product-intro__price .price-old {
  font-size: 1rem;
  color: #999;
  text-decoration: line-through;
}

.emmet-product-intro__price-compare {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.emmet-product-stock-line {
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  font-size: 0.95rem;
  line-height: 1.45;
}

.emmet-product-stock-line__label {
  color: #666;
  font-weight: 600;
}

.emmet-product-stock-line--in {
  border-color: #c8e6c9;
  background: #f4fbf4;
}

.emmet-product-stock-line--in .emmet-stock-in {
  color: #1b5e20;
  font-weight: 800;
}

.emmet-product-stock-line--out {
  border-color: #ffcdd2;
  background: #fff8f8;
}

.emmet-stock-out {
  color: #c62828;
  font-weight: 800;
}

.emmet-product-stock-line--order {
  border-color: #ffe0b2;
  background: #fffaf2;
}

.emmet-product-on-order {
  color: #a65d00;
  font-weight: 800;
}

/* ——— Оплата частями (карточка товара) ——— */
.emmet-credit {
  border: 1px solid #efefef;
  border-radius: 14px;
  padding: 12px 12px 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.emmet-credit__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.emmet-credit__title {
  font-weight: 800;
  font-size: 13px;
  color: var(--emmet-muted, #5c5c5c);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.emmet-credit__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffbea;
  border: 1px solid rgba(245, 196, 0, 0.35);
  color: var(--emmet-accent, #f5c400);
}

.emmet-credit__pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.emmet-credit__from {
  font-size: 14px;
  color: var(--emmet-accent-ink, #1a1a1a);
  line-height: 1.25;
}

.emmet-credit__from strong {
  font-size: 1.05em;
  font-weight: 800;
}

.emmet-credit__btn {
  border-radius: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Белый зазор между блоком «В корзину» и картами */
.emmet-product-sidebar-gap {
  height: 54px;
  min-height: 54px;
  margin: 0;
  background: #fff;
  border-radius: 0;
}

/* ——— Карты оплаты частями (отдельный блок под «В корзину») ——— */
.emmet-product-pay-cards-panel {
  margin-top: 0;
  background: linear-gradient(165deg, #faf9f6 0%, #f3f2ee 100%);
  border: 1px solid #e6e2d8;
  border-radius: 14px;
  padding: 0.85rem 0.95rem 1rem;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
}

.emmet-pay-cards {
  margin-top: 0;
}

.emmet-pay-cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
}

.emmet-pay-cards__item {
  min-width: 0;
  text-align: center;
}

.emmet-pay-cards__img-wrap {
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  aspect-ratio: 1.58 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emmet-pay-cards__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emmet-pay-cards__name {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-pay-cards__bank {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  color: #e85d04;
}

.emmet-pay-cards-swiper {
  overflow: hidden;
  width: 100%;
  padding: 2px 0 6px;
  touch-action: pan-y;
}

.emmet-pay-cards-swiper .swiper-slide {
  width: calc((100% - 12px) / 1.5);
  height: auto;
}

.emmet-pay-cards-swiper .emmet-pay-cards__item {
  padding-right: 2px;
}

@media (max-width: 991.98px) {
  .emmet-product-sidebar-gap {
    height: 48px;
    min-height: 48px;
  }

  .emmet-product-pay-cards-panel {
    padding: 0.75rem 0.85rem 0.9rem;
    background: linear-gradient(180deg, #faf9f6 0%, #f4f3ef 100%);
  }

  .emmet-pay-cards {
    margin-left: -4px;
    margin-right: -4px;
  }
}

.emmet-product-buy__actions {
  width: 100%;
}

/* Отступ над жёлтой кнопкой «В корзину» (перебивает bootstrap .mt-*) */
.emmet-product-buy #form-product .emmet-cart-btn-combo {
  margin-top: 60px !important;
}

.emmet-product-buy .btn-cart {
  width: 100%;
  border-radius: 12px;
  font-weight: 700;
  padding: 0.65rem 1rem;
  background: var(--emmet-accent, #f5c400);
  border: none;
  color: var(--emmet-accent-ink, #1a1a1a);
}
.emmet-product-buy .btn-cart:hover {
  background: var(--emmet-accent-hover, #d9ad00);
  color: var(--emmet-accent-ink, #1a1a1a);
}

/* Количество внутри жёлтой кнопки «В корзину»: белый блок с жёлтой рамкой + стрелки */
.emmet-cart-btn-combo {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--emmet-accent, #f5c400);
  padding: 4px;
  gap: 5px;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.emmet-cart-btn-combo:focus-within {
  outline: 2px solid rgba(245, 196, 0, 0.55);
  outline-offset: 2px;
}

.emmet-cart-btn-combo__qty-block {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 2px solid var(--emmet-accent, #f5c400);
  background: #fff;
  overflow: hidden;
}

.emmet-cart-btn-combo__qty {
  flex: 1 1 auto;
  min-width: 2.35rem;
  width: 2.85rem;
  border: none;
  border-radius: 0;
  background: #fff;
  color: var(--emmet-accent-ink, #1a1a1a);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  padding: 0.45rem 0.3rem;
  margin: 0;
  -moz-appearance: textfield;
}

.emmet-cart-btn-combo__qty::-webkit-outer-spin-button,
.emmet-cart-btn-combo__qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.emmet-cart-btn-combo__qty:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(245, 196, 0, 0.35);
  position: relative;
  z-index: 1;
}

.emmet-cart-btn-combo__qty.is-invalid {
  box-shadow: inset 0 0 0 2px rgba(220, 53, 69, 0.35);
}

.emmet-cart-btn-combo__steppers {
  display: flex;
  flex-direction: column;
  flex: 0 0 1.85rem;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.emmet-cart-btn-combo__step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin: 0;
  border: none;
  background: #f4f4f7;
  color: var(--emmet-accent-ink, #1a1a1a);
  padding: 0;
  cursor: pointer;
  font-size: 0.62rem;
  line-height: 1;
}

.emmet-cart-btn-combo__step:first-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.emmet-cart-btn-combo__step:hover {
  background: #fff9e6;
  color: var(--emmet-accent-hover, #c9a000);
}

.emmet-cart-btn-combo__step:active {
  background: #fff3cc;
}

.emmet-product-buy .emmet-cart-btn-combo .btn-cart.emmet-cart-btn-combo__submit {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.emmet-cart-btn-combo__label {
  pointer-events: none;
}

.emmet-cart-links__a--back {
  cursor: pointer;
}

.emmet-cart-links {
  line-height: 1.35;
}

.emmet-cart-links__a {
  color: var(--emmet-muted, #5c5c5c);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}
.emmet-cart-links__a:hover {
  color: var(--emmet-accent-hover, #d9ad00);
  border-bottom-color: rgba(245, 196, 0, 0.7);
}

.emmet-product-buy .btn-emmet-consult {
  width: 100%;
  border-radius: 12px;
  font-weight: 700;
  padding: 0.65rem 1rem;
  background: #fff;
  border: 2px solid var(--emmet-top-border, #e8e8e8);
  color: var(--emmet-accent-ink, #1a1a1a);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.emmet-product-buy .btn-emmet-consult:hover {
  background: #fafafa;
  border-color: var(--emmet-accent, #f5c400);
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-product-buy button.btn-emmet-consult {
  cursor: pointer;
  border-width: 2px;
  font: inherit;
}

/* Модальное окно «Консультация»: матовый фон, современные поля */
body.modal-open .modal-backdrop.show {
  background-color: rgba(4, 5, 12, 0.88);
  backdrop-filter: blur(16px) saturate(0.92);
  -webkit-backdrop-filter: blur(16px) saturate(0.92);
}

/* Модалка «Кредит» (те же опоры, что у консультации) */
.emmet-credit-modal .emmet-credit-modal__icon-circle {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  background: #fffbea;
  border: 1px solid rgba(245, 196, 0, 0.45);
  color: var(--emmet-accent, #f5c400);
}

.emmet-credit-modal.emmet-credit-modal--install .emmet-consult-modal__dialog.emmet-credit-modal__dialog {
  max-width: min(96vw, 920px);
}

@media (min-width: 576px) {
  .emmet-credit-modal.emmet-credit-modal--install .emmet-consult-modal__dialog.emmet-credit-modal__dialog {
    max-width: 920px;
  }
}

.emmet-credit-modal__intro-cell {
  font-size: 0.74rem;
  line-height: 1.38;
  color: #3a3a44;
  padding: 0.5rem 0.65rem;
  background: #f0f0f3;
  border-radius: 10px;
  border: 1px solid #e4e4ea;
  height: 100%;
}

.emmet-credit-modal__title-narrow {
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  line-height: 1.2;
}

.emmet-credit-modal__product-name {
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 600;
}

.emmet-install-plans {
  border: 1px solid #ececee;
  border-radius: 12px;
  padding: 8px 8px 8px;
  background: #fafafb;
}

.emmet-install-plans--picker {
  padding-bottom: 6px;
}

.emmet-install-plans__headrow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
  margin-bottom: 8px;
}

.emmet-install-plans__title {
  font-weight: 700;
  font-size: 0.78rem;
  color: #2a2a33;
  margin: 0;
}

.emmet-install-plans__sub {
  font-size: 0.65rem;
  color: #7a7a86;
  line-height: 1.2;
}

.emmet-install-plans__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

@media (min-width: 1200px) {
  .emmet-install-plans__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Модалка «Оплата частями»: сетка вариантов всегда 2 колонки (уже блок на ПК) */
.emmet-credit-modal--install .emmet-install-plans__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.emmet-credit-modal--install .emmet-credit-modal__fields-row {
  margin-top: 0.35rem;
}

.emmet-credit-modal--install #emmet-credit-error-credit_term:not(:empty) {
  display: block;
  margin-top: 0.25rem;
}

.emmet-credit-modal--install .emmet-credit-modal__privacy {
  margin-top: 1rem !important;
}

.emmet-credit-modal--install .emmet-consult-modal__form .row.g-3.g-lg-3 {
  --bs-gutter-y: 0.85rem;
}

.emmet-install-plans__pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 6px 4px 5px;
  border: 1px solid #e2e2e8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
  min-height: 0;
  transition:
    border-color 0.12s,
    box-shadow 0.12s,
    background 0.12s;
}

.emmet-install-plans__pick:hover {
  border-color: rgba(245, 196, 0, 0.65);
  background: #fffef6;
}

.emmet-install-plans__pick.is-selected {
  border-color: var(--emmet-accent, #f5c400);
  box-shadow: 0 0 0 2px rgba(245, 196, 0, 0.35);
  background: #fffbea;
}

.emmet-install-plans__pay {
  display: block;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.15;
  color: #1a1a1a;
  word-break: break-word;
}

.emmet-install-plans__pick .emmet-price {
  font-size: inherit;
}

.emmet-install-plans__per {
  font-weight: 700;
  font-size: 0.62rem;
  margin-left: 1px;
}

.emmet-install-plans__dur {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  color: #5c5c66;
  font-weight: 600;
}

.emmet-install-plans__over {
  display: block;
  margin-top: 2px;
  font-size: 0.62rem;
  line-height: 1.25;
  color: #8a8a94;
}

.emmet-credit-modal__facts {
  margin: 0 auto;
  max-width: 32rem;
}

.emmet-credit-modal__fact {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #45454e;
  margin-bottom: 0.45rem;
}

.emmet-credit-modal__fact .fa-circle-check {
  color: #2e9d4f;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.emmet-credit-cart {
  background: #f6f6f8;
  border: 1px solid #e8e8ee;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.emmet-credit-cart__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #45454e;
  margin-bottom: 0.5rem;
}

.emmet-credit-cart__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #ebebef;
}

.emmet-credit-cart__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.emmet-credit-cart__body {
  flex: 1;
  min-width: 0;
}

.emmet-credit-cart__name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1a1a;
}

.emmet-credit-cart__term {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #5c5c66;
}

.emmet-credit-cart__remove {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a8a94;
  cursor: pointer;
  line-height: 1;
}

.emmet-credit-cart__remove:hover {
  background: #ececf0;
  color: #1a1a1a;
}

.emmet-credit-modal button.emmet-credit-continue,
.emmet-credit-continue {
  display: block;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.92rem 1.5rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  margin-top: 1rem;
  margin-bottom: 0.65rem;
  background: linear-gradient(180deg, #f4f4f7 0%, #e8e8ee 55%, #dcdce4 100%);
  color: #1a1a1a !important;
  box-shadow:
    0 10px 28px rgba(26, 26, 26, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background 0.14s ease;
}

.emmet-credit-continue:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #fafafa 0%, #efeff4 55%, #e2e2ea 100%);
  box-shadow:
    0 14px 34px rgba(26, 26, 26, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #1a1a1a;
}

.emmet-credit-modal--install .emmet-consult-submit {
  margin-top: 0.35rem !important;
}

.emmet-consult-modal__dialog {
  max-width: 520px;
}

@media (min-width: 576px) {
  .emmet-consult-modal__dialog {
    max-width: 560px;
  }
}

.emmet-consult-modal__sheet {
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: visible;
}

/* Только background-color: шорткат background затирал SVG-крестик у .btn-close */
.emmet-consult-modal__close.btn-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: rgba(237, 237, 242, 0.98);
  opacity: 1;
  padding: 0;
  box-sizing: border-box;
}

.emmet-consult-modal__close.btn-close:hover {
  background-color: #e0e0e8;
  opacity: 1;
}

.emmet-consult-modal__close.btn-close:focus {
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.35);
}

.emmet-consult-modal__body {
  padding: 2.25rem 1.65rem 2rem;
}

@media (min-width: 576px) {
  .emmet-consult-modal__body {
    padding: 2.5rem 2.15rem 2.35rem;
  }
}

.emmet-consult-modal__logo {
  width: 112px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  border-radius: 18px;
}

.emmet-consult-modal__logo--thanks {
  width: 96px;
  border-radius: 16px;
}

.emmet-consult-modal__title {
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #141414;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.emmet-consult-modal__lead {
  font-size: 0.94rem;
  color: #65656d;
  margin: 0 auto 0.65rem;
  max-width: 26rem;
  line-height: 1.45;
}

.emmet-consult-modal__product-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin: 0 auto 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #ececee;
  line-height: 1.45;
}

.emmet-consult-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.35rem;
}

.emmet-consult-field {
  width: 100%;
  border: 1px solid #e4e4ea;
  background: #f7f7f9;
  border-radius: 14px;
  padding: 0.82rem 1rem;
  font-size: 0.95rem;
  color: #1a1a1a;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.emmet-consult-field::placeholder {
  color: #9b9ba8;
}

.emmet-consult-field:focus {
  outline: none;
  border-color: rgba(245, 196, 0, 0.95);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.22);
}

.emmet-consult-field.is-invalid {
  border-color: #e35d6a;
  background: #fff8f8;
}

.emmet-consult-field--textarea {
  min-height: 108px;
  resize: vertical;
}

.emmet-consult-modal .invalid-feedback {
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}

/* Поля без .form-control — показываем текст ошибки при .is-invalid вручную */
.emmet-consult-modal .emmet-consult-field.is-invalid ~ .invalid-feedback {
  display: block;
}

.min-h-feedback:empty {
  display: none;
}

.emmet-consult-privacy__check .form-check-input {
  width: 1.14rem;
  height: 1.14rem;
  margin-top: 0.12rem;
  border-radius: 6px;
  border-color: #c5c5cf;
  cursor: pointer;
}

.emmet-consult-privacy__check .form-check-input:checked {
  background-color: var(--emmet-accent, #f5c400);
  border-color: #c9a000;
}

.emmet-consult-privacy__check .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.22);
}

.emmet-consult-privacy__label {
  font-size: 0.875rem;
  color: #45454e;
  line-height: 1.45;
  cursor: pointer;
}

.emmet-consult-privacy__link {
  color: #b89400;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.emmet-consult-privacy__link:hover {
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-consult-privacy.is-invalid .form-check-input,
#emmet-consult-privacy.is-invalid {
  border-color: #dc3545;
}

.emmet-consult-privacy__error:not(:empty) {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #dc3545;
}

.emmet-consult-modal button.emmet-consult-submit,
.emmet-consult-submit {
  display: block;
  border: none;
  border-radius: 999px;
  padding: 0.92rem 1.5rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  background: linear-gradient(180deg, #ffe98a 0%, #f5c400 42%, #deb800 100%);
  color: #1a1a1a !important;
  box-shadow:
    0 12px 32px rgba(245, 196, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease;
}

.emmet-consult-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow:
    0 16px 40px rgba(245, 196, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #1a1a1a;
}

.emmet-consult-submit:disabled {
  opacity: 0.88;
  cursor: wait;
}

.emmet-consult-modal__thanks-title {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.emmet-consult-modal__thanks-text {
  font-size: 0.95rem;
  color: #666;
}

.emmet-consult-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.emmet-product-gallery-stage {
  position: relative;
  margin-bottom: 0.75rem;
}

.emmet-product-gallery-swiper {
  overflow: hidden;
  border-radius: 12px;
}

.emmet-product-gallery-slide-link {
  display: block;
  line-height: 0;
}

.emmet-product-gallery .img-thumbnail,
.emmet-product-gallery-slide-img {
  border-radius: 12px;
  margin-bottom: 0;
}

.emmet-product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.94);
  color: #1a1a1a;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.emmet-product-gallery-nav:hover,
.emmet-product-gallery-nav:focus-visible {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.emmet-product-gallery-nav--prev {
  left: 10px;
}

.emmet-product-gallery-nav--next {
  right: 10px;
}

.emmet-product-gallery-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.emmet-product-gallery-nav i {
  font-size: 0.95rem;
  line-height: 1;
  pointer-events: none;
}

.emmet-product-gallery-thumbs-swiper {
  overflow: hidden;
  margin-top: 0.25rem;
}

.emmet-product-gallery-thumbs .swiper-slide {
  width: auto;
  max-width: 88px;
}

.emmet-product-gallery-thumb-btn {
  display: block;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  line-height: 0;
  cursor: pointer;
  transition: border-color 0.18s ease, opacity 0.18s ease;
}

.emmet-product-gallery-thumb-btn img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 6px;
}

.emmet-product-gallery-thumbs .swiper-slide-thumb-active .emmet-product-gallery-thumb-btn {
  border-color: var(--emmet-shop-yellow, #f5c400);
}

@media (max-width: 575.98px) {
  .emmet-product-gallery-nav {
    width: 36px;
    height: 36px;
  }

  .emmet-product-gallery-nav--prev {
    left: 6px;
  }

  .emmet-product-gallery-nav--next {
    right: 6px;
  }

  .emmet-product-gallery-thumb-btn img {
    width: 64px;
    height: 64px;
  }
}

/* ——— Страница товара: похожие товары (Swiper, те же опоры что у featured) ——— */
.emmet-product-related {
  margin-top: 1.5rem;
}

.emmet-related-title {
  margin-top: 0.5rem;
}

/* Низ страницы товара: два столбца + преимущества */
.emmet-product-legal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid var(--emmet-top-border, #e8e8e8);
  font-size: 13px;
  line-height: 1.55;
  color: var(--emmet-muted, #5c5c5c);
}

.emmet-product-legal__columns {
  margin-bottom: 1rem;
}

.emmet-product-legal__block {
  margin-bottom: 0;
  height: 100%;
}

.emmet-product-legal__label {
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-product-legal__list {
  margin: 0;
  padding-left: 1.15rem;
}

.emmet-product-legal__list li {
  margin-bottom: 0.35rem;
}

.emmet-product-legal__benefits {
  margin-top: 1rem;
  padding-top: 1rem;
  padding-left: 0;
  border-top: 1px solid #f0f0f0;
}

.emmet-product-legal__benefits li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
}

.emmet-product-legal__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emmet-accent-ink, #1a1a1a);
  opacity: 0.35;
}

/* Карточка товара: описание уценки */
.emmet-product-clearance-note {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(245, 196, 0, 0.45);
  background: linear-gradient(180deg, rgba(255, 248, 220, 0.95) 0%, rgba(255, 252, 235, 0.9) 100%);
  color: var(--emmet-accent-ink, #1a1a1a);
}

.emmet-product-clearance-note__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.emmet-product-clearance-note__title .fa-tag {
  color: #c99700;
}

.emmet-product-clearance-note__body {
  font-size: 0.875rem;
  line-height: 1.45;
}

.emmet-product-clearance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5c4200;
  background: linear-gradient(180deg, #ffe566 0%, #f5c400 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(245, 196, 0, 0.35);
}

.emmet-product-clearance-badge--modal {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.emmet-product-clearance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.emmet-product-clearance-link {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.2;
}

.emmet-product-clearance-link--all {
  color: #5c4200;
  background: rgba(245, 196, 0, 0.12);
  border-color: rgba(245, 196, 0, 0.5);
}

.emmet-product-clearance-link--all:hover,
.emmet-product-clearance-link--all:focus-visible {
  color: #5c4200;
  background: rgba(245, 196, 0, 0.2);
}

.emmet-product-clearance-link--source {
  color: #0b4f8a;
  background: #e7f2ff;
  border-color: rgba(11, 79, 138, 0.4);
}

.emmet-product-clearance-link--source:hover,
.emmet-product-clearance-link--source:focus-visible {
  color: #0b4f8a;
  background: #d7e9ff;
}

.emmet-product-clearance-price-banner {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(245, 196, 0, 0.5);
  background: linear-gradient(135deg, rgba(255, 248, 214, 0.95) 0%, rgba(255, 252, 235, 0.9) 100%);
}

.emmet-product-clearance-price-main {
  color: #9a3b00;
}

.emmet-product-clearance-price-label {
  font-size: 0.8rem;
  color: #6b5a20;
  margin-top: 0.25rem;
}

.emmet-product-clearance-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  background: linear-gradient(180deg, #ffe566 0%, #f5c400 55%, #e8b800 100%);
  box-shadow: 0 8px 22px rgba(245, 196, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  cursor: pointer;
}

.emmet-product-clearance-cta:hover,
.emmet-product-clearance-cta:focus-visible {
  color: #1a1a1a;
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(245, 196, 0, 0.55);
}

.emmet-product-clearance-cta--sidebar {
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
}

a.emmet-product-clearance-cta--link {
  text-decoration: none;
}

.emmet-product-clearance-note--modal {
  margin-bottom: 0;
}

.emmet-clearance-modal__price .price-new {
  color: #9a3b00;
}

/* Страница категории: подкатегории плиткой */
#product-category .emmet-subcat-grid__title {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--emmet-accent-ink, #1a1a1a);
}

#product-category .emmet-subcat-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: var(--emmet-accent-ink, #1a1a1a);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#product-category .emmet-subcat-tile:hover {
  border-color: rgba(245, 196, 0, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  color: var(--emmet-accent-ink, #1a1a1a);
}

#product-category .emmet-subcat-tile__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#product-category .emmet-subcat-tile__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.35rem;
  image-rendering: -webkit-optimize-contrast;
}

#product-category .emmet-subcat-tile__placeholder {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  color: #c8c8c8;
  line-height: 1;
}

#product-category .emmet-subcat-tile__caption {
  display: block;
  padding: 0.65rem 0.75rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  border-top: 1px solid #f2f2f2;
  flex: 1 1 auto;
}

@media (min-width: 768px) {
  #product-category .emmet-subcat-tile__caption {
    font-size: 0.875rem;
    padding: 0.75rem 0.85rem 0.85rem;
  }
}

/* Отложенная отрисовка категории: скелеты сайдбара и кнопок */
.emmet-skel-sidebar-wrap {
  padding: 0.75rem 0;
}
.emmet-skel-block {
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}
.emmet-skel-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ececec 0%, #f5f5f5 50%, #ececec 100%);
  background-size: 200% 100%;
  animation: emmetSkelShimmer 1.1s ease-in-out infinite;
  margin-bottom: 0.65rem;
}
.emmet-skel-line:last-child {
  margin-bottom: 0;
}
.emmet-skel-line--lg {
  height: 16px;
  width: 55%;
  margin-bottom: 1rem;
}
.emmet-skel-line--short {
  width: 70%;
}

/* Скелет сайдбара категории: одна карточка на всю ширину колонки (без «двух столбцов»). */
.emmet-skel-sidebar-wrap--catalog-pending {
  width: 100%;
  min-width: 0;
}

.emmet-skel-block--filter-pending {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Скелет категории: несколько «карточек» на всю ширину колонки, высокий блок ожидания */
.emmet-skel-sidebar-panel {
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 12px;
  padding: 0.85rem 1rem 1rem;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}
.emmet-skel-sidebar-panel + .emmet-skel-sidebar-panel {
  margin-top: 0.75rem;
}
.emmet-skel-sidebar-panel--dense {
  padding-top: 0.72rem;
}
.emmet-skel-sidebar-panel__head {
  height: 14px;
  width: 42%;
  max-width: 200px;
  border-radius: 7px;
  margin-bottom: 0.9rem;
  background: linear-gradient(90deg, #e2e2e2 0%, #f4f4f4 42%, #e2e2e2 100%);
  background-size: 200% 100%;
  animation: emmetSkelShimmer 1.15s ease-in-out infinite;
}
.emmet-skel-sidebar-panel__head--narrow {
  width: 30%;
  max-width: 140px;
}

@media (min-width: 768px) {
  .emmet-catalog-sidebar-root.emmet-column-left--pending .offcanvas-body {
    width: 100%;
    max-width: 100%;
  }
  .emmet-skel-sidebar-wrap--catalog-pending {
    min-height: min(70vh, 540px);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .emmet-catalog-sidebar-root.emmet-column-left--pending .emmet-catalog-offcanvas.offcanvas-md.offcanvas-start {
    min-height: min(70vh, 540px);
  }
}

.emmet-skel-line--action {
  height: 40px;
  width: 100%;
  max-width: 100%;
  margin-top: 0.35rem;
  margin-bottom: 0;
  border-radius: 10px;
}

@keyframes emmetSkelShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.emmet-thumb__mini-actions--skel {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
.emmet-skel-btn {
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(90deg, #e8e8e8 0%, #f2f2f2 50%, #e8e8e8 100%);
  background-size: 200% 100%;
  animation: emmetSkelShimmer 1.1s ease-in-out infinite;
}
.emmet-thumb__cartform--skel {
  margin-top: 0.5rem;
}
.emmet-skel-cartbtn {
  display: block;
  width: 100%;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(90deg, #dde7f5 0%, #e8eef8 50%, #dde7f5 100%);
  background-size: 200% 100%;
  animation: emmetSkelShimmer 1.1s ease-in-out infinite;
}

.emmet-product-sidebar--pending .emmet-product-sidebar-skel {
  min-height: 240px;
}

.emmet-product-defer-skel {
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.emmet-product-defer-ph {
  height: 200px;
  border-radius: 12px;
  background: linear-gradient(90deg, #ececec 0%, #f6f6f6 50%, #ececec 100%);
  background-size: 200% 100%;
  animation: emmetSkelShimmer 1.1s ease-in-out infinite;
}

.emmet-product-defer-ph--wide {
  height: 260px;
  width: 100%;
}

.emmet-product-gallery-thumbs-skel {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding: 2px 0;
}

.emmet-product-gallery-thumb-skel {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ececec 0%, #f6f6f6 50%, #ececec 100%);
  background-size: 200% 100%;
  animation: emmetSkelShimmer 1.1s ease-in-out infinite;
}

.emmet-product-tab-skel {
  min-height: 120px;
}

.emmet-product-buy-skel {
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #fff;
}

.emmet-product-buy-skel__btn {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 40px;
  border-radius: 10px;
}

.emmet-product-buy-skel__btn--sm {
  max-width: 160px;
  height: 34px;
}

.emmet-product-buy-skel__cart-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.emmet-product-buy-skel__qty {
  flex: 0 0 72px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ececec 0%, #f6f6f6 50%, #ececec 100%);
  background-size: 200% 100%;
  animation: emmetSkelShimmer 1.1s ease-in-out infinite;
}

.emmet-product-buy-skel__btn--cart {
  flex: 1 1 auto;
  max-width: none;
  height: 48px;
}

.emmet-pay-cards-skel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 4px 0;
}

.emmet-pay-cards-skel-item {
  width: 100%;
  height: 76px;
}

@media (max-width: 991.98px) {
  .emmet-pay-cards-skel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* YouTube embed: на всю ширину вкладки, 16:9 (широкий блок, не «квадрат» в узкой колонке) */
.emmet-youtube-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 12px;
  background: #0f0f0f;
}
.emmet-youtube-embed__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Кнопка «Смотреть видео» у блока покупки */
.emmet-product-video-cta {
  color: #fff;
  font-weight: 600;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #e53935 0%, #c62828 48%, #b71c1c 100%);
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.emmet-product-video-cta:hover {
  color: #fff;
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(198, 40, 40, 0.45);
}
.emmet-product-video-cta:active {
  transform: translateY(1px);
}

#emmet-product-video-anchor {
  scroll-margin-top: 5.5rem;
}

/* Скелет поверх блока «В корзину» до product.deferred */
.emmet-product-buy-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 12px;
  background: #fff;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.emmet-product-buy-overlay.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.emmet-product-buy-overlay__inner {
  height: 100%;
  box-sizing: border-box;
}

/* Скелет поверх таблицы характеристик (кратко, до idle) */
.emmet-product-spec-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #fff;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.emmet-product-spec-overlay.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.emmet-product-spec-lead {
  font-size: 1rem;
  line-height: 1.45;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ececec;
  background: linear-gradient(180deg, #fffef6 0%, #fff 55%);
}
.emmet-product-spec-lead__label {
  margin-right: 0.35rem;
  color: var(--emmet-muted, #5c5c5c);
  font-weight: 600;
}

.emmet-product-related--empty {
  border: 1px solid var(--emmet-top-border, #e8e8e8);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: #fafafa;
}

/* Рейтинг в блоке покупки */
.emmet-product-buy__rating--btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.emmet-product-buy__rating--btn:hover {
  border-color: rgba(255, 204, 0, 0.4);
  background: #fff9e6;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
  transform: translateY(-1px);
}

.emmet-product-buy__rating--btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.emmet-product-buy__rating-stars {
  display: inline-flex;
  gap: 1px;
}

.emmet-rating-star {
  font-size: 0.9rem;
}

.emmet-rating-star--filled {
  color: var(--emmet-yellow, #ffcc00);
}

.emmet-rating-star--empty {
  color: #e2e3e5;
}

.emmet-product-buy__rating-count {
  white-space: nowrap;
}

.emmet-product-buy__rating-avg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.18);
  color: #6a4b00;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Звёзды оценки: слева «плохо» (1) → справа «отлично» (5) */
.emmet-review-stars--ltr,
.emmet-review-stars--ltr.emmet-store-review-stars {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.25rem;
}

.emmet-review-stars--ltr .emmet-review-stars__label,
.emmet-review-stars--ltr .emmet-store-review-stars__label {
  cursor: pointer;
  margin: 0;
  line-height: 1;
}

.emmet-review-stars--ltr .emmet-review-stars__input,
.emmet-review-stars--ltr .emmet-store-review-stars__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.emmet-review-stars--ltr .emmet-review-stars__icon,
.emmet-review-stars--ltr .emmet-store-review-stars__icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  color: #ddd;
  transition: color 0.15s ease;
}

.emmet-review-stars--ltr .emmet-review-stars__label:hover .emmet-review-stars__icon,
.emmet-review-stars--ltr .emmet-review-stars__label:has(~ .emmet-review-stars__label:hover) .emmet-review-stars__icon,
.emmet-review-stars--ltr .emmet-review-stars__label:has(~ .emmet-review-stars__label .emmet-review-stars__input:checked) .emmet-review-stars__icon,
.emmet-review-stars--ltr .emmet-review-stars__label:has(.emmet-review-stars__input:checked) .emmet-review-stars__icon,
.emmet-review-stars--ltr .emmet-store-review-stars__label:hover .emmet-store-review-stars__icon,
.emmet-review-stars--ltr .emmet-store-review-stars__label:has(~ .emmet-store-review-stars__label:hover) .emmet-store-review-stars__icon,
.emmet-review-stars--ltr .emmet-store-review-stars__label:has(~ .emmet-store-review-stars__label .emmet-store-review-stars__input:checked) .emmet-store-review-stars__icon,
.emmet-review-stars--ltr .emmet-store-review-stars__label:has(.emmet-store-review-stars__input:checked) .emmet-store-review-stars__icon {
  color: var(--emmet-yellow, #ffcc00);
}

.emmet-review-stars__hint,
.emmet-store-review-stars__hint {
  display: flex;
  justify-content: space-between;
  max-width: 12rem;
  margin-top: 0.25rem;
}

/* Плашка после отправки отзыва на товаре */
.emmet-product-review-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

.emmet-product-review-notice[hidden] {
  display: none !important;
}

.emmet-product-review-notice--success {
  background: #e8f5e9;
  border: 1px solid #81c784;
  color: #1b5e20;
}

.emmet-product-review-notice--error {
  background: #ffebee;
  border: 1px solid #e57373;
  color: #b71c1c;
}

.emmet-product-review-notice .fa-solid {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Доп. SEO-описание (не затирается импортом, т.к. хранится отдельно) */
.emmet-seo-extra {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.emmet-seo-extra h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* Список отзывов на странице товара */
.emmet-product-review-list {
  margin-bottom: 2rem;
}

.emmet-product-review-list .table {
  border-radius: 14px;
  overflow: hidden;
  border-color: #f1f3f5;
}

.emmet-product-review-list .table > :not(caption) > * > * {
  padding: 0.85rem 1rem;
}

.emmet-product-review-list .table tbody tr:nth-child(2n+1) {
  background-color: #fcfcfd;
}

.emmet-product-review-list .table tbody tr:nth-child(2n) {
  background-color: #ffffff;
}

.emmet-product-review-list .table td {
  vertical-align: top;
}

.emmet-product-review-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 0.25rem;
}

.emmet-product-review-form textarea#input-text {
  border-radius: 12px;
  min-height: 150px;
}

.emmet-product-review-form .form-control,
.emmet-product-review-form .btn {
  border-radius: 10px;
}
