/*Simple Order*/
.uni-form__heading {
	margin: 0 0 20px;
	color: #151515;
}

.simplecheckout-cart .price {
	text-align: center;
}

.simplecheckout-cart .total {
	text-align: center;
}

.simplecheckout-cart td.price {
	text-align: center;
}

.simplecheckout-cart td.total {
	text-align: center;
}

.simplecheckout-cart .total {
	text-align: center;
}

.simplecheckout-cart-total-value {
	font-weight: 700;
}

.simple-content .checkout-heading {
	color: #151515;
	font-weight: 700;
}

label {
	text-align: left !important;
}

#agreement_checkbox .checkbox {
	margin: 6px;
}

/*Simple Order*/

/*Product description*/
.text-block {
	line-height: 1.4;
	font-size: 1.1rem;
}

.list-desc li::marker {
	content: "\2714";
	color: #61BF5E;
	padding-right: 10px;
	font-size: 1.1em;
}

/*Product description*/

/*table-size*/
.table-wrap {
	overflow-x: auto;
}

table.table-size {
	border-collapse: collapse;
	border-spacing: 0;
	/*width: 100%;*/
}

table.table-size tr {
	background-color: #fff;
}

table.table-size tr:hover {
	background-color: #fafafa;
}

table.table-size th,
table.table-size td {
	text-align: left;
	padding: 8px;
	border: 1px solid #ddd;
}

table.table-size th {
	font-weight: bold;
}

/* Size Table (z_size_table.ocmod.xml) */
.product-page__option .option__group-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 10px;
}

.product-page__option .option__group-head .option__group-name {
	margin: 0;
}

#product .product-page__option .option__group-head .option__group-name.hpm-title {
	width: auto;
	font-weight: bold;
	font-size: 1em;
}

.product-page__option .btn-size-table {
	display: inline-block;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 400;
	color: #3c95d7;
	text-decoration: none;
	white-space: nowrap;
}

.product-page__option .btn-size-table:hover,
.product-page__option .btn-size-table:focus {
	color: #2a7ab8;
	background: transparent;
	border: none;
	text-decoration: underline;
}

/* HPM unishop2 (z_hpm__unishop2.ocmod.xml) */
.hpm-cat-content {
	margin: 0 !important;
}

.hcol-image,
.hpm-col-image {
	padding: 0 !important;
}

/* HPM — кнопки характеристик на карточке товара (#product, не размеры option__) */
#product #hpmodel .hpm-type-images {
	margin: 0 -5px;
}

#product #hpmodel .hpm-type-images .hpm-item {
	margin: 5px;
	box-shadow: none;
	border: 2px solid rgba(0, 0, 0, 0.12);
	border-radius: var(--border-radius-1, 12px);
	background: #fff;
	color: var(--option-name-c, #555);
	max-width: none;
	transition: border-color 0.15s linear, background-color 0.15s linear, color 0.15s linear;
}

#product #hpmodel .hpm-type-images .hpm-item:hover {
	box-shadow: none;
	border-color: var(--option-name-c-hover, #ff9900);
	background: rgba(255, 153, 0, 0.10);
}

#product #hpmodel .hpm-type-images .hpm-item.active {
	box-shadow: none;
	border-color: #ff9900;
	background: #fff;
	color: var(--option-name-c, #555);
}

#product #hpmodel .hpm-type-images .hpm-item.active:hover {
	border-color: #ff9900;
	background: rgba(255, 153, 0, 0.10);
}

#product #hpmodel .hpm-type-images .hpm-item > .hcol-attribute {
	padding: 0 18px;
	min-width: 48px;
	min-height: 38px;
	line-height: 35px;
	font-size: 15px;
	box-sizing: border-box;
}

/* Квадратные кнопки цвета — зазор между border и swatch, скругление border как сейчас */
#product #hpmodel .hpm-type-images .hpm-item:has(> .hcol-upc) {
	box-sizing: border-box;
	width: 50px !important;
	height: 50px !important;
	padding: 3px;
	overflow: hidden;
}

#product #hpmodel .hpm-type-images .hpm-item > .hcol-upc {
	padding: 0;
	min-width: 0;
	min-height: 0;
	line-height: 0;
}

#product #hpmodel .hpm-type-images .hpm-item > .hcol-upc > div {
	width: 40px !important;
	height: 40px !important;
	border-radius: calc(var(--border-radius-1, 12px) - 3px);
	vertical-align: top;
}

/* OpenCart options (Размер и др.) — квадратные кнопки как HPM */
#product .product-page__option .option__item:not(.ended):not(:has(.option__img)) {
	margin: 5px;
}

#product .product-page__option .option__item:not(.ended):not(:has(.option__img)) .option__name {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: auto;
	min-width: 35px;
	height: 35px;
	padding: 0 12px;
	line-height: 1;
	font-size: 15px;
	white-space: nowrap;
	color: var(--option-name-c, #555);
	background: #fff;
	border: 2px solid rgba(0, 0, 0, 0.12);
	border-radius: var(--border-radius-1, 12px);
	box-shadow: none;
	transition: border-color 0.15s linear, background-color 0.15s linear;
}

#product .product-page__option .option__item:not(.ended):not(:has(.option__img)):hover .option__name {
	color: var(--option-name-c, #555);
	background: rgba(255, 153, 0, 0.10);
	border-color: #ff9900;
}

#product .product-page__option .option__item:not(.ended):not(:has(.option__img)) input:checked + .option__name {
	color: var(--option-name-c, #555);
	background: #fff;
	border-color: #ff9900;
}

#product .product-page__option .option__item:not(.ended):not(:has(.option__img)) input:checked + .option__name:hover {
	background: rgba(255, 153, 0, 0.10);
	border-color: #ff9900;
}

#product .product-page__option .option__item.ended:not(:has(.option__img)) {
	margin: 5px;
	cursor: not-allowed;
}

#product .product-page__option .option__item.ended:not(:has(.option__img)) .option__name,
#product .product-page__option .option__item.ended:not(:has(.option__img)):hover .option__name {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: auto;
	min-width: 35px;
	height: 35px;
	padding: 0 12px;
	line-height: 1;
	font-size: 15px;
	color: #a8a8a8;
	background: #ececec;
	border: 2px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--border-radius-1, 12px);
	box-shadow: none;
	opacity: 1;
	filter: none;
}

/* Category Custom Links (z_category_custom_links.ocmod.xml) */
.category-links-top {
	position: relative;
	padding: 10px 38px 4px;
	margin-bottom: 6px;
}

.category-links-top__track {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.category-links-top__track::-webkit-scrollbar {
	display: none;
}

.category-link-top {
	flex: 0 0 auto;
	display: inline-block;
	padding: 6px 16px;
	border-radius: 20px;
	border: 1px solid #d0d0d0;
	background: #fff;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
	font-size: 14px;
	line-height: 1.4;
	transition: background .2s, border-color .2s, color .2s;
}

.category-link-top:hover,
.category-link-top.act {
	background: #337ab7;
	border-color: #337ab7;
	color: #fff;
	text-decoration: none;
}

.category-links-top__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid #d0d0d0;
	border-radius: 50%;
	background: #fff;
	color: #333;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.category-links-top__btn:hover {
	background: #337ab7;
	border-color: #337ab7;
	color: #fff;
}

.category-links-top__btn--prev {
	left: 4px;
}

.category-links-top__btn--next {
	right: 4px;
}

.category-links-top__btn.is-visible {
	display: flex;
}

.category-links-bottom {
	margin: 16px 0 8px;
	padding: 16px 20px;
	background: #f8f8f8;
	border-radius: 4px;
	border: 1px solid #e8e8e8;
}

.category-links-bottom__title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
}

.category-link-bottom {
	display: inline-block;
	padding: 5px 14px;
	margin: 3px 3px 3px 0;
	border-radius: 20px;
	border: 1px solid #d0d0d0;
	background: #fff;
	color: #333;
	text-decoration: none;
	font-size: 13px;
	transition: background .2s, border-color .2s, color .2s;
}

.category-link-bottom:hover,
.category-link-bottom.act {
	background: #337ab7;
	border-color: #337ab7;
	color: #fff;
	text-decoration: none;
}

/* delivery spoilers — details/summary accordion (information_id=6) */
.delivery-spoilers {
	margin: 0 0 20px;
}
.delivery-spoilers details {
	border: 2px solid #fff;
}
.delivery-spoilers details + details {
	margin-top: -2px;
}
.delivery-spoilers summary {
	display: block;
	padding: .5em 1em;
	background: rgba(38, 151, 199, .07);
	color: rgb(0, 3, 51);
	cursor: pointer;
	font-size: 1.76rem;
	font-weight: 500;
	list-style: none;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.delivery-spoilers summary::-webkit-details-marker {
	display: none;
}
.delivery-spoilers summary::after {
	content: '+';
	float: right;
	font-weight: 700;
	line-height: 1.2;
}
.delivery-spoilers details[open] > summary {
	background: rgba(38, 151, 199, .30);
	cursor: default;
}
.delivery-spoilers details[open] > summary::after {
	content: '−';
}
.delivery-spoilers__content {
	padding: .5em;
	max-height: 310px;
	overflow: auto;
}
@media (max-width: 767px) {
	.delivery-spoilers summary {
		font-size: 1.25rem;
		white-space: normal;
	}
}

/* Blog article images — float wrap (prod parity, modern styling) */
.article-page__description {
	overflow: hidden;
	line-height: 1.6;
}

.article-page__description::after {
	content: "";
	display: table;
	clear: both;
}

.article-page__description .blog-image {
	float: left;
	max-width: min(42%, 320px);
	margin: 0 1.25rem 1rem 0;
	padding: 0;
}

.article-page__description .blog-image img,
.article-page__description img.blog-image-lt,
.article-page__description img.blog-image-rt {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}

.article-page__description img.blog-image-lt {
	float: left;
	max-width: min(40%, 280px);
	margin: 0.35rem 1.25rem 1rem 0;
	padding: 0;
}

.article-page__description img.blog-image-rt {
	float: right;
	max-width: min(40%, 280px);
	margin: 0.35rem 0 1rem 1.25rem;
	padding: 0;
}

.article-page__description h2,
.article-page__description h3 {
	margin-top: 1.5rem;
}

@media (max-width: 767px) {
	.article-page__description .blog-image,
	.article-page__description img.blog-image-lt,
	.article-page__description img.blog-image-rt {
		float: none;
		max-width: 100%;
		width: 100%;
		margin: 0 0 1rem;
	}

	.article-page__description h2,
	.article-page__description h3,
	.article-page__description ul,
	.article-page__description ol {
		clear: both;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.article-page__description .blog-image {
		max-width: min(46%, 280px);
	}

	.article-page__description img.blog-image-lt,
	.article-page__description img.blog-image-rt {
		max-width: min(44%, 240px);
	}
}

/* UniShop2 uni_reviews — звёзды рейтинга в модуле отзывов на главной */
.review-module__rating.rating .fa-star {
	color: #FAC705;
}
/* Главная — приветственная статья под спойлером (uniDescCollapse, как описание товара) */
.home-page .html-module--collapse {
	position: relative;
	overflow: hidden;
	max-height: 232px;
	line-height: 1.7em;
	margin: 0 0 30px;
	padding: 20px 20px 10px;
	background: rgba(0 0 0 / .03);
	border-radius: var(--border-radius-1);
}

.home-page .html-module--collapse .desc-collapse {
	padding-bottom: 10px;
	background: #f2f2f2;
}

.home-page .html-module--collapse .desc-collapse:before {
	background: linear-gradient(0deg, #f2f2f2 0%, transparent 100%);
}
