/*
Theme Name: Amazonprofi Child
Template: amazonprofi
Version: 1.0.0
*/


body,
button,
input,
select,
optgroup,
textarea {
	font-family: 'Roboto', Arial, sans-serif;
}

.simple-section .content > h1 {
	font-family: 'Roboto', sans-serif !important;
	font-weight: 500 !important;
	font-size: 36px !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-transform: uppercase !important;
	margin-top: 0 !important;
	margin-bottom: 12px !important;
}

/* Адаптив для мобильных экранов */
@media screen and (max-width: 767px) {
	.simple-section .content > h1 {
		font-size: 24px !important;
	}
}

mark, ins { background: transparent; text-decoration: none; }

ul { list-style: none; margin: 0; }
.tab-description-wrapper ul,
.aw-catalog-desc ul { list-style: disc; padding-left: 24px; }

p { margin: 0 0 20px; }
.page-content, .entry-content, .entry-summary { margin: 0; }

h1 {
	font-size: 24px;
	font-weight: 500;
	text-align: left;
	line-height: 1.2;
	clear: none;
	margin-top: 48px;
	margin-bottom: 48px;
	text-transform: inherit;
}
@media screen and (max-width: 1280px) { h1 { font-size: 32px; } }
@media screen and (max-width: 720px)  { h1 { font-size: 22px; } }

.default-form .textarea-wrapper textarea {
	border: 1px solid rgba(29, 54, 76, 0.1) !important;
	background: #FFFFFF !important;
	border-radius: 4px !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease !important;
}

.default-form .textarea-wrapper textarea:hover,
.default-form .textarea-wrapper textarea:focus {
	border-color: rgba(29, 54, 76, 0.4) !important;
	outline: none !important;
	box-shadow: none !important;
}

.aw-gallery-summery-wrapper {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 48px;
	width: 1248px;
	max-width: 100%;
	margin: 48px 0;
}
.aw-gallery-summery-wrapper .aw-gallery-main-wrapper { width: 392px; flex: 0 0 392px; }
.aw-gallery-summery-wrapper .aw-summary-main-wrapper {
	width: 808px; max-width: 100%; flex: 1 1 auto; min-width: 0; padding-left: 0;
}


.aw-gallery-main-wrapper .woocommerce-product-gallery { width: 100%; margin: 0; float: none; }
.aw-gallery-main-wrapper .woocommerce-product-gallery__image img {
	width: 392px; height: 560px; object-fit: cover; border-radius: 10px;
}
.aw-gallery-main-wrapper .flex-control-thumbs {
	display: flex; gap: 24px; margin: 24px 0 0; padding: 0; list-style: none;
}
.aw-gallery-main-wrapper .flex-control-thumbs li { flex: 1 1 0; width: auto; margin: 0; list-style: none; }
.aw-gallery-main-wrapper .flex-control-thumbs img {
	width: 100%; height: 120px; object-fit: cover; border-radius: 10px;
	border: 2px solid transparent; opacity: 1;
}
.aw-gallery-main-wrapper .flex-control-thumbs img.flex-active { border-color: rgba(250, 104, 46, 0.8); }


.aw-single-product .summary.entry-summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 24px;
	row-gap: 24px;
	align-items: center;
	float: none;
	width: 100%;
	margin: 0 !important;
}
.aw-single-product .summary.entry-summary > * {
	grid-column: 1 / -1;
	min-width: 0;
	margin-top: 0;
	margin-bottom: 0;
}
.aw-single-product .summary.entry-summary > .aw-line { display: none; }
.aw-single-product .summary.entry-summary > .article-wrapper { grid-row: 1; grid-column: 1; }
.aw-single-product .summary.entry-summary > .article-size-row,
.aw-single-product .summary.entry-summary > .status-similar-wrapper { grid-row: 1; grid-column: 2; }
.aw-single-product .summary.entry-summary > .price-cart-box { grid-row: 2; grid-column: 1 / -1; }
.aw-single-product .summary.entry-summary > .characteristics { grid-row: 3; grid-column: 1 / -1; }

.woocommerce-breadcrumb {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.woocommerce-breadcrumb a {

    text-decoration: none;
    transition: color .2s;
}


.woocommerce-breadcrumb a:last-of-type {
    text-decoration: none;
    color: #7C8A97;
}

.aw-single-product .single_add_to_cart_button.button.alt,
.aw-single-product .single_add_to_cart_button.button.alt:link,
.aw-single-product .single_add_to_cart_button.button.alt:visited,
.aw-single-product .single_add_to_cart_button.button.alt:focus {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	min-width: 227px !important;
	width: auto !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 12px 24px !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: linear-gradient(270deg, #D53E1F 0%, #FF7940 100%) !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font: 600 14px/140% 'Roboto', sans-serif !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	cursor: pointer;
}
.aw-single-product .single_add_to_cart_button.button.alt:hover {
	background: linear-gradient(270deg, #9C1D03 0%, #C93C01 100%) !important;
	color: #FFFFFF !important;
}

/* ================= Артикул ================= */
.aw-single-product .article-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	white-space: nowrap;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #1D364C;
}

.aw-single-product .article-wrapper .title_wrapper {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #1D364C;
}

.aw-single-product .article-wrapper .sku {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 6px 12px;
	background: #F5F7F9;
	border: 0;
	border-radius: 6px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	color: #1D364C;
	white-space: nowrap;
}


.aw-single-product .summary.entry-summary { column-gap: 88px; }
.aw-single-product .article-size-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 88px;
	row-gap: 12px;
	width: 100%;
	min-width: 0;
	margin: 0;
}


.aw-single-product .summary.entry-summary > .aw-size-wrap {
	grid-row: 1; grid-column: 2;
	display: flex; justify-content: flex-end; align-items: center;
}
.aw-single-product .aw-size-consult {
	display: inline-block; margin: 0; padding: 0;
	background: none; border: 0;
	font: 400 12px/120% 'Roboto', sans-serif;
	color: rgba(250, 104, 46, 0.8);
	text-decoration: underline;
	white-space: nowrap; cursor: pointer;
}
.aw-single-product .aw-size-consult:hover { text-decoration: none; }

.aw-single-product .status-similar-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 32px;
	row-gap: 12px;
	width: 100%;
	min-width: 0;
	margin: 0;
}

.aw-single-product .entry-summary .status-similar-wrapper { justify-content: flex-start; }

.aw-single-product .entry-summary .status-similar-wrapper .razmer-status-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 12px;
	row-gap: 12px;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.aw-single-product .razmer-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0;
	min-width: 0;
}

.aw-single-product .razmer-wrapper .title {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: #1D364C;
}

.aw-single-product .razmer-value {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
}

.aw-single-product .razmer-value .value {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 6px 12px;
	background: #F5F7F9;
	border: 0;
	border-radius: 6px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	color: #1D364C;
	text-transform: uppercase;
	white-space: nowrap;
}

.aw-single-product .staus-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.aw-single-product .staus-wrapper svg {
	flex: none;
	width: 20px;
	height: 20px;
}

.aw-single-product .staus-wrapper svg path { fill: rgba(29, 54, 76, 0.5); }

.aw-single-product .staus-wrapper .status-text {
	position: static;
	margin: 0;
	padding: 0;
	background: transparent;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: rgba(29, 54, 76, 0.5);
	text-transform: none;
}


.single-product button.btn-consult {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 257px;
    height: 44px;
    padding: 0 20px;
    margin: 0;
    margin-top: 30px;
    background: transparent;
    border: 1px solid rgba(29, 54, 76, 0.5);
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #1D364C;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}

.single-product button.btn-consult:hover {
    border-color: var(--dark-50);
    background: var(--dark-50);
    color: #fff;
}

.single-product button.btn-consult:focus-visible {
    outline: 2px solid #1D364C;
    outline-offset: 2px;
}


.aw-summary-main-wrapper .article-wrapper span.title_wrapper,
.aw-single-product .article-wrapper span.title_wrapper {
	margin: 0 !important;
}

@media (max-width: 720px) {
    .single-product button.btn-consult {
        width: 100%;
    }
}

.aw-no-price {
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #1D364C;
}

/* Кнопки в карточке */
.aw-loop-actions { 	display:flex; justify-content: center !important;
	text-align: center !important; }
.aw-loop-actions .add_to_cart_button,
.aw-loop-actions .aw-loop-consult {
	-webkit-appearance: none; appearance: none;
	display: flex; align-items: center; justify-content: center;
	box-sizing: border-box; width: 100%; height: 44px;
	margin: 0; padding: 0 16px;
	background: transparent !important;
	border: 1px solid rgba(29, 54, 76, 0.5) !important;
	border-radius: 4px;
	font: 600 14px/1 'Roboto', sans-serif !important;
	text-transform: uppercase; text-decoration: none !important;
	color: #1D364C !important;
	cursor: pointer;
	transition: background-color .3s, color .3s;
}
.aw-loop-actions .add_to_cart_button:hover,
.aw-loop-actions .aw-loop-consult:hover {
	background: rgba(29, 54, 76, 0.5) !important;
	color: #FFFFFF !important;
}
.aw-loop-actions .add_to_cart_button.loading { opacity: .6; pointer-events: none; }
.aw-loop-actions .added_to_cart { display: none !important; }

.aw-loop-actions .add_to_cart_button {
	justify-content: center !important;
	text-align: center !important;
	float: none !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
}
.aw-loop-actions .add_to_cart_button::before,
.aw-loop-actions .add_to_cart_button::after {
	content: none !important;
	display: none !important;
}
.aw-loop-actions .add_to_cart_button > * {
	margin: 0 !important;
	flex: 0 0 auto;
}

.aw-single-product .entry-summary .status-similar-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 12px;
	row-gap: 8px;
	width: 100%;
	min-width: 0;
}

.aw-single-product .entry-summary .status-similar-wrapper .razmer-status-wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 12px;
	row-gap: 8px;
	min-width: 0;
}

.aw-single-product .razmer-wrapper { flex-wrap: wrap; min-width: 0; }
.aw-single-product .razmer-value { min-width: 0; }
.aw-single-product .razmer-value .value { white-space: normal; }


.aw-single-product .similar-wrapper {
	margin-left: auto;
	flex: 0 0 auto;
}

.aw-single-product .similar-title {
	display: inline-block;
	white-space: nowrap;
}

.aw-single-product .article-size-row {
	display: flex; align-items: center; gap: 12px;
	width: 100%; min-width: 0; margin: 0;
}
.aw-single-product .status-similar-wrapper {
	display: flex; align-items: center; gap: 12px;
	width: 100%; min-width: 0; margin: 0;
}
.aw-single-product .entry-summary .status-similar-wrapper { justify-content: flex-start; }
.aw-single-product .entry-summary .status-similar-wrapper .razmer-status-wrapper {
	display: flex; align-items: center; gap: 12px; padding: 0; margin: 0;
}
.aw-single-product .razmer-wrapper { display: flex; align-items: center; gap: 8px; margin: 0; }
.aw-single-product .razmer-wrapper .title {
	margin: 0; font: 600 14px/140% 'Roboto', sans-serif;
	text-transform: uppercase; color: #1D364C;
}
.aw-single-product .razmer-value { display: flex; align-items: center; gap: 4px; }
.aw-single-product .razmer-value .value {
	display: inline-flex; align-items: center;
	margin: 0; padding: 4px 8px;
	background: #F5F7F9; border-radius: 4px;
	font: 400 12px/120% 'Roboto', sans-serif; color: #1D364C; text-transform: uppercase;
}
.aw-single-product .staus-wrapper { display: flex; align-items: center; gap: 4px; }
.aw-single-product .staus-wrapper svg { flex: none; }
.aw-single-product .staus-wrapper svg path { fill: rgba(29, 54, 76, 0.5); }
.aw-single-product .staus-wrapper .status-text {
	position: static; padding: 0;
	font: 400 14px/140% 'Roboto', sans-serif;
	color: rgba(29, 54, 76, 0.5); text-transform: none;
}
.aw-single-product .similar-wrapper { margin-left: auto; }
.aw-single-product .similar-title {
	display: inline-block; margin: 0; padding: 0;
	font: 400 12px/120% 'Roboto', sans-serif;
	color: rgba(250, 104, 46, 0.8) !important;
	text-decoration: underline !important;
	white-space: nowrap; cursor: pointer;
}
.aw-single-product .similar-list { display: none; }

/* «Нужен другой размер?» — кнопка, а не ссылка */
.aw-single-product .similar-wrapper button.aw-size-consult {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: underline;
	white-space: nowrap;
	color: rgba(250, 104, 46, 0.8);
	cursor: pointer;
	transition: color .2s;
}

.aw-single-product .similar-wrapper button.aw-size-consult:hover {
	color: #FA682E;
}

.aw-single-product .similar-wrapper button.aw-size-consult:focus-visible {
	outline: 2px solid rgba(250, 104, 46, 0.8);
	outline-offset: 2px;
}

.price ins, .price ins *, .price mark, .price mark *, .price bdi,
li.product .price, li.product .price * {
	background: transparent !important;
	box-shadow: none !important;
}

.aw-single-product .summary .price {
	display: flex; flex-direction: column; align-items: flex-start; gap: 0;
	margin: 0; padding: 0; border: 0;
}
.aw-single-product .summary .price ins,
.aw-single-product .summary .price ins bdi,
.aw-single-product .summary .price ins .woocommerce-Price-amount,
.aw-single-product .summary .price > .woocommerce-Price-amount,
.aw-single-product .summary .price > .woocommerce-Price-amount > bdi {
	font: 500 24px/120% 'Roboto', sans-serif !important;
	color: #1D364C !important;
	text-decoration: none !important;
}
.aw-single-product .summary .price del,
.aw-single-product .summary .price del bdi,
.aw-single-product .summary .price del .woocommerce-Price-amount {
	font: 400 14px/120% 'Roboto', sans-serif !important;
	color: rgba(29, 54, 76, 0.5) !important;
	text-decoration: line-through !important;
}


.aw-single-product .price-cart-box {
	display: flex; justify-content: space-between; align-items: center;
	box-sizing: border-box; width: 100%; min-height: 100px;
	padding: 24px; gap: 24px;
	background: #F5F7F9; border-radius: 10px;
}
.aw-single-product .price-cart-box .consult-add-to-cart-wrapper { margin: 0 0 0 auto; }
.aw-single-product .price-cart-box .quantity { display: none; }
.aw-single-product .price-cart-box form.cart { margin: 0; padding: 0; }
.aw-single-product .price-cart-box .inner-wrapper { display: flex; align-items: center; }


.aw-single-product .price-cart-box .single_add_to_cart_button,
.aw-single-product .price-cart-box .aw-go-cart {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	min-width: 227px !important;
	height: 44px !important;
	padding: 12px 36px !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: linear-gradient(270deg, #D53E1F 0%, #FF7940 100%) !important;
	color: #FFFFFF !important;
	font: 600 14px/140% 'Roboto', sans-serif !important;
	letter-spacing: 0 !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	cursor: pointer;
	transition: background .3s ease-in-out, color .3s ease-in-out;
}

.aw-single-product .price-cart-box .single_add_to_cart_button:hover,
.aw-single-product .price-cart-box .aw-go-cart:hover {
	background: linear-gradient(270deg, #9C1D03 0%, #C93C01 100%) !important;
	color: #FFFFFF !important;
}


.aw-single-product .price-cart-box .quantity { display: none !important; }


.aw-single-product .price-cart-box.aw-in-cart form.cart { display: none !important; }
.aw-single-product .price-cart-box.aw-in-cart .price { margin-right: auto; }


.aw-single-product .price-cart-box .aw-buy-state {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	transition: opacity .2s;
}

.aw-single-product .price-cart-box .aw-buy-state.aw-loading {
	opacity: .6;
	pointer-events: none;
}

.aw-qty {
	display: inline-flex;
	align-items: center;
	height: 44px;
	box-sizing: border-box;
	border: 1px solid #E3E7EB;
	border-radius: 6px;
	background: #FFFFFF;
}

.aw-step {
	width: 38px;
	height: 42px;
	border: 0;
	background: transparent;
	font: 400 18px/1 'Roboto', sans-serif;
	color: #1D364C;
	cursor: pointer;
}

.aw-step:hover { color: #E4512A; }

.aw-qty-input {
	width: 44px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	font: 500 16px/1 'Roboto', sans-serif;
	text-align: center;
	color: #1D364C;
}

@media (max-width: 720px) {
	.aw-single-product .price-cart-box { flex-wrap: wrap; }
	.aw-single-product .price-cart-box .single_add_to_cart_button { width: 100% !important; }
	.aw-single-product .price-cart-box .aw-buy-state { width: 100%; margin-left: 0; }
	.aw-single-product .price-cart-box .aw-go-cart { flex: 1; }
}
.aw-single-product .price-cart-box .single_add_to_cart_button:hover {
	background: linear-gradient(270deg, #9C1D03 0%, #C93C01 100%) !important;
	color: #FFFFFF !important;
}

.aw-single-product .entry-summary .characteristics {
	display: flex; flex-direction: column; gap: 24px;
	width: 100%; padding: 0; border: 0;
}
.aw-single-product .entry-summary .characteristics .title {
	margin: 0; font: 600 14px/140% 'Roboto', sans-serif;
	text-transform: uppercase; color: #1D364C;
}
.aw-single-product .entry-summary .characteristics .characteristics-list {
	display: flex; flex-direction: column; gap: 12px;
}
.aw-single-product .entry-summary .characteristics .characteristics-list .single-item {
	display: flex; align-items: flex-start; gap: 16px;
	min-height: 25px; margin: 0; text-align: left;
}
.aw-single-product .entry-summary .characteristics .characteristics-list .single-item .name {
	width: 263px; flex: 0 0 263px;
	font: 600 14px/120% 'Roboto', sans-serif; color: #1D364C;
}
.aw-single-product .entry-summary .characteristics .characteristics-list .single-item .value {
	width: auto; flex: 1 1 auto;
	font: 400 12px/120% 'Roboto', sans-serif; color: rgba(29, 54, 76, 0.8);
}

.aw-single-product .price-cart-box .quantity { display: none !important; }

/* товар уже в корзине — кнопка добавления убрана */
.aw-single-product .price-cart-box.aw-in-cart form.cart { display: none !important; }
.aw-single-product .price-cart-box.aw-in-cart .price { margin-right: auto; }

/* ---------- Состояние «в корзине» ---------- */
.aw-single-product .price-cart-box .aw-buy-state {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	transition: opacity .2s;
}

.aw-single-product .price-cart-box .aw-buy-state.aw-loading {
	opacity: .6;
	pointer-events: none;
}

.aw-qty {
	display: inline-flex;
	align-items: center;
	height: 44px;
	box-sizing: border-box;
	border: 1px solid #E3E7EB;
	border-radius: 6px;
	background: #FFFFFF;
}

.aw-step {
	width: 38px;
	height: 42px;
	border: 0;
	background: transparent;
	font: 400 18px/1 'Roboto', sans-serif;
	color: #1D364C;
	cursor: pointer;
}

.aw-step:hover { color: #E4512A; }

.aw-qty-input {
	width: 44px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	font: 500 16px/1 'Roboto', sans-serif;
	text-align: center;
	color: #1D364C;
}

.aw-go-cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	height: 44px;
	padding: 0 20px;
	border: 1px solid rgba(29, 54, 76, 0.2);
	border-radius: 4px;
	background: #FFFFFF;
	font: 600 14px/140% 'Roboto', sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: #1D364C;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s;
}

.aw-go-cart:hover {
	background: #F5F7F9;
	border-color: rgba(29, 54, 76, 0.4);
	color: #1D364C;
}

@media (max-width: 720px) {
	.aw-single-product .price-cart-box { flex-wrap: wrap; }
	.aw-single-product .price-cart-box .single_add_to_cart_button { width: 100% !important; }
	.aw-single-product .price-cart-box .aw-buy-state { width: 100%; margin-left: 0; }
	.aw-go-cart { flex: 1; }
}

/* ---------- Кнопка «В корзине» в карточке каталога ---------- */
/* ---------- Кнопка «В корзине» в карточке каталога ---------- */
.aw-archive-products-wrapper .aw-loop-actions .aw-loop-buy-state {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.aw-archive-products-wrapper .aw-loop-actions .aw-loop-buy-state .aw-qty {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    width: 106px !important;
    flex: 0 0 106px !important;
    height: 44px !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(29, 54, 76, 0.1) !important;
    border-radius: 4px !important;
    margin: 0 !important;
}

.aw-archive-products-wrapper .aw-loop-actions .aw-loop-buy-state .aw-step {
    width: 29px !important;
    height: 42px !important;
    border: 0 !important;
    background: transparent !important;
    font: 400 18px/1 'Roboto', sans-serif !important;
    color: #1D364C !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: color .2s;
}

.aw-archive-products-wrapper .aw-loop-actions .aw-loop-buy-state .aw-step:hover {
    color: #E4512A !important;
}

.aw-archive-products-wrapper .aw-loop-actions .aw-loop-buy-state .aw-qty-input {
    width: 36px !important;
    height: 42px !important;
    border: 0 !important;
    background: transparent !important;
    font: 400 14px/1 'Roboto', sans-serif !important;
    text-align: center !important;
    color: #1D364C !important;
    padding: 0 !important;
}

.aw-archive-products-wrapper .aw-loop-actions a.aw-loop-in-cart,
.aw-archive-products-wrapper .aw-loop-actions a.aw-loop-in-cart:link,
.aw-archive-products-wrapper .aw-loop-actions a.aw-loop-in-cart:visited {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid rgba(29, 54, 76, 0.5) !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    color: #1D364C !important;
    font: 600 14px/140% 'Roboto', sans-serif !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background .3s ease-in-out !important;
}

.aw-archive-products-wrapper .aw-loop-actions a.aw-loop-in-cart:hover {
    background: #F5F7F9 !important;
}

.aw-archive-products-wrapper .aw-loop-actions a.aw-loop-in-cart::after {
	content: "" !important;
	flex: none !important;
	width: 16px !important;
	height: 16px !important;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 3.5L10.5 8L6 12.5' stroke='%231D364C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
}



a.btn-consult,
a.btn-consult:link,
a.btn-consult:visited,
a.btn-consult:hover,
a.btn-consult:active,
.aw-single-product .summary #get-consult {
	display: inline-flex !important;
	justify-content: center !important;
	align-items: center !important;
	box-sizing: border-box !important;
	width: 257px !important;
	height: 44px !important;
	margin: 24px 0 0 !important;
	padding: 12px 20px !important;
	background: transparent !important;
	border: 1px solid rgba(29, 54, 76, 0.5) !important;
	border-radius: 4px !important;
	font: 600 14px/20px 'Roboto', sans-serif !important;
	letter-spacing: 0 !important;
	text-transform: uppercase !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	color: #1D364C !important;
	cursor: pointer;
	transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
a.btn-consult:hover {
	background-color: rgba(29, 54, 76, 0.5) !important;
	color: #FFFFFF !important;
}
.aw-single-product .price-cart-box .btn-consult { display: none !important; }

.summary.entry-summary a:not(.aw-go-cart),
.summary.entry-summary a:not(.aw-go-cart):link,
.summary.entry-summary a:not(.aw-go-cart):visited,
.summary.entry-summary a:not(.aw-go-cart):active,
.summary.entry-summary a:not(.aw-go-cart):hover {
	color: inherit !important;
	text-decoration: none !important;
}

.summary.entry-summary .characteristics .value a,
.summary.entry-summary .characteristics .value a:link,
.summary.entry-summary .characteristics .value a:visited {
	color: rgba(29, 54, 76, 0.8) !important;
	text-decoration: underline !important;
}
.summary.entry-summary .characteristics .value a:hover { color: #1D364C !important; }

/* основная кнопка */
.single-product .price-cart-box .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 257px;
    height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 4px;
    background: #E4512A;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s;
}

.single-product .price-cart-box .single_add_to_cart_button:hover {
    background: #C9431F;
}

.single-product .price-cart-box .single_add_to_cart_button.aw-loading {
    opacity: .6;
    pointer-events: none;
}

/* состояние «в корзине» */
.aw-buy-state {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.aw-qty {
    display: inline-flex;
    align-items: center;
    height: 44px;
    border: 1px solid #E3E7EB;
    border-radius: 6px;
    background: #fff;
}

.aw-step {
    width: 38px;
    height: 42px;
    border: 0;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: #1D364C;
    cursor: pointer;
}

.aw-step:hover {
    color: #E4512A;
}

.aw-qty-input {
    width: 44px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    text-align: center;
    color: #1D364C;
}

.aw-go-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    height: 44px;
    padding: 0 20px;
    border-radius: 4px;
    background: #E4512A;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    transition: background-color .2s;
}

.aw-go-cart:hover {
    background: #C9431F;
    color: #fff;
}

.aw-buy-state.aw-loading {
    opacity: .6;
    pointer-events: none;
}


/* ---------- Подсветка и треугольник ошибки у e-mail в корзине ---------- */
#cart-page .contact-row .email-field {
	position: relative !important;
	width: 100% !important;
	max-width: 344px !important;
	margin: 10px 0 !important;
}

#cart-page .contact-row .email-field input[name="email"] {
	height: 44px !important;
	margin: 0 !important;
	padding: 0 42px 0 14px !important;
	box-sizing: border-box !important;
	background: #FFFFFF !important;
	border: 1px solid transparent !important;
}

#cart-page .contact-row .email-field input[name="email"].wrong,
#cart-page .contact-row .email-field.wrong input[name="email"] {
	border: 1px solid #C8102E !important;
}

#cart-page .contact-row .email-field.wrong::after {
	content: "▲" !important;
	position: absolute !important;
	top: 50% !important;
	right: 14px !important;
	transform: translateY(-50%) !important;
	font-size: 18px !important;
	line-height: 1 !important;
	color: #C8102E !important;
	pointer-events: none !important;
}

#cart-page .contact-row .email-field.wrong::before {
	content: "!" !important;
	position: absolute !important;
	top: 50% !important;
	right: 21px !important;
	transform: translateY(-42%) !important;
	z-index: 2 !important;
	font: 700 11px/1 'Roboto', sans-serif !important;
	color: #FFFFFF !important;
	pointer-events: none !important;
}

#cart-page .delivery-panel input.wrong,
#cart-page .requisites-wrapper textarea.wrong {
	border: 1px solid #C8102E !important;
	background-color: #FFFFFF !important;
}

#cart-page .input-wrapper.contact-block.wrong::after {
	content: none !important;
	display: none !important;
}

#cart-page .input-wrapper.contact-block.wrong::after {
	content: none !important;
	display: none !important;
}

#cart-page .contact-row .phone-field-wrap {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: 344px !important;
	margin: 10px 0 !important;
}


#cart-page .contact-row .phone-field-wrap input.phone-mask.wrong {
	border: 1px solid #C8102E !important;
}

#cart-page .contact-row .phone-field-wrap:has(input.wrong)::after {
	content: "▲" !important;
	position: absolute !important;
	top: 50% !important;
	right: 14px !important;
	transform: translateY(-50%) !important;
	font-size: 18px !important;
	line-height: 1 !important;
	color: #C8102E !important;
	pointer-events: none !important;
}

#cart-page .contact-row .phone-field-wrap:has(input.wrong)::before {
	content: "!" !important;
	position: absolute !important;
	top: 50% !important;
	right: 21px !important;
	transform: translateY(-42%) !important;
	z-index: 2 !important;
	font: 700 11px/1 'Roboto', sans-serif !important;
	color: #FFFFFF !important;
	pointer-events: none !important;
}


.aw-single-product .price-cart-box a.aw-go-cart,
.aw-single-product .price-cart-box a.aw-go-cart:link,
.aw-single-product .price-cart-box a.aw-go-cart:visited,
.aw-single-product .price-cart-box a.aw-go-cart:hover,
.aw-single-product .price-cart-box a.aw-go-cart:active {
	min-width: 0 !important;
	width: auto !important;
	padding: 12px 24px !important;
	color: #FFFFFF !important;
}

/* ---------- Заголовок ---------- */
h1.woocommerce-products-header__title {
	font-size: 24px;
	font-weight: 500;
	text-align: left;
	line-height: 1.2;
	margin: 0 0 12px;
	margin-top: 48px;
}
@media screen and (max-width: 1280px) { h1.woocommerce-products-header__title { font-size: 32px; } }
@media screen and (max-width: 720px)  { h1.woocommerce-products-header__title { font-size: 22px; } }

/* ---------- Цена в карточке ---------- */
.aw-archive-products-wrapper .s-product-price .price,
.aw-archive-products-wrapper .s-product-price .price * {
	background: transparent !important;
	box-shadow: none !important;
}
.aw-single-product .price-cart-box a.aw-go-cart > span {
	display: none !important;
}
.aw-archive-products-wrapper .s-product-price .price ins,
.aw-archive-products-wrapper .s-product-price .price ins bdi,
.aw-archive-products-wrapper .s-product-price .price ins .woocommerce-Price-amount,
.aw-archive-products-wrapper .s-product-price .price > .woocommerce-Price-amount,
.aw-archive-products-wrapper .s-product-price .price > .woocommerce-Price-amount > bdi {
	font: 500 24px/120% 'Roboto', sans-serif !important;
	color: #1D364C !important;
	text-decoration: none !important;
}
.aw-archive-products-wrapper .s-product-price .price del,
.aw-archive-products-wrapper .s-product-price .price del bdi,
.aw-archive-products-wrapper .s-product-price .price del .woocommerce-Price-amount {
	font: 400 14px/120% 'Roboto', sans-serif !important;
	color: rgba(29, 54, 76, 0.5) !important;
	text-decoration: line-through !important;
}
.aw-archive-products-wrapper .s-product-price .aw-no-price {
	display: none !important;
}
.aw-archive-products-wrapper .s-product-price:not(:has(.price)) {
	display: none !important;
}

/* ---------- Кнопка «Запросить стоимость» (карточка) ---------- */
.aw-archive-products-wrapper .aw-loop-actions .aw-loop-consult {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	padding: 0 20px;
	margin: 0;
	background: transparent;
	border: 1px solid rgba(29, 54, 76, 0.5);
	border-radius: 4px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: #1D364C;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.aw-archive-products-wrapper .aw-loop-actions .aw-loop-consult:hover {
	border-color: #1D364C;
}
.aw-archive-products-wrapper .aw-loop-actions .aw-loop-consult:focus-visible {
	outline: 2px solid #1D364C;
	outline-offset: 2px;
}

/* ---------- Кнопка «Добавить в корзину» (карточка) ---------- */
.aw-archive-products-wrapper .aw-loop-actions a.add_to_cart_button {
	display: inline-flex !important;
	justify-content: center !important;
	align-items: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	height: 44px !important;
	padding: 0 36px !important;
	line-height: 44px !important;
	border: 0 !important;
	border-radius: 4px !important;
	color: #FFFFFF !important;
	font: 600 14px/140% 'Roboto', sans-serif !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	cursor: pointer;
	transition: background .3s ease-in-out;
	border: 1px solid #1D364C80 !important;
	background: #fff;
	color: #1D364C !important;
	margin-top:10px;
	
}
.aw-archive-products-wrapper .aw-loop-actions a.add_to_cart_button:hover {
	border-color: #1D364C80;
	color: #FFFFFF !important;
}


.aw-archive-products-wrapper .aw-loop-actions a.added_to_cart { display: none !important; }

/* ---------- Ссылки карточки ---------- */
.aw-archive-products-wrapper .product .title-link,
.aw-archive-products-wrapper .product .title-link:link,
.aw-archive-products-wrapper .product .title-link:visited,
.aw-archive-products-wrapper .product .title-link:hover {
	color: #1D364C;
	text-decoration: none !important;
}

/* ---------- Меню категорий ---------- */
.aw-filter-wrapper .menu-katalog-container .sub-menu,
.aw-filter-wrapper .menu-katalog-container .sub-menu li { list-style: none !important; }
.aw-filter-wrapper .menu-katalog-container a,
.aw-filter-wrapper .menu-katalog-container a:link,
.aw-filter-wrapper .menu-katalog-container a:visited,
.aw-filter-wrapper .menu-katalog-container a:active,
.aw-filter-wrapper .menu-katalog-container a:hover {
	color: #1D364C;
	text-decoration: none !important;
}
.aw-filter-wrapper .menu-katalog-container .current-menu-item > .link-flex-w > a,
.aw-filter-wrapper .menu-katalog-container .current-menu-item > a,
.aw-filter-wrapper .menu-katalog-container .current-menu-ancestor > .link-flex-w > a {
	color: #FA682E !important;
}

/* ---------- Пагинация ---------- */
.woocommerce-pagination ul.page-numbers,
.woocommerce-pagination .page-numbers li { list-style: none !important; margin: 0; padding: 0; }
.woocommerce-pagination .page-numbers li::marker,
.woocommerce-pagination .page-numbers li::before,
.woocommerce-pagination .page-numbers li::after { content: none !important; display: none !important; }
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li a:link,
.woocommerce-pagination .page-numbers li a:visited,
.woocommerce-pagination .page-numbers li a:active { color: #1D364C !important; text-decoration: none !important; }
.woocommerce-pagination .page-numbers li a:hover {
	color: rgba(250, 104, 46, 0.8) !important;
	border-color: rgba(250, 104, 46, 0.8) !important;
}
.woocommerce-pagination .page-numbers li span.current {
	color: rgba(250, 104, 46, 0.8) !important;
	border-color: rgba(250, 104, 46, 0.8) !important;
}
.woocommerce-pagination .page-numbers li span.dots {
	color: #1D364C !important;
	border: 0 !important;
}
.woocommerce-pagination .page-numbers li span.dots::before,
.woocommerce-pagination .page-numbers li span.dots::after { content: none !important; }

/* ---------- Адаптив ---------- */
@media screen and (max-width: 720px) {
	.aw-archive-products-wrapper .aw-loop-actions .aw-loop-consult,
	.aw-archive-products-wrapper .aw-loop-actions a.add_to_cart_button { height: 40px !important; font-size: 14px; }
}

/* Заголовок каталога */
.aw-catalog-wrapper h1.page-title {
	margin: 0 0 24px;
	font: 600 32px/120% 'Roboto', sans-serif;
	text-transform: uppercase;
	color: #1D364C;
}
@media (max-width: 720px) {
	.aw-catalog-wrapper h1.page-title { font-size: 24px; }
}

/* Категории */
.aw-filter-wrapper .menu-katalog-container a,
.aw-filter-wrapper .menu-katalog-container a:link,
.aw-filter-wrapper .menu-katalog-container a:visited {
	text-decoration: none !important;
	color: #1D364C !important;
}
.aw-filter-wrapper .menu-katalog-container > ul > li > .link-flex-w > a {
	font: 500 14px/140% 'Roboto', sans-serif;
}
.aw-filter-wrapper .menu-katalog-container .sub-menu a {
	font: 400 13px/140% 'Roboto', sans-serif;
}
.aw-filter-wrapper .menu-katalog-container a:hover,
.aw-filter-wrapper .menu-katalog-container li.current-menu-item > .link-flex-w > a,
.aw-filter-wrapper .menu-katalog-container li.current-menu-ancestor > .link-flex-w > a,
.aw-filter-wrapper .menu-katalog-container li.active > .link-flex-w > a,
.aw-filter-wrapper .menu-katalog-container li.open > .link-flex-w > a {
	color: rgba(250, 104, 46, 0.8) !important;
}


#consult textarea {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	padding: 12px 16px;
	background: #FFFFFF;
	border: 1px solid rgba(29, 54, 76, 0.2);
	border-radius: 4px;
	box-shadow: none;
	outline: none;
	resize: none;
	font: 400 14px/140% 'Roboto', sans-serif;
	color: #1D364C;
}

.aw-single-product .price-cart-box {
	box-sizing: border-box;
	min-height: 100px;
	padding: 24px;
	gap: 24px;
	background: #F5F7F9;
	border-radius: 10px;
}
.aw-single-product .price-cart-box.aw-in-cart {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

/* Блок цены: колонка, прижата к низу */
.aw-single-product .price-cart-box.aw-in-cart .price {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 0;
	margin: 0 auto 0 0 !important;
	padding: 0;
}
/* Старая цена: 14px/120%, зачёркнутая, Dark/50 */
.aw-single-product .price-cart-box.aw-in-cart .price del,
.aw-single-product .price-cart-box.aw-in-cart .price del bdi,
.aw-single-product .price-cart-box.aw-in-cart .price del .woocommerce-Price-amount {
	font: 400 14px/120% 'Roboto', sans-serif !important;
	color: rgba(29, 54, 76, 0.5) !important;
	text-decoration: line-through !important;
}
/* Текущая цена: 24px/500/120%, Dark/100 */
.aw-single-product .price-cart-box.aw-in-cart .price ins,
.aw-single-product .price-cart-box.aw-in-cart .price ins bdi,
.aw-single-product .price-cart-box.aw-in-cart .price ins .woocommerce-Price-amount,
.aw-single-product .price-cart-box.aw-in-cart .price > .woocommerce-Price-amount,
.aw-single-product .price-cart-box.aw-in-cart .price > .woocommerce-Price-amount > bdi {
	font: 500 24px/120% 'Roboto', sans-serif !important;
	color: #1D364C !important;
	text-decoration: none !important;
}

/* Группа справа: счётчик + кнопка */
.aw-single-product .price-cart-box .aw-buy-state {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

/* Счётчик количества: 106×44, белый, рамка Dark/10 */
.aw-single-product .price-cart-box .aw-qty {
	display: inline-flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	width: 106px;
	height: 44px;
	padding: 0;
	background: #FFFFFF;
	border: 1px solid rgba(29, 54, 76, 0.1);
	border-radius: 0;
}
/* Кнопки «−» и «+»: 29×44, иконка 14×14 */
.aw-single-product .price-cart-box .aw-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1D364C;
	cursor: pointer;
}
.aw-single-product .price-cart-box .aw-step svg {
	width: 14px;
	height: 14px;
	flex: none;
}
.aw-single-product .price-cart-box .aw-step svg path {
	fill: #1D364C;
	stroke: #1D364C;
}
/* Число: 14px/140%, Dark/100 */
.aw-single-product .price-cart-box .aw-qty > span,
.aw-single-product .price-cart-box .aw-qty > input,
.aw-single-product .price-cart-box .aw-qty .aw-qty-value {
	width: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font: 400 14px/140% 'Roboto', sans-serif !important;
	color: #1D364C !important;
	text-align: center;
}

/* Кнопка «В корзине»: padding 12, gap 4, radius 4, градиент */
.aw-single-product .price-cart-box a.aw-go-cart,
.aw-single-product .price-cart-box a.aw-go-cart:link,
.aw-single-product .price-cart-box a.aw-go-cart:visited,
.aw-single-product .price-cart-box a.aw-go-cart:focus,
.aw-single-product .price-cart-box a.aw-go-cart:active {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	box-sizing: border-box !important;
	min-width: 0 !important;
	width: auto !important;
	height: 44px !important;
	padding: 12px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: linear-gradient(270deg, #D53E1F 0%, #FF7940 100%) !important;
	color: #FFFFFF !important;
	font: 600 14px/140% 'Roboto', sans-serif !important;
	letter-spacing: 0 !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	white-space: nowrap !important;
}
/* Стрелка (CaretRight 16×16) — добавляется стилями, правки PHP не нужны */
.aw-single-product .price-cart-box a.aw-go-cart::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 3.5L10.5 8L6 12.5' stroke='%23FFFFFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

#consult textarea::placeholder { color: rgba(29, 54, 76, 0.5); }
#consult textarea:focus {
	border-color: rgba(29, 54, 76, 0.5);
	outline: none;
	box-shadow: none;
}



#cart-page h1.width-back-link {
  margin: 0 0 14px;
  font: 500 36px/120% 'Roboto', sans-serif;
  text-transform: uppercase;
  text-align: center;
  color: #1D364C;
}

#cart-page .cart-products-check-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  max-width: 1248px;
  margin: 0 auto;
}

#cart-page .aw-cart-products-wrapper {
  flex: 0 1 808px;
  min-width: 0;
}

#cart-page .aw-check-wrapper {
  flex: 0 0 392px;
  width: 392px;
}

#cart-page .cart-products-check-wrapper:has(.step_2:not(.hidden)) .aw-check-wrapper {
  margin-top: 34px;
}

#cart-page .back-prev-step {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 20px;
  margin-bottom: 14px;
  font: 400 14px/140% 'Roboto', sans-serif;
  color: rgba(29, 54, 76, 0.5);
  cursor: pointer;
}

#cart-page .checkout-from-wrapper {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  background: #F5F7F9;
  border-radius: 10px;
}

#cart-page .checkout-from-wrapper .block-title,
#cart-page .textarea-label {
  font: 400 14px/140% 'Roboto', sans-serif;
  color: #1D364C;
}

#cart-page .buyer-type {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

#cart-page .buyer-type .block-title {
  flex-basis: 100%;

}

#cart-page .checkout-from-wrapper label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font: 400 14px/140% 'Roboto', sans-serif;
  cursor: pointer;
}

#cart-page .checkout-from-wrapper label.email-toggle,
#cart-page .checkout-from-wrapper label.email-toggle > span {
	font-size: 12px !important;
	line-height: 1.35 !important;
}

#cart-page .checkout-from-wrapper input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  background: #FFFFFF;
  border: 1px solid rgba(250, 104, 46, 0.5);
  border-radius: 50%;
}

#cart-page .checkout-from-wrapper input[type="radio"]:checked {
  border-color: #FA682E;
  background: #FA682E;
  box-shadow: inset 0 0 0 2px #FFFFFF;
}

#cart-page .input-wrapper input,
#cart-page .input-comment {
  box-sizing: border-box;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid #F5F7F9;
  border-radius: 4px;
  font: 400 14px/140% 'Roboto', sans-serif;
  color: #1D364C;
}

#cart-page .input-wrapper input {
  width: 265px;
  max-width: 100%;
  height: 44px;
}

#cart-page .input-comment {
  width: 100%;
  resize: none;
}

#cart-page .input-wrapper input::placeholder,
#cart-page .input-comment::placeholder {
  color: rgba(29, 54, 76, 0.5);
}

#cart-page .msg-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#cart-page .delivery-block {
  display: block;
  background: #FFFFFF linear-gradient(rgba(29, 54, 76, 0.1), rgba(29, 54, 76, 0.1)) no-repeat 0 44px / 100% 2px;
  border-radius: 4px 4px 0 0;
}

#cart-page .delivery-tab {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 237px;
  max-width: 100%;
  height: 46px;
  margin: 0;
  padding: 12px 16px;
  background: transparent;
  border: 0;
  font: 400 14px/140% 'Roboto', sans-serif;
  color: #1D364C;
}

#cart-page .delivery-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #FA682E;
}

#cart-page .delivery-tab svg,
#cart-page .pickup-item svg {
  flex: none;
}

#cart-page .delivery-info {
  display: block;
  box-sizing: border-box;
  padding: 24px;
  background: transparent;
}

#cart-page .pickup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

#cart-page .pickup-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 400 14px/140% 'Roboto', sans-serif;
  color: #1D364C;
}

#cart-page .email-toggle input[type="checkbox"],
#cart-page .input-wrapper .email-toggle input[type="checkbox"] {
	width: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	height: 18px !important;
	flex: 0 0 18px !important;
}

#cart-page .delivery-info .block-title {
  display: block;
  margin: 0 0 8px;
}

#cart-page .aw-review-wrapper {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(29, 54, 76, 0.1);
  border-radius: 10px;
}

#cart-page #aw-order_review table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

#cart-page #aw-order_review thead {
  display: table-header-group;
}


#cart-page #aw-order_review th,
#cart-page #aw-order_review td {
  padding: 4px 0;
  border: 0;
  background: none;
  font: 400 14px/20px 'Roboto', sans-serif;
}

#cart-page #aw-order_review th {
  text-align: left;
  font-weight: 600;
  color: #1D364C;
}
#cart-page #aw-order_review tr.cart_item:not(.table-head) {
  display: none !important;
}

#cart-page #aw-order_review tr.table-head {
  display: table-row;
}
#cart-page #aw-order_review td,
#cart-page #aw-order_review thead th:last-child {
  text-align: right;
  font-weight: 400;
  color: rgba(29, 54, 76, 0.5);
}

#cart-page #aw-order_review tr.order-total th,
#cart-page #aw-order_review tr.order-total td {
  padding-top: 16px;
  font: 500 24px/120% 'Roboto', sans-serif;
  color: #1D364C;
}

#cart-page .order-delivery-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 400 14px/140% 'Roboto', sans-serif;
  color: rgba(29, 54, 76, 0.5);
}

#cart-page .order-delivery-info span {
  margin-right: 4px;
  font-weight: 600;
  color: #1D364C;
}

#cart-page .btn.wide {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 12px 36px;
  background: linear-gradient(270deg, #D53E1F 0%, #FF7940 100%);
  border: 0;
  border-radius: 4px;
  font: 600 14px/140% 'Roboto', sans-serif;
  text-transform: uppercase;
  color: #FFFFFF;
  cursor: pointer;
}

#cart-page .final-submit-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#cart-page .final-submit-wrapper.hidden,
#cart-page .nav_cart-step-1.hidden {
  display: none;
}

#cart-page .agree-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
}

/* сам чекбокс скрыт, но остаётся доступным с клавиатуры */
#cart-page .agree-wrapper .agree-checkbox {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}

/* квадрат с рамкой */
#cart-page .agree-wrapper .agree {
	display: block;
	flex: none;
	margin: 0;
	padding: 0;
	border: 1px solid #EE7A3B;
	border-radius: 5px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 13px 13px;
	box-sizing: border-box;
	cursor: pointer;
}

#cart-page .agree-wrapper .agree-checkbox:checked + .agree {
	background-image: url("/wp-content/themes/amazonprofi/assets/img/icons/v-agree.svg");
}

#cart-page .agree-wrapper .agree-checkbox:focus-visible + .agree {
	box-shadow: 0 0 0 2px rgba(238, 122, 59, .3);
}

#cart-page .agree-wrapper .agree-desc {
	font-size: 12px;
	line-height: 1.35;
	color: rgba(29, 54, 76, .65);
	max-width: calc(100% - 32px);
	padding-left: 0px;
}
#cart-page .agree-wrapper .agree-desc a {
	color: inherit;
	text-decoration: underline;
}

#cart-page .final-note {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  right: 0;
  text-align: center;
  font: 400 14px/125% 'Roboto', sans-serif;
  color: rgba(29, 54, 76, 0.8);
}

#cart-page .order-delivery-info {
  display: none;
}

#cart-page .cart-products-check-wrapper:has(.step_2:not(.hidden)) .order-delivery-info {
  display: flex;
}


#cart-page [hidden] { display: none !important; }


#cart-page .contact-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	max-width: 560px;
}
#cart-page .contact-row input {
	width: 344px;
	height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	background: #fff;
	font-size: 14px;
	color: #1D364C;
	box-sizing: border-box;
}
#cart-page .contact-row input::placeholder { color: rgba(29, 54, 76, .5); }
#cart-page .contact-row .email-field { margin: 0; }
#cart-page .email-toggle { margin-top: 12px; }

@media (max-width: 767px) {
	#cart-page .contact-row { grid-template-columns: 1fr; }
}

#cart-page .email-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	font-size: 12px;
	color: rgba(29, 54, 76, .5);
	cursor: pointer;
}
#cart-page .email-toggle input {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	border: 1px solid #1D364C80;
	border-radius: 5px;
	background-color: #F5F7F9;;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
	box-sizing: border-box;
	position: relative;
	cursor: pointer;
}

#cart-page .email-toggle input:checked {
	background-color: #F5F7F9;
	border-color: #EE7A3B;
	background-image: url("/wp-content/themes/amazonprofi/assets/img/icons/v-agree.svg");
}

#cart-page .email-toggle input:checked::after {
	content: none;
	display: none;
}

#cart-page .email-toggle input:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(238, 122, 59, .3);
}

#cart-page .email-field input { max-width: 344px; margin-top: 10px;}


#cart-page .delivery-block {
	border: 0;
	background: #fff;
}


#cart-page .delivery-tabs {
	display: flex;
	align-items: stretch;
	border: 0;
	border-bottom: 1px solid #E3E6EA;
	background: #fff;
	margin-bottom: 10px;
}

#cart-page .delivery-tabs .delivery-tab {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 14px 10px 16px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	line-height: 1.2;
	color: #1D364C;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
}

/* оранжевая линия — только у активной вкладки */
#cart-page .delivery-tabs .delivery-tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: transparent;
}
#cart-page .delivery-tabs .delivery-tab.active::after {
	background: #EE7A3B;
}
#cart-page .delivery-tabs .delivery-tab svg { flex: none; }

#cart-page .delivery-info {
	padding: 24px 24px 24px 24px;
	border: 0;
	background: #fff;

}

#cart-page .delivery-panel { margin: 0 0 18px; }



/* --- сетки полей --- */
#cart-page .fields-grid {
	display: grid;
	gap: 16px 6px;
	margin: 0 0 24px;
}
#cart-page .fields-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
#cart-page .fields-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
#cart-page .fields-grid input {
	width: 100%;
	height: 44px;
	padding: 0 10px;
	border: 0;
	border-radius: 0;
	background: #F3F4F6;
	font-size: 14px;
	color: #1D364C;
	box-sizing: border-box;
}
#cart-page .fields-grid input::placeholder { color: rgba(29, 54, 76, .5); }

#cart-page .fields-grid.cols-2 { grid-template-columns: 1fr 1fr; }

@media (max-width: 767px) {
	#cart-page .fields-grid.cols-2 { grid-template-columns: 1fr; }
}

#cart-page .order-delivery-info b,
#cart-page .order-delivery-info .js-delivery-label,
#cart-page .order-delivery-info .js-payment-label {
	font-weight: 400;
}

/* --- почтовые службы и оплата --- */
#cart-page .delivery-info .block-title {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: #1D364C;
	margin: 0 0 10px;
}
#cart-page .post-service { margin: 0 0 18px; }
#cart-page .post-service label,
#cart-page .payment-block label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 20px 0 0;
	font-size: 14px;
	color: #1D364C;
	cursor: pointer;
}
#cart-page .payment-block { margin: 0; }


@media (max-width: 767px) {
	#cart-page .delivery-tabs { overflow-x: auto; }
	#cart-page .delivery-tabs .delivery-tab { flex: 1 0 auto; justify-content: flex-start; }
	#cart-page .fields-grid.cols-3,
	#cart-page .fields-grid.cols-5 { grid-template-columns: 1fr 1fr; }
}
.aw-filter-wrapper .menu-katalog-container .sub-menu,
.aw-filter-wrapper .menu-katalog-container .sub-menu li { list-style: none !important; }
.aw-filter-wrapper .menu-katalog-container .sub-menu a,
.aw-filter-wrapper .menu-katalog-container .sub-menu a:link,
.aw-filter-wrapper .menu-katalog-container .sub-menu a:visited,
.aw-filter-wrapper .menu-katalog-container .sub-menu a:active,
.aw-filter-wrapper .menu-katalog-container .sub-menu a:hover { color: #1D364C !important; }


.woocommerce-pagination ul.page-numbers,
.woocommerce-pagination .page-numbers li { list-style: none !important; margin: 0; padding: 0; }
.woocommerce-pagination .page-numbers li::marker,
.woocommerce-pagination .page-numbers li::before,
.woocommerce-pagination .page-numbers li::after { content: none !important; display: none !important; }
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li a:link,
.woocommerce-pagination .page-numbers li a:visited,
.woocommerce-pagination .page-numbers li a:active { color: #1D364C !important; text-decoration: none !important; }
.woocommerce-pagination .page-numbers li a:hover {
	color: rgba(250, 104, 46, 0.8) !important;
	border-color: rgba(250, 104, 46, 0.8) !important;
}
.woocommerce-pagination .page-numbers li span.current {
	color: rgba(250, 104, 46, 0.8) !important;
	border-color: rgba(250, 104, 46, 0.8) !important;
}
.woocommerce-pagination .page-numbers li span.dots {
	color: #1D364C !important; border: 0 !important;
}
.woocommerce-pagination .page-numbers li span.dots::before,
.woocommerce-pagination .page-numbers li span.dots::after { content: none !important; }


@media screen and (max-width: 1024px) {
	.aw-gallery-summery-wrapper { gap: 24px; }
	.aw-gallery-summery-wrapper .aw-gallery-main-wrapper { width: 320px; flex: 0 0 320px; }
	.aw-gallery-main-wrapper .woocommerce-product-gallery__image img {
		width: 100%; height: auto; aspect-ratio: 392 / 560;
	}
}

@media screen and (max-width: 720px) {
	.aw-single-product .price-cart-box,
	.aw-single-product .price-cart-box.aw-in-cart {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		width: 100% !important;
		padding: 16px !important;
		gap: 16px !important;
		box-sizing: border-box !important;
	}

	.aw-single-product .price-cart-box .price,
	.aw-single-product .price-cart-box.aw-in-cart .price {
		width: 100% !important;
		margin: 0 !important;
	}

	.aw-single-product .price-cart-box .aw-buy-state {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		width: 100% !important;
		gap: 8px !important;
		margin: 0 !important;
	}

	.aw-single-product .price-cart-box .aw-qty {
		flex: 0 0 106px !important;
		width: 106px !important;
	}

	.aw-single-product .price-cart-box a.aw-go-cart,
	.aw-single-product .price-cart-box a.aw-go-cart:link,
	.aw-single-product .price-cart-box a.aw-go-cart:visited {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		padding: 12px 60px !important;
	}
}

@media screen and (max-width: 1024px) {
	#cart-page .cart-products-check-wrapper {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 24px !important;
	}

	#cart-page .aw-cart-products-wrapper,
	#cart-page .aw-check-wrapper {
		flex: none !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	#cart-page .cart-products-check-wrapper:has(.step_2:not(.hidden)) .aw-check-wrapper {
		margin-top: 0 !important;
	}
}

@media screen and (max-width: 767px) {
	#cart-page {
		padding-top: 24px !important;
		padding-bottom: 48px !important;
	}

	#cart-page h1.width-back-link {
		font-size: 24px !important;
		margin-bottom: 16px !important;
		text-align: left !important;
	}

	/* Шаг 1: карточка товара в корзине */
	#cart-page .aw-single-cart-product {
		flex-wrap: wrap !important;
		gap: 12px !important;
		padding: 16px !important;
	}

	#cart-page .aw-single-cart-product .product-remove {
		display: none !important;
	}

	#cart-page .aw-single-cart-product .product-thumbnail {
		width: 72px !important;
		flex: 0 0 72px !important;
	}

	#cart-page .aw-single-cart-product .product-info-main {
		flex: 1 1 calc(100% - 84px) !important;
		min-width: 0 !important;
	}

	#cart-page .aw-single-cart-product .quantity-status-prise-wrapper {
		flex-wrap: wrap !important;
		gap: 12px !important;
		width: 100% !important;
	}

	/* Шаг 2: форма оформления заказа */
	#cart-page .checkout-from-wrapper {
		padding: 20px 16px !important;
		gap: 20px !important;
	}

	#cart-page .buyer-type {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 10px !important;
	}

	/* Поля телефона и e-mail на всю ширину */
	#cart-page .contact-row {
		grid-template-columns: 1fr !important;
		max-width: 100% !important;
		gap: 10px !important;
	}

	#cart-page .contact-row .phone-field-wrap,
	#cart-page .contact-row .email-field,
	#cart-page .contact-row input,
	#cart-page .input-wrapper input {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	/* Вкладки доставки */
	#cart-page .delivery-tabs {
		display: flex !important;
		flex-direction: column !important;
		border-bottom: 0 !important;
		margin-bottom: 0 !important;
	}

	#cart-page .delivery-tabs .delivery-tab {
		width: 100% !important;
		max-width: 100% !important;
		height: 44px !important;
		padding: 10px 14px !important;
		justify-content: flex-start !important;
		border-bottom: 1px solid #E3E6EA !important;
	}

	#cart-page .delivery-tabs .delivery-tab.active::after {
		left: 0 !important;
		right: auto !important;
		top: 0 !important;
		bottom: 0 !important;
		width: 3px !important;
		height: 100% !important;
		background: #EE7A3B !important;
	}

	#cart-page .delivery-info {
		padding: 16px !important;
	}

	#cart-page .pickup-meta {
		flex-direction: column !important;
		gap: 12px !important;
		margin-bottom: 16px !important;
	}

	/* Сетки полей адреса и ФИО в 1 колонку */
	#cart-page .fields-grid,
	#cart-page .fields-grid.cols-2,
	#cart-page .fields-grid.cols-3,
	#cart-page .fields-grid.cols-5 {
		grid-template-columns: 1fr !important;
		gap: 10px !important;
		margin-bottom: 16px !important;
	}

	/* Переключатели почты и оплаты */
	#cart-page .post-service label,
	#cart-page .payment-block label {
		display: flex !important;
		margin: 0 0 10px 0 !important;
	}

	/* Правая колонка итогов */
	#cart-page .aw-review-wrapper {
		padding: 16px !important;
		gap: 16px !important;
	}

	#cart-page #aw-order_review tr.order-total th,
	#cart-page #aw-order_review tr.order-total td {
		font-size: 20px !important;
	}

	#cart-page .btn.wide {
		padding: 12px 16px !important;
		font-size: 13px !important;
	}

	#cart-page .final-note {
		position: static !important;
		margin-top: 8px !important;
		font-size: 12px !important;
	}
}

@media screen and (max-width: 720px) {
	.aw-gallery-summery-wrapper { flex-wrap: wrap; gap: 24px; margin: 12px 0; }
	.aw-gallery-summery-wrapper .aw-gallery-main-wrapper,
	.aw-gallery-summery-wrapper .aw-summary-main-wrapper { width: 100%; flex: 0 0 100%; }

	.aw-single-product .summary.entry-summary { grid-template-columns: 1fr; }
	.aw-single-product .summary.entry-summary > .article-wrapper,
	.aw-single-product .summary.entry-summary > .article-size-row,
	.aw-single-product .summary.entry-summary > .status-similar-wrapper {
		grid-column: 1; grid-row: auto;
	}
	.aw-single-product .summary.entry-summary > .price-cart-box,
	.aw-single-product .summary.entry-summary > .characteristics { grid-row: auto; }
	.aw-single-product .article-size-row { flex-wrap: wrap; row-gap: 12px; }

	.aw-single-product .price-cart-box { flex-wrap: wrap; padding: 16px; }
	.aw-single-product .price-cart-box .consult-add-to-cart-wrapper { margin: 0; width: 100%; }
	.aw-single-product .price-cart-box .single_add_to_cart_button { width: 100% !important; }

	.aw-single-product .entry-summary .characteristics .characteristics-list .single-item {
		flex-direction: column; gap: 4px;
	}
	.aw-single-product .entry-summary .characteristics .characteristics-list .single-item .name {
		width: auto; flex: none;
	}
	a.btn-consult { width: 100% !important; }
}