/* ==========================================================
   CSS Cable — страница товара WooCommerce
   Полная версия файла
   ========================================================== */

/* ==========================================================
   1. Компактная шапка страницы товара
   ========================================================== */

.single-product .site-header {
	position: relative;
	z-index: 50;
	width: 100%;
	height: 64px;
	min-height: 64px;
	color: #fff;
	background: #0d203f;
}

.single-product .site-header__media,
.single-product .video-play {
	display: none;
}

.single-product .topbar {
	position: relative;
	z-index: 4;
	height: 64px;
	background: #0d203f;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.single-product .topbar__in {
	width: 100%;
	max-width: none;
	height: 64px;
	margin: 0;
	padding: 0 86px 0 34px;
	gap: 0;
}

.single-product .topbar__logo {
	display: flex;
	align-items: center;
	flex: 0 0 78px;
	height: 64px;
}

.single-product .topbar__logo img {
	width: auto;
	max-width: 60px;
	height: auto;
	max-height: 38px;
}

.single-product .topbar__tagline {
	display: none;
}

.single-product .topbar__contacts {
	display: flex;
	align-items: stretch;
	gap: 0;
	height: 64px;
	margin-left: auto;
}

.single-product .topbar__item {
	display: flex;
	align-items: center;
	gap: 9px;
	height: 64px;
	padding: 0 clamp(13px, 1.6vw, 25px);
	color: rgba(255, 255, 255, 0.8);
	font-size: 9px;
	font-weight: 400;
	line-height: 1.3;
	border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.single-product .topbar__item:hover {
	color: #fff;
}

.single-product .topbar__item .round-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 23px;
	width: 23px;
	height: 23px;
	color: #fff;
	background: var(--c-accent);
	border-radius: 50%;
}

.single-product .topbar__item .round-ico .ico {
	width: 11px;
	height: 11px;
}

.single-product .topbar__burger {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	padding: 0;
	color: #fff;
	background: var(--c-accent);
	border: 0;
	border-radius: 0 0 0 15px;
}

.single-product .topbar__burger .ico {
	width: 27px;
	height: 20px;
}

/* Верхнее меню не должно быть sticky */

.single-product .site-header__bar,
.single-product .site-header__bar.is-sticky,
.single-product .site-header__bar.is-hidden {
	position: absolute;
	z-index: 6;
	top: 0;
	right: auto;
	bottom: auto;
	left: 112px;
	width: auto;
	height: 64px;
	margin: 0;
	padding: 0;
	background: transparent;
	transform: none;
}

.single-product .main-nav {
	display: flex;
	align-items: center;
	width: auto;
	min-width: 0;
	height: 64px;
	min-height: 64px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transform: none;
}

.single-product .main-nav__menu {
	height: 64px;
}

.single-product .main-nav__menu > ul,
.single-product .main-nav__menu .menu {
	display: flex;
	align-items: stretch;
	gap: clamp(20px, 2.4vw, 38px);
	height: 64px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product .main-nav__menu li {
	position: relative;
	display: flex;
	align-items: stretch;
	margin: 0;
	padding: 0;
	opacity: 1;
	transform: none;
}

.single-product .main-nav__menu a {
	position: relative;
	display: flex;
	align-items: center;
	height: 64px;
	padding: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
}

.single-product .main-nav__menu a:hover,
.single-product .main-nav__menu .current-menu-item > a,
.single-product .main-nav__menu .current-menu-parent > a,
.single-product .main-nav__menu .current-menu-ancestor > a {
	color: #fff;
}

.single-product .main-nav__menu a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--c-accent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms ease;
	content: "";
}

.single-product .main-nav__menu a:hover::after,
.single-product .main-nav__menu .current-menu-item > a::after,
.single-product .main-nav__menu .current-menu-parent > a::after,
.single-product .main-nav__menu .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.single-product .main-nav__tools {
	display: none;
}

/* Подменю */

.single-product .main-nav__menu .sub-menu {
	position: absolute;
	top: 64px;
	left: -18px;
	display: block;
	min-width: 220px;
	height: auto;
	padding: 9px;
	visibility: hidden;
	background: #fff;
	box-shadow: 0 18px 40px rgba(7, 17, 32, 0.18);
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity 180ms ease,
		transform 180ms ease,
		visibility 180ms ease;
}

.single-product .main-nav__menu li:hover > .sub-menu,
.single-product .main-nav__menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.single-product .main-nav__menu .sub-menu li,
.single-product .main-nav__menu .sub-menu a {
	display: block;
	height: auto;
}

.single-product .main-nav__menu .sub-menu a {
	padding: 10px 12px;
	color: #172033;
}

.single-product .main-nav__menu .sub-menu a::after {
	display: none;
}

/* ==========================================================
   2. Убираем стандартный контейнер WooCommerce
   ========================================================== */

.single-product .page-wrap,
.single-product .page-wrap--light,
.single-product .shop-wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: #fff;
}

.single-product .shop-wrap > .container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.single-product .shop-content,
.single-product .shop-content--full,
.single-product .woocommerce,
.single-product .cable-product {
	display: block;
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.single-product .shop-content > .woocommerce-breadcrumb {
	display: none;
}

.single-product .site-main,
.single-product .woocommerce {
	width: 100%;
	background: #fff;
}

.single-product .woocommerce-notices-wrapper {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================
   3. Верхний баннер товара
   ========================================================== */

.cable-product__hero {
	position: relative;
	overflow: hidden;
	min-height: 370px;
	margin: 0;
	color: #fff;
	background:
		radial-gradient(
			circle at 82% 35%,
			rgba(209, 82, 94, 0.42) 0,
			rgba(209, 82, 94, 0.12) 29%,
			transparent 52%
		),
		linear-gradient(
			118deg,
			#07182f 0%,
			#0d203f 48%,
			#47283d 100%
		);
}

.cable-product__hero::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.035) 1px,
			transparent 1px
		),
		linear-gradient(
			rgba(255, 255, 255, 0.025) 1px,
			transparent 1px
		);
	background-size: 110px 110px;
	content: "";
	pointer-events: none;
}

.cable-product__hero::after {
	position: absolute;
	right: -150px;
	bottom: -310px;
	width: 630px;
	height: 630px;
	border: 1px solid rgba(211, 88, 99, 0.3);
	border-radius: 50%;
	box-shadow:
		0 0 0 55px rgba(211, 88, 99, 0.035),
		0 0 0 110px rgba(211, 88, 99, 0.025);
	content: "";
	pointer-events: none;
}

.cable-product__hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(340px, 0.82fr) minmax(460px, 1.18fr);
	align-items: center;
	min-height: 370px;
}

.cable-product__hero-content {
	position: relative;
	z-index: 3;
	padding: 48px 0 62px;
}

.cable-product__breadcrumbs {
	margin-bottom: 28px;
}

.cable-product__breadcrumbs nav,
.cable-product__breadcrumbs .woocommerce-breadcrumb {
	margin: 0;
	color: rgba(255, 255, 255, 0.46);
	font-size: 10px;
	line-height: 1.4;
}

.cable-product__breadcrumbs a {
	color: rgba(255, 255, 255, 0.72);
	transition: color 180ms ease;
}

.cable-product__breadcrumbs a:hover {
	color: #fff;
}

.cable-product__breadcrumbs span {
	margin: 0 9px;
	color: rgba(255, 255, 255, 0.25);
}

.cable-product__category {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 13px;
	color: #df717b;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.cable-product__category::before {
	width: 22px;
	height: 1px;
	background: currentColor;
	content: "";
}

.cable-product__title {
	max-width: 610px;
	margin: 0;
	color: #fff;
	font-size: clamp(38px, 5vw, 66px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	text-wrap: balance;
}

.cable-product__gost {
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(18px, 2vw, 25px);
	font-weight: 300;
	line-height: 1.3;
}

.cable-product__lead {
	max-width: 490px;
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 13px;
	line-height: 1.6;
}

.cable-product__lead p {
	margin: 0;
}

.cable-product__hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 26px;
}

.cable-product__hero-request,
.cable-product__hero-certificate {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 48px;
	padding: 9px 11px 9px 18px;
	font-size: 12px;
	font-weight: 500;
	transition:
		color 180ms ease,
		background-color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.cable-product__hero-request {
	min-width: 176px;
	color: #fff;
	background: var(--c-accent);
	border: 0;
}

.cable-product__hero-request:hover {
	color: #fff;
	background: #a83d47;
	transform: translateY(-2px);
}

.cable-product__hero-certificate {
	color: rgba(255, 255, 255, 0.82);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.cable-product__hero-certificate:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.32);
	transform: translateY(-2px);
}

.cable-product__hero-request .btn-ico,
.cable-product__hero-certificate .btn-ico {
	width: 25px;
	height: 25px;
	padding: 4px;
}

.cable-product__hero-media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	align-self: stretch;
	min-width: 0;
}

.cable-product__image-glow {
	position: absolute;
	top: 50%;
	right: 6%;
	width: 500px;
	height: 190px;
	background: rgba(197, 72, 84, 0.25);
	border-radius: 50%;
	filter: blur(65px);
	transform: translateY(-50%);
}

.cable-product__image,
.cable-product__hero-media > img {
	position: relative;
	z-index: 2;
	width: auto;
	max-width: min(780px, 68vw);
	height: auto;
	max-height: 330px;
	margin-right: -15%;
	object-fit: contain;
	filter:
		drop-shadow(0 30px 25px rgba(0, 0, 0, 0.36))
		drop-shadow(0 5px 4px rgba(0, 0, 0, 0.2));
	transform: translateZ(0);
	transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cable-product__hero:hover .cable-product__image,
.cable-product__hero:hover .cable-product__hero-media > img {
	transform: translate3d(-12px, 0, 0) scale(1.025);
}

/* ==========================================================
   4. Информационная часть товара
   ========================================================== */

.cable-product__details {
	position: relative;
	padding: 0 0 90px;
	overflow: visible;
	background:
		linear-gradient(
			90deg,
			rgba(13, 32, 63, 0.018) 1px,
			transparent 1px
		),
		#f3f5f8;
	background-size: 120px 100%;
}

.cable-product__details > .container {
	position: relative;
	z-index: 4;
	margin-top: -34px;
	padding-top: 0;
	overflow: visible;
	transform: none;
}

.cable-product__meta {
	display: none;
}

/*
 * Сетка:
 *
 * Расшифровка | Описание   | Сертификат
 * Применение  | Применение | Сертификат
 */

.cable-product__content-grid {
	position: relative;
	display: grid;
	grid-template-columns:
		minmax(260px, 0.9fr)
		minmax(360px, 1.2fr)
		minmax(280px, 0.72fr);
	grid-template-areas:
		"marking description certificate"
		"application application certificate";
	align-items: start;
	gap: 18px;
	overflow: visible;
}

.cable-product__section--marking {
	grid-area: marking;
}

.cable-product__section--description {
	grid-area: description;
}

.cable-product__section--application {
	grid-area: application;
}

.cable-product__certificate {
	grid-area: certificate;
}

/* Общие карточки */

.cable-product__section {
	position: relative;
	min-width: 0;
	text-align: left;
}

.cable-product__section--marking,
.cable-product__section--description,
.cable-product__section--application {
	padding: 34px;
	background: #fff;
	border: 1px solid #e6e9ee;
	box-shadow: 0 24px 65px rgba(13, 32, 63, 0.07);
}

.cable-product__section--marking,
.cable-product__section--description {
	align-self: stretch;
}

.cable-product__section--description {
	padding-right: 38px;
	padding-left: 38px;
}

.cable-product__section-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-bottom: 16px;
	color: #fff;
	background: var(--c-accent);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.cable-product__section h2,
.cable-product__certificate h2 {
	margin: 0;
	color: #172033;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 650;
	line-height: 1.16;
	letter-spacing: -0.025em;
	text-align: left;
}

.cable-product__section-line {
	width: 34px;
	height: 2px;
	margin: 17px 0 24px;
	background: var(--c-accent);
}

.cable-product__text {
	width: 100%;
	max-width: none;
	color: #59616e;
	font-size: 14px;
	line-height: 1.75;
	text-align: left;
}

.cable-product__text p {
	margin: 0 0 15px;
	text-align: left;
}

.cable-product__text p:last-child {
	margin-bottom: 0;
}

.cable-product__empty {
	margin: 0;
	color: #9298a2;
	font-size: 13px;
	font-style: italic;
	line-height: 1.55;
}

/* ==========================================================
   5. Расшифровка маркировки
   ========================================================== */

.cable-product__marking {
	display: grid;
	gap: 0;
	margin-top: 4px;
	border-top: 1px solid #e8eaee;
}

.cable-product__marking-row {
	display: grid;
	grid-template-columns: 35px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 9px 0;
	color: #555e6b;
	font-size: 13px;
	line-height: 1.45;
	border-bottom: 1px solid #e8eaee;
}

.cable-product__marking-row strong {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	min-width: 29px;
	padding: 0;
	color: #fff;
	background: var(--c-accent);
	font-size: 11px;
	font-weight: 700;
	box-shadow: 5px 5px 0 rgba(192, 72, 82, 0.12);
}

.cable-product__marking-row span:only-child {
	grid-column: 1 / -1;
}

/* ==========================================================
   6. Отдельный блок «Применение»
   ========================================================== */

.cable-product__section--application {
	display: grid;
	grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
	align-items: start;
	gap: 38px;
	width: 100%;
	padding: 34px 38px;
}

.cable-product__application-head {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	align-items: start;
	gap: 16px;
	min-width: 0;
}

.cable-product__application-head .cable-product__section-number {
	margin: 0;
}

.cable-product__application-head h2 {
	margin: 1px 0 0;
	text-align: left;
}

.cable-product__application-head .cable-product__section-line {
	margin: 17px 0 0;
}

.cable-product__application-text {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 1px 0 0;
	text-align: left;
}

.cable-product__application-text p {
	width: 100%;
	max-width: none;
	text-align: left;
}

/* ==========================================================
   7. Sticky-сертификат
   ========================================================== */

.cable-product__certificate {
	position: sticky;
	top: 24px;
	align-self: start;
	display: block;
	min-width: 0;
	height: auto;
	min-height: 0;
	padding: 26px;
	overflow: hidden;
	text-align: left;
	background:
		linear-gradient(
			145deg,
			#fff 0%,
			#f5f6f8 100%
		);
	border: 1px solid #e1e5ea;
	box-shadow: 0 24px 65px rgba(13, 32, 63, 0.08);
	isolation: isolate;
}

.cable-product__certificate::before {
	position: absolute;
	top: 0;
	right: 0;
	width: 90px;
	height: 4px;
	background: var(--c-accent);
	content: "";
}

.cable-product__certificate-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.cable-product__certificate-label {
	display: block;
	margin-bottom: 7px;
	color: var(--c-accent);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.cable-product__certificate h2 {
	font-size: clamp(21px, 2vw, 27px);
}

.cable-product__certificate-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 9px;
	color: #557163;
	background: #e9f2ed;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	white-space: nowrap;
}

.cable-product__certificate-status::before {
	width: 5px;
	height: 5px;
	background: #5a8b70;
	border-radius: 50%;
	content: "";
}

.certificate-card {
	display: block;
	width: 100%;
	min-width: 0;
	padding: 0;
	color: #172033;
	text-align: left;
	background: transparent;
	border: 0;
}

.certificate-card__document {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 220px;
	min-height: 0;
	padding: 15px;
	overflow: hidden;
	background: #e9ecf0;
	border: 1px solid #dde1e6;
}

.certificate-card__document::before {
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(13, 32, 63, 0.07);
	content: "";
	pointer-events: none;
}

.certificate-card__document img {
	position: relative;
	z-index: 2;
	display: block;
	width: auto;
	max-width: 100%;
	height: 100%;
	max-height: 190px;
	object-fit: contain;
	background: #fff;
	box-shadow: 0 15px 36px rgba(13, 32, 63, 0.16);
	transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.certificate-card:hover .certificate-card__document img {
	transform: scale(1.025);
}

.certificate-card__zoom {
	position: absolute;
	z-index: 4;
	right: 14px;
	bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	color: #fff;
	background: var(--c-accent);
	box-shadow: 0 7px 18px rgba(192, 72, 82, 0.3);
	transition: transform 180ms ease;
}

.certificate-card:hover .certificate-card__zoom {
	transform: scale(1.08);
}

.certificate-card__zoom .ico {
	width: 16px;
	height: 16px;
}

.certificate-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	min-height: 68px;
	padding: 17px 0 0;
}

.certificate-card__footer > span:first-child {
	display: flex;
	flex-direction: column;
}

.certificate-card__footer strong {
	color: #172033;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.3;
}

.certificate-card__footer small {
	margin-top: 4px;
	color: #89909a;
	font-size: 9px;
	font-weight: 400;
}

.certificate-card__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	color: #fff;
	background: #0d203f;
}

.certificate-card__arrow .btn-ico {
	width: 19px;
	height: 19px;
	padding: 1px;
	border: 0;
	border-radius: 0;
}

.certificate-card__download {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	min-height: 42px;
	margin-top: 14px;
	padding: 10px 13px;
	color: #68717e;
	font-size: 10px;
	font-weight: 500;
	background: #fff;
	border: 1px solid #e1e5ea;
	transition:
		color 180ms ease,
		border-color 180ms ease;
}

.certificate-card__download:hover {
	color: var(--c-accent);
	border-color: rgba(192, 72, 82, 0.5);
}

.certificate-card__download .btn-ico {
	width: 20px;
	height: 20px;
	padding: 3px;
}

.certificate-card__pdf {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 14px;
	color: #606976;
	font-size: 11px;
	text-align: center;
}

.certificate-card__pdf-type {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 86px;
	height: 112px;
	color: #fff;
	background: var(--c-accent);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.08em;
	box-shadow: 0 15px 36px rgba(192, 72, 82, 0.23);
}

.certificate-card__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 220px;
	color: #8d949e;
	border: 1px dashed #cfd4db;
	font-size: 12px;
	text-align: center;
}

/* Кнопки под сертификатом */

.cable-product__certificate-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
	margin-top: 12px;
}

.cable-product__action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
	min-height: 50px;
	padding: 10px 11px 10px 14px;
	font-family: inherit;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 0;
	transition:
		color 180ms ease,
		background-color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.cable-product__action .btn-ico {
	display: inline-grid;
	place-items: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	padding: 4px;
}

.cable-product__action--weight {
	color: #172033;
	background: #fff;
	border-color: #dce1e7;
}

.cable-product__action--weight:hover {
	color: var(--c-accent);
	background: #f8f9fa;
	border-color: var(--c-accent);
	transform: translateY(-2px);
}

.cable-product__action--request {
	color: #fff;
	background: var(--c-accent);
	border-color: var(--c-accent);
}

.cable-product__action--request:hover {
	color: #fff;
	background: #a83d47;
	border-color: #a83d47;
	transform: translateY(-2px);
}

/* ==========================================================
   8. Модальное окно сертификата
   ========================================================== */

body.certificate-modal-open {
	overflow: hidden;
}

.certificate-modal[hidden] {
	display: none;
}

.certificate-modal {
	position: fixed;
	z-index: 1500;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 28px calc(var(--floating-bar-height, 64px) + 28px);
	visibility: hidden;
	opacity: 0;
	transition:
		opacity 220ms ease,
		visibility 220ms ease;
}

.certificate-modal.is-open {
	visibility: visible;
	opacity: 1;
}

.certificate-modal__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	background: rgba(5, 15, 29, 0.88);
	border: 0;
	backdrop-filter: blur(7px);
}

.certificate-modal__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(920px, 100%);
	max-height: calc(100vh - var(--floating-bar-height, 64px) - 56px);
	overflow: hidden;
	background: #fff;
	box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
	transform: translateY(18px) scale(0.98);
	transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.certificate-modal.is-open .certificate-modal__panel {
	transform: translateY(0) scale(1);
}

.certificate-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 68px;
	padding: 12px 14px 12px 24px;
	color: #fff;
	background: #0d203f;
}

.certificate-modal__head > div {
	display: flex;
	flex-direction: column;
}

.certificate-modal__head span {
	margin-bottom: 3px;
	color: #d66b74;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.certificate-modal__head strong {
	font-size: 14px;
	font-weight: 550;
}

.certificate-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: #fff;
	background: var(--c-accent);
	border: 0;
}

.certificate-modal__close .ico {
	width: 17px;
	height: 17px;
}

.certificate-modal__content {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-height: 0;
	padding: 22px;
	overflow: auto;
	background: #e9ecf0;
}

.certificate-modal__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100vh - 220px);
	background: #fff;
	box-shadow: 0 18px 50px rgba(13, 32, 63, 0.2);
}

.certificate-modal__pdf {
	display: block;
	width: 100%;
	height: min(720px, calc(100vh - 220px));
	background: #fff;
	border: 0;
}

.certificate-modal__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 52px;
	padding: 9px 18px 9px 24px;
	color: #7c8490;
	background: #fff;
	border-top: 1px solid #e2e5e9;
	font-size: 10px;
}

.certificate-modal__footer a {
	padding: 9px 15px;
	color: #fff;
	background: var(--c-accent);
	font-weight: 600;
}

/* ==========================================================
   9. Похожие товары
   ========================================================== */

.cable-product__related {
	padding: 70px 0 100px;
	color: #fff;
	background: #0d203f;
}

.cable-product__related-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 36px;
}

.cable-product__related-eyebrow {
	display: block;
	margin-bottom: 7px;
	color: #d66670;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.cable-product__related h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 700;
	line-height: 1.08;
	text-transform: uppercase;
}

.cable-product__catalog-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
	transition: color 180ms ease;
}

.cable-product__catalog-link:hover {
	color: #fff;
}

.cable-product__catalog-link .btn-ico {
	width: 25px;
	height: 25px;
	padding: 4px;
}
.cable-product__related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.cable-related-card {
	display: grid;
	grid-template-columns: minmax(150px, 0.8fr) minmax(180px, 1fr);
	align-items: center;
	min-height: 210px;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(
			120deg,
			rgba(255, 255, 255, 0.06),
			rgba(255, 255, 255, 0.015)
		);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition:
		border-color 180ms ease,
		transform 180ms ease;
}

.cable-related-card:hover {
	color: #fff;
	border-color: rgba(214, 102, 112, 0.7);
	transform: translateY(-3px);
}

.cable-related-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 210px;
	padding: 20px;
	background:
		radial-gradient(
			circle,
			rgba(192, 72, 82, 0.2),
			transparent 68%
		);
}

.cable-related-card__image img {
	width: 100%;
	max-width: 230px;
	height: 150px;
	object-fit: contain;
	filter: drop-shadow(0 14px 15px rgba(0, 0, 0, 0.3));
}

.cable-related-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 28px 28px 28px 10px;
}

.cable-related-card__body strong {
	color: #fff;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
}

.cable-related-card__body > span:not(.cable-related-card__more) {
	display: -webkit-box;
	overflow: hidden;
	margin-top: 9px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 12px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.cable-related-card__more {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding: 9px 11px 9px 14px;
	color: #fff;
	background: var(--c-accent);
	font-size: 11px;
	font-weight: 500;
}

.cable-related-card__more .btn-ico {
	width: 20px;
	height: 20px;
	padding: 3px;
}

/* ==========================================================
   10. Форма заявки
   ========================================================== */

.req-form--product {
	display: grid;
	gap: 15px;
}

.req-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.req-form__field {
	display: block;
}

.req-form__field > span {
	display: block;
	margin-bottom: 7px;
	color: #777f8b;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.req-form__field input {
	width: 100%;
	height: 52px;
	padding: 0 15px;
	color: #172033;
	background: #fff;
	border: 1px solid #dce1e7;
	border-radius: 0;
	font: 500 14px var(--font);
}

.req-form__field input:focus {
	outline: 2px solid rgba(192, 72, 82, 0.16);
	border-color: var(--c-accent);
}

.req-form__field--product input {
	color: #172033;
	background: #f3f5f8;
	border-left: 3px solid var(--c-accent);
	font-weight: 650;
	cursor: default;
}

.req-form__quantity {
	position: relative;
}

.req-form__quantity input {
	padding-right: 55px;
}

.req-form__quantity .req-form__unit {
	position: absolute;
	top: 50%;
	right: 16px;
	margin: 0;
	color: #777f8b;
	font-size: 13px;
	font-weight: 600;
	transform: translateY(-50%);
	pointer-events: none;
}

.req-form__agree {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: #777f8b;
	font-size: 10px;
	line-height: 1.5;
}

.req-form__agree input {
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
	margin: 1px 0 0;
	accent-color: var(--c-accent);
}

.req-form__submit {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	min-height: 54px;
	padding: 10px 12px 10px 19px;
	color: #fff;
	background: var(--c-accent);
	border: 0;
	border-radius: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	transition:
		background-color 180ms ease,
		transform 180ms ease;
}

.req-form__submit:hover {
	background: #a83d47;
	transform: translateY(-2px);
}

/* ==========================================================
   11. Адаптив: шапка
   ========================================================== */

@media (max-width: 1100px) {
	.single-product .topbar__item--address {
		display: none;
	}

	.single-product .topbar__item {
		padding-right: 13px;
		padding-left: 13px;
	}

	.single-product .site-header__bar,
	.single-product .site-header__bar.is-sticky,
	.single-product .site-header__bar.is-hidden {
		left: 105px;
	}

	.single-product .main-nav__menu > ul,
	.single-product .main-nav__menu .menu {
		gap: 20px;
	}
}

@media (max-width: 860px) {
	.single-product .site-header,
	.single-product .topbar,
	.single-product .topbar__in {
		height: 62px;
		min-height: 62px;
	}

	.single-product .topbar__in {
		padding-right: 70px;
		padding-left: 20px;
	}

	.single-product .site-header__bar,
	.single-product .topbar__contacts {
		display: none;
	}

	.single-product .topbar__burger {
		width: 62px;
		height: 62px;
	}

	.single-product .topbar__logo {
		height: 62px;
	}
}

/* ==========================================================
   12. Адаптив: товар
   ========================================================== */

@media (max-width: 1100px) {
	.cable-product__hero-inner {
		grid-template-columns: minmax(280px, 0.9fr) minmax(330px, 1.1fr);
	}

	.cable-product__content-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas:
			"marking description"
			"application application"
			"certificate certificate";
	}

	.cable-product__certificate {
		position: static;
		top: auto;
		width: 100%;
	}

	.cable-product__section--application {
		grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
	}

	.cable-product__related-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 820px) {
	.cable-product__hero {
		min-height: 520px;
	}

	.cable-product__hero-inner {
		grid-template-columns: 1fr;
		padding-top: 10px;
	}

	.cable-product__hero-content {
		padding: 38px 0 10px;
	}

	.cable-product__hero-media {
		justify-content: center;
		min-height: 210px;
	}

	.cable-product__image,
	.cable-product__hero-media > img {
		max-width: 96vw;
		max-height: 220px;
		margin-right: 0;
	}

	.cable-product__details > .container {
		margin-top: -18px;
		transform: none;
	}
}

@media (max-width: 760px) {
	.cable-product__content-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"marking"
			"description"
			"application"
			"certificate";
		gap: 18px;
	}

	.cable-product__section--marking,
	.cable-product__section--description,
	.cable-product__section--application {
		padding: 28px 24px;
	}

	.cable-product__section--marking,
	.cable-product__section--description {
		align-self: auto;
	}

	.cable-product__section--application {
		display: block;
	}

	.cable-product__application-head {
		display: block;
	}

	.cable-product__application-head .cable-product__section-number {
		margin-bottom: 16px;
	}

	.cable-product__application-head .cable-product__section-line {
		margin: 17px 0 24px;
	}

	.cable-product__certificate {
		position: static;
		top: auto;
		display: block;
		width: 100%;
	}

	.cable-product__certificate-head {
		display: flex;
	}

	.cable-product__related-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.cable-related-card {
		grid-template-columns: 1fr;
	}

	.cable-related-card__image {
		min-height: 175px;
	}

	.cable-related-card__body {
		padding: 10px 22px 24px;
	}
}

@media (max-width: 600px) {
	.certificate-modal {
		padding: 0 0 var(--floating-bar-height, 58px);
	}

	.certificate-modal__panel {
		width: 100%;
		height: 100%;
		max-height: calc(100vh - var(--floating-bar-height, 58px));
	}

	.certificate-modal__content {
		padding: 12px;
	}

	.certificate-modal__footer span {
		display: none;
	}
}

@media (max-width: 560px) {
	.cable-product__hero {
		min-height: 500px;
	}

	.cable-product__hero-content {
		padding-top: 30px;
	}

	.cable-product__title {
		font-size: 34px;
	}

	.cable-product__details {
		padding-bottom: 60px;
	}

	.cable-product__section--marking,
	.cable-product__section--description,
	.cable-product__section--application {
		padding: 26px 22px;
	}

	.cable-product__certificate {
		padding: 22px;
	}

	.cable-product__certificate-head {
		display: block;
	}

	.cable-product__certificate-status {
		margin-top: 12px;
	}

	.cable-product__certificate-actions {
		grid-template-columns: 1fr;
	}

	.certificate-card__document {
		height: 250px;
	}

	.certificate-card__document img {
		max-height: 220px;
	}

	.cable-product__related {
		padding: 55px 0 80px;
	}

	.req-form__row {
		grid-template-columns: 1fr;
	}
}
/* Рекомендованные товары — изображения без обрезки */
.cable-related-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 100%;
	min-height: 210px;
	padding: 20px;
	overflow: hidden;
}

.cable-related-card__image img,
.cable-related-card__image .cable-related-card__product-image {
	display: block;
	width: 100% !important;
	max-width: 280px !important;
	height: auto !important;
	max-height: 180px !important;
	margin: 0 auto !important;
	object-fit: contain !important;
	object-position: center !important;
	aspect-ratio: auto !important;
	filter: drop-shadow(0 14px 15px rgba(0, 0, 0, 0.3));
}

@media (max-width: 620px) {
	.cable-related-card__image {
		min-height: 190px;
		padding: 18px;
	}

	.cable-related-card__image img,
	.cable-related-card__image .cable-related-card__product-image {
		max-width: 100% !important;
		max-height: 160px !important;
	}
}
