@charset "UTF-8";

/* =========================================================
   BUENOBAG V5.0 — CORE / HEADER / HOME
   Единственный актуальный слой дизайна магазина
========================================================= */

:root {
  --bb-teal: #087f79;
  --bb-teal-dark: #075e5a;
  --bb-teal-soft: #e6f4f1;
  --bb-ink: #171b1b;
  --bb-ink-soft: #2b3231;
  --bb-muted: #667170;
  --bb-cream: #faf8f3;
  --bb-sand: #eee6d8;
  --bb-cognac: #a9633e;
  --bb-white: #ffffff;
  --bb-line: #dfe6e3;
  --bb-success: #247a51;
  --bb-radius-sm: 10px;
  --bb-radius: 18px;
  --bb-radius-lg: 28px;
  --bb-shadow-sm: 0 8px 24px rgba(23, 27, 27, .07);
  --bb-shadow: 0 18px 50px rgba(23, 27, 27, .10);
  --bb-shadow-lg: 0 30px 80px rgba(9, 62, 59, .15);
  --bb-shell: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bb-white);
  color: var(--bb-ink);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  transition: color .2s ease, background .2s ease,
    border-color .2s ease, transform .2s ease;
}

a:hover,
a:focus {
  color: var(--bb-teal-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(8, 127, 121, .28);
  outline-offset: 3px;
}

.bb-shell {
  width: min(calc(100% - 40px), var(--bb-shell));
  margin-inline: auto;
}

.price-tax {
  display: none !important;
}

/* ---------- HEADER ---------- */

.bb-utility {
  display: none !important;
}

.bb-main-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 78px;
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid rgba(223, 230, 227, .9);
  box-shadow: 0 5px 22px rgba(23, 27, 27, .05);
  backdrop-filter: blur(16px);
}

.bb-header-grid {
  display: grid !important;
  grid-template-columns: 205px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}

.bb-brand > a {
  display: inline-flex;
  align-items: center;
  color: var(--bb-ink);
  text-decoration: none;
}

.bb-logo {
  display: none !important;
}

.bb-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.bb-wordmark-main {
  color: var(--bb-ink);
  font-size: 29px;
  font-weight: 850;
  letter-spacing: -1.6px;
}

.bb-wordmark-main > span {
  color: var(--bb-teal);
}

.bb-wordmark-sub {
  margin-top: 7px;
  color: var(--bb-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.bb-search-label {
  margin: 0 0 5px;
  color: var(--bb-muted);
  font-size: 11px;
  font-weight: 650;
}

.bb-search-wrap #search {
  display: flex;
  width: 100%;
}

.bb-search-wrap #search .form-control {
  height: 47px;
  padding: 0 18px;
  background: #f6f8f7;
  border: 1px solid var(--bb-line);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  box-shadow: none;
  color: var(--bb-ink);
  font-size: 14px;
}

.bb-search-wrap #search .form-control:focus {
  background: var(--bb-white);
  border-color: var(--bb-teal);
  box-shadow: 0 0 0 4px rgba(8, 127, 121, .10);
}

.bb-search-wrap #search .btn {
  width: 54px;
  height: 47px;
  padding: 0;
  background: var(--bb-teal) !important;
  border: 1px solid var(--bb-teal) !important;
  border-radius: 0 12px 12px 0;
  color: var(--bb-white) !important;
  font-size: 16px;
}

.bb-search-wrap #search .btn:hover {
  background: var(--bb-teal-dark) !important;
}

.bb-header-actions {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.bb-head-action {
  display: inline-flex !important;
  min-width: 70px;
  min-height: 47px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 12px;
  color: var(--bb-ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.bb-head-action:hover {
  background: var(--bb-teal-soft);
  color: var(--bb-teal-dark);
}

.bb-head-action i {
  font-size: 18px;
}

.bb-cart-action {
  min-width: 164px;
}

.bb-cart-action #cart > .btn {
  min-height: 47px;
  padding: 0 16px;
  background: var(--bb-ink) !important;
  border: 1px solid var(--bb-ink) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: var(--bb-white) !important;
  font-size: 12px;
  font-weight: 750;
}

.bb-cart-action #cart > .btn:hover {
  background: var(--bb-teal-dark) !important;
  border-color: var(--bb-teal-dark) !important;
}

.bb-cart-action .dropdown-menu {
  width: 320px;
  padding: 18px;
  border: 1px solid var(--bb-line);
  border-radius: 15px;
  box-shadow: var(--bb-shadow);
}

/* ---------- CATEGORY NAV ---------- */

.bb-category-nav {
  position: relative;
  z-index: 90;
  background: var(--bb-white) !important;
  border-bottom: 1px solid var(--bb-line);
}

.bb-category-nav .navbar {
  min-height: 45px;
  margin: 0;
  border: 0;
}

.bb-category-nav .navbar-nav {
  display: flex;
  width: 100%;
  float: none;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.bb-category-nav .navbar-nav > li {
  float: none;
}

.bb-category-nav .navbar-nav > li > a {
  padding: 13px 15px;
  color: var(--bb-ink-soft) !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.bb-category-nav .navbar-nav > li > a:hover {
  background: var(--bb-teal-soft) !important;
  color: var(--bb-teal-dark) !important;
}

/* ---------- TRUST LINE ---------- */

.bb-trustline {
  min-height: 36px;
  background: #f0f7f5 !important;
  border-bottom: 1px solid #dcebe7;
}

.bb-trustline-inner {
  display: flex !important;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 72px);
  color: #40514f;
  font-size: 12px;
  font-weight: 650;
}

.bb-trustline-inner span,
.bb-trustline-inner a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.bb-trustline-inner i {
  color: var(--bb-teal);
}

.bb-trust-charity i {
  color: var(--bb-cognac);
}

/* ---------- HOME ORDER ---------- */

.bb-market-home {
  display: flex;
  overflow: hidden;
  flex-direction: column;
}

.bb-v4-hero { order: 1; }
.bb-products-section { order: 2; }
.bb-mp-section { order: 3; }
.bb-editorial { order: 4; }
.bb-picker { order: 5; }
.bb-charity { order: 6; }

/* ---------- HERO ---------- */

.bb-v4-hero {
  position: relative;
  padding: 54px 0 62px;
  background:
    radial-gradient(circle at 82% 24%, rgba(8, 127, 121, .14), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(169, 99, 62, .08), transparent 27%),
    linear-gradient(135deg, #fff 0%, var(--bb-cream) 62%, #edf7f4 100%) !important;
  border-bottom: 1px solid var(--bb-line);
}

.bb-v4-hero-grid {
  display: grid !important;
  width: min(calc(100% - 40px), var(--bb-shell));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.bb-v4-kicker,
.bb-small-label,
.bb-cat-label,
.bb-pdp-select,
.bb-product-type {
  color: var(--bb-teal-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.bb-v4-copy h1 {
  max-width: 720px;
  margin: 19px 0 22px;
  color: var(--bb-ink);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 850;
  letter-spacing: -3.5px;
  line-height: .98;
}

.bb-v4-copy h1 em {
  color: var(--bb-teal);
  font-style: normal;
}

.bb-v4-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--bb-muted);
  font-size: 18px;
  line-height: 1.7;
}

.bb-v4-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bb-v4-primary,
.bb-v4-secondary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.bb-v4-primary {
  background: var(--bb-teal) !important;
  border: 1px solid var(--bb-teal);
  color: var(--bb-white) !important;
  box-shadow: 0 12px 28px rgba(8, 127, 121, .19);
}

.bb-v4-primary:hover {
  background: var(--bb-teal-dark) !important;
  transform: translateY(-2px);
}

.bb-v4-secondary {
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--bb-line);
  color: var(--bb-ink) !important;
}

.bb-v4-secondary:hover {
  background: var(--bb-white);
  border-color: var(--bb-teal);
}

.bb-v4-promises {
  display: flex;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--bb-line);
  gap: clamp(24px, 4vw, 48px);
}

.bb-v4-promises > div {
  display: flex;
  flex-direction: column;
}

.bb-v4-promises strong {
  color: var(--bb-ink);
  font-size: 21px;
  font-weight: 850;
}

.bb-v4-promises span {
  margin-top: 2px;
  color: var(--bb-muted);
  font-size: 11px;
}

.bb-v4-product-stage {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: rgba(255, 255, 255, .88) !important;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--bb-radius-lg);
  box-shadow: var(--bb-shadow-lg);
}

.bb-v4-product-stage::before {
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(8, 127, 121, .10);
  border-radius: 50%;
  content: "";
  right: -80px;
  top: -90px;
}

.bb-v4-product-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 8px 11px;
  background: var(--bb-teal-soft);
  border-radius: 8px;
  color: var(--bb-teal-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.3px;
}

.bb-v4-hero-product {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  margin: 12px 0 18px;
  background: linear-gradient(145deg, #f2ebdf, #e8ddcc);
  border-radius: 18px;
}

.bb-v4-hero-product img {
  width: min(88%, 430px);
  max-height: 315px;
  object-fit: contain;
  transition: transform .35s ease;
}

.bb-v4-product-stage:hover .bb-v4-hero-product img {
  transform: translateY(-5px) scale(1.02);
}

.bb-v4-hero-caption {
  position: relative;
  z-index: 2;
}

.bb-v4-hero-caption strong {
  display: block;
  margin-top: 4px;
  color: var(--bb-ink);
  font-size: 20px;
}

.bb-v4-price {
  float: right;
  color: var(--bb-ink);
  font-size: 20px;
  font-weight: 850;
}

.bb-v4-view {
  display: inline-flex;
  margin-top: 13px;
  color: var(--bb-teal-dark);
  font-size: 13px;
  font-weight: 800;
}

/* ---------- COMMON HOME SECTIONS ---------- */

.bb-products-section,
.bb-mp-section,
.bb-editorial {
  padding: 72px 0;
}

.bb-products-section {
  background: var(--bb-white);
}

.bb-mp-section {
  background: var(--bb-cream);
}

.bb-mp-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.bb-mp-title-row h2,
.bb-products-section h2,
.bb-editorial h2 {
  margin: 7px 0 0;
  color: var(--bb-ink);
  font-size: clamp(30px, 3vw, 45px);
  font-weight: 820;
  letter-spacing: -1.8px;
  line-height: 1.08;
}

.bb-all-products {
  color: var(--bb-teal-dark);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* Home product cards */

.bb-products-section .row {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bb-products-section .product-layout {
  width: auto !important;
  padding: 0;
  float: none;
}

.bb-products-section .product-thumb {
  overflow: hidden;
  height: 100%;
  margin: 0;
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: 18px;
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease,
    border-color .25s ease;
}

.bb-products-section .product-thumb:hover {
  border-color: #cbd9d5;
  box-shadow: var(--bb-shadow);
  transform: translateY(-5px);
}

.bb-products-section .product-thumb .image {
  display: flex;
  height: 245px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--bb-cream);
}

.bb-products-section .product-thumb .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bb-products-section .product-thumb .caption {
  min-height: 205px;
  padding: 20px;
}

.bb-products-section .product-thumb h4 {
  min-height: 45px;
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.bb-products-section .product-thumb .caption > p:not(.price) {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  color: var(--bb-muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bb-products-section .product-thumb .price {
  margin: 17px 0 0;
  color: var(--bb-ink);
  font-size: 20px;
  font-weight: 850;
}

.bb-products-section .product-thumb .button-group {
  display: grid;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--bb-line);
  grid-template-columns: 1fr 48px 48px;
}

.bb-products-section .product-thumb .button-group button {
  min-height: 50px;
  background: var(--bb-white);
  border: 0;
  border-right: 1px solid var(--bb-line);
  color: var(--bb-ink);
  font-size: 12px;
  font-weight: 800;
}

.bb-products-section .product-thumb .button-group button:first-child {
  background: var(--bb-teal);
  color: var(--bb-white);
}

.bb-products-section .product-thumb .button-group button:hover {
  background: var(--bb-teal-dark);
  color: var(--bb-white);
}

/* Category choices */

.bb-mp-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bb-mpcard {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 210px;
  flex-direction: column;
  padding: 26px;
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: 18px;
}

.bb-mpcard:hover {
  border-color: rgba(8, 127, 121, .45);
  box-shadow: var(--bb-shadow-sm);
  transform: translateY(-3px);
}

.bb-mpcard::after {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--bb-teal-soft);
  border-radius: 50%;
  content: "";
  right: -50px;
  bottom: -54px;
}

.bb-mp-num {
  color: var(--bb-teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 1px;
}

.bb-mpcard h3 {
  max-width: 270px;
  margin: 26px 0 9px;
  color: var(--bb-ink);
  font-size: 22px;
  font-weight: 820;
  line-height: 1.15;
}

.bb-mpcard p {
  max-width: 270px;
  color: var(--bb-muted);
  font-size: 13px;
}

.bb-mpcard > span:last-of-type {
  margin-top: auto;
  color: var(--bb-teal-dark);
  font-size: 13px;
  font-weight: 800;
}

/* Editorial */

.bb-editorial {
  background: var(--bb-ink);
  color: var(--bb-white);
}

.bb-editorial h2 {
  max-width: 760px;
  color: var(--bb-white);
}

.bb-editorial .bb-small-label {
  color: #8ed5cf;
}

.bb-editorial-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  overflow: hidden;
}

.bb-editorial-grid article {
  min-height: 220px;
  padding: 28px;
  background: var(--bb-ink);
}

.bb-editorial-grid article > span {
  color: #79cbc4;
  font-size: 12px;
  font-weight: 850;
}

.bb-editorial-grid h3 {
  margin: 38px 0 12px;
  color: var(--bb-white);
  font-size: 19px;
  font-weight: 800;
}

.bb-editorial-grid p {
  color: #aeb8b6;
  font-size: 13px;
}

/* Picker and charity */

.bb-picker {
  padding: 30px 0;
  background: var(--bb-teal);
}

.bb-picker-inner {
  display: grid !important;
  min-height: 185px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
  color: var(--bb-white);
}

.bb-picker h2 {
  margin: 7px 0 10px;
  color: var(--bb-white);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 830;
  letter-spacing: -1.7px;
}

.bb-picker p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .80);
}

.bb-picker .bb-small-label {
  color: rgba(255, 255, 255, .72);
}

.bb-picker-button {
  display: inline-flex;
  min-height: 57px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: var(--bb-white);
  border-radius: 12px;
  color: var(--bb-teal-dark) !important;
  font-weight: 850;
  white-space: nowrap;
}

.bb-picker-button:hover {
  box-shadow: var(--bb-shadow);
  transform: translateY(-2px);
}

.bb-charity {
  padding: 62px 0;
  background: #f4ede3;
}

.bb-charity-inner {
  display: grid !important;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 40px;
}

.bb-charity-value {
  color: var(--bb-cognac);
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -3px;
}

.bb-charity h2 {
  margin: 5px 0 10px;
  color: var(--bb-ink);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 830;
  letter-spacing: -1.3px;
}

.bb-charity p {
  margin: 0;
  color: var(--bb-muted);
}

.bb-charity a {
  color: var(--bb-cognac);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

/* =========================================================
   BUENOBAG V5.0 — CATALOG / PDP / FOOTER / RESPONSIVE
========================================================= */

/* ---------- CATALOG ---------- */

.bb-catalog,
.bb-pdp {
  min-height: 70vh;
  padding: 0 0 80px;
  background: #f7f8f7;
}

.bb-breadcrumbs,
.bb-pdp-breadcrumbs {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  color: var(--bb-muted);
  font-size: 12px;
  white-space: nowrap;
}

.bb-breadcrumbs a,
.bb-pdp-breadcrumbs a {
  overflow: hidden;
  max-width: 360px;
  text-overflow: ellipsis;
}

.bb-cat-head {
  display: grid !important;
  overflow: hidden;
  min-height: 230px;
  grid-template-columns: 1fr 330px;
  align-items: center;
  gap: 45px;
  padding: 44px 48px;
  background:
    radial-gradient(circle at 85% 20%, rgba(123, 207, 198, .18), transparent 34%),
    linear-gradient(135deg, var(--bb-ink), #164b48) !important;
  border-radius: 24px;
  color: var(--bb-white);
}

.bb-cat-head .bb-cat-label {
  color: #8ed6cf;
}

.bb-cat-head h1 {
  margin: 10px 0 0;
  color: var(--bb-white);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 850;
  letter-spacing: -2.8px;
  line-height: 1;
}

.bb-cat-head p {
  max-width: 650px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .70);
}

.bb-cat-help {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: var(--bb-white);
  border-radius: 16px;
  color: var(--bb-muted) !important;
  font-size: 12px;
}

.bb-cat-help strong {
  display: block;
  margin-top: 7px;
  color: var(--bb-teal-dark);
  font-size: 17px;
}

.bb-cat-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  min-height: 55px;
  margin: 18px 0 30px;
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: 14px;
  color: #41504e;
  font-size: 12px;
  font-weight: 750;
}

.bb-cat-trust span::first-letter {
  color: var(--bb-teal);
}

.bb-cat-controls {
  display: flex !important;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bb-products-count {
  color: var(--bb-ink);
  font-size: 18px;
  font-weight: 820;
}

.bb-control-select {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bb-muted);
  font-size: 12px;
}

.bb-control-select select {
  min-width: 235px;
  height: 44px;
  padding: 0 38px 0 13px;
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: 10px;
  color: var(--bb-ink);
  cursor: pointer;
}

.bb-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bb-product-card {
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease,
    border-color .25s ease;
}

.bb-product-card:hover {
  border-color: #c7d7d2;
  box-shadow: var(--bb-shadow);
  transform: translateY(-5px);
}

.bb-product-image {
  position: relative;
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: var(--bb-cream);
}

.bb-product-image > a {
  display: flex;
  width: 100%;
  height: 270px;
  align-items: center;
  justify-content: center;
}

.bb-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.bb-product-card:hover .bb-product-image img {
  transform: scale(1.025);
}

.bb-heart {
  position: absolute;
  width: 42px;
  height: 42px;
  right: 16px;
  top: 16px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--bb-line);
  border-radius: 50%;
  color: var(--bb-ink);
}

.bb-heart:hover {
  background: var(--bb-teal);
  border-color: var(--bb-teal);
  color: var(--bb-white);
}

.bb-stock {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .94);
  border-radius: 8px;
  color: var(--bb-success);
  font-size: 11px;
  font-weight: 800;
}

.bb-product-body {
  display: flex;
  min-height: 286px;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.bb-product-body h2 {
  margin: 9px 0 10px;
  font-size: 21px;
  font-weight: 820;
  line-height: 1.25;
}

.bb-product-body h2 a {
  color: var(--bb-ink);
}

.bb-card-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 48px;
  color: var(--bb-muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bb-card-price {
  margin: 20px 0;
  color: var(--bb-ink);
  font-size: 25px;
  font-weight: 880;
  letter-spacing: -.7px;
}

.bb-card-actions {
  display: grid !important;
  margin-top: auto;
  grid-template-columns: 1fr 1.15fr;
  gap: 9px;
}

.bb-details-button,
.bb-buy-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 820;
}

.bb-details-button {
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  color: var(--bb-ink) !important;
}

.bb-buy-button {
  background: var(--bb-teal);
  border: 1px solid var(--bb-teal);
  color: var(--bb-white);
}

.bb-buy-button:hover {
  background: var(--bb-teal-dark);
  border-color: var(--bb-teal-dark);
}

.bb-pagination-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  color: var(--bb-muted);
  font-size: 12px;
}

/* ---------- PDP ---------- */

.bb-pdp-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: start;
  gap: 28px;
}

.bb-pdp-gallery,
.bb-pdp-buy {
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: 22px;
}

.bb-pdp-gallery {
  position: relative;
  display: flex;
  min-height: 610px;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

.bb-pdp-main-photo {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 510px;
  align-items: center;
  justify-content: center;
  background: var(--bb-cream);
  border-radius: 17px;
}

.bb-pdp-main-photo img {
  width: min(84%, 560px);
  max-height: 500px;
  object-fit: contain;
  transition: transform .3s ease;
}

.bb-pdp-main-photo:hover img {
  transform: scale(1.025);
}

.bb-photo-zoom {
  position: absolute;
  display: inline-flex;
  width: 44px;
  height: 44px;
  right: 16px;
  bottom: 16px;
  align-items: center;
  justify-content: center;
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: 50%;
  color: var(--bb-ink);
}

.bb-pdp-buy {
  position: sticky;
  top: 95px;
  padding: 34px;
  box-shadow: var(--bb-shadow-sm);
}

.bb-pdp-buy h1 {
  margin: 12px 0 12px;
  color: var(--bb-ink);
  font-size: clamp(32px, 3.2vw, 47px);
  font-weight: 850;
  letter-spacing: -1.8px;
  line-height: 1.04;
}

.bb-pdp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: var(--bb-muted);
  font-size: 12px;
}

.bb-pdp-stock {
  display: inline-flex;
  align-items: center;
  color: var(--bb-success);
  font-weight: 800;
}

.bb-pdp-stock::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: var(--bb-success);
  border-radius: 50%;
  content: "";
}

.bb-pdp-price {
  margin: 23px 0;
}

.bb-pdp-price strong {
  color: var(--bb-ink);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
}

.bb-pdp-fit {
  padding: 20px;
  background: var(--bb-teal-soft);
  border-radius: 14px;
}

.bb-pdp-fit-title {
  margin-bottom: 10px;
  color: var(--bb-teal-dark);
  font-size: 13px;
  font-weight: 850;
}

.bb-pdp-fit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bb-pdp-fit li {
  position: relative;
  margin-top: 7px;
  padding-left: 22px;
  color: #37504d;
  font-size: 13px;
}

.bb-pdp-fit li::before {
  position: absolute;
  left: 0;
  color: var(--bb-teal);
  content: "✓";
  font-weight: 900;
}

.bb-pdp-cart {
  display: grid !important;
  margin-top: 19px;
  grid-template-columns: 86px 1fr;
  align-items: end;
  gap: 10px;
}

.bb-qty label {
  display: block;
  margin-bottom: 5px;
  color: var(--bb-muted);
  font-size: 10px;
  font-weight: 700;
}

.bb-qty input {
  width: 100%;
  height: 54px;
  padding: 0 10px;
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: 11px;
  text-align: center;
}

.bb-pdp-cart-button {
  min-height: 54px;
  background: var(--bb-teal);
  border: 1px solid var(--bb-teal);
  border-radius: 11px;
  color: var(--bb-white);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(8, 127, 121, .18);
}

.bb-pdp-cart-button:hover {
  background: var(--bb-teal-dark);
  border-color: var(--bb-teal-dark);
  transform: translateY(-1px);
}

.bb-pdp-consult {
  display: grid;
  min-height: 66px;
  margin-top: 12px;
  padding: 13px 44px 13px 42px;
  background: var(--bb-cream);
  border: 1px solid var(--bb-line);
  border-radius: 12px;
  color: var(--bb-ink-soft) !important;
  font-size: 12px;
}

.bb-pdp-consult i {
  position: absolute;
  margin: 8px 0 0 -27px;
  color: var(--bb-teal);
}

.bb-pdp-benefits {
  display: grid;
  margin-top: 20px;
  padding-top: 19px;
  border-top: 1px solid var(--bb-line);
  grid-template-columns: 1fr;
  gap: 12px;
}

.bb-pdp-benefits > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 8px;
}

.bb-pdp-benefits i {
  margin-top: 4px;
  color: var(--bb-teal);
  font-size: 17px;
}

.bb-pdp-benefits p {
  margin: 0;
}

.bb-pdp-benefits strong,
.bb-pdp-benefits span {
  display: block;
}

.bb-pdp-benefits strong {
  color: var(--bb-ink);
  font-size: 12px;
}

.bb-pdp-benefits span {
  color: var(--bb-muted);
  font-size: 11px;
}

.bb-pdp-information {
  display: grid !important;
  margin-top: 28px;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 20px;
}

.bb-pdp-info-main,
.bb-pdp-editorial {
  background: var(--bb-white);
  border: 1px solid var(--bb-line);
  border-radius: 20px;
}

.bb-pdp-info-main {
  padding: 38px;
}

.bb-pdp-info-main h2 {
  margin: 0 0 22px;
  color: var(--bb-ink);
  font-size: 31px;
  font-weight: 840;
  letter-spacing: -1px;
}

.bb-pdp-description {
  color: #495352;
  font-size: 15px;
  line-height: 1.8;
}

.bb-pdp-editorial {
  overflow: hidden;
}

.bb-pdp-editorial > div {
  padding: 24px;
  border-bottom: 1px solid var(--bb-line);
}

.bb-pdp-editorial > div:last-child {
  border-bottom: 0;
}

.bb-pdp-editorial > div > span {
  color: var(--bb-teal);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
}

.bb-pdp-editorial strong {
  display: block;
  margin-top: 7px;
  color: var(--bb-ink);
  font-size: 15px;
}

.bb-pdp-editorial p {
  margin: 7px 0 0;
  color: var(--bb-muted);
  font-size: 12px;
}

.bb-pdp-editorial a {
  display: inline-block;
  margin-top: 10px;
  color: var(--bb-teal-dark);
  font-size: 12px;
  font-weight: 850;
}

/* ---------- FOOTER ---------- */

.bb-footer {
  padding: 58px 0 22px;
  background: #121615 !important;
  color: #aeb7b5;
}

.bb-footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
}

.bb-footer-brand strong {
  color: var(--bb-white);
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.8px;
}

.bb-footer h4 {
  margin: 0 0 16px;
  color: var(--bb-white);
  font-size: 13px;
  font-weight: 800;
}

.bb-footer a {
  display: inline-block;
  margin-bottom: 8px;
  color: #aeb7b5;
  font-size: 12px;
}

.bb-footer a:hover {
  color: #86d2cb;
}

.bb-footer-bottom {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: #78817f;
  font-size: 11px;
}

/* ---------- TABLET ---------- */

@media (max-width: 1050px) {
  .bb-header-grid {
    grid-template-columns: 180px minmax(230px, 1fr) auto;
    gap: 14px;
  }

  .bb-search-label {
    display: none;
  }

  .bb-v4-hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 36px;
  }

  .bb-products-section .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-mp-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-pdp-main {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .85fr);
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .bb-shell {
    width: min(calc(100% - 28px), var(--bb-shell));
  }

  .bb-main-header {
    position: relative;
    min-height: 0;
  }

  .bb-header-grid {
    grid-template-columns: 1fr auto;
    min-height: 0;
    gap: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .bb-brand {
    align-self: center;
  }

  .bb-wordmark-main {
    font-size: 25px;
  }

  .bb-wordmark-sub {
    display: none;
  }

  .bb-header-actions {
    gap: 5px;
  }

  .bb-head-action {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .bb-head-action span {
    display: none;
  }

  .bb-cart-action {
    min-width: 128px;
  }

  .bb-cart-action #cart > .btn {
    min-height: 44px;
    padding: 0 10px;
    font-size: 11px;
  }

  .bb-search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bb-search-wrap #search .form-control,
  .bb-search-wrap #search .btn {
    height: 46px;
  }

  .bb-category-nav .container {
    width: 100%;
    padding: 0 14px;
  }

  .bb-category-nav .navbar-header {
    display: flex;
    min-height: 47px;
    align-items: center;
    justify-content: space-between;
  }

  .bb-category-nav #category {
    color: var(--bb-ink);
    font-size: 13px;
    font-weight: 800;
  }

  .bb-category-nav .navbar-toggle {
    display: flex;
    width: 43px;
    height: 39px;
    align-items: center;
    justify-content: center;
    margin: 4px 0;
    background: var(--bb-teal);
    border: 0;
    border-radius: 9px;
    color: var(--bb-white);
  }

  .bb-category-nav .navbar-collapse {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .bb-category-nav .navbar-nav {
    display: block;
    margin: 0;
    padding: 5px 0 12px;
  }

  .bb-category-nav .navbar-nav > li > a {
    min-height: 44px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--bb-line);
  }

  .bb-trustline-inner {
    width: 100%;
    justify-content: flex-start;
    gap: 25px;
    overflow-x: auto;
    padding: 0 14px;
    scrollbar-width: none;
  }

  .bb-trustline-inner::-webkit-scrollbar {
    display: none;
  }

  .bb-v4-hero {
    padding: 36px 0 38px;
  }

  .bb-v4-hero-grid {
    width: min(calc(100% - 28px), var(--bb-shell));
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .bb-v4-copy h1 {
    margin: 14px 0 17px;
    font-size: clamp(39px, 12vw, 52px);
    letter-spacing: -2.5px;
    line-height: 1;
  }

  .bb-v4-lead {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.65;
  }

  .bb-v4-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bb-v4-primary,
  .bb-v4-secondary {
    min-height: 52px;
    width: 100%;
  }

  .bb-v4-promises {
    justify-content: space-between;
    gap: 10px;
    margin-top: 25px;
    padding-top: 19px;
  }

  .bb-v4-promises strong {
    font-size: 18px;
  }

  .bb-v4-promises span {
    max-width: 80px;
    font-size: 9px;
  }

  /* Пока нет настоящего hero-фото — не показываем дешёвую заглушку */
  .bb-v4-product-stage {
    display: none;
  }

  .bb-products-section,
  .bb-mp-section,
  .bb-editorial {
    padding: 48px 0;
  }

  .bb-mp-title-row {
    align-items: start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }

  .bb-products-section .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .bb-products-section .product-thumb .image {
    height: 175px;
    padding: 10px;
  }

  .bb-products-section .product-thumb .caption {
    min-height: 180px;
    padding: 13px;
  }

  .bb-products-section .product-thumb h4 {
    min-height: 54px;
    font-size: 15px;
  }

  .bb-products-section .product-thumb .caption > p:not(.price) {
    display: none;
  }

  .bb-products-section .product-thumb .price {
    margin-top: 13px;
    font-size: 17px;
  }

  .bb-products-section .product-thumb .button-group {
    grid-template-columns: 1fr;
  }

  .bb-products-section .button-group button:not(:first-child) {
    display: none;
  }

  .bb-mp-categories,
  .bb-editorial-grid {
    grid-template-columns: 1fr;
  }

  .bb-mpcard {
    min-height: 174px;
    padding: 21px;
  }

  .bb-editorial-grid article {
    min-height: 175px;
  }

  .bb-picker {
    padding: 42px 0;
  }

  .bb-picker-inner,
  .bb-charity-inner {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .bb-picker-button {
    width: 100%;
  }

  .bb-charity {
    padding: 45px 0;
  }

  .bb-charity-value {
    font-size: 48px;
  }

  /* Category mobile */

  .bb-catalog,
  .bb-pdp {
    padding-bottom: 55px;
  }

  .bb-cat-head {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 24px;
    border-radius: 18px;
  }

  .bb-cat-head h1 {
    font-size: 40px;
    letter-spacing: -1.8px;
  }

  .bb-cat-help {
    min-height: 92px;
  }

  .bb-cat-trust {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 0 15px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .bb-cat-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .bb-control-select {
    justify-content: space-between;
  }

  .bb-control-select select {
    min-width: 0;
    width: 68%;
  }

  .bb-product-grid {
    grid-template-columns: 1fr;
  }

  .bb-product-image {
    min-height: 300px;
  }

  .bb-product-body {
    min-height: 265px;
  }

  /* PDP mobile */

  .bb-pdp-main,
  .bb-pdp-information {
    grid-template-columns: 1fr;
  }

  .bb-pdp-gallery {
    min-height: 390px;
    padding: 14px;
    border-radius: 17px;
  }

  .bb-pdp-main-photo {
    min-height: 355px;
  }

  .bb-pdp-main-photo img {
    width: 92%;
    max-height: 335px;
  }

  .bb-pdp-buy {
    position: static;
    padding: 24px 20px;
    border-radius: 17px;
  }

  .bb-pdp-buy h1 {
    font-size: 35px;
    letter-spacing: -1.4px;
  }

  .bb-pdp-price strong {
    font-size: 31px;
  }

  .bb-pdp {
    padding-bottom: 95px;
  }

  .bb-pdp-cart {
    position: fixed;
    z-index: 1000;
    right: 10px;
    bottom: 10px;
    left: 10px;
    margin: 0;
    padding: 9px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--bb-line);
    border-radius: 15px;
    box-shadow: 0 18px 50px rgba(23, 27, 27, .22);
    backdrop-filter: blur(14px);
  }

  .bb-qty label {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
  }

  .bb-qty input,
  .bb-pdp-cart-button {
    height: 52px;
    min-height: 52px;
  }

  .bb-pdp-info-main {
    padding: 27px 22px;
  }

  .bb-footer {
    padding-top: 44px;
  }

  .bb-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }

  .bb-footer-brand {
    grid-column: 1 / -1;
  }

  .bb-footer-bottom {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .bb-products-section .product-thumb .image {
    height: 160px;
  }

  .bb-products-section .product-thumb .caption {
    min-height: 172px;
    padding: 11px;
  }

  .bb-products-section .product-thumb h4 {
    font-size: 14px;
  }

  .bb-cart-action {
    min-width: 119px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* BUENOBAG V6 COMMERCE START
   CS-Cart inspired retail density without copying its branding
============================================================== */

:root {
  --bb-commerce-bg: #f6f7f7;
  --bb-commerce-line: #dce3e1;
  --bb-commerce-hover: #f0f7f5;
}

/* Header: compact retail structure */

.bb-main-header {
  min-height: 72px !important;
  padding: 0 !important;
  box-shadow: 0 2px 12px rgba(23,27,27,.06) !important;
}

.bb-header-grid {
  min-height: 72px !important;
  grid-template-columns: 190px minmax(320px,1fr) auto !important;
  gap: 18px !important;
}

.bb-wordmark-main { font-size: 27px !important; }
.bb-wordmark-sub { margin-top: 5px !important; font-size: 8px !important; }

.bb-search-label { display: none !important; }

.bb-search-wrap #search .form-control,
.bb-search-wrap #search .btn {
  height: 44px !important;
}

.bb-head-action {
  min-height: 44px !important;
}

.bb-cart-action #cart > .btn {
  min-height: 44px !important;
}

#cart-total {
  font-size: 0 !important;
}

#cart-total::before {
  content: "Корзина";
  font-size: 12px;
  font-weight: 800;
}

/* Fix dark-on-dark menu conflict */

.bb-category-nav {
  padding: 0 !important;
  background: #fff !important;
}

.bb-category-nav #menu {
  min-height: 45px !important;
  margin: 0 !important;
  background: #fff !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.bb-category-nav .navbar-nav {
  gap: 0 !important;
}

.bb-category-nav .navbar-nav > li {
  flex: 1 1 auto;
  text-align: center;
}

.bb-category-nav .navbar-nav > li > a {
  display: flex !important;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 0 11px !important;
  color: #27302f !important;
  font-size: 12px !important;
}

.bb-category-nav .navbar-nav > li > a:hover {
  background: var(--bb-commerce-hover) !important;
  color: var(--bb-teal-dark) !important;
}

.bb-category-nav .navbar-nav > .bb-catalog-root {
  flex: 0 0 140px;
}

.bb-category-nav .navbar-nav > .bb-catalog-root > a {
  gap: 8px;
  background: var(--bb-teal) !important;
  color: #fff !important;
  font-weight: 850 !important;
}

.bb-category-nav .navbar-nav > .bb-catalog-root > a:hover {
  background: var(--bb-teal-dark) !important;
  color: #fff !important;
}

/* Compact trust bar */

.bb-trustline,
.bb-trustline-inner {
  min-height: 34px !important;
}

.bb-trustline-inner {
  gap: clamp(22px,4vw,56px) !important;
  font-size: 11px !important;
}

/* Home: product-first storefront */

.bb-v4-hero {
  padding: 28px 0 32px !important;
}

.bb-v4-hero-grid {
  grid-template-columns: minmax(0,1.18fr) minmax(360px,.82fr) !important;
  gap: 34px !important;
}

.bb-v4-copy h1 {
  max-width: 650px !important;
  margin: 13px 0 16px !important;
  font-size: clamp(43px,4vw,56px) !important;
  letter-spacing: -2.6px !important;
  line-height: 1 !important;
}

.bb-v4-lead {
  max-width: 620px !important;
  margin-bottom: 20px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.bb-v4-primary,
.bb-v4-secondary {
  min-height: 48px !important;
}

.bb-v4-promises {
  margin-top: 21px !important;
  padding-top: 15px !important;
}

.bb-v4-promises strong {
  font-size: 18px !important;
}

.bb-v4-product-stage {
  min-height: 418px !important;
  padding: 17px !important;
  border-radius: 16px !important;
}

.bb-v4-hero-product {
  min-height: 260px !important;
  margin: 9px 0 12px !important;
  border-radius: 11px !important;
}

.bb-v4-hero-product img {
  max-height: 240px !important;
}

.bb-v4-hero-caption strong,
.bb-v4-price {
  font-size: 17px !important;
}

/* Products appear immediately after compact hero */

.bb-products-section {
  padding: 44px 0 50px !important;
  border-bottom: 1px solid var(--bb-commerce-line);
}

.bb-products-section .bb-mp-title-row {
  margin-bottom: 20px !important;
}

.bb-products-section h2,
.bb-mp-title-row h2 {
  font-size: clamp(28px,2.5vw,38px) !important;
}

.bb-products-section .row {
  gap: 14px !important;
}

.bb-products-section .product-thumb {
  border-radius: 12px !important;
}

.bb-products-section .product-thumb .image {
  height: 210px !important;
  padding: 13px !important;
}

.bb-products-section .product-thumb .caption {
  min-height: 172px !important;
  padding: 16px !important;
}

.bb-products-section .product-thumb h4 {
  min-height: 42px !important;
  font-size: 15px !important;
}

.bb-products-section .product-thumb .price {
  margin-top: 12px !important;
  font-size: 19px !important;
}

.bb-products-section .product-thumb .button-group button {
  min-height: 46px !important;
}

/* Category modules: less landing page, more storefront */

.bb-mp-section {
  padding: 50px 0 !important;
}

.bb-mp-categories {
  gap: 12px !important;
}

.bb-mpcard {
  min-height: 165px !important;
  padding: 20px !important;
  border-radius: 12px !important;
}

.bb-mpcard h3 {
  margin: 17px 0 7px !important;
  font-size: 19px !important;
}

/* Category page */

.bb-catalog {
  background: #fff !important;
}

.bb-cat-head {
  min-height: 180px !important;
  padding: 32px 36px !important;
  border-radius: 14px !important;
}

.bb-cat-head h1 {
  font-size: clamp(36px,4vw,50px) !important;
}

.bb-cat-help {
  min-height: 96px !important;
  padding: 18px !important;
  border-radius: 10px !important;
}

.bb-cat-trust {
  min-height: 47px !important;
  margin: 12px 0 20px !important;
  border-radius: 9px !important;
}

.bb-product-grid {
  gap: 14px !important;
}

.bb-product-card {
  border-radius: 12px !important;
}

.bb-product-image {
  min-height: 270px !important;
  padding: 18px !important;
}

.bb-product-image > a {
  height: 230px !important;
}

.bb-product-body {
  min-height: 250px !important;
  padding: 17px !important;
}

.bb-product-body h2 {
  font-size: 18px !important;
}

.bb-card-price {
  margin: 14px 0 !important;
  font-size: 22px !important;
}

/* PDP: familiar, compact and transactional */

.bb-pdp {
  padding-bottom: 55px !important;
  background: #fff !important;
}

.bb-pdp-main {
  grid-template-columns: minmax(0,1.08fr) minmax(410px,.92fr) !important;
  gap: 20px !important;
}

.bb-pdp-gallery,
.bb-pdp-buy {
  border-radius: 14px !important;
  box-shadow: none !important;
}

.bb-pdp-gallery {
  min-height: 545px !important;
  padding: 24px !important;
}

.bb-pdp-main-photo {
  min-height: 495px !important;
  border-radius: 10px !important;
}

.bb-pdp-main-photo img {
  max-height: 455px !important;
}

.bb-pdp-buy {
  top: 82px !important;
  padding: 26px !important;
}

.bb-pdp-buy h1 {
  margin: 9px 0 9px !important;
  font-size: clamp(31px,3vw,39px) !important;
  letter-spacing: -1.4px !important;
}

.bb-pdp-price {
  margin: 17px 0 !important;
}

.bb-pdp-price strong {
  font-size: 31px !important;
}

.bb-pdp-fit {
  padding: 15px 17px !important;
  border-radius: 10px !important;
}

.bb-pdp-fit li {
  margin-top: 4px !important;
}

.bb-pdp-cart {
  margin-top: 14px !important;
}

.bb-pdp-consult {
  min-height: 56px !important;
  margin-top: 9px !important;
}

.bb-pdp-benefits {
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 9px !important;
  margin-top: 15px !important;
  padding-top: 15px !important;
}

.bb-pdp-benefits > div {
  display: block !important;
  padding-right: 8px;
  border-right: 1px solid var(--bb-line);
}

.bb-pdp-benefits > div:last-child {
  border-right: 0;
}

.bb-pdp-benefits i {
  margin-bottom: 6px;
}

.bb-pdp-benefits span {
  line-height: 1.3;
}

.bb-pdp-information {
  margin-top: 20px !important;
  gap: 14px !important;
}

.bb-pdp-info-main,
.bb-pdp-editorial {
  border-radius: 12px !important;
}

.bb-pdp-info-main {
  padding: 28px !important;
}

/* Mobile */

@media (max-width: 767px) {
  .bb-header-grid {
    grid-template-columns: 1fr auto !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }

  #cart-total::before {
    content: "Корзина";
    font-size: 11px;
  }

  .bb-category-nav .navbar-nav > li,
  .bb-category-nav .navbar-nav > .bb-catalog-root {
    display: block;
    text-align: left;
  }

  .bb-category-nav .navbar-nav > li > a {
    justify-content: flex-start !important;
    padding: 0 14px !important;
  }

  .bb-v4-hero {
    padding: 27px 0 30px !important;
  }

  .bb-v4-copy h1 {
    font-size: clamp(38px,11vw,48px) !important;
  }

  .bb-products-section {
    padding: 38px 0 42px !important;
  }

  .bb-products-section .product-thumb .image {
    height: 165px !important;
  }

  .bb-products-section .product-thumb .caption {
    min-height: 160px !important;
  }

  .bb-pdp-main {
    grid-template-columns: 1fr !important;
  }

  .bb-pdp-gallery {
    min-height: 370px !important;
    padding: 12px !important;
  }

  .bb-pdp-main-photo {
    min-height: 345px !important;
  }

  .bb-pdp-buy {
    padding: 21px 18px !important;
  }

  .bb-pdp-buy h1 {
    font-size: 31px !important;
  }

  .bb-pdp-benefits {
    grid-template-columns: 1fr !important;
  }

  .bb-pdp-benefits > div {
    display: grid !important;
    border-right: 0;
    grid-template-columns: 28px 1fr;
  }
}

/* BUENOBAG V6 COMMERCE END */

/* BUENOBAG V6.1 HOTFIX START */

/* Полная кликабельная высота пунктов каталога */
.bb-category-nav .navbar-nav > li > a {
  height: 45px !important;
  min-height: 45px !important;
  line-height: 1.15 !important;
}

/* Убираем унаследованную огромную пропорцию изображения */
.bb-v4-hero-product {
  aspect-ratio: auto !important;
  height: 260px !important;
  min-height: 260px !important;
  max-height: 260px !important;
}

.bb-v4-product-stage {
  height: auto !important;
  min-height: 418px !important;
}

/* Bootstrap clearfix не должен становиться карточкой CSS Grid */
.bb-products-section .row::before,
.bb-products-section .row::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 767px) {
  /* Логотип и действия в одной строке, поиск — во второй */
  .bb-header-grid {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
  }

  .bb-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  .bb-header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    justify-self: end !important;
  }

  .bb-search-wrap {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  /* Hero должен состоять из одной колонки */
  .bb-v4-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .bb-v4-copy {
    width: 100% !important;
    min-width: 0 !important;
  }

  .bb-category-nav .navbar-toggle {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  .bb-trustline-inner a {
    min-height: 34px;
  }
}

/* BUENOBAG V6.1 HOTFIX END */
