/**
 * Bobrik Tools Theme for OpenCart 4
 * Brand tokens: Logobook palette #63920B / #1a1a1a / #f5f5f5 + Geologica (Logobook font)
 */

/* Logobook typography — self-hosted Geologica (not Google CDN) */
@import url("geologica.css");

:root {
  /* Logobook palette */
  --bt-primary: #63920B;
  --bt-primary-hover: #527a0a;
  --bt-dark: #1a1a1a;
  --bt-gray: #f5f5f5;
  --bt-gray-soft: #f5f5f5;
  --bt-border: #e0e0e0;
  --bt-text: #333333;
  --bt-text-light: #666666;
  --bt-text-muted: #807971;
  --bt-white: #ffffff;
  --bt-radius: 8px;
  --bt-shadow: 0 2px 8px rgba(21,29,33,0.08);
  --bt-shadow-hover: 0 4px 16px rgba(21,29,33,0.12);
  --bt-font: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Bootstrap overrides — brand green instead of default blue */
  --bs-primary: #63920B;
  --bs-primary-rgb: 99, 146, 11;
  --bs-link-color: #63920B;
  --bs-link-hover-color: #527a0a;
  --bs-list-group-active-color: #fff;
  --bs-list-group-active-bg: #63920B;
  --bs-list-group-active-border-color: #63920B;
  --bs-pagination-active-bg: #63920B;
  --bs-pagination-active-border-color: #63920B;
}

body {
  font-family: var(--bt-font);
  font-weight: 400;
  color: var(--bt-text);
  background-color: var(--bt-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--bt-font);
  color: var(--bt-dark);
  letter-spacing: 0.01em;
}

h1, .h1 { font-weight: 800; }
h2, .h2 { font-weight: 700; }
h3, .h3 { font-weight: 700; }
h4, h5, h6, .h4, .h5, .h6 { font-weight: 600; }

.btn, .btn-bt-primary, .btn-bt-outline, .btn-cart,
.nav-link, .dropdown-item, #menu, .breadcrumb {
  font-family: var(--bt-font);
}

a {
  color: var(--bt-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--bt-primary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-bt-primary {
  background-color: var(--bt-primary);
  border-color: var(--bt-primary);
  color: var(--bt-white);
  border-radius: var(--bt-radius);
  font-weight: 500;
  padding: 10px 24px;
  transition: all 0.2s ease;
}

.btn-bt-primary:hover {
  background-color: var(--bt-primary-hover);
  border-color: var(--bt-primary-hover);
  color: var(--bt-white);
}

.btn-bt-outline {
  background-color: transparent;
  border: 2px solid var(--bt-primary);
  color: var(--bt-primary);
  border-radius: var(--bt-radius);
  font-weight: 500;
  padding: 8px 22px;
  transition: all 0.2s ease;
}

.btn-bt-outline:hover {
  background-color: var(--bt-primary);
  color: var(--bt-white);
}

.btn-bt-dark {
  background-color: var(--bt-dark);
  border-color: var(--bt-dark);
  color: var(--bt-white);
  border-radius: var(--bt-radius);
  font-weight: 500;
  padding: 10px 24px;
}

.btn-bt-dark:hover {
  background-color: #333;
  color: var(--bt-white);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  --bs-btn-bg: var(--bt-primary);
  --bs-btn-border-color: var(--bt-primary);
  --bs-btn-hover-bg: var(--bt-primary-hover);
  --bs-btn-hover-border-color: var(--bt-primary-hover);
  --bs-btn-active-bg: var(--bt-primary-hover);
  --bs-btn-active-border-color: var(--bt-primary-hover);
  background-color: var(--bt-primary);
  border-color: var(--bt-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--bt-primary-hover);
  border-color: var(--bt-primary-hover);
}

.btn-outline-primary {
  --bs-btn-color: var(--bt-primary);
  --bs-btn-border-color: var(--bt-primary);
  --bs-btn-hover-bg: var(--bt-primary);
  --bs-btn-hover-border-color: var(--bt-primary);
  --bs-btn-active-bg: var(--bt-primary-hover);
  --bs-btn-active-border-color: var(--bt-primary-hover);
}

.list-group-item.active {
  background-color: var(--bt-primary) !important;
  border-color: var(--bt-primary) !important;
  color: #fff !important;
}

.list-group-item-action:hover,
.list-group-item-action:focus {
  background-color: rgba(99, 146, 11, 0.08);
  color: var(--bt-primary);
}

.pagination .page-item.active .page-link {
  background-color: var(--bt-primary);
  border-color: var(--bt-primary);
}

.form-check-input:checked {
  background-color: var(--bt-primary);
  border-color: var(--bt-primary);
}

.form-check-input:focus {
  border-color: rgba(99, 146, 11, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(99, 146, 11, 0.2);
}

/* ============================================
   TOP BAR
   ============================================ */

.bobrik-brand-filter {
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.bobrik-brand-filter .card-header {
  background: var(--bt-dark);
  color: var(--bt-white);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
}
.bobrik-brand-filter__reset { color: var(--bt-gray); }
.bobrik-brand-filter .list-group-item {
  border-color: var(--bt-border);
  padding: 10px 16px;
  font-size: 14px;
}
.bobrik-brand-filter .list-group-item.active,
.bobrik-brand-filter .list-group-item.active a {
  background: rgba(99, 146, 11, 0.12);
  color: var(--bt-primary);
  border-color: var(--bt-border);
}
.bobrik-brand-filter__count { color: var(--bt-text-muted); }

.bobrik-page .btn-bt-primary { color: #fff; }

#top {
  background-color: #111;
  color: #bbb;
  font-size: 13px;
  padding: 9px 0;
}

#top a {
  color: #bbb;
  font-size: 13px;
}

#top a:hover {
  color: var(--bt-white);
}

.top-brand__word {
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.top-brand__tagline {
  color: #777;
  font-size: 12px;
  border-left: 1px solid #333;
  padding-left: 10px;
}

.top-address {
  color: #bbb;
  font-size: 12.5px;
  line-height: 1.3;
}

.top-address i {
  color: var(--bt-primary);
  font-size: 15px;
}

.top-hours {
  color: #777;
}

.top-phone {
  color: #fff !important;
  font-weight: 700;
  font-size: 15px !important;
  white-space: nowrap;
}

.top-phone i {
  color: var(--bt-primary);
  margin-right: 4px;
}

.top-callback {
  color: #ccc !important;
  font-size: 12.5px !important;
  white-space: nowrap;
}

.top-callback:hover {
  color: #fff !important;
}

.top-stores {
  flex: 1 1 auto;
  justify-content: center;
}

.top-store {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 320px;
  font-size: 11.5px;
  line-height: 1.35;
  color: #999;
}

.top-store > i {
  color: var(--bt-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.top-store strong {
  display: block;
  color: #ddd;
  font-size: 12px;
  margin-bottom: 2px;
}

.top-store span {
  display: block;
}

.top-store a {
  display: block;
  color: #fff !important;
  font-weight: 600;
  font-size: 12.5px !important;
  margin-top: 2px;
}

.top-store small {
  display: block;
  color: #777;
  font-size: 10.5px;
  margin-top: 1px;
}

.top-links a {
  color: #bbb;
  font-size: 13px;
  white-space: nowrap;
}

.top-links a:hover {
  color: #fff;
}

.top-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ccc !important;
  font-size: 15px;
  transition: color 0.2s, background-color 0.2s;
}

.top-social:hover {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile: compact top bar */
@media (max-width: 767.98px) {
  #top .top-contacts {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============================================
   HEADER MAIN (Logobook): logo | catalog | search | actions
   ============================================ */

#header {
  background: #fff;
  border-bottom: 1px solid var(--bt-border);
  padding: 14px 0 12px;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-logo {
  flex: 0 0 auto;
}

#logo img {
  max-height: 56px;
  width: auto;
  display: block;
}

.btn-catalog-header {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bt-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--bt-radius);
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-catalog-header:hover,
.btn-catalog-header:focus {
  background-color: var(--bt-primary-hover);
  color: #fff !important;
}

.header-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 420px;
  position: relative;
  overflow: visible;
  z-index: 40;
}

.header-main {
  overflow: visible;
}

.header-delivery {
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--bt-text);
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.header-delivery i {
  font-size: 26px;
  color: var(--bt-primary);
}

.header-delivery small {
  color: var(--bt-text-light);
  font-size: 11px;
}

.header-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.header-action-labeled {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 48px;
  color: var(--bt-text);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.header-action-labeled i {
  font-size: 22px;
  margin: 0;
}

.header-action-labeled:hover {
  color: var(--bt-primary);
}

.header-action-labeled__badge {
  position: absolute;
  top: -4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--bt-primary);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

#search-collapse-mobile {
  border-top: 1px solid var(--bt-border);
  margin-top: 10px;
  padding-top: 10px;
  position: relative;
  overflow: visible;
  z-index: 35;
}

@media (max-width: 991.98px) {
  #logo img {
    max-height: 44px;
  }
  .header-main {
    gap: 10px;
    flex-wrap: nowrap;
  }
  .btn-catalog-header {
    padding: 10px 12px;
    font-size: 12px;
    min-height: 44px;
  }
  .header-action-labeled span {
    display: none;
  }
  .header-action-labeled {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .header-actions {
    gap: 6px;
  }
}

@media (max-width: 580px) {
  .header-main {
    gap: 6px;
  }
}

@media (max-width: 575.98px) {
    padding-left: 10px;
    padding-right: 10px;
  }
  #logo img {
    max-height: 38px;
  }
  .btn-catalog-header {
    padding: 10px;
  }
  .header-actions {
    gap: 2px;
  }
  .header-action-labeled {
    min-width: 42px;
    padding: 4px;
  }
  .header-action-labeled i {
    font-size: 20px;
  }
}

/* Catalog offcanvas */
.catalog-offcanvas {
  width: min(360px, 92vw);
}

.catalog-tree__link {
  display: block;
  padding: 10px 0;
  color: var(--bt-text);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--bt-border);
}

.catalog-tree__link:hover {
  color: var(--bt-primary);
}

.catalog-tree--child {
  padding-left: 14px;
}

.catalog-tree--child .catalog-tree__link {
  font-size: 14px;
  font-weight: 400;
}

.catalog-tree__link--all,
.catalog-tree__link--specials {
  color: var(--bt-primary);
  font-weight: 600;
}

#search {
  position: relative;
}

#search .form-control {
  border: 2px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 10px 45px 10px 15px;
  font-size: 14px;
}

#search .form-control:focus {
  border-color: var(--bt-primary);
  box-shadow: 0 0 0 3px rgba(99, 146, 11, 0.15);
}

#search .btn-search {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--bt-primary);
  padding: 5px 12px;
}

.header-icon {
  text-align: center;
  display: inline-block;
  position: relative;
}

.header-icon:hover {
  color: var(--bt-primary);
}

/* ============================================
   NAVIGATION
   ============================================ */

#menu {
  display: none;
}

#menu .navbar-nav .nav-link {
  color: var(--bt-text);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 16px;
  text-shadow: none;
  background-color: transparent;
}

#menu .navbar-nav .nav-link:hover,
#menu .navbar-nav .nav-link.active {
  color: var(--bt-primary);
  background-color: transparent;
}

#menu .dropdown-menu {
  border: 1px solid var(--bt-border);
  box-shadow: var(--bt-shadow-hover);
  border-radius: var(--bt-radius);
  padding: 8px 0;
}

#menu .dropdown-item {
  font-size: 14px;
  padding: 8px 20px;
}

#menu .dropdown-item:hover {
  background-color: var(--bt-gray);
  color: var(--bt-primary);
}

/* Catalog button */
.btn-catalog {
  background-color: var(--bt-primary);
  color: var(--bt-white) !important;
  border-radius: var(--bt-radius);
  padding: 12px 18px !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-catalog:hover {
  background-color: var(--bt-primary-hover) !important;
  color: var(--bt-white) !important;
}

/* Catalog button as first menu item (prototype) */
#menu .navbar-nav .nav-link.btn-catalog {
  margin: 6px 0;
}

#menu .navbar-nav .nav-link.btn-catalog:hover,
#menu .navbar-nav .nav-link.btn-catalog:focus {
  color: var(--bt-white) !important;
}

/* % Акции link */
#menu .navbar-nav .nav-link.nav-specials,
#menu .navbar-nav .nav-link.nav-specials strong {
  color: var(--bt-primary);
}

#menu .navbar-nav .nav-link.nav-specials:hover,
#menu .navbar-nav .nav-link.nav-specials:hover strong {
  color: var(--bt-primary-hover);
}

@media (max-width: 991.98px) {
  #menu .navbar-nav .nav-link.btn-catalog {
    display: flex;
    justify-content: center;
    margin: 4px 0 10px;
  }
}

#header .header-actions {
  min-height: 48px;
}

#top .top-callback {
  color: #ccc;
}
#top .top-callback:hover {
  color: var(--bt-white);
}

#menu .navbar-toggler {
  border: 1px solid var(--bt-border);
  padding: 8px 12px;
  font-size: 14px;
  color: var(--bt-text);
}

/* ============================================
   SLIDER / HERO
   ============================================ */

#hero-slider {
  background-color: var(--bt-gray);
  padding: 0;
}

.hero-banner {
  background-color: var(--bt-gray);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  position: relative;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 244, 242, 0.97) 0%, rgba(244, 244, 242, 0.92) 38%, rgba(244, 244, 242, 0.45) 62%, rgba(244, 244, 242, 0.08) 100%);
  pointer-events: none;
}

.hero-banner .container {
  position: relative;
  z-index: 1;
}

.hero-slide {
  min-height: 460px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 560px;
  padding: 48px 0;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--bt-dark);
  text-transform: uppercase;
}

.hero-content h1 span {
  color: var(--bt-primary);
}

.hero-content p {
  font-size: 16px;
  color: var(--bt-text-light);
  margin: 15px 0 25px;
}

.hero-image img {
  max-height: 380px;
  object-fit: contain;
}

/* ============================================
   FEATURES BAR
   ============================================ */

#features-bar {
  background-color: var(--bt-dark);
  color: var(--bt-white);
  padding: 20px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-item i {
  font-size: 28px;
  color: var(--bt-primary);
  flex-shrink: 0;
}

.feature-item h5 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--bt-white);
}

.feature-item p {
  font-size: 12px;
  margin: 0;
  color: #999;
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--bt-dark);
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title a {
  font-size: 14px;
  color: var(--bt-primary);
  font-weight: 500;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */

.category-card {
  background-color: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 25px 15px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.category-card:hover {
  box-shadow: var(--bt-shadow-hover);
  border-color: var(--bt-primary);
}

.category-card img {
  max-height: 100px;
  margin-bottom: 15px;
}

.category-card h5 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-card {
  background-color: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 15px;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.product-card:hover {
  box-shadow: var(--bt-shadow-hover);
  border-color: var(--bt-primary);
}

.product-card .product-badge,
.product-card .badge-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--bt-primary);
  color: var(--bt-white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 2;
}

.product-thumb.product-card {
  display: flex;
  flex-direction: column;
}

.product-thumb.product-card .content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-thumb.product-card .price-new {
  font-size: 18px;
  font-weight: 700;
  color: var(--bt-dark);
}

.product-card .wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--bt-border);
  font-size: 18px;
  z-index: 2;
  cursor: pointer;
  transition: color 0.2s;
}

.product-card .wishlist-btn:hover,
.product-card .wishlist-btn.active {
  color: #e74c3c;
}

.product-card .product-image {
  text-align: center;
  padding: 15px 0;
}

.product-card .product-image img {
  max-height: 160px;
  object-fit: contain;
}

.product-card .product-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 40px;
}

.product-card .product-rating {
  color: #ffc107;
  font-size: 13px;
  margin-bottom: 8px;
}

.product-card .product-rating .rating-count {
  color: var(--bt-text-light);
  font-size: 12px;
  margin-left: 5px;
}

.product-card .product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--bt-dark);
}

.product-card .product-price .unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--bt-text-light);
}

.product-card .product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.product-card .product-cart {
  margin-top: 0;
  flex-shrink: 0;
}

.product-card .btn-cart {
  width: 40px;
  height: 40px;
  background-color: var(--bt-primary);
  border: none;
  color: var(--bt-white);
  border-radius: var(--bt-radius);
  padding: 0;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-card .btn-cart:hover {
  background-color: var(--bt-primary-hover);
  color: var(--bt-white);
}

/* Mock: no stock badge / wishlist heart on cards */
.product-card .badge-stock,
.product-card .wishlist-btn {
  display: none;
}

.product-card .product-rating .fa-regular.fa-star {
  color: #d9d9d9;
}

/* ============================================
   PROMO BANNERS
   ============================================ */

.promo-banner {
  border-radius: var(--bt-radius);
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--bt-white);
}

.promo-banner.bg-masters {
  background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
}

.promo-banner.bg-production {
  background: linear-gradient(135deg, #2c3e50 0%, #4a6582 100%);
}

.promo-banner.bg-help {
  background: linear-gradient(135deg, var(--bt-primary) 0%, #8bc34a 100%);
}

.promo-banner h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.promo-banner p {
  font-size: 13px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.promo-banner a,
.promo-banner__link {
  color: var(--bt-white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
}

.promo-banner--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 260px;
  justify-content: flex-end;
  padding: 24px;
  color: var(--bt-white);
}

.promo-banner--photo .promo-banner__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.promo-banner--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.promo-banner--masters {
  color: var(--bt-dark);
}

.promo-banner--masters::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.94) 100%);
}

.promo-banner--masters h4,
.promo-banner--masters p,
.promo-banner--masters .promo-banner__link {
  color: var(--bt-dark);
}

.promo-banner--production::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0.72) 100%);
}

.promo-banner--help {
  background-color: var(--bt-primary);
  background-position: right center;
}

.promo-banner--help::before {
  background: linear-gradient(90deg, rgba(99, 146, 11, 0.94) 0%, rgba(99, 146, 11, 0.72) 48%, rgba(99, 146, 11, 0) 78%);
}

.promo-banner--help .promo-banner__content {
  max-width: 58%;
}

.home-promo .promo-banner {
  min-height: 260px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

#about-section {
  background-color: #fff;
  padding: 48px 0;
}

.about-title {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bt-dark);
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-stats-row .stat-item {
  text-align: center;
  padding: 12px 8px;
  background: var(--bt-gray);
  border-radius: var(--bt-radius);
}

.about-stats-row .stat-number {
  font-size: 28px;
}

.home-brands-bar {
  background: var(--bt-gray);
  border-top: 1px solid var(--bt-border);
}

.brands-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.brands-strip .brand-item {
  flex: 1 1 100px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.brands-strip .brand-item--all {
  flex: 0 0 110px;
  background: var(--bt-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  border-color: var(--bt-primary);
}

.brands-strip .brand-item--all:hover {
  background: var(--bt-primary-hover);
  border-color: var(--bt-primary-hover);
  color: #fff;
}

.brands-strip .brand-item--all .brand-name {
  color: #fff;
}

.home-promo .promo-banner {
  min-height: 200px;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--bt-primary);
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--bt-text-light);
}

/* ============================================
   BRANDS
   ============================================ */

.brand-item {
  background-color: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 20px;
  text-align: center;
  transition: all 0.2s;
}

.brand-item:hover {
  box-shadow: var(--bt-shadow);
}

.brands-strip .brand-item img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}

.brands-strip .brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.footer-brands {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}

#footer .footer-brands .brands-strip .brand-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

#footer .footer-brands .brand-item--all {
  background: var(--bt-primary);
  border-color: var(--bt-primary);
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
  background-color: var(--bt-dark);
  color: #999;
  padding: 50px 0 0;
}

#footer h5 {
  color: var(--bt-white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer ul li {
  margin-bottom: 10px;
}

#footer ul li a {
  color: #999;
  font-size: 14px;
}

#footer ul li a:hover {
  color: var(--bt-primary);
}

#footer .footer-contact i {
  color: var(--bt-primary);
  margin-right: 10px;
}

#footer .footer-contact a {
  color: #999;
}
#footer .footer-contact a:hover {
  color: var(--bt-primary);
}
#footer .footer-socials a {
  color: #999;
}
#footer .footer-socials a:hover {
  color: var(--bt-primary);
}

#footer .footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding: 20px 0;
  font-size: 13px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 12px;
  text-decoration: none;
  margin-left: auto;
  white-space: nowrap;
}

.footer-credit:hover {
  color: #bbb;
}

.footer-credit img {
  display: block;
  width: auto;
  height: 20px;
}

@media (max-width: 991.98px) {
  #footer .footer-bottom {
    gap: 16px;
  }
  .footer-credit {
    margin-left: 0;
    align-self: flex-end;
  }
}

@media (max-width: 575.98px) {
  #footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-socials {
    order: 2;
  }
  .footer-credit {
    order: 3;
    align-self: flex-end;
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  background: none;
  padding: 15px 0;
  font-size: 13px;
}

.breadcrumb-item a {
  color: var(--bt-text-light);
}

.breadcrumb-item.active {
  color: var(--bt-text);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: var(--bt-text-light);
}

/* Menu: curated one-row layout */
#menu .navbar-nav {
  flex-wrap: nowrap;
  align-items: center;
}
#menu .navbar-nav .nav-link {
  white-space: nowrap;
}
#menu .nav-more .dropdown-menu {
  max-height: 70vh;
  overflow-y: auto;
}
#menu .nav-specials,
#menu .nav-specials strong {
  color: var(--bt-primary) !important;
}
#menu .nav-specials:hover,
#menu .nav-specials:hover strong {
  color: var(--bt-primary-hover) !important;
}
@media (max-width: 991.98px) {
  #menu .navbar-nav {
    flex-wrap: wrap;
  }
  #menu .navbar-nav .nav-link {
    white-space: normal;
  }
}

/* ============================================
   CATEGORY SIDEBAR (light per Logobook mock)
   ============================================ */

.category-sidebar > aside#column-left,
.category-sidebar > .category-column-left {
  width: 100%;
  display: block;
  padding: 0;
  max-width: none;
  flex: none;
}

#btn-mobile-filter {
  min-height: 44px;
  padding: 10px 14px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .category-sidebar {
    display: none;
  }
  .category-sidebar.sidebar-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1045;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: rgba(21, 29, 33, 0.45);
    overflow: hidden;
  }
  .category-sidebar.sidebar-open #column-left,
  .category-sidebar.sidebar-open .category-column-left {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(400px, 92vw);
    max-width: 92vw;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bt-gray);
    padding: 12px 14px 24px;
    box-shadow: 4px 0 24px rgba(21, 29, 33, 0.18);
  }
  body.category-filter-open {
    overflow: hidden;
  }
  #btn-mobile-filter {
    flex: 1 1 auto;
    justify-content: center;
  }
  .category-toolbar__sort {
    flex: 1 1 100%;
    margin-left: 0;
  }
}

#column-left .bf-filter,
#column-left .sidebar-popular {
  background: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 18px;
  color: var(--bt-text);
  margin-bottom: 1.25rem;
  box-shadow: var(--bt-shadow);
}

#column-left .bf-filter__head strong,
#column-left .sidebar-popular__title {
  color: var(--bt-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#column-left .bf-filter__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#column-left .bf-filter__reset {
  color: var(--bt-text-light);
  font-size: 12px;
}
#column-left .bf-filter__reset:hover {
  color: var(--bt-primary);
}

#column-left .bf-filter__total {
  color: var(--bt-text-light);
}

#column-left .bf-filter__group {
  border-top: 1px solid var(--bt-border);
  padding-top: 12px;
  margin-top: 12px;
}

#column-left .bf-filter__group-title {
  color: var(--bt-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#column-left .bf-check__label {
  color: var(--bt-text);
  font-size: 14px;
}
#column-left .bf-check__label em {
  color: var(--bt-text-light);
  font-style: normal;
}
#column-left .bf-check input {
  accent-color: var(--bt-primary);
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

#column-left .bf-price-slider__labels,
#column-left .bf-price-slider__selected {
  color: var(--bt-text);
}
#column-left .bf-price-slider__selected .text-muted {
  color: var(--bt-text-light) !important;
}
#column-left .bf-price-slider input[type="range"] {
  accent-color: var(--bt-primary);
}

#column-left .bf-chips .bf-chip {
  background: #f3f7ec;
  color: var(--bt-primary);
}

#column-left .btn-bt-outline {
  border-color: var(--bt-border);
  color: var(--bt-text);
  background: transparent;
}
#column-left .btn-bt-outline:hover {
  background: var(--bt-gray);
  border-color: var(--bt-primary);
  color: var(--bt-primary);
}

#column-left .sidebar-popular {
  display: none;
}

.sidebar-popular ul li a {
  display: flex;
  justify-content: space-between;
  color: var(--bt-text);
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--bt-border);
}
.sidebar-popular ul li:last-child a {
  border-bottom: none;
}
.sidebar-popular ul li a:hover {
  color: var(--bt-primary);
}
.sidebar-popular__count {
  color: var(--bt-text-light);
}

/* Neutralize OC RS legacy sticky-footer hacks (position:absolute + 400-730px
   padding-bottom on columns) — they push last blocks under the footer.
   Replaced with a proper flex column layout. */
body {
  min-height: 100vh;
}
#container {
  position: static;
  min-height: 100vh;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
#container > main {
  flex: 1 0 auto;
}
#footer {
  position: static;
  bottom: auto;
  flex-shrink: 0;
}
#content, #column-left, #column-right {
  padding-bottom: 0;
}
@media (min-width: 576px) {
  #content, #column-left, #column-right {
    padding-bottom: 0;
  }
}

/* Sort bar results */
.sort-results {
  font-size: 13px;
  color: var(--bt-text-light);
  white-space: nowrap;
}

/* ============================================
   CATEGORY PAGE
   ============================================ */

#column-left .card {
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  margin-bottom: 20px;
}

#column-left .card-header {
  background-color: var(--bt-white);
  border-bottom: 1px solid var(--bt-border);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 20px;
}

#column-left .list-group-item {
  border: none;
  padding: 10px 20px;
  font-size: 14px;
}

#column-left .list-group-item:hover {
  background-color: var(--bt-gray);
  color: var(--bt-primary);
}

#column-left .list-group.mb-3 .list-group-item.active,
#column-left .list-group-item.active {
  background-color: rgba(99, 146, 11, 0.12) !important;
  border-color: transparent !important;
  color: var(--bt-primary) !important;
  font-weight: 600;
}

#column-left .list-group.mb-3 .list-group-item.active a,
#column-left .list-group-item.active a {
  color: var(--bt-primary) !important;
}

#column-left .form-check-label {
  font-size: 14px;
  cursor: pointer;
}

#column-left .form-check-input:checked {
  background-color: var(--bt-primary);
  border-color: var(--bt-primary);
}

.bobrik-brand-filter .list-group-item {
  padding: 0;
}

.bobrik-brand-filter .list-group-item a {
  display: block;
  padding: 10px 20px;
  color: var(--bt-text);
  font-size: 14px;
}

.bobrik-brand-filter .list-group-item:hover {
  background-color: var(--bt-gray);
}

.bobrik-brand-filter .list-group-item:hover a {
  color: var(--bt-primary);
}

.bobrik-brand-filter .list-group-item.active {
  background-color: rgba(99, 146, 11, 0.12);
  border-color: transparent;
}

.bobrik-brand-filter .list-group-item.active a {
  color: var(--bt-primary);
  font-weight: 600;
}

.bobrik-brand-filter__count {
  color: var(--bt-text-light);
  font-size: 12px;
}

.bobrik-brand-filter__reset {
  color: var(--bt-text-light);
  text-decoration: none;
}

.bobrik-brand-filter__reset:hover {
  color: var(--bt-primary);
}

/* Price slider */
.price-slider .range-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.price-slider .range-inputs input {
  width: 80px;
  padding: 5px 10px;
  border: 1px solid var(--bt-border);
  border-radius: 4px;
  font-size: 13px;
}

/* Sort bar */
.sort-bar {
  background-color: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 12px 20px;
  margin-bottom: 20px;
}

.sort-bar .form-select {
  border: 1px solid var(--bt-border);
  border-radius: 4px;
  font-size: 13px;
  padding: 5px 30px 5px 10px;
}

/* Pagination */
.pagination .page-link {
  color: var(--bt-text);
  border: 1px solid var(--bt-border);
  padding: 8px 14px;
  font-size: 14px;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background-color: var(--bt-primary);
  border-color: var(--bt-primary);
  color: var(--bt-white);
}

/* ============================================
   PRODUCT PAGE
   ============================================ */

#product-images {
  background-color: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 20px;
}

#product-images .main-image {
  text-align: center;
}

#product-images .main-image img {
  max-height: 400px;
  object-fit: contain;
}

#product-images.product-images--placeholder .main-image img {
  max-height: 320px;
  opacity: 0.75;
  filter: grayscale(0.15);
}

#product-images .thumbnail-list {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

#product-images .thumbnail-list img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 2px solid var(--bt-border);
  border-radius: 4px;
  padding: 5px;
  cursor: pointer;
  transition: all 0.2s;
}

#product-images .thumbnail-list img:hover,
#product-images .thumbnail-list img.active {
  border-color: var(--bt-primary);
}

.product-info h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-info .product-meta {
  color: var(--bt-text-light);
  font-size: 13px;
  margin-bottom: 15px;
}

.product-info .product-rating {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 15px;
}

.product-info .product-price-main {
  font-size: 28px;
  font-weight: 800;
  color: var(--bt-dark);
  margin-bottom: 20px;
}

.product-info .product-price-main .unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--bt-text-light);
}

/* Size selector */
.size-selector .btn-size {
  border: 2px solid var(--bt-border);
  background: var(--bt-white);
  color: var(--bt-text);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.size-selector .btn-size:hover,
.size-selector .btn-size.active {
  border-color: var(--bt-primary);
  background-color: var(--bt-primary);
  color: var(--bt-white);
}

/* Quantity */
.qty-control {
  display: inline-flex;
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  overflow: hidden;
}

.qty-control button {
  background: var(--bt-gray);
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.qty-control button:hover {
  background-color: var(--bt-border);
}

.qty-control input {
  border: none;
  width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

/* Product tabs */
#product-tabs .nav-tabs {
  border-bottom: 2px solid var(--bt-border);
}

#product-tabs .nav-tabs .nav-link {
  color: var(--bt-text-light);
  font-weight: 500;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 20px;
  margin-bottom: -2px;
}

#product-tabs .nav-tabs .nav-link:hover {
  color: var(--bt-primary);
  border-bottom-color: var(--bt-primary);
}

#product-tabs .nav-tabs .nav-link.active {
  color: var(--bt-primary);
  border-bottom-color: var(--bt-primary);
  background: none;
}

#product-tabs .tab-content {
  padding: 25px 0;
}

/* Characteristics table */
.product-spec-card {
  background: var(--bt-white);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 4px 18px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--bt-border);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table th,
.spec-table td {
  padding: 12px 0;
  font-size: 14px;
  vertical-align: top;
}

.spec-table th {
  color: var(--bt-text-light);
  width: 42%;
  font-weight: 500;
  text-align: left;
}

.spec-table td {
  color: var(--bt-text);
}

.spec-table__group td {
  padding-top: 16px;
  padding-bottom: 8px;
  color: var(--bt-dark);
}

.product-description {
  line-height: 1.65;
  font-size: 15px;
  color: var(--bt-text);
}

.product-description p {
  margin-bottom: 0.85rem;
}

.product-description p:last-child {
  margin-bottom: 0;
}

.product-description ul,
.product-description ol {
  padding-left: 1.25rem;
  margin-bottom: 0.85rem;
}

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

.product-stock__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.product-stock__label {
  color: var(--bt-text);
  font-weight: 600;
}

.product-stock-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 13px;
  color: var(--bt-text-light);
}

.product-stock-locations__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-stock-locations__item i {
  color: var(--bt-primary);
}

.product-stock-locations strong {
  color: var(--bt-text);
  font-weight: 700;
}

/* Material tags */
.material-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bt-gray);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 10px 15px;
  font-size: 13px;
}

.material-tag img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.stock-ok {
  color: var(--bt-primary);
  font-weight: 600;
}

.product-info .product-rating .fa-regular.fa-star {
  color: #d9d9d9;
}

.btn-lg.btn-bt-outline {
  border-width: 2px;
  font-weight: 600;
}

#product-info .form-label.text-uppercase {
  letter-spacing: 0.04em;
  color: var(--bt-text-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .hero-slide {
    min-height: 300px;
  }
  
  .hero-content h1 {
    font-size: 26px;
  }
  
  #features-bar .feature-item {
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  #header {
    padding: 10px 0;
  }
  
  #logo img {
    max-height: 40px;
  }
  
  .hero-slide {
    min-height: auto;
    padding: 30px 0;
  }

  .hero-banner {
    background-position: center;
  }

  .hero-banner::before {
    background: linear-gradient(180deg, rgba(244, 244, 242, 0.96) 0%, rgba(244, 244, 242, 0.88) 100%);
  }

  .hero-content {
    max-width: none;
    padding: 32px 0;
  }
  
  .hero-content h1 {
    font-size: 22px;
  }
  
  .product-card {
    margin-bottom: 15px;
  }
  
  .section-title {
    font-size: 20px;
  }
}

/* ============================================
   ACCOUNT / LOGIN + CATEGORY POLISH
   ============================================ */

#account-login .border.rounded,
#account-register .border.rounded {
  border-color: var(--bt-border) !important;
  border-radius: var(--bt-radius) !important;
  box-shadow: var(--bt-shadow);
}

#account-login h2,
#account-register h2,
#account-account h1,
#account-account h2 {
  font-family: "Geologica", system-ui, sans-serif;
  font-weight: 700;
  color: var(--bt-dark);
}

#form-login .form-control:focus,
#form-register .form-control:focus {
  border-color: var(--bt-primary);
  box-shadow: 0 0 0 3px rgba(99, 146, 11, 0.15);
}

#product-category .sort-bar .btn-bt-outline {
  border-width: 2px;
  font-weight: 600;
}

.category-hero__title {
  font-family: "Geologica", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bt-dark);
  margin-bottom: 12px;
}

.category-hero__lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--bt-text-light);
  margin: 0;
}

.category-hero__media {
  border-radius: var(--bt-radius);
  overflow: hidden;
  background: var(--bt-gray);
  border: 1px solid var(--bt-border);
}

.category-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 220px;
}

.category-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bt-text);
  padding-top: 8px;
  border-top: 1px solid var(--bt-border);
}

.category-description p {
  margin-bottom: 1rem;
}

.category-description p:last-child {
  margin-bottom: 0;
}

.category-description h2,
.category-description h3,
.category-description h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--bt-dark);
}

.category-description ul,
.category-description ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.category-description a {
  color: var(--bt-primary);
  text-decoration: underline;
}

.category-toolbar {
  gap: 12px !important;
}

.category-toolbar__reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--bt-text-light);
  text-decoration: none;
}

.category-toolbar__reset:hover {
  color: var(--bt-primary);
}

.category-toolbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.category-toolbar__sort-label {
  font-size: 13px;
  color: var(--bt-text);
  white-space: nowrap;
  margin: 0;
}

.category-toolbar__sort .form-select {
  min-width: 190px;
  border: 1px solid var(--bt-border);
  font-size: 13px;
}

.category-toolbar__views .btn.active,
.category-toolbar__views .btn:active {
  background: var(--bt-primary);
  border-color: var(--bt-primary);
  color: #fff;
}

.category-product-grid .product-card .wishlist-btn,
.category-product-grid .product-card .product-rating {
  display: block;
}

.category-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 20px 24px;
  background: var(--bt-gray);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
}

.category-cta__mascot {
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}

.category-cta__body {
  flex: 1 1 220px;
  min-width: 0;
}

.category-cta__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  color: var(--bt-dark);
}

.category-cta__text {
  font-size: 14px;
  color: var(--bt-text-light);
  margin: 0;
}

.category-cta__btn {
  flex: 0 0 auto;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 12px 22px;
}

.category-pagination .sort-results {
  font-size: 13px;
}

@media (max-width: 767.98px) {
  .category-toolbar__sort {
    width: 100%;
    margin-left: 0;
  }
  .category-toolbar__sort .form-select {
    flex: 1;
  }
  .category-cta__btn {
    width: 100%;
    text-align: center;
  }
}

#product-category h1.h2 {
  letter-spacing: 0.02em;
}

.category-card {
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.category-card:hover {
  border-color: var(--bt-primary);
  box-shadow: var(--bt-shadow);
}
.category-card h5 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.category-card .cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  color: #a8aeb2;
  font-size: 44px;
  transition: color 0.2s ease;
}
.category-card:hover .cat-icon {
  color: var(--bt-primary);
}

.brand-item .brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--bt-dark);
  letter-spacing: 0.04em;
}

.promo-banner.cta-consultation {
  min-height: 140px;
  justify-content: center;
}

.promo-banner.cta-consultation a {
  text-decoration: underline;
  font-weight: 600;
}

/* Checkout UX */
#checkout-checkout {
  padding-bottom: 3rem;
  margin-bottom: 1.5rem;
}
#checkout-cart {
  padding-bottom: 3.5rem;
  margin-bottom: 2rem;
}
.checkout-method-list .form-check {
  padding-left: 1.75rem;
}
.checkout-method-list .form-check-input {
  margin-top: 0.2rem;
}
.checkout-layout {
  align-items: flex-start;
  margin-bottom: 2rem;
}
.checkout-layout > .col-lg-5 {
  align-self: flex-start;
}
.checkout-steps .checkout-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  font-size: 13px;
  color: var(--bt-text-light);
  background: #fff;
}
.checkout-steps .checkout-step span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bt-gray);
  color: var(--bt-dark);
  font-weight: 700;
  font-size: 12px;
}
.checkout-steps .checkout-step.active {
  border-color: var(--bt-primary);
  color: var(--bt-dark);
}
.checkout-steps .checkout-step.active span {
  background: var(--bt-primary);
  color: #fff;
}
.checkout-panel {
  background: #fff;
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 16px;
}
.checkout-summary.sticky-lg-top {
  top: 1rem;
  z-index: 1;
}
@media (min-width: 992px) {
  .checkout-summary.sticky-lg-top {
    position: sticky;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
#checkout-confirm .btn,
#checkout-payment-method .btn,
#checkout-shipping-method .btn {
  width: 100%;
}
.bobrik-hits .section-title {
  margin-bottom: 1rem;
}

/* Home hits: ХИТ badge like prototype */
.bobrik-hits .product-card::before {
  content: "ХИТ";
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--bt-primary);
  color: var(--bt-white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 2;
}
.bobrik-hits .product-card .badge-stock {
  display: none;
}
.bobrik-hits .product-card .product-image img,
.bobrik-latest .product-card .product-image img {
  max-height: 140px;
}

/* Home carousel cards — mockup layout */
.product-card--carousel .wishlist-btn {
  display: block;
}

.product-card--carousel .product-bottom {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.product-card--carousel .product-cart {
  width: 100%;
  margin-top: 12px;
}

.product-card--carousel .btn-cart {
  width: 100%;
  height: auto;
  min-height: 38px;
  padding: 8px 12px;
  gap: 6px;
  background-color: var(--bt-gray);
  border: 1px solid var(--bt-border);
  color: var(--bt-text);
  font-size: 13px;
  font-weight: 500;
}

.product-card--carousel .btn-cart:hover {
  background-color: var(--bt-primary);
  border-color: var(--bt-primary);
  color: var(--bt-white);
}

.product-card--carousel .btn-cart__text {
  display: inline;
}

.bobrik-product-carousel .product-card {
  border-radius: var(--bt-radius);
}

/* Home product carousels (featured + latest) — seamless blocks */
.bobrik-hits.bobrik-product-carousel,
.bobrik-latest.bobrik-product-carousel,
section.bobrik-hits,
section.bobrik-latest {
  background: var(--bt-gray);
  border: none;
  box-shadow: none;
}

.bobrik-hits + .bobrik-latest {
  padding-top: 0;
  margin-top: 0;
}

.bobrik-hits .section-title,
.bobrik-latest .section-title {
  margin-bottom: 1rem;
}

/* Home product carousels (featured + latest) */
.bobrik-product-carousel__track {
  position: relative;
  padding: 0 48px;
  box-shadow: none;
  filter: none;
  border: none;
  background: transparent;
}

.bobrik-hits .product-card,
.bobrik-latest .product-card,
.bobrik-product-carousel .product-card,
.bobrik-hits .product-card--carousel,
.bobrik-latest .product-card--carousel,
.bobrik-product-carousel .product-card--carousel {
  box-shadow: none;
  border: none;
  background: transparent;
  padding: 8px 6px;
}

.bobrik-hits .product-card:hover,
.bobrik-latest .product-card:hover,
.bobrik-product-carousel .product-card:hover {
  box-shadow: none;
  transform: none;
}

.bobrik-product-carousel__track .carousel-item {
  transition: transform 0.45s ease-in-out;
}

.bobrik-product-carousel__control {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--bt-dark);
  opacity: 1;
  box-shadow: 0 4px 14px rgba(21, 29, 33, 0.14);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bobrik-product-carousel__control .bobrik-carousel-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  margin: 0 auto;
}

.bobrik-product-carousel__control.carousel-control-prev .bobrik-carousel-arrow {
  transform: rotate(-135deg);
  margin-left: 14px;
}

.bobrik-product-carousel__control.carousel-control-next .bobrik-carousel-arrow {
  transform: rotate(45deg);
  margin-right: 14px;
}

.bobrik-product-carousel__control:hover {
  background: var(--bt-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(99, 146, 11, 0.28);
  transform: translateY(-50%) scale(1.04);
}

.bobrik-product-carousel__control.carousel-control-prev {
  left: 0;
}

.bobrik-product-carousel__control.carousel-control-next {
  right: 0;
}

.bobrik-product-carousel__track .carousel-inner,
.bobrik-product-carousel__track .carousel-item,
.bobrik-product-carousel__track .row {
  border: none;
  box-shadow: none;
}

.bobrik-latest .section-title {
  margin-bottom: 1rem;
}

.bobrik-latest .product-card::before {
  content: "NEW";
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--bt-primary);
  color: var(--bt-white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 2;
}

.bobrik-latest .product-card .badge-stock {
  display: none;
}

.bobrik-latest .product-card .product-image img {
  max-height: 120px;
}

@media (max-width: 767.98px) {
  .bobrik-product-carousel__track {
    padding: 0 28px;
  }
  .bobrik-product-carousel__control {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 991.98px) {
  .checkout-steps {
    flex-direction: column;
  }
  .checkout-summary.sticky-lg-top {
    position: static !important;
    max-height: none;
    overflow: visible;
  }
  #checkout-checkout {
    padding-bottom: 2rem;
  }
}

/* Information pages */
#information-information {
  padding-bottom: 3rem;
  margin-bottom: 1.5rem;
}
#information-information .information-content {
  line-height: 1.6;
}
#information-information .information-content img {
  max-width: 100%;
  height: auto;
}
#information-information .information-content h2,
#information-information .information-content h5 {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

/* ============================================
   HOME per Logobook: hero, trust strip, rect categories
   ============================================ */

.hero-lead {
  font-size: 16px;
  color: var(--bt-text-light);
  margin: 12px 0 18px;
}

.hero-usp {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0 0 24px;
}

.hero-usp li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--bt-text);
}

.hero-usp i {
  color: var(--bt-primary);
  font-size: 18px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--bt-border);
  border-bottom: 1px solid var(--bt-border);
}

.trust-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--bt-text);
  text-align: left;
}

.trust-strip__item i {
  color: var(--bt-primary);
  font-size: 20px;
  flex-shrink: 0;
}

.home-categories__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.home-categories__title {
  margin: 0;
  text-align: left;
}

.home-categories__all {
  font-size: 14px;
  font-weight: 600;
  color: var(--bt-primary);
  white-space: nowrap;
}

.category-card--rect {
  background: #fff;
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  overflow: hidden;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.category-card--rect:hover {
  border-color: var(--bt-primary);
  box-shadow: var(--bt-shadow-hover);
}

.category-card__img {
  height: 120px;
  background-size: cover;
  background-position: center;
  background-color: #fafafa;
}

.category-card--rect h5 {
  padding: 12px 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

#features-bar {
  background: transparent;
  color: var(--bt-text);
  padding: 0;
}

.home-categories .category-card--rect {
  padding: 0;
  box-shadow: none;
}

.home-categories .category-card--rect:hover {
  box-shadow: var(--bt-shadow-hover);
}

.about-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--bt-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.about-text {
  color: var(--bt-text-light);
  max-width: 720px;
}

@media (max-width: 991.98px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-categories__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .brands-strip {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
}

@media (max-width: 575.98px) {
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .trust-strip__item {
    justify-content: flex-start;
  }
  .hero-content h1 {
    font-size: 1.35rem;
  }
  .hero-lead {
    font-size: 14px;
  }
  .home-promo .promo-banner {
    min-height: 180px;
  }
  .category-card__img {
    height: 96px;
  }
}

@media (max-width: 767.98px) {
  .home-categories__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRE-LAUNCH QA — overflow / mobile safety
   ============================================ */
html {
  overflow-x: clip;
  max-width: 100%;
}

body {
  overflow-x: clip;
}

#header,
.header-main,
#container {
  max-width: 100%;
}

/* Ширина контента как в макете: ~1300–1600px на больших экранах */
.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1520px;
  }
}

@media (min-width: 1600px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1600px;
  }
}

.breadcrumb {
  flex-wrap: wrap;
  row-gap: 0.25rem;
}

.checkout-steps {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.product-description,
.category-description,
.category-description--brand {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-description table,
.category-description table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-description img,
.category-description img,
.product-description iframe,
.category-description iframe,
.product-description video {
  max-width: 100%;
  height: auto;
}

.product-spec-card.table-responsive {
  margin-bottom: 0;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  min-width: 280px;
}

#checkout-checkout .checkout-summary {
  position: static;
}

@media (max-width: 991.98px) {
  #checkout-checkout .checkout-layout > .col-lg-5 {
    margin-top: 0.5rem;
  }
  .category-product-grid .product-name {
    font-size: 14px;
    line-height: 1.35;
  }
}

@media (max-width: 575.98px) {
  .category-hero__title,
  .bobrik-product h1,
  #freza-h1 {
    font-size: 1.35rem;
    line-height: 1.25;
  }
  .product-price-main .price-new {
    font-size: 1.35rem;
  }
  .nav-tabs .nav-link {
    font-size: 13px;
    padding: 0.5rem 0.65rem;
  }
}
