:root {
  --brand: #9e1919;
  --brand-dark: #7a1212;
  --brand-light: #c42020;
  --text-main: #1a1a1a;
  --text-muted: #666;
  --border: #e0e0e0;
  --bg-sidebar: #f7f7f7;
  --font-main: 'Roboto', sans-serif;
  --font-cond: 'Roboto Condensed', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-main);
  background: #fff;
  color: var(--text-main);
  margin: 0;
}

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--brand);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Logo */
.logo-block {
  flex-shrink: 0;
}
.logo-block img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.logo-text {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 28px;
  color: var(--brand);
  line-height: 1.1;
  white-space: nowrap;
}
.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Search */
.search-block {
  flex: 1 1 320px;
  min-width: 200px;
}
.search-block .input-group input {
  border: 2px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .2s;
}
.search-block .input-group input:focus {
  border-color: var(--brand);
  box-shadow: none;
}
.search-block .btn-search {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
  border-radius: 0 4px 4px 0;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s;
}
.search-block .btn-search:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* Phones */
.phones-block {
  flex-shrink: 0;
  text-align: center;
}
.phones-block a {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.5;
  transition: color .2s;
}
.phones-block a:hover { color: var(--brand); }
.phones-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

/* Cart */
.cart-block {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color .2s;
  text-decoration: none;
  color: inherit;
}
.cart-block:hover { border-color: var(--brand); }
.cart-icon {
  font-size: 28px;
  color: var(--brand);
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-info {
  font-size: 12px;
  line-height: 1.4;
}
.cart-info strong {
  display: block;
  font-size: 13px;
  color: var(--brand);
}

/* ===== NAV MENU ===== */
.main-nav {
  background: var(--brand);
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}
.main-nav ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  letter-spacing: 0.3px;
  transition: background .2s;
  white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: var(--brand-dark);
}
.main-nav ul li a .bi { font-size: 16px; }

/* Burger button (mobile) */
.burger-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 10px 16px;
  cursor: pointer;
}

/* ===== SLIDER ===== */
.main-slider {
  position: relative;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform .45s ease;
}
.slider-slide {
  min-width: 100%;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
}
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.slide-content h2 {
  font-family: var(--font-cond);
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  margin-bottom: 20px;
}
.slide-content p {
  font-size: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  margin-bottom: 20px !important;
}
.slide-content .btn-slide {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 30px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s;
}
.slide-content .btn-slide:hover { background: var(--brand-dark); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(158,25,25,.8);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.slider-arrow:hover { background: var(--brand-dark); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: background .2s;
  padding: 0;
}
.slider-dot.active { background: #fff; }

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 28px 0 40px;
}

/* ===== SIDEBAR CATALOG ===== */
.sidebar-catalog {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.sidebar-catalog h3 {
  background: var(--brand);
  color: #fff;
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 16px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.catalog-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: none;
}
.catalog-list li a {
  display: block;
  padding: 8px 16px 8px 20px;
  font-size: 13px;
  color: var(--text-main);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: border-color .15s, background .15s, color .15s;
  line-height: 1.35;
}
.catalog-list li a:hover, .catalog-list li.active a{
  border-left-color: var(--brand);
  background: #fff;
  color: var(--brand);
}
.catalog-list li + li {
  border-top: 1px solid var(--border);
}

/* ===== PRODUCTS GRID ===== */

.content h1 {
  font-family: var(--font-cond);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-company h1 {
	font-family: var(--font-cond);
	font-size: 36px;
	font-weight: 700;
	color: var(--brand);
	margin-bottom: 20px;
	padding-bottom: 10px;

}

.about-company {
	margin: 50px 0px 0px 0px;
	padding: 50px 0px;
	background: var(--bg-sidebar);
}
.about-company p {
	font-size: 20px;
	line-height: 150%;
}



.content h2 {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
  display: flex;
  align-items: center;
  gap: 8px;
}



.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.catalog-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}


.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.product-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.1);
  border-color: var(--brand);
}
.product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #fff;
  padding: 5px;
}
.product-img img {
	width: 100%;
	height: auto;
}
.product-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 40px;
}
.product-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 8px;
  flex: 1;
}
.product-name a {
	color: var(--text-main);
	text-decoration: none;
}
.product-price {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}
.product-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.btn-detail {
  display: block;
  width: 100%;
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 4px;
  padding: 7px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-cond);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-detail:hover {
  background: var(--brand);
  color: #fff;
}


/* ===== FOOTER ===== */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 40px 0 20px;
}
.footer-logo {
  font-family: var(--font-cond);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-logo span { color: var(--brand-light); }
.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #999;
  max-width: 260px;
}
.footer-heading {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 7px; }
.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--brand-light); }
.footer-contact {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
}
.footer-contact strong { color: #fff; }
.footer-phone {
  font-family: var(--font-cond);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 32px;
  padding-top: 18px;
  font-size: 12px;
  color: #666;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a{
	color: #fff;
	text-decoration: none;
}

.breadcrumb-item a{
	color: var(--bs-breadcrumb-item-active-color);
}



.item-info .photo {
	border: 1px solid var(--border);
	padding: 20px;
	border-radius: 6px;
}
.item-info .photo img {
	width: 100%;
	max-width: 100%;
	margin: 0px auto;
	display: block;
	height: auto;
}



.item-info .artikul {
	color: #777;
	font-size: 20px;
}
.item-info .price {
	font-family: var(--font-cond);
	font-size: 40px;
	font-weight: 700;
	color: var(--brand);
	margin: 15px 0px 40px 0px;
}
.item-info .price span {
	font-weight: 400;
	font-size: 30px;
}


.in_basket {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
  border-radius: 4px;
  padding: 7px 25px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-cond);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.in_basket:hover {
  background: #fff;
  color: var(--brand);
}


.delivery-message {
	border: 2px solid var(--brand);
	padding: 20px;
	text-align: center;
	margin-top: 50px;
	border-radius: 25px;
	background: var(--bg-sidebar);
	font-weight: 700;
	font-family: var(--font-cond);
}
.delivery-message div {
	text-transform: uppercase;
	font-size: 24px;
	color: var(--brand);
}


.btn-success {
  background: var(--brand) !important;
  color: #fff !important;
  border: 2px solid var(--brand) !important;
  font-weight: 700;
  font-family: var(--font-cond);
}
.btn-success:hover {
  background: #fff !important;
  color: var(--brand) !important;	
}


#map {
	height: 600px;
	border-radius: 6px;
	border: 1px solid var(--border);
}


input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
input:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
input:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */


.modalKV {
	display: grid;
	grid-template-columns: 150px auto;
	row-gap: 7px;
	margin-bottom: 25px;
}
.modalKV div:nth-child(odd) {
	color: #777;
}
.modalKV div:nth-child(even) {
	font-weight: bold;
}

.mm-slideout { z-index:auto;}



.breadcrumb-bar {
	background: var(--bg-sidebar);
	border-bottom: 1px solid var(--border);
	padding: 10px 0;
	font-size: 13px;
	color: var(--text-muted);
}
.breadcrumb-bar a {
	color: var(--text-muted);
	text-decoration: none;
	transition: color .15s;
}
.breadcrumb-bar a:hover { color: var(--brand); }
.breadcrumb-bar .sep { margin: 0 6px; }
.breadcrumb-bar .breadcrumb {
	margin-bottom: 0px;
}
.breadcrumb-item+.breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, "›");
}


/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .main-nav ul { display: none; }
  .burger-btn { display: flex; align-items: center; }
  .main-nav .container { display: flex; align-items: center; justify-content: space-between; padding: 4px 12px; }
  .nav-brand-mobile {
	font-family: var(--font-cond);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.3px;
  }
  .slider-slide { height: 240px; }
  .slide-content h2 { font-size: 22px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  
  .item-info .artikul {
	  margin-top: 30px;
  }
  
}

@media (max-width: 767px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .phones-block { order: 3; flex: 1 1 100%; display: flex; gap: 16px; justify-content: center; }
  .cart-block { order: 4; flex: 1 1 100%; justify-content: center; }
  .search-block { flex: 1 1 calc(100% - 100px); }
  .sidebar-catalog { margin-bottom: 24px; }
  .slider-slide { height: 200px; }
  .slide-content p { display: none; }
  
  .footer-logo {
	  float: left;
	  margin-right: 15px;
  }
  .footer-logo img {
	  width: auto;
	  height: 150px;
  }
  .footer-desc {
	  max-width: 100%;
	  margin-top: 25px;
  }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-text { font-size: 18px; }
}




#cookie-agreement {
	font-size: 14px;
	line-height: 150%;
	position: fixed;
	z-index: 10;
	bottom: 15px;
	left: 15px;
	width: 500px;
	background: #fff;
	padding: 15px;
	-webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.4);
	box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.4);
}
#cookie-agreement .cookie-text p {
	margin: 0px;
}
#cookie-agreement .cookie-text div + div {
	margin-top: 10px;
}

#cookie-agreement .cookie-text a {
	color: var(--brand);
}

#cookie-agreement-button {
	display: inline-block;
	background: #ff7000;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
    padding: 0px 20px; 
}
#cookie-agreement-button:hover {
	background: #db5300;
	text-decoration: none;
}

@media (max-width: 767px) {
	#cookie-agreement {
		bottom: 15px;
		right: 15px;
		width: auto;
	}
}
