/* «Покупают вместе» на странице товара (2026-11-29) */
.bt { position: relative; margin-top: 36px !important; margin-bottom: 36px !important; }
.bt__head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.bt__titles { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bt__title { margin: 0 !important; color: #0a2540; font-family: 'Metall Bold', 'Montserrat', sans-serif; font-size: 26px !important; line-height: 1.2; }
.bt__sub { color: #8a94a6; font-size: 14px; }
.bt__more {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 16px !important; margin: 0 !important;
  border: 1.5px solid #12355f !important; border-radius: 999px !important; background: #fff !important; color: #12355f !important;
  font-size: 13.5px !important; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap;
}
.bt__more b { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #eef3fa; color: #12355f; font-size: 12px; }
.bt__more::after { content: '\2192'; }
.bt__more:hover { background: #12355f !important; color: #fff !important; }
.bt__more:hover b { background: rgba(255, 255, 255, .2); color: #fff; }
.bt__nav { display: flex; gap: 8px; margin-left: auto; }
.bt__arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0 !important;
  border: 1px solid #e3e9f1 !important; border-radius: 50% !important; background: #fff !important; color: #12355f !important; cursor: pointer;
  box-shadow: 0 4px 12px rgba(18, 53, 95, .08); transition: background .2s, color .2s, opacity .2s;
}
.bt__arrow:hover:not(:disabled) { background: #12355f !important; color: #fff !important; }
.bt__arrow:disabled { opacity: .35; cursor: default; }
.bt--static .bt__nav { display: none; }
.bt__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px;
  scrollbar-width: none;
}
.bt__track::-webkit-scrollbar { display: none; }
.bt__slide { flex: 0 0 280px; scroll-snap-align: start; }
.bt__slide > .cat_grid_card { height: 100%; margin: 0 !important; }

/* боковая панель */
.bt-overlay {
  position: fixed; inset: 0; z-index: 2147483600; background: rgba(10, 37, 64, .35); opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.bt-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 2147483601; display: flex; flex-direction: column; width: 420px; max-width: 100vw;
  background: #fff; outline: none; transform: translateX(100%); transition: transform .38s cubic-bezier(.2, .8, .2, 1); font-size: 14px; color: #1f2937;
}
html.bt-open { overflow: hidden; }
html.bt-open .bt-overlay { opacity: 1; visibility: visible; }
html.bt-open .bt-drawer { transform: none; box-shadow: -24px 0 60px rgba(10, 37, 64, .2); }
@media (min-width: 761px) {
  body { transition: margin .38s cubic-bezier(.2, .8, .2, 1); }
  html.bt-open body { margin-left: calc(var(--mc-shift, 420px) * -1); margin-right: var(--mc-shift, 420px); }
  html.bt-open header.header { transform: translateX(calc(var(--mc-shift, 420px) * -1)); }
}
html.bt-open jdiv, html.bt-open #jivo-iframe-container, html.bt-open #fab-wrap, html.bt-open .ms-totop { display: none !important; }
.bt-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px 12px 22px; border-bottom: 1px solid #eef1f6; }
.bt-drawer__title { color: #0a2540; font-family: 'Metall Bold', 'Montserrat', sans-serif; font-size: 20px; line-height: 1.15; }
.bt-drawer__sub { margin-top: 2px; color: #8a94a6; font-size: 12.5px; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.bt-drawer__close { flex: 0 0 36px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0 !important; border: 0 !important; border-radius: 10px !important; background: #f3f6fa !important; color: #0a2540 !important; cursor: pointer; }
.bt-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 6px 14px 16px; }
.bt-item { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid #f1f4f8; }
.bt-item__img { flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid #eef1f6; border-radius: 10px; background: #fff; overflow: hidden; }
.bt-item__img img { width: 100%; height: 100%; object-fit: contain; }
.bt-item__body { flex: 1 1 auto; min-width: 0; }
.bt-item__name { display: -webkit-box; overflow: hidden; color: #111827 !important; font-size: 13.5px; font-weight: 600; line-height: 1.3; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bt-item__name:hover { color: #12355f !important; }
.bt-item__price { margin-top: 4px; color: #64748b; font-size: 12.5px; }
.bt-item__price b { color: #0a2540; font-size: 14px; }
.bt-item__cart {
  flex: 0 0 auto; height: 34px; padding: 0 12px !important; border: 0 !important; border-radius: 8px !important; background: #12355f !important;
  color: #fff !important; font-size: 12.5px !important; cursor: pointer; transition: background .2s, opacity .2s;
}
.bt-item__cart:hover { background: #0a2540 !important; }
.bt-item__cart.is-in { background: #16a34a !important; }
.bt-item__cart.is-busy { opacity: .6; }
@media (max-width: 760px) {
  .bt__head { flex-wrap: wrap; gap: 10px; }
  .bt__title { font-size: 21px !important; }
  .bt__nav { display: none; }
  .bt__slide { flex-basis: 78%; }
}
.bt__sub { display: none !important; }
/* перетаскивание каруселей мышью */
.bt__track { cursor: grab; user-select: none; }
.bt__track.is-grab { cursor: grabbing; }
.bt__track.is-grab * { pointer-events: none; }
.bt__track img { -webkit-user-drag: none; }
#rvBlock[hidden] { display: none !important; }
/* «Посмотреть ещё» — под заголовком, без рамки (2026-11-29) */
.bt__head { flex-wrap: wrap; row-gap: 4px; }
.bt__titles { flex: 1 1 100%; order: 1; }
.bt__more { order: 2; height: auto !important; padding: 0 !important; border: 0 !important; background: none !important; color: #1f5fbf !important; }
.bt__more:hover { background: none !important; color: #12355f !important; text-decoration: underline; }
.bt__more b { background: #eef3fa; }
.bt__more:hover b { background: #eef3fa; color: #12355f; }
.bt__nav { order: 3; margin-top: -40px; }
/* преимущества на странице товара */
.pa { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 30px !important; margin-bottom: 10px !important; }
.pa__item { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid #e7ecf3; border-radius: 16px; background: linear-gradient(135deg, #f7f9fc, #fff); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pa__item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(18, 53, 95, .1); border-color: #c9d6e8; }
.pa__ico { flex: 0 0 46px; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: #12355f; color: #fff; }
.pa__item:hover .pa__ico { background: linear-gradient(135deg, #ff9a3c, #ff6a00); }
.pa__item b { display: block; color: #0a2540; font-size: 14.5px; line-height: 1.25; }
.pa__item span:not(.pa__ico) { display: block; margin-top: 2px; color: #8a94a6; font-size: 12.5px; line-height: 1.3; }
@media (max-width: 1200px) { .pa { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .pa { grid-template-columns: 1fr 1fr; } .bt__nav { margin-top: 0; } }
/* преимущества на странице товара v2 (2026-11-29): тёмная полоса */
.pr-adv {
  position: relative; display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; overflow: hidden; isolation: isolate;
  margin-top: 40px !important; margin-bottom: 20px !important; padding: 26px 10px !important; border-radius: 24px; color: #fff;
  background: radial-gradient(500px 220px at 90% 0%, rgba(255,138,31,.22), transparent 60%), linear-gradient(135deg, #0a2540 0%, #12355f 60%, #1b4a82 100%);
  box-shadow: 0 20px 50px rgba(10,37,64,.22);
}
.pr-adv::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%); mask-image: linear-gradient(90deg, #000, transparent 80%); }
.pr-adv__item { display: flex; align-items: center; gap: 14px; padding: 6px 18px; border-left: 1px solid rgba(255,255,255,.14); }
.pr-adv__item:first-child { border-left: 0; }
.pr-adv__ico { flex: 0 0 50px; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, #ff9a3c, #ff6a00); color: #fff; box-shadow: 0 10px 22px rgba(255,106,0,.35); transition: transform .3s; }
.pr-adv__item:hover .pr-adv__ico { transform: rotate(-8deg) scale(1.08); }
.pr-adv__item b { display: block; color: #fff; font-family: "Metall Bold", "Montserrat", sans-serif; font-size: 15px; line-height: 1.2; }
.pr-adv__item span:not(.pr-adv__ico) { display: block; margin-top: 3px; color: rgba(255,255,255,.68); font-size: 12.5px; line-height: 1.3; }
@media (max-width: 1200px) { .pr-adv { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; } .pr-adv__item:nth-child(4) { border-left: 0; } }
@media (max-width: 700px) { .pr-adv { grid-template-columns: 1fr 1fr; padding: 20px 6px !important; } .pr-adv__item { border-left: 0; padding: 6px 12px; } .pr-adv__ico { flex-basis: 42px; width: 42px; height: 42px; } }
