body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	color: #666;
	font-size: 16px;
	line-height: 20px;
	width: 100%;
}
h1, h2, h3, h4, h5, h6 {
	color: #444;
}
/* default font size */
.fa {
	font-size: 14px;
}
/* Override the bootstrap defaults */
h1 {
	font-size: 33px;
}
h2 {
	font-size: 27px;
}
h3 {
	font-size: 21px;
}
h4 {
	font-size: 15px;
}
h5 {
	font-size: 12px;
}
h6 {
	font-size: 10.2px;
}
a {
	color: #333;
}
a:hover {
	text-decoration: none;
}
legend {
	font-size: 18px;
	padding: 7px 0px
}
label {
	font-size: 12px;
	font-weight: normal;
}
select.form-control, textarea.form-control, input[type="text"].form-control, input[type="password"].form-control, input[type="datetime"].form-control, input[type="datetime-local"].form-control, input[type="date"].form-control, input[type="month"].form-control, input[type="time"].form-control, input[type="week"].form-control, input[type="number"].form-control, input[type="email"].form-control, input[type="url"].form-control, input[type="search"].form-control, input[type="tel"].form-control, input[type="color"].form-control {
	font-size: 12px;
}
.input-group input, .input-group select, .input-group .dropdown-menu, .input-group .popover {
	font-size: 12px;
}
.input-group .input-group-addon {
	font-size: 12px;
	height: 30px;
}
/* Fix some bootstrap issues */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
	display: inline;
}

.nav-tabs {
	margin-bottom: 15px;
}
div.required .control-label:before {
	content: '* ';
	color: #F00;
	font-weight: bold;
}
/* Gradent to all drop down menus */
.dropdown-menu li > a:hover {
	text-decoration: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
}
/* top */
#top {
	background-color: #EEEEEE;
	border-bottom: 1px solid #e2e2e2;
	padding: 4px 0px 3px 0;
	margin: 0 0 20px 0;
	min-height: 40px;
}
#top .container {
	padding: 0 20px;
}
#top #form-currency .currency-select,
#top #form-language .language-select {
	text-align: left;
}
#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover {
	text-shadow: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
}
#top .btn-link, #top-links li, #top-links a {
	color: #888;
	text-shadow: 0 1px 0 #FFF;
	text-decoration: none;
}
#top .btn-link:hover, #top-links a:hover {
	color: #444;
}
#top-links .dropdown-menu a {
	text-shadow: none;
}
#top-links .dropdown-menu a:hover {
	color: #FFF;
}
#top .btn-link strong {
	font-size: 14px;
        line-height: 14px;
}
#top-links {
	padding-top: 6px;
}
#top-links a + a {
	margin-left: 15px;
}
/* logo */
#logo {
	margin: 0 0 10px 0;
}
#logo h1 {
	font-size: 28px;
	margin-bottom: 20px;
	margin-top: -5px;
}
/* search */
#search {
	margin-bottom: 10px;
}
#search .input-lg {
	height: 40px;
	line-height: 20px;
	padding: 0 10px;
}
#search .btn-lg {
	font-size: 15px;
	line-height: 18px;
	padding: 10px 35px;
	text-shadow: 0 1px 0 #FFF;
}
/* cart */
#cart {
	margin-bottom: 10px;
}
#cart > .btn {
	font-size: 12px;
	line-height: 18px;
	color: #FFF;
	background-image: linear-gradient(to bottom, #555, #555);
}
#cart.open > .btn {
	background-image: none;
	background-color: #FFFFFF;
	border: 1px solid #E6E6E6;
	color: #666;
	box-shadow: none;
	text-shadow: none;
}
#cart.open > .btn:hover {
	color: #444;
}
#cart .dropdown-menu {
	background: #eee;
	z-index: 1001;
}
#cart .dropdown-menu {
	min-width: 100%;
	overflow-y: auto;
	max-height: 800px;
	scrollbar-width: thin;
	overflow-x: hidden;
}
@media (max-width: 478px) {
	#cart .dropdown-menu {
		width: 100%;
	}
}
#cart .dropdown-menu table {
	margin-bottom: 10px;
}
#cart .dropdown-menu li > div {
	min-width: 427px;
	padding: 0 10px;
}
@media (max-width: 478px) {
	#cart .dropdown-menu li > div {
		min-width: 100%;
	}
}
#cart .dropdown-menu li p {
	margin: 20px 0;
}
#menu {
    background-color: #DCDCDC; 
    border: 1px solid #a8ce97;
    border-radius: 10px;
    min-height: 48px;
    box-shadow: none;
    text-align: center;
    padding: 0;
}

#menu .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#menu .nav > li {
    display: inline-block;
}

#menu .nav > li > a {
    color: #61885b; /* темно-зеленый пастельный */
    padding: 14px 22px;
    background-color: transparent;
    font-size: 17px;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    text-align: center;
    display: inline-block;
}

#menu .nav > li > a:hover,
#menu .nav > li.open > a {
    background-color: #a8ce97;
    color: #fff;
}

#menu .dropdown-menu {
    background: #eef4ec;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

#menu .dropdown-inner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
#menu .dropdown-inner a {
    min-width: 160px;
    display: block;
    padding: 9px 22px;
    line-height: 22px;
    color: #61885b;
    font-size: 15px;
    text-align: center;
    background: transparent;
    border-radius: 4px;
}
#menu .dropdown-inner li a:hover {
    background: #a8ce97;
    color: #fff;
}
#menu .see-all {
    display: block;
    margin-top: 0.5em;
    border-top: 1px solid #a8ce97;
    padding: 8px 20px;
    border-radius: 0 0 6px 6px;
    font-size: 15px;
    color: #61885b;
    background: #eef4ec;
    text-align: center;
}
#menu .see-all:hover, #menu .see-all:focus {
    color: #fff;
    background: #a8ce97;
}

#menu #category {
    color: #61885b;
    font-weight: 600;
    font-size: 20px;
}

#menu .btn-navbar {
    font-size: 17px;
    color: #fff;
    padding: 8px 22px;
    background: #a8ce97;
    border-color: #a8ce97 #a8ce97 #a8ce97;
    border-radius: 6px;
    margin: 0 0 0 14px;
}
#menu .btn-navbar:hover,
#menu .btn-navbar:focus,
#menu .btn-navbar:active {
    color: #fff;
    background: #61885b;
}

@media (min-width: 768px) {
    #menu .dropdown:hover .dropdown-menu {
        display: block;
    }
}
@media (max-width: 767px) {
    #menu {
        border-radius: 16px;
    }
    #menu .nav {
        flex-direction: column;
    }
    #menu div.dropdown-inner > ul.list-unstyled {
        display: block;
    }
    #menu div.dropdown-menu {
        margin-left: 0 !important;
        padding-bottom: 10px;
        background-color: #eef4ec;
    }
    #menu .dropdown-inner {
        display: block;
    }
    #menu .dropdown-inner a {
        width: 100%;
        color: #61885b;
    }
    #menu .dropdown-menu a:hover,
    #menu .dropdown-menu ul li a:hover {
        background: #a8ce97;
        color: #fff;
    }
    #menu .see-all {
        margin-top: 0;
        border: none;
        border-radius: 0;
        color: #61885b;
        background: #eef4ec;
        text-align: center;
    }

}
/* content */
#content {
	min-height: 600px;

}
/* footer */
footer {
	margin-top: 30px;
	padding-top: 30px;
	background-color: #303030;
	border-top: 1px solid #ddd;
	color: #e2e2e2;
}
footer hr {
	border-top: none;
	border-bottom: 1px solid #666;
}
footer a {
	color: #ccc;
}
footer a:hover {
	color: #fff;
}
footer h5 {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
}
/* alert */
.alert {
	padding: 8px 14px 8px 14px;
}
/* breadcrumb */
.breadcrumb {
	margin: 0 0 20px 0;
	padding: 8px 0;
	border: 1px solid #ddd;
}
.breadcrumb i {
	font-size: 15px;
}
.breadcrumb > li {
	text-shadow: 0 1px 0 #FFF;
	padding: 0 20px;
	position: relative;
	white-space: nowrap;
}
.breadcrumb > li + li:before {
	content: '';
	padding: 0;
}
.breadcrumb > li:after {
	content: '';
	display: block;
	position: absolute;
	top: -3px;
	right: -5px;
	width: 26px;
	height: 26px;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
html[dir=rtl] .breadcrumb > li::after {
  top: -3px;
  left: -5px;
  width: 26px;
  height: 26px;
  border-left: 1px solid #DDD;
  border-top: 1px solid #DDD;
  right: unset;
  border-right: unset;
  border-bottom:unset;

}
.pagination {
	margin: 0;
}
/* buttons */
.buttons {
	margin: 1em 0;
}
.btn {
	padding: 7.5px 12px;
	font-size: 12px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.btn-xs {
	font-size: 9px;
}
.btn-sm {
	font-size: 10.2px;
}
.btn-lg {
	padding: 10px 16px;
	font-size: 15px;
}
.btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
	font-size: 12px;
}
.btn-group > .btn-xs {
	font-size: 9px;
}
.btn-group > .btn-sm {
	font-size: 10.2px;
}
.btn-group > .btn-lg {
	font-size: 15px;
}
.btn-default {
	color: #777;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #e7e7e7;
	background-image: linear-gradient(to bottom, #eeeeee, #dddddd);
	background-repeat: repeat-x;
	border-color: #dddddd #dddddd #b3b3b3 #b7b7b7;
}
.btn-primary {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
	border-color: #1f90bb #1f90bb #145e7a;
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
	background-color: #1f90bb;
	background-position: 0 -15px;
}
.btn-warning {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #faa732;
	background-image: linear-gradient(to bottom, #fbb450, #f89406);
	background-repeat: repeat-x;
	border-color: #f89406 #f89406 #ad6704;
}
.btn-warning:hover, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-danger {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #da4f49;
	background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	border-color: #bd362f #bd362f #802420;
}
.btn-danger:hover, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-success {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #5bb75b;
	background-image: linear-gradient(to bottom, #62c462, #51a351);
	background-repeat: repeat-x;
	border-color: #51a351 #51a351 #387038;
}
.btn-success:hover, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-info {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #df5c39;
	background-image: linear-gradient(to bottom, #e06342, #dc512c);
	background-repeat: repeat-x;
	border-color: #dc512c #dc512c #a2371a;
}
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
	background-image: none;
	background-color: #df5c39;
}
.btn-link {
	border-color: rgba(0, 0, 0, 0);
	cursor: pointer;
	color: #333;
	border-radius: 0;
}
.btn-link, .btn-link:active, .btn-link[disabled] {
	background-color: rgba(0, 0, 0, 0);
	background-image: none;
	box-shadow: none;
}
.btn-inverse {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #363636;
	background-image: linear-gradient(to bottom, #444444, #222222);
	background-repeat: repeat-x;
	border-color: #222222 #222222 #000000;
}
.btn-inverse:hover, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
	background-color: #222222;
	background-image: linear-gradient(to bottom, #333333, #111111);
}
/* list group */
.list-group a {
	border: 1px solid #DDDDDD;
	color: #888888;
	padding: 8px 12px;
}
.list-group a.active, .list-group a.active:hover, .list-group a:hover {
	color: #444444;
	background: #eeeeee;
	border: 1px solid #DDDDDD;
	text-shadow: 0 1px 0 #FFF;
}
/* carousel */
.carousel-caption {
	color: #FFFFFF;
	text-shadow: 0 1px 0 #000000;
}
.carousel-control .icon-prev:before {
	content: '\f053';
	font-family: FontAwesome;
}
.carousel-control .icon-next:before {
	content: '\f054';
	font-family: FontAwesome;
}
/* product list */
.product-thumb {
	border: 1px solid #ddd;
	margin-bottom: 20px;
	overflow: auto;
}
.product-thumb .image {
	text-align: center;
}
.product-thumb .image a {
	display: block;
}
.product-thumb .image a:hover {
	opacity: 0.8;
}
.product-thumb .image img {
	margin-left: auto;
	margin-right: auto;
}
.product-grid .product-thumb .image {
	float: none;
}
@media (min-width: 767px) {
.product-list .product-thumb .image {
	float: left;
	padding: 0 15px;
}
}
.product-thumb h4 {
	font-weight: bold;
}
.product-thumb .caption {
	padding: 0 0px;
	min-height: -180px;
}
.product-thumb .caption > h4 + p {
	height: 70px;
	overflow: hidden;
}
.product-list .product-thumb .caption {
	margin-left: 230px;
}
@media (max-width: 1200px) {
.product-grid .product-thumb .caption {
	min-height: 210px;
	padding: 0 10px;
}
}
@media (max-width: 767px) {
.product-list .product-thumb .caption {
	min-height: 0;
	margin-left: 0;
	padding: 0 10px;
}
.product-grid .product-thumb .caption {
	min-height: 0;
}
}
.product-thumb .rating {
	padding-bottom: 10px;
}
.rating .fa-stack {
	font-size: 8px;
}
.rating .fa-star-o {
	color: #999;
	font-size: 15px;
}
.rating .fa-star {
	color: #FC0;
	font-size: 15px;
}
.rating .fa-star + .fa-star-o {
	color: #E69500;
}
h2.price {
	margin: 0;
}
.product-thumb .price {
	color: #444;
}
.product-thumb .price-new {
	font-weight: 600;
}
.product-thumb .price-old {
	color: #999;
	text-decoration: line-through;
	margin-left: 10px;
}
.product-thumb .price-tax {
	color: #999;
	font-size: 12px;
	display: block;
}
.product-thumb .button-group {
	border-top: 1px solid #ddd;
	background-color: #eee;
	overflow: auto;
}
.product-list .product-thumb .button-group {
	border-left: 1px solid #ddd;
}
@media (max-width: 768px) {
	.product-list .product-thumb .button-group {
		border-left: none;
	}
}
.product-thumb .button-group button {
	width: 60%;
	border: none;
	display: inline-block;
	float: left;
	background-color: #eee;
	color: #888;
	line-height: 38px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}
.product-thumb .button-group button + button {
	width: 20%;
	border-left: 1px solid #ddd;
}
.product-thumb .button-group button:hover {
	color: #444;
	background-color: #ddd;
	text-decoration: none;
	cursor: pointer;
}
@media (max-width: 1200px) {
	.product-thumb .button-group button, .product-thumb .button-group button + button {
		width: 33.33%;
	}
}
@media (max-width: 767px) {
	.product-thumb .button-group button, .product-thumb .button-group button + button {
		width: 33.33%;
	}
}
.thumbnails {
	overflow: auto;
	clear: both;
	list-style: none;
	padding: 0;
	margin: 0;
}
.thumbnails > li {
	margin-left: 20px;
}
.thumbnails {
	margin-left: -20px;
}
.thumbnails > img {
	width: 100%;
}
.image-additional a {
	margin-bottom: 20px;
	padding: 5px;
	display: block;
	border: 1px solid #ddd;
}
.image-additional {
	max-width: 78px;
}
.thumbnails .image-additional {
	float: left;
	margin-left: 20px;
}

@media (min-width: 1200px) {
	#content .col-lg-2:nth-child(6n+1),
	#content .col-lg-3:nth-child(4n+1),
	#content .col-lg-4:nth-child(3n+1),
	#content .col-lg-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	#content .col-md-2:nth-child(6n+1),
	#content .col-md-3:nth-child(4n+1),
	#content .col-md-4:nth-child(3n+1),
	#content .col-md-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	#content .col-sm-2:nth-child(6n+1),
	#content .col-sm-3:nth-child(4n+1),
	#content .col-sm-4:nth-child(3n+1),
	#content .col-sm-6:nth-child(2n+1) {
		clear:left;
	}
}

/* fixed colum left + content + right*/
@media (min-width: 768px) {
    #column-left  .product-layout .col-md-3 {
       width: 100%;
    }

	#column-left + #content .product-layout .col-md-3 {
       width: 50%;
    }

	#column-left + #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }

    #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }
}

/* fixed product layouts used in left and right columns */
#column-left .product-layout, #column-right .product-layout {
	width: 100%;
}

/* fixed mobile cart quantity input */
.input-group .form-control[name^=quantity] {
	min-width: 50px;
}

/* Missing focus and border color to overwrite bootstrap */
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
    background-image: none;
    background-color: #df5c39;
}
html[dir=rtl] .checkbox input[type="checkbox"],
html[dir=rtl] .checkbox-inline input[type="checkbox"],
html[dir=rtl] .radio input[type="radio"],
html[dir=rtl] .radio-inline input[type="radio"] {
    position: absolute;
    margin-top: 4px 9;
    margin-right: -20px;
      margin-left: unset;
}
html[dir=rtl] .input-group-btn:last-child > .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
html[dir=rtl] .input-group .form-control:first-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}
html[dir=rtl] .container .row:first-child  .col-sm-4, html[dir=rtl] .container .row:first-child  .col-sm-5 {
  float: right;

}
html[dir=rtl] #cart .dropdown-menu {
  left: 0;
  right: auto;

}
@media (min-width: 768px) {
   
    html[dir=rtl] .navbar-nav {
        float: right;
        margin: 0;
    }
    
    html[dir=rtl] .navbar-nav > li {
        float: right;
    }
}

.discount-info {
  color: red;
  font-weight: bold;
}


/* --- Десктоп и базовый стиль карточки --- */
.product-thumb {
    max-width: 270px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(60,72,88,0.09);
    padding: 16px 10px 18px 10px;
    margin: 16px;
    display: inline-block;
    text-align: center;
    vertical-align: top;
    position: relative;
    box-sizing: border-box;
}
.product-thumb img {
    max-height: 120px;
    width: auto;
    border-radius: 8px;
    margin-bottom: 12px;
}
.product-thumb .caption h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 8px 0 6px 0;
    color: #169be3;
    min-height: 50px;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    display: block;
}
.product-thumb .caption > h4 + p {display: none;}
.product-thumb .price {
    margin: 12px 0 15px 0; /* уменьшен отступ вниз */
    font-size: 1.11em;
    font-weight: 700;
    text-align: center;
}
.product-thumb .price-new,
.product-thumb .price:not(:has(.price-old)) {
    color: #e40000 !important;
    font-weight: 900;
}
.product-thumb .price-old,
.product-thumb .price del,
.product-thumb .price s {
    color: #b0b0b0 !important;
    text-decoration: line-through;
    font-size: 0.95em;
    margin-left: 10px;
    font-weight: 400;
}

/* Кнопки – НЕ одинаковой ширины! */
.product-thumb .button-group {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    flex-wrap: nowrap;
}
.product-thumb .button-group button,
.product-thumb .btn,
.product-thumb .button-group .btn {
    height: 34px;
    padding: 0 16px;
    border: 1.5px solid #cccccc;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    background: #fff;
    color: #444;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.14s;
    gap: 6px;
    box-shadow: none;
    cursor: pointer;
    min-width: max-content;
}
/* КУПИТЬ – шире на десктопе */
.product-thumb .button-group button:first-child,
.product-thumb .btn-primary {
    background: #18b956;
    color: #fff;
    border-color: #18b956;
    min-width: 100px;
    flex: 2 1 100px;
}
.product-thumb .button-group button:first-child:hover,
.product-thumb .btn-primary:hover {
    background: #fff;
    color: #18b956;
    box-shadow: 0 0 0 2px #e0f8ea;
}

/* Сердце и сравнение – серые, уже */
.product-thumb .button-group button:nth-child(2),
.product-thumb .button-group button:nth-child(3) {
    background: #fff;
    color: #888;
    border-color: #cccccc;
    min-width: 38px;
    flex: 1 1 38px;
    justify-content: center;
}
.product-thumb .button-group button:nth-child(2):hover,
.product-thumb .button-group button:nth-child(3):hover {
    background: #ececec;
    color: #222;
    border-color: #888;
}
.product-thumb .button-group button i {
    margin-right: 6px;
    font-size: 16px;
    vertical-align: middle;
}

/* Убираем скроллы/треугольники прокрутки у группы кнопок */
.product-thumb .button-group {
    overflow-x: hidden !important;
}

/* --- Моб.адаптация --- */
@media (max-width: 600px) {
    .product-thumb {
        max-width: 98vw;
        min-width: 0;
        margin: 10px auto;
        padding: 13px 4vw 15px 4vw;
        font-size: 1em;
    }
    .product-thumb img {
        max-width: 80vw;
        height: auto;
        max-height: 30vw;
    }
    .product-thumb .caption h4 {
        font-size: 14px;
        min-height: unset;
        margin: 8px 0 8px 0;
        line-height: 1.23;
    }
    .product-thumb .price {
        font-size: 1.15em;
        margin: 10px 0 10px 0;
    }
    /* Кнопки: "Купить" длиннее двух остальных */
    .product-thumb .button-group {
        gap: 5px;
        margin-top: 0;
        flex-wrap: nowrap;overflow-x: hidden;
        width: 100%;
    }
    .product-thumb .button-group button,
    .product-thumb .btn,
    .product-thumb .button-group .btn {
        font-size: 13px;
        height: 32px;
        max-height: 32px;
        min-height: 32px;
        padding: 0 4vw;
        box-sizing: border-box;
    }
    .product-thumb .button-group button:first-child,
    .product-thumb .btn-primary {
        min-width: 50vw;
        flex: 2 1 50vw;
        padding: 0 0;
    }
    .product-thumb .button-group button:nth-child(2),
    .product-thumb .button-group button:nth-child(3) {
        min-width: 32px;
        max-width: 32px;
        padding: 0;
        flex: 0 1 32px;
        word-break: keep-all;
    }
    /* Иконки чуть меньше */
    .product-thumb .button-group button i {
        font-size: 15px;
        margin-right: 4px;
    }
}

.product-thumb .caption h4 a {
    color: #333; /* обычное состояние, твой голубой */
    transition: color 0.2s;
    text-decoration: none;
}

.product-thumb .caption h4 a:hover,
.product-thumb .caption h4 a:focus {
    color: #696969;  /* серый при наведении */
    text-decoration: underline;
}

ul.navbar-nav {
    justify-content: center !important;
    display: flex !important;
    width: 100%;
}

/* Сетка карточек категорий (Grid или Flex) */
.categories-row {
    display: flex;
    flex-direction: column; /* ВЫРЯЖЕННОЕ изменение! */
    gap: 24px;
    margin: 0;
    padding: 12px 0;
    overflow-x: unset;
}


.categories-row::-webkit-scrollbar {
    display: none;             /* Chrome, Safari, Opera */
}

/* Оформление самой карточки категории */
.category_box {
    flex: 0 0 220px;          /* фиксированная ширина 220px, не сжимается и не растягивается */
    max-width: 220px;         /* ограничение максимальной ширины */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    margin: 0;                /* убрать вертикальные отступы, так как карточки в строке */
    overflow: hidden;
    transition: box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category_box:hover {
    box-shadow: 0 8px 24px rgba(30,60,90,0.12);
}

/* Картинка категории */
.category_box .image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s;
    background: #f4f4f4;
}

.category_box .image img:hover {
    transform: scale(1.06);
}

/* Название категории */
.category_box .cat_title {
    padding: 16px 8px 10px 8px;
    font-size: 1.1em;
    color: #222;
    font-weight: 600;
    background: #fafafa;
    width: 100%;
    flex: 0 0 auto;
    letter-spacing: 0.3px;
}

/* Кнопка "Подробнее" */
.category_box .cat_btn {
    display: inline-block;
    margin: 8px 0 12px 0;
    padding: 7px 22px;
    border-radius: 20px;
    background: #2479d6;
    color: #fff;
    text-decoration: none;
    font-size: 0.97em;
    transition: background 0.2s;
}

.category_box .cat_btn:hover {
    background: #0a59ba;
}


/* Адаптивность: для мобильных */
@media (max-width: 991px) {
    .categories-row {
        gap: 18px;
    }
    .category_box {
        max-width: 45%;
    }
}
@media (max-width: 600px) {
    .categories-row {
        flex-direction: column;
        gap: 14px;
        margin: 0;
    }
    .category_box {
        max-width: 100%;
    }
    .category_box .image img {
        height: 130px;
    }
}
/* новый код*/
/* --- Изменяем ширину колонок только на странице товара --- */
#product .row {
    display: flex;
    flex-wrap: nowrap;
}
#product .row > .col-sm-8 {
    width: 65% !important;
    max-width: 65% !important;
    flex: 0 0 65% !important;
}
#product .row > .col-sm-4 {
    width: 35% !important;
    max-width: 35% !important;
    flex: 0 0 35% !important;
}

/* --- ФОТО и миниатюры компактнее, красивее --- */
#product .thumbnails {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto !important;
    max-width: none !important;
    background: none !important;
    box-shadow: none !important;
}
#product .thumbnails > li:first-child {
    width: 320px !important;    /* Ширина блока под главное фото - можно менять */
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
#product .thumbnails > li:first-child img,
#product .thumbnails > li:first-child a.thumbnail {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 10px;
    margin: 0 !important;
    box-shadow: 0 1px 10px rgba(150,150,150,0.08);
}
/* Миниатюры под фото (если есть) */
#product .thumbnails .image-additional {
    margin-top: 10px !important;
    padding: 0 !important;
    display: inline-block;
}
#product .thumbnails .image-additional img {
    width: 48px; height: 48px;
    margin: 0 4px 0 0;
    border-radius: 7px;
}

/* --- Блок с текстом (правый столбик) -- чуть больше свободы для заголовка --- */
#product .col-sm-4 {
    padding-left: 35px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* --- Кнопка Купить по центру, красивее --- */
#button-cart, .btn-primary, .button-cart {
    display: block;
    width: 220px;
    margin: 28px auto 0 auto !important;
    background: #e8e8e8 !important;
    color: #fff !important;
    font-size: 1.17rem;
    font-weight: 700;
    text-align: center !important;
    border: none;
    border-radius: 9px;
    box-shadow: 0 1px 8px rgba(34,183,34,0.08);
    padding: 15px 0 15px 0;
    letter-spacing: 0.03em;
    transition: background 0.17s;
    cursor: pointer;
}
#button-cart:hover, .btn-primary:hover, .button-cart:hover {
    background: #878484 !important;
    color: #fff !important;
}

/* --- Характеристики, артикул, чуть светлее и ровнее --- */
#product .description,
#product .product-code,
#product .list-unstyled li {
    color: #888;
    font-size: 1.09rem;
    margin-bottom: 9px;
}

/* --- Мобильная версия --- */
@media (max-width: 900px) {
    #product .row {
        flex-direction: column;
    }
    #product .row > .col-sm-8,
    #product .row > .col-sm-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
    }
    #product .thumbnails {
        align-items: center;
    }
    #product .thumbnails > li:first-child {
        width: 95vw !important;
        max-width: 98vw !important;
    }
    #button-cart, .btn-primary, .button-cart { width: 90vw; min-width: 180px; }
}
.list-group-item {
    white-space: pre-line;
}
.list-group-item {
    letter-spacing: normal;
}
.list-group-item {
    color: inherit;
}
.list-group-item {
    font-size: inherit;
}
.list-group-item span {
    display:none !important;
}




/* --- новое --- */


