/* Контейнер для двух изображений двери */
.door-images-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	width: 100%;
}

.door-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

@media (max-width: 768px) {
	.door-images-container {
		grid-template-columns: 1fr;
	}
}

/* Блок с ценой опций */
.options-price-info {
	margin-top: 10px;
	padding: 10px 15px;
	background: #f5f5f5;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.options-price-info__label {
	font-size: 14px;
	color: #666;
}

.options-price-info__value {
	font-size: 16px;
	font-weight: 600;
	color: #000;
}

/* Стили для опций входных дверей */
.door-options {
	margin-bottom: 30px;
}

.door-options__title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 15px;
	color: #000;
}

.door-options__grid {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	gap: 10px;
}

@media (max-width: 768px) {
	.door-options__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.door-option-item {
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.3s;
}

.door-option-item:hover {
	border-color: #ccc;
}

.door-option-item_active {
	border-color: #000;
}

.door-option-item__image {
	width: 100%;
	height: auto;
	display: block;
}

.door-handles-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

@media (max-width: 768px) {
	.door-handles-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
}

.door-handle-item {
	cursor: pointer;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	padding: 15px;
	text-align: center;
	transition: border-color 0.3s;
}

.door-handle-item:hover {
	border-color: #ccc;
}

.door-handle-item_active {
	border-color: #000;
}

.door-handle-item__image {
	width: 100%;
	height: auto;
	max-height: 100px;
	object-fit: contain;
	margin-bottom: 10px;
}

.door-handle-item__info {
	margin-top: 10px;
}

.door-handle-item__name {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 5px;
}

.door-handle-item__price {
	font-size: 14px;
	color: #d7333f;
	font-weight: 700;
}

.door-options-row {
	display: flex;
	gap: 30px;
	margin-bottom: 30px;
}

@media (max-width: 768px) {
	.door-options-row {
		flex-direction: column;
		gap: 20px;
	}
}

.door-options-col {
	flex: 1;
}

.door-buttons-group {
	display: flex;
	gap: 10px;
}

.door-button {
	flex: 1;
	padding: 15px 20px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: all 0.3s;
}

.door-button:hover {
	border-color: #ccc;
}

.door-button_active {
	background: #000;
	color: #fff;
	border-color: #000;
}

.door-button svg {
	width: 24px;
	height: 24px;
}

.door-select {
	width: 100%;
	padding: 15px 20px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	font-size: 16px;
	background: #fff;
	cursor: pointer;
}

.door-select:focus {
	outline: none;
	border-color: #000;
}

.guarantee-form-alert {
	overflow: hidden;
	position: relative;
	box-sizing: border-box;
	padding: 3.375rem 3.125rem 4.9375rem;
	border-radius: 1.25rem;
	background-color: #d7333f;
}
@media (max-width: 768px) {
	.guarantee-form-alert {
		padding: 1.25rem;
	}
}
.guarantee-form-alert__title {
	margin-top: 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	position: relative;
	z-index: 2;
}
@media (max-width: 768px) {
	.guarantee-form-alert__title br {
		display: none;
	}
}
.guarantee-form-alert__description {
	margin-top: 1.125rem;
	max-width: 46.0625rem;
	font-size: 1.125rem;
	position: relative;
	z-index: 2;
}
@media (max-width: 768px) {
	.guarantee-form-alert__description {
		max-width: 100%;
	}
}
.guarantee-form-alert__wallpaper {
	position: absolute;
	height: 100%;
	right: 0;
	top: 0;
	z-index: 1;
	opacity: 0.2;
}
@media (max-width: 768px) {
	.guarantee-form-alert__wallpaper {
		top: auto;
		right: -45%;
		bottom: 0;
		left: auto;
	}
}
.guarantee-form-alert * {
	color: white;
}

.guarantee-form {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: center;
	-moz-column-gap: 0.875rem;
	column-gap: 0.875rem;
	row-gap: 1.625rem;
	margin-top: 5.1875rem;
}
@media (max-width: 768px) {
	.guarantee-form {
		grid-template-columns: 1fr;
		justify-items: center;
		justify-content: center;
		row-gap: 0.9375rem;
	}
}
.guarantee-form__title {
	font-size: 1.5rem;
	font-weight: 700;
	grid-column-start: 1;
	grid-column-end: 5;
}
.guarantee-form__title:not(:first-child) {
	margin-top: 3.375rem;
}
@media (max-width: 768px) {
	.guarantee-form__title {
		text-align: center;
		grid-column-start: 1;
		grid-column-end: 1;
	}
	.guarantee-form__title:not(:first-child) {
		margin-top: 1.5625rem;
	}
}
.guarantee-form__label {
	display: block;
	height: -moz-fit-content;
	height: fit-content;
	position: relative;
	background: #f4f4f4;
}
.guarantee-form__label span {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	top: 0.625rem;
	left: 0.8125rem;
	font-size: 0.875rem;
	font-weight: 500;
}
.guarantee-form__label span mark {
	background: transparent;
	color: #d7333f;
}
.guarantee-form__input {
	display: block;
	resize: none;
	position: relative;
	background: transparent;
	padding: 0.625rem 0.8125rem;
	box-sizing: border-box;
	z-index: 2;
	width: 100%;
}
.guarantee-form__label,
.guarantee-form__input {
	border: none;
	border-radius: 0.625rem;
	box-sizing: border-box;
	width: 100%;
}
.guarantee-form__description {
	font-size: 0.875rem;
	font-weight: 500;
	grid-column-start: 3;
	grid-column-end: 5;
}
@media (max-width: 768px) {
	.guarantee-form__description {
		text-align: center;
		grid-column-start: 1;
		grid-column-end: 1;
	}
}
.guarantee-form__description bdi {
	color: #3c4f75;
}
.guarantee-form__problem {
	grid-column-start: 1;
	grid-column-end: 5;
}
@media (max-width: 768px) {
	.guarantee-form__problem {
		grid-column-start: 1;
		grid-column-end: 1;
		width: 100%;
	}
}
.guarantee-form__hidden {
	display: none;
}
.guarantee-form__button {
	display: block;
	border: none;
	background: black;
	color: white;
	padding: 1.25rem 1.0625rem;
	border-radius: 0.625rem;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 500;
	transition: 0.3s;
	width: -moz-fit-content;
	width: fit-content;
}
.guarantee-form__button:hover {
	background: #333333;
}
.guarantee-form__button_submit {
	padding: 1.6875rem 2rem;
	font-size: 1.25rem;
	justify-self: flex-end;
	grid-column-start: 3;
	grid-column-end: 5;
}
@media (max-width: 768px) {
	.guarantee-form__button_submit {
		justify-self: center;
		grid-column-start: 1;
		grid-column-end: 1;
	}
}
.guarantee-form__images {
	margin-top: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5625rem;
}
.guarantee-form__image {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: none;
	background: #f4f4f4;
	padding: 1.25rem 1.4375rem;
	box-sizing: border-box;
	border-radius: 0.625rem;
	gap: 0.625rem;
	min-width: 13.625rem;
	cursor: pointer;
	transition: 0.3s;
}
.guarantee-form__image span {
	font-size: 0.875rem;
	font-weight: 500;
	transition: 0.3s;
}
.guarantee-form__image svg {
	fill: #667085;
	transition: 0.3s;
}
.guarantee-form__image:hover {
	background: #d7333f;
}
.guarantee-form__image:hover span {
	color: white;
}
.guarantee-form__image:hover svg {
	fill: white;
}
.guarantee-form__checkbox-box {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 0.875rem;
	font-weight: 500;
	grid-column-start: 1;
	grid-column-end: 3;
}
@media (max-width: 768px) {
	.guarantee-form__checkbox-box {
		grid-column-start: 1;
		grid-column-end: 1;
	}
}
.guarantee-form__checkbox-box input {
	width: 1.5625rem;
	height: 1.5625rem;
	background: #f4f4f4;
	border: 0.125rem solid black;
	border-radius: 0.25rem;
	outline: none;
}

.helpful {
	padding: 60px 0;
}

.helpful header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}

.helpful header .section-title {
	margin: 0;
}

.helpful header .button {
	padding: 12px 30px;
	background: #d7333f;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-weight: 600;
	transition: background 0.3s;
}

.helpful header .button:hover {
	background: #d63535;
}

.helpful .content {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.helpful .content article {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
}

.helpful .content article:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.helpful .content article a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.helpful .content article img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.helpful .content article h3 {
	padding: 20px 20px 10px;
	margin: 0;
	font-size: 18px;
	line-height: 1.4;
	color: #000;
}

.helpful .content article p {
	padding: 0 20px 20px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #666;
}

@media (max-width: 1024px) {
	.helpful .content {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.helpful header {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.helpful .content {
		grid-template-columns: 1fr;
	}
}

.home-contacts {
	padding: 0;
}

.home-contacts .site-container {
	padding: 0;
	margin: 0 auto;
	background: #fff;
	border-radius: 15px 15px 0 0;
}

.home-contacts .flex {
	display: flex;
	gap: 0;
	align-items: stretch;
}

.home-contacts .flex .showroom-content {
	flex: 1;
	padding: 40px;
	display: flex;
	flex-direction: column;
}

.home-contacts .flex .showroom-image {
	flex: 1;
	min-width: 50%;
}

.home-contacts .flex .showroom-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 15px 0 0;
}

.home-contacts .flex h2 {
	color: black;
	margin: 0 0 40px;
	width: 100%;
}

.home-contacts .flex .showroom-info {
	margin-bottom: 30px;
}

.home-contacts .flex .showroom-info:last-child {
	margin-bottom: 0;
}

.home-contacts .flex p {
	padding-left: 50px;
	position: relative;
	font-size: 17px;
	margin: 20px 0;
}

.home-contacts .flex p:first-child {
	margin-top: 0;
}

.home-contacts .flex p img {
	position: absolute;
	left: 5px;
	top: 2px;
	max-height: 28px;
	max-width: 28px;
	border-radius: 0;
}

.home-contacts .flex .phone {
	font-size: 20px;
	font-weight: 700;
}

.home-contacts .flex .phone a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.home-contacts .flex {
		flex-direction: column;
	}

	.home-contacts .flex .showroom-content {
		padding: 30px;
	}

	.home-contacts .flex .showroom-image {
		min-width: 100%;
		min-height: 300px;
	}

	.home-contacts .flex .showroom-image img {
		border-radius: 0;
	}
}

@media (max-width: 768px) {
	.home-contacts .flex .showroom-content {
		padding: 20px;
	}

	.home-contacts .flex h2 {
		margin: 0 0 30px;
		font-size: 24px;
	}

	.home-contacts .flex p {
		font-size: 15px;
		padding-left: 40px;
	}

	.home-contacts .flex .phone {
		font-size: 18px;
	}
}

.home-contacts #map {
	width: 100%;
	height: 400px;
	margin-top: 0;
	border-radius: 0 0 15px 15px;
}

@media (max-width: 768px) {
	.home-contacts #map {
		height: 300px;
	}
}

/* ========================================
   Страница "Монтаж и оплата"
   ======================================== */

.page-montazh {
	background: #fff;
	padding: 40px 0 80px;
}

.page-montazh .page-title {
	font-size: 32px;
	font-weight: 400;
	color: #000;
	margin: 0 0 40px;
}

/* Прайс-лист */
.price-list {
	margin-bottom: 60px;
}

.price-item {
	display: flex;
	align-items: baseline;
	margin-bottom: 15px;
	font-size: 18px;
	line-height: 1.6;
}

.price-name {
	flex-shrink: 0;
	color: #000;
}

.price-dots {
	flex-grow: 1;
	border-bottom: 2px dotted #ccc;
	margin: 0 10px;
	min-width: 20px;
}

.price-value {
	flex-shrink: 0;
	font-weight: 700;
	color: #000;
	white-space: nowrap;
}

.price-note {
	font-size: 14px;
	color: #999;
	margin: 0 0 20px 0;
}

@media (max-width: 768px) {
	.price-item {
		font-size: 16px;
	}

	.price-dots {
		margin: 0 5px;
	}
}

/* Информация об установке */
.installation-info {
	margin-bottom: 50px;
}

.installation-info h3 {
	font-size: 20px;
	font-weight: 700;
	color: #000;
	margin: 0 0 20px;
}

.installation-info ul {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.installation-info li {
	font-size: 16px;
	line-height: 1.8;
	color: #000;
	padding-left: 25px;
	position: relative;
}

.installation-info li:before {
	content: '•';
	position: absolute;
	left: 0;
	color: #000;
	font-weight: 700;
}

.installation-info p {
	font-size: 16px;
	line-height: 1.6;
	color: #000;
	margin: 0;
}

.installation-info strong {
	font-weight: 700;
}

.service-page > div:first-child {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.service-page h1 {
	margin-bottom: 0;
}

.service-page .button {
	background-color: #d7333f;
	color: #fff;
	padding: 12px 24px;
	text-decoration: none;
	border-radius: 4px;
	font-size: 16px;
	white-space: nowrap;
}

.service-page .button:hover {
	background-color: #a00d25;
}

.service-page h2 {
	margin: 30px 0 30px;
	border-bottom: solid 2px #ccc;
	padding: 5px 0 8px;
	font-size: 24px;
}

.service-page li,
.service-page p {
	line-height: 23px;
}

.service-page ul {
	margin: 0;
	padding: 0;
}

.service-page ul li {
	padding-left: 40px;
	list-style-type: none;
	position: relative;
	margin: 6px 0;
}

.service-page ul li:after {
	content: url(../images/ic_service.svg);
	position: absolute;
	left: 0;
	top: 0;
	height: 15px;
	width: 15px;
}

.service-page ul.list_no li:after {
	content: url(../images/ic_no.svg);
}

.service-items {
	align-items: flex-start;
	margin: 30px auto 10px;
}

.service-items > div {
	width: 15%;
	text-align: center;
}

.service-items > div img {
	object-fit: contain;
	width: 50%;
	height: 100px;
}

.guarantee_table {
	width: 100%;
	margin-bottom: 40px;
	border: 1px solid #dddddd;
	border-collapse: collapse;
}

.guarantee_table tr:first-child {
	font-weight: 600;
	background: #efefef;
	text-align: center;
}

.guarantee_table td {
	padding: 10px;
	border: 1px solid grey;
}

.flex-4 > * {
	width: 24%;
}

@media (max-width: 950px) {
	.service-items > div {
		width: 45%;
	}

	.service-items > div img {
		object-fit: contain;
		width: 100%;
		max-width: 80px;
		height: 100px;
	}

	.flex-4 > * {
		width: 47%;
		padding: 10px;
	}
}

@media (max-width: 600px) {
	.flex-4 > * {
		width: 100%;
	}
}

.header {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Модальные окна */
.modal {
	display: none !important;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	animation: fadeIn 0.3s ease;
}

.modal.show {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.modal-content {
	background-color: white;
	padding: 30px;
	border-radius: 10px;
	width: 90%;
	max-width: 500px;
	position: relative;
	animation: slideIn 0.3s ease;
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 28px;
	font-weight: bold;
	color: #aaa;
	cursor: pointer;
	line-height: 1;
}

.modal-close:hover {
	color: #000;
}

.modal h2 {
	margin-top: 0;
	margin-bottom: 20px;
	color: #000;
	font-size: 24px;
}

.modal-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.modal-form input {
	padding: 12px 15px;
	border: 2px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.modal-form input:focus {
	outline: none;
	border-color: #000;
}

.modal-form button {
	background-color: #000;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.modal-form button:hover {
	background-color: #333;
}

.modal-form .privacy-text {
	font-size: 12px;
	color: #666;
	text-align: center;
	margin-top: 10px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.breadcrumbs {
	padding: 40px 0;
	font-size: 14px;
	color: #666;
	position: relative;
	z-index: 1;
}

.breadcrumbs a {
	color: black;
	text-decoration: none;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.breadcrumbs {
		margin-top: 60px;
		z-index: 1;
	}
}

/* Стили для мобильного меню */
.header__mobile-menu .mobile-menu__items {
	list-style: none;
	padding: 0;
	margin: 0;
}

.header__mobile-menu .mobile-menu__items li {
	border-bottom: 1px solid #ddd;
	padding: 15px 0;
}

.header__mobile-menu .mobile-menu__items li:last-child {
	border-bottom: none;
}

.header__mobile-menu .mobile-menu__items li a {
	color: #333;
	text-decoration: none;
	font-size: 18px;
	font-weight: 500;
	display: block;
}

.header__mobile-menu .mobile-menu__items li a:hover {
	color: #d7333f;
}

.breadcrumbs span {
	color: #666;
}

.service-items {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

body.page {
	background-color: white;
}

.header__top-menu-item a,
.header__top .header__top-menu a,
.header__top .header__menu a,
.header__top .header__mega-menu a {
	font-size: 14px;
	font-weight: 300;
	list-style: none;
}

h1,
.h1 {
	margin: 0 0 30px;
	font-size: 30px;
	font-weight: normal;
}

h2 {
	font-weight: normal;
	font-size: 25px;
	padding: 10px 0 0;
	margin: 0 0 30px;
	background: transparent;
}

.service-page li,
.service-page p {
	line-height: 23px;
}

b,
strong {
	font-weight: bold;
}

.service-page h2 {
	margin: 30px 0 30px;
	border-bottom: solid 2px #ccc;
	padding: 5px 0 8px;
	font-size: 24px;
}

.single-product-wrapper {
	margin: 0 auto !important;
}

/* .single-product-gallery__main {
	top: 220px;
	position: sticky !important;
}

@media (max-width: 768px) {
	.single-product-gallery__main {
		position: relative !important;
		top: 0 !important;
	}
} */

.single-product-gallery__thumb {
	height: auto !important;
}

.woocommerce-products-wrapper {
	margin: 0 auto !important;
}

.footer__menus {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	flex: 1;
}

.footer__menu-column {
	display: flex;
	flex-direction: column;
}

.footer__menu-title {
	font-size: 14px;
	font-weight: 300;
	color: #999;
	margin: 0 0 15px 0;
	text-transform: none;
}

.footer__menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer__menu-list li {
	padding: 5px 0;
}

.footer__menu-list li:first-child {
	padding-top: 0;
}

.footer__menu-list li:last-child {
	padding-bottom: 0;
}

.footer__menu-list a {
	color: black;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.footer__menu-list a:hover {
	color: #d7333f;
}

.footer__content {
	display: flex;
	justify-content: space-between !important;
	align-items: flex-start;
	gap: 30px;
}

.footer__contacts {
	flex-shrink: 0;
	width: 220px;
}

@media (max-width: 768px) {
	.footer__menus {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer__content {
		flex-direction: column;
	}

	.footer__contacts {
		width: 100%;
	}
}

.to-top svg {
	color: black;
}

.modal.show {
	z-index: 999999;
}

.footer__tel-number {
	color: black;
}

.footer__tel-title {
	color: black;
}

.to-top {
	background-color: black;
}

.to-top svg {
	color: white;
}

.header__menu-button,
.header__call {
	background-color: white !important;
	border: 1px solid #d7333f;
	color: #d7333f;
}

/* Серии входных дверей */
.series-doors-section {
	margin-top: 60px;
}

.series-doors-tabs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 35px;
}

.mainpage-cat-button {
	display: flex;
	flex-direction: column-reverse;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	background: white;
	padding: 15px 30px;
	border-radius: 10px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
}

.mainpage-cat-button:hover {
	background-color: #f2f2f2;
}

.mainpage-cat-button_active {
	border-color: black !important;
	background-color: white !important;
}

.mainpage-cat-button h3 {
	text-align: start;
	margin: 0;
	font-weight: bold;
	color: #0f0f0f;
	font-size: 14px;
}

.mainpage-cat-button p {
	text-align: start;
	margin: 0;
	font-size: 16px;
	display: none;
}

.series-doors-list {
	display: grid;
	gap: 40px;
	margin-top: 35px;
}

.mainpage-series-item {
	display: none;
	grid-template-columns: 1fr;
	gap: 20px;
	background: white;
	border-radius: 10px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.mainpage-series-item:hover {
	border-color: black;
}

.mainpage-series-item.active {
	display: grid;
	animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mainpage-series-item img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 10px 10px 0 0;
}

.series-item-content {
	display: grid;
	gap: 20px;
	padding: 23px 20px;
}

.series-item-info {
	display: grid;
	justify-content: start;
	align-content: center;
}

.series-item-info h3 {
	font-size: 24px;
	font-weight: 500;
	margin: 0 0 5px 0;
	color: #000;
}

.series-item-price {
	font-size: 19px;
	color: #8e8787;
	font-weight: 500;
	margin-bottom: 5px;
	line-height: 1;
}

.series-item-button {
	display: flex;
	gap: 10px;
	align-items: center;
	background: black;
	color: white;
	font-size: 13.33px;
	border: none;
	border-radius: 50px;
	padding: 12px 20px;
	width: fit-content;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.series-item-button:hover {
	transform: scale(1.05);
}

@media (min-width: 768px) {
	.mainpage-cat-button {
		flex-direction: row;
		justify-content: space-between;
		gap: 72px;
	}

	.mainpage-cat-button h3 {
		font-size: 24px;
	}

	.mainpage-cat-button p {
		display: inline;
	}

	.mainpage-series-item {
		grid-template-columns: 200px 1fr;
		gap: 50px;
	}

	.mainpage-series-item img {
		height: 100%;
		border-radius: 10px 0 0 10px;
	}

	.series-item-content {
		padding: 23px 30px 23px 0;
	}
}

/* Блоки серий на странице архива */
.archive-series-blocks {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
	margin-bottom: 40px;
}

@media (min-width: 768px) {
	.archive-series-blocks {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

.archive-series-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 20px 25px;
	border: 2px solid #000;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.3s ease;
	background: white;
}

.archive-series-card:hover {
	background: #000;
}

.archive-series-card h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 5px 0;
	color: black;
	transition: color 0.3s ease;
}

.archive-series-card:hover h3 {
	color: #fff;
}

.archive-series-card span {
	font-size: 14px;
	color: #666;
	transition: color 0.3s ease;
}

.archive-series-card:hover span {
	color: #fff;
}

.archive-series-card.current {
	background: #d7333f;
	border-color: #d7333f;
}

.archive-series-card.current h3 {
	color: #fff;
}

.archive-series-card.current span {
	color: #fff;
}

/* Характеристики в карточках товаров */
.product-card__specs {
	list-style: none;
	padding: 0;
	margin: 10px 0;
}

.product-card__spec-item {
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
	font-size: 13px;
	border-bottom: 1px solid #eee;
}

.product-card__spec-item:last-child {
	border-bottom: none;
}

.product-card__spec-name {
	font-weight: 600;
	color: #333;
}

.product-card__spec-value {
	color: #666;
}

/* Характеристики на детальной странице */
.single-product-specs {
	margin: 20px 0;
}

.single-product-specs__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 15px 0;
	color: #000;
}

.single-product-specs__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.single-product-specs__item {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	font-size: 14px;
	border-bottom: 1px solid #eee;
}

.single-product-specs__item:last-child {
	border-bottom: none;
}

.single-product-specs__name {
	font-weight: 600;
	color: #333;
}

.single-product-specs__value {
	color: #666;
	text-align: right;
}

/* Фикс для блока showcase на главной */
.showcase {
	min-height: auto !important;
}

.showcase__content {
	min-height: auto !important;
}

.showcase__items {
	min-height: auto !important;
}

@media (max-width: 768px) {
	.footer__contacts {
		flex-basis: 100%;
	}
	.header__logo,
	.footer__logo {
		width: 75px !important;
		height: auto;
	}
	.footer__tel-number {
		font-size: 18px;
	}
	.series-doors-section svg {
		width: 20px;
		height: 20px;
	}
	.mainpage-cat-button {
		padding: 10px;
	}
	#splide02-track {
		padding: 0px 10px;
	}
}

.splide {
	visibility: visible !important;
}

.title-flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.splide__arrows {
	position: absolute;
	top: calc(50% - 20px);
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.splide__arrow--next {
	right: 0;
	margin-right: 0px;
}

.splide__arrow {
	border-radius: 50%;
	border: 0;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: normal;
	background: white;
	border: 1px solid;
}

.splide__arrow:hover {
	background: black;
	color: white;
}

.product-cart__title1 {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.product-cart__title1 button {
	display: none;
}

.product-card:hover .product-cart__title1 button {
	background: black;
	color: white;
	display: block;
	width: 30px;
	height: 30px;
}

.product-card:hover .product-cart__title1 button svg {
	width: 18px;
	height: 20px;
}

.product-card__full {
	border-radius: 50%;
	border: 0;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: normal;
	background: white;
	border: 1px solid;
}
