@media (min-width: 992px) {
	.slideshow {
		margin-top: 20px;
	}
}
@media (max-width: 991px) {
  .category-wall {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .category-wall {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 394px) {
  .category-wall {
    grid-template-columns: 1fr;
  }
}
.category-wall .category-block {
	align-items: center;
	flex-direction: column-reverse;
	align-items: center;
	justify-content:center;
	gap: 15px;
}
.category-wall .category-link {
	max-width: 100%;
	text-align: center;
	flex: auto;
}
.category-wall .category-block:hover {
	background: #55b1e026;
	cursor: pointer;
}
.category-wall .category-block:hover .category-link .category-name {
	color: #1573b9;
}

#feedback-widget .contact-lists {
	width: 280px;
}
.product-options,
.product-box #product, .product-quickview #product-quickview {
	margin-top: 0;
}
.product-img .thumbnails {
	padding: 20px 0;
}
.add-info-title {
	color: #333;
  margin-bottom: 20px;
}

.row-galleries {
	margin-bottom: 30px;
	/*display: grid;
	gap: 30px;
	grid-template-columns: repeat(5, 1fr);*/
}
.row-galleries .slick-dots {
	bottom: -40px;
}
.row-galleries .gallery-item-wrapper {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #f2f2f2;
	transition: all 0.2s ease;
	margin: 0 10px;
}
.row-galleries .gallery-item-wrapper .gallery-item {
	display: flex;
	align-items: center;
	justify-content: center;
}
.row-galleries .gallery-item-wrapper .gallery-item img {
	max-width: 100%;
	transition: all 0.2s ease;
}
.row-galleries .gallery-item-wrapper .gallery-item:hover img {
	transform: scale(1.05);
	transition: all 0.2s ease;
}
@media (max-width: 767px) {
	.row-galleries {
		margin-bottom: 0;
	}
}
/*@media (max-width: 991px) {
	.row-galleries {
		gap: 20px;
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 767px) {
	.row-galleries {
		gap: 20px;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 574px) {
	.row-galleries {
		display: flex;
		overflow-x: auto;
	}
	.row-galleries .gallery-item-wrapper {
		min-width: 230px;
	}
}*/

.menu-dropdown {
	z-index: 101;
}

#product .product-options {
	margin-top: 15px;
}

@media (max-width: 767px) {
	.product-tab-content img {
		width: unset !important;
	}
}

.top-menu .list-inline {
	gap: 10px;
}
.top-menu .list-inline>li {
	padding: 0;
}
/*.top-menu .list-inline a {
	padding-left: 0;
	padding-right: 0;
}*/
.menu-horizontal-item .menu-link:first-child {
	padding-left: 0;
}

/* Скрываем ненужные данные для этого магазина */
.product-thumb .rating-star {
	display: none;
}
.product-thumb .product-bottom .btn-primary {
	display: none;
}
.product-thumb .caption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.product-thumb .product-name {
	height: auto;
	min-height: unset;
	margin-bottom: 0;
}
.product-thumb .price {
	margin: 0;
}
.product-thumb .product-bottom {
	min-height: unset;
	padding-top: 0;
}
.product-box .info-block {
	display: none;
}

/* review module */
.review-wrapper.store-reviews .review-item .right-side {
	width: 100%;
	padding-left: 0;
}
.review-wrapper.store-reviews .review-item p {
	-webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  max-height: 95px;
  min-height: 95px;
}

/* faq page */
.panel-group.panel-faq {
	margin-bottom: 0;
}
.panel-group.panel-faq .panel+.panel {
	margin-top: 10px;
}
.panel-faq .panel-default>.panel-heading {
	background-color: #f5f7f9;
}
.panel-faq .panel-title a:focus,
.panel-faq .panel-title a:hover {
	text-decoration: none;
}

@media (max-width: 767px) {
	.thumbnails .product-carousel .slick-dots {
		bottom: -8px;
	}
	.thumbnails .product-carousel .slick-arrow.slick-next {
		right: -24px;
	}
	.thumbnails .product-carousel .slick-arrow.slick-prev {
		left: -24px;
	}
}

.format-input-ids-wrapper {
	display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
/* Если внутри только один блок */
.format-input-ids-wrapper > .form-group:only-child {
    grid-column: 1 / -1;
}

/* category wall new */
.category-wall-new {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-bottom: 30px;
}
.category-wall-new .category-layout {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	padding: 20px 10px;
	cursor: pointer;
}
.category-wall-new .category-block {
	display: grid;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.category-wall-new .category-image {
	display: flex;
	justify-content: center;
}
.category-wall-new .category-image img {
	min-height: 100px;
	max-height: 100px;
	transition: all 0.2s ease;
}
.category-wall-new .category-name {
	color: #333;
}
.category-wall-new .category-layout:hover .category-name {
	color: #1573B9;
}
.category-wall-new .category-layout:hover .category-image img {
	transform: scale(1.05);
}
@media (max-width: 991px) {
	.category-wall-new {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 767px) {
	.category-wall-new .category-block {
		gap: 10px;
	}
	.category-wall-new .category-image img {
		width: auto;
		height: 60px;
		min-height: unset;
	}
	.category-wall-new .category-name {
		font-size: 12px;
	}
	.category-wall-new .category-link {
		line-height: 1.1;
	}
}
@media (max-width: 574px) {
	.category-wall-new {
		grid-template-columns: repeat(3, 1fr);
	}
	.category-wall-new .category-image img {
		height: 40px;
	}
	.category-wall-new .category-name {
		font-size: 11px;
	}
}

.img-desc-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.img-desc-row.col-2 {
	grid-template-columns: repeat(2, 1fr);
}
.img-desc-row img {
	width: 100% !important;
}
@media (max-width: 991px) {
	.img-desc-row, .img-desc-row.col-2 {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 574px) {
	.img-desc-row, .img-desc-row.col-2 {
		grid-template-columns: 1fr;
	}
}

/* menu */
.menu-columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	height: 100%;
}
.menu-inner-wrap-products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	height: 100%;
  padding: 5px;
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid #e4e4e4;
}

/*
 * Стили для блока истории поиска в выпадашке живого поиска OpenCart.
 * Добавьте в CSS вашей темы или в шаблон common/search.twig через <style>.
 */

/* Заголовок «История поиска» */
li.search-history-header.dropdown-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px 5px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #aaa;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    cursor: default;
    user-select: none;
    margin-bottom: 5px;
}

/* Кнопка «×» очистить */
.search-history-clear {
    color: #ccc;
    font-size: 13px;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.15s;
}
.search-history-clear:hover { color: #555; }

/* Строка записи истории */
li.search-history-item > a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #444;
    text-decoration: none !important;
    white-space: normal;
    /*white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;*/
    font-size: 14px;
}
li.search-history-item > a:hover {
    background: #f5f5f5;
    color: #111;
}

/* Иконка часов */
.search-history-icon {
    flex-shrink: 0;
    color: #ccc;
}

/* Разделитель между историей и результатами живого поиска */
li.search-history-item:last-of-type {
    border-bottom: 1px solid #efefef;
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.live-search .product-item a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 14px;
}
.live-search .product-item a img {
  border-radius: 4px;
}
.live-search .product-item a h4 {
  margin: 0;
  white-space: normal;
}
.live-search .product-item .price {
  margin-left: auto;
}
.live-search .empty-results {
  text-align: center;
  padding: 5px;
}

/* faq */
.panel-faq .link-collapse i {
  transition: 0.2s ease all;
}
.panel-faq .panel-title > a[aria-expanded="true"] i {
  transform: rotate(45deg);
}

@media (max-width: 480px) {
    .module-carousel .slick-arrow.slick-prev {
        right: 48px;
    }
    .module-carousel .slick-arrow.slick-next {
        right: 10px;
    }
}

/* callback widget */
@media (max-width: 991px) {
	#feedback-widget {
		display: flex;
	}
	.backtotop {
      right: 20px;
      bottom: 80px;
  }
  #feedback-widget.position-right {
	    right: 10px;
	    bottom: 10px;
	}
}

/* header contacts */
header {
	position: sticky;
	top: 0;
	z-index: 99;
}
.main-menu-wrap .menu-outer {
	position: fixed;
	top: 123px;
	max-width: 1170px;
	left: auto;
	right: auto;
}
body:has(header.fixed) .menu-outer {
	top: 73px;
}
.product-tabs-sticky.fixed .product-tabs {
	top: 70px;
	transition: all 0.2s ease-out;
	z-index: 98;
}
@media (max-width: 991px) {
	.product-tabs-sticky.fixed .product-tabs {
		top: 60px;
	}
}
.backtotop {
	z-index: 98;
}
.range-slider-wrapper {
	z-index: 1;
}
.header-contact {
	color: #000;
}
.header-contact__text a {
	color: #000;
	text-decoration: underline;
	font-weight: 500;
}
.header-contact__text a:hover {
	text-decoration: none;
}
.header-contact .header-contact__links .links-group {
	display: flex;
	align-items: center;
	gap: 10px;
}
.header-contact .header-contact__links .icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
}
.top-menu > .list-inline > li:last-child a {
	color: red;
}

.menu-mobile-list a[href="javascript:callback();"] {
	color: red;
}

/* callback form */
@media (min-width: 768px) {
	#modal-callback .modal-dialog {
		width: 600px;
	}
}
#modal-callback .container-fluid {
	padding: 0;
}
#modal-callback .form-horizontal .form-group {
	margin-left: 0;
	margin-right: 0;
}
#modal-callback .modal-body div.required:before {
	display: none;
}
.has-error .form-control {
    border-color: #a94442 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
}
.modal-body .agree-terms .checkbox {
	margin: 0 0 15px;
}
#tab-help .links-group {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 2rem;
}
#tab-help .links-group .icon {
	display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
#tab-help .links-group .btn-primary {
	gap: 10px;
	margin-right: 10px;
}
#tab-help .help-info {
	text-align: center;
	padding: 1rem 0;
}
@media (max-width: 574px) {
	#callbackTabs {
		display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-bottom: none;
	}
	#callbackTabs>li.active>a {
		border: 1px solid #ddd !important;
    border-radius: 4px;
	}
	#tab-help .links-group .btn-primary {
		margin-right: 0;
	}
	#tab-help .links-group .btn-primary {
		gap: 5px;
		font-size: 13px;
	}
}

.mobile-right-block {
	align-items: center;
	gap: 5px;
}
.mobile-right-block .btn-callback {
	display: flex;
}

/* footer socials */
.contact-item .contact-content {
	display: flex;
  align-items: center;
  gap: 5px;
}
.links-group.links-group-small {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-left: 10px;
}
.links-group.links-group-small .icon {
	display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.links-group.links-group-small .icon svg {
	margin: 0;
}

.mobile-catalog-item a {
	width: 100%;
	padding-right: 0;
}