/* EDP.BY: unified information pages and site footer. */
:root {
	--edp-info-pink: #f51c61;
	--edp-info-pink-dark: #d91450;
	--edp-info-lime: #a8cf38;
	--edp-info-ink: #26262a;
	--edp-info-muted: #6f7078;
	--edp-info-border: #e8e8ed;
	--edp-info-soft: #f7f7f9;
}

.edp-page-payment .main-content,
.edp-page-contacts .main-content,
.edp-page-actions .main-content {
	color: var(--edp-info-ink);
	font-family: Arial, sans-serif;
}

.edp-info-page-hero {
	position: relative;
	margin: 28px 0 24px;
	padding: clamp(24px, 4vw, 48px);
	overflow: hidden;
	border: 1px solid rgba(245, 28, 97, .12);
	border-radius: 26px;
	background:
		radial-gradient(circle at 88% 18%, rgba(168, 207, 56, .2), transparent 24%),
		linear-gradient(135deg, #fff 0%, #fff7fa 58%, #f5f9e9 100%);
	box-shadow: 0 18px 46px rgba(38, 38, 42, .08);
}

.edp-info-page-hero::after {
	position: absolute;
	right: -42px;
	bottom: -76px;
	width: 220px;
	height: 220px;
	border: 32px solid rgba(245, 28, 97, .06);
	border-radius: 50%;
	content: "";
}

.edp-info-page-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border: 1px solid rgba(245, 28, 97, .2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .78);
	color: var(--edp-info-pink-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.edp-info-page-hero__eyebrow::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--edp-info-lime);
	box-shadow: 0 0 0 4px rgba(168, 207, 56, .16);
	content: "";
}

.edp-info-page-hero h1 {
	position: relative;
	z-index: 1;
	max-width: 820px;
	margin: 16px 0 8px;
	color: var(--edp-info-ink);
	font-size: clamp(32px, 4.2vw, 56px);
	font-weight: 850;
	letter-spacing: -.035em;
	line-height: 1.02;
}

.edp-info-page-hero p {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 0;
	color: #57585f;
	font-size: clamp(15px, 1.4vw, 18px);
	line-height: 1.6;
}

/* Payment page: keep its useful content, unify typography and spacing. */
.edp-page-payment .edp-hero,
.edp-page-payment .edp-card,
.edp-page-payment .edp-sub,
.edp-page-payment .edp-mini,
.edp-page-payment .edp-note {
	font-family: Arial, sans-serif !important;
}

.edp-page-payment .edp-hero {
	margin-bottom: 20px !important;
	border-color: var(--edp-info-border) !important;
	border-radius: 20px !important;
	box-shadow: none !important;
}

.edp-page-payment .edp-card {
	border-color: var(--edp-info-border) !important;
	border-radius: 20px !important;
	box-shadow: 0 12px 32px rgba(38, 38, 42, .06) !important;
}

.edp-page-payment .edp-card__title {
	color: var(--edp-info-ink);
	font-size: 18px !important;
	font-weight: 800 !important;
}

.edp-page-payment .edp-sub,
.edp-page-payment .edp-hero__lead {
	font-size: 15px !important;
	line-height: 1.65 !important;
}

/* Contacts page. The legacy paragraph pairs become clear contact cards. */
.edp-page-contacts .main-content > .row:first-of-type {
	margin-bottom: 8px;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) {
	margin: 0 0 38px;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) > .col-md-12 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 18px;
	width: 100%;
	padding: 28px;
	border: 1px solid var(--edp-info-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(38, 38, 42, .07);
}

.edp-page-contacts .main-content > .row:nth-of-type(2) > .col-md-12::before {
	grid-column: 1 / -1;
	margin-bottom: 6px;
	color: var(--edp-info-ink);
	font-size: 24px;
	font-weight: 800;
	content: "Выберите удобный способ связи";
}

.edp-page-contacts .main-content > .row:nth-of-type(2) > .col-md-12::after {
	grid-column: 1 / -1;
	grid-row: 2;
	margin-bottom: 22px;
	color: var(--edp-info-muted);
	font-size: 14px;
	line-height: 1.55;
	content: "По вопросам заказа напишите консультанту. Для оптовых предложений и обращений используйте отдельные разделы.";
}

.edp-page-contacts .main-content > .row:nth-of-type(2) p {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) p:empty,
.edp-page-contacts .main-content > .row:nth-of-type(2) p:last-child {
	display: none;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) p:has(strong) {
	padding: 18px 20px 4px;
	border: 1px solid var(--edp-info-border);
	border-bottom: 0;
	border-radius: 16px 16px 0 0;
	background: var(--edp-info-soft);
	color: var(--edp-info-ink);
	font-size: 13px;
	letter-spacing: .02em;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) p:has(strong) + p {
	min-height: 68px;
	margin-bottom: 18px;
	padding: 4px 20px 18px;
	border: 1px solid var(--edp-info-border);
	border-top: 0;
	border-radius: 0 0 16px 16px;
	background: var(--edp-info-soft);
	color: #4f5057;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(1),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(2),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(7),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(8) {
	grid-column: 1;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(4),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(5),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(10),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(11) {
	grid-column: 2;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(1),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(4) { grid-row: 3; }
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(2),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(5) { grid-row: 4; }
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(7),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(10) { grid-row: 5; }
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(8),
.edp-page-contacts .main-content > .row:nth-of-type(2) p:nth-of-type(11) { grid-row: 6; }

.edp-page-contacts .main-content > .row:nth-of-type(2) a {
	color: var(--edp-info-pink-dark);
	font-weight: 750;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) a[href^="mailto:"] span {
	display: none !important;
}

.edp-page-contacts .main-content > .row:nth-of-type(2) a:hover,
.edp-page-contacts .main-content > .row:nth-of-type(2) a:focus {
	color: var(--edp-info-pink);
	text-decoration: underline;
}

/* Promotions page: turn the long text into a visual programme overview. */
.edp-page-actions .promo-page {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0 0 38px;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	counter-reset: promo-section;
}

.edp-page-actions .promo-hero {
	grid-column: 1 / -1;
	padding: 28px;
	border: 1px solid rgba(168, 207, 56, .25);
	border-radius: 22px;
	background: linear-gradient(135deg, #f6faea 0%, #fff 65%);
}

.edp-page-actions .promo-title {
	margin: 0 0 10px;
	color: var(--edp-info-ink);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 850;
	letter-spacing: -.025em;
	line-height: 1.12;
}

.edp-page-actions .promo-lead {
	max-width: 980px;
	margin: 0;
	color: #585960;
	font-size: 16px;
	line-height: 1.7;
}

.edp-page-actions .promo-section {
	position: relative;
	padding: 26px;
	overflow: hidden;
	border: 1px solid var(--edp-info-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(38, 38, 42, .06);
	counter-increment: promo-section;
}

.edp-page-actions .promo-section::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 18px;
	border-radius: 10px;
	background: rgba(245, 28, 97, .09);
	color: var(--edp-info-pink-dark);
	font-size: 14px;
	font-weight: 850;
	content: "0" counter(promo-section);
}

.edp-page-actions .promo-section:last-child {
	grid-column: 1 / -1;
}

.edp-page-actions .promo-section h3 {
	margin: 0 0 12px;
	color: var(--edp-info-ink);
	font-size: 21px;
	font-weight: 800;
	line-height: 1.25;
}

.edp-page-actions .promo-section p,
.edp-page-actions .promo-list {
	color: #585960;
	font-size: 15px;
	line-height: 1.68;
}

.edp-page-actions .promo-note {
	margin-top: 10px;
	padding: 12px 14px;
	border: 1px solid #e3ebcb;
	border-radius: 12px;
	background: #f6faea;
	color: #4d5536;
	font-size: 13px;
	line-height: 1.5;
}

.edp-page-actions .promo-note--warn {
	border-color: #f2d6df;
	background: #fff5f8;
	color: #6b3b4b;
}

.edp-page-actions .promo-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.edp-page-actions .promo-list li {
	position: relative;
	padding: 13px 14px 13px 38px;
	border-radius: 12px;
	background: var(--edp-info-soft);
}

.edp-page-actions .promo-list li::before {
	position: absolute;
	top: 16px;
	left: 15px;
	width: 10px;
	height: 10px;
	border: 3px solid var(--edp-info-lime);
	border-radius: 50%;
	content: "";
}

/* New global footer. */
footer.edp-site-footer {
	margin-top: 48px;
	padding: 44px 0 0;
	background: linear-gradient(160deg, #222228 0%, #2b2b32 58%, #25252a 100%) !important;
	color: #f5f5f7;
	font-family: Arial, sans-serif;
}

footer.edp-site-footer .edp-footer-container {
	max-width: 1240px;
}

footer.edp-site-footer .edp-footer-shell {
	position: relative;
}

footer.edp-site-footer .edp-footer-brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 34px;
	padding-bottom: 30px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

footer.edp-site-footer .edp-footer-brand__name {
	display: inline-block;
	color: #fff;
	font-size: 34px;
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1;
	text-decoration: none;
}

footer.edp-site-footer .edp-footer-brand__name span {
	color: var(--edp-info-pink);
}

footer.edp-site-footer .edp-footer-brand p {
	margin: 9px 0 0;
	color: rgba(255, 255, 255, .65);
	font-size: 14px;
}

footer.edp-site-footer .edp-footer-contacts {
	display: flex;
	align-items: center;
	gap: 22px;
}

footer.edp-site-footer .edp-footer-contact-links {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 5px 18px;
}

footer.edp-site-footer .edp-footer-contact-links a {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

footer.edp-site-footer .edp-footer-contact-links a:last-child {
	grid-column: 1 / -1;
	color: rgba(255, 255, 255, .68);
	font-weight: 500;
}

footer.edp-site-footer .edp-footer-consultant {
	min-width: 150px;
	min-height: 46px;
	margin: 0;
	padding: 11px 18px;
	border: 1px solid var(--edp-info-pink);
	border-radius: 999px;
	background: var(--edp-info-pink);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	box-shadow: 0 10px 24px rgba(245, 28, 97, .22);
}

footer.edp-site-footer .top-header {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 34px !important;
}

footer.edp-site-footer .top-header > [class*="col-"] {
	float: none;
	width: auto;
	padding: 0;
}

footer.edp-site-footer .top-header > .help { grid-column: 1; }
footer.edp-site-footer .top-header > .info { grid-column: 2; }
footer.edp-site-footer .top-header > .about { grid-column: 3; }
footer.edp-site-footer .top-header > .social { grid-column: 4; }

footer.edp-site-footer .footer-nav-toggle,
footer.edp-site-footer .social > span {
	display: block;
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	text-align: left;
}

footer.edp-site-footer .footer-nav-list,
footer.edp-site-footer .social .soc {
	margin: 0;
	padding: 0;
}

footer.edp-site-footer .footer-nav-list li {
	margin: 0 0 9px;
	list-style: none;
}

footer.edp-site-footer .footer-nav-list a {
	color: rgba(255, 255, 255, .62);
	font-size: 13px;
	line-height: 1.45;
	text-decoration: none;
	transition: color .2s ease, transform .2s ease;
}

footer.edp-site-footer .footer-nav-list a:hover,
footer.edp-site-footer .footer-nav-list a:focus,
footer.edp-site-footer .edp-footer-contact-links a:hover,
footer.edp-site-footer .edp-footer-contact-links a:focus {
	color: #fff;
}

footer.edp-site-footer .social .soc {
	display: flex;
	gap: 9px;
}

footer.edp-site-footer .social .soc a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 11px;
	background: rgba(255, 255, 255, .06);
}

footer.edp-site-footer .social .soc img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

footer.edp-site-footer .edp-footer-bottom {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr);
	gap: 28px;
	padding: 28px 0 32px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

footer.edp-site-footer .access {
	float: none;
	width: auto;
	padding: 0;
	color: rgba(255, 255, 255, .68);
}

footer.edp-site-footer .edp-footer-policies {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

footer.edp-site-footer .edp-footer-policies ul {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 8px 18px;
	width: auto !important;
	min-width: 0;
	margin: 0;
	padding: 0;
}

footer.edp-site-footer .edp-footer-policies li {
	flex: 0 1 auto;
	width: auto !important;
	list-style: none;
}

footer.edp-site-footer .edp-footer-policies a {
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .28);
	text-underline-offset: 3px;
}

footer.edp-site-footer .edp-footer-copyright {
	flex: 0 0 auto;
	width: auto !important;
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, .55) !important;
	font-size: 12px;
}

footer.edp-site-footer .edp-footer-legal-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

footer.edp-site-footer .edp-footer-legal-grid p {
	margin: 0;
	padding: 13px 14px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 12px;
	background: rgba(255, 255, 255, .045);
	color: rgba(255, 255, 255, .58);
	font-size: 11px;
	line-height: 1.48;
}

footer.edp-site-footer .edp-footer-legal-grid strong {
	display: block;
	margin-bottom: 3px;
	color: rgba(255, 255, 255, .88);
	font-size: 11px;
}

footer.edp-site-footer .edp-footer-payments {
	align-self: end;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 16px;
	background: #fff;
}

footer.edp-site-footer .edp-footer-payments__title {
	display: block;
	margin: 0 0 12px;
	color: #6a6b72;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

footer.edp-site-footer .money,
footer.edp-site-footer .money a.payment-logos {
	display: flex !important;
	align-items: center;
	justify-content: center !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}

footer.edp-site-footer .money a.payment-logos {
	flex: 1 1 100% !important;
	gap: 8px !important;
	max-width: none !important;
}

footer.edp-site-footer .payment-logos__sprite {
	display: block !important;
	flex: 1 1 auto !important;
	width: calc(100% - 64px) !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
}

footer.edp-site-footer .payment-logo--erip {
	display: flex !important;
	flex: 0 0 56px !important;
	align-items: center;
	justify-content: center;
	width: 56px !important;
	height: auto !important;
	padding: 0 !important;
}

footer.edp-site-footer .payment-logo--erip img {
	display: block !important;
	width: 54px !important;
	height: auto !important;
	max-height: none !important;
	transform: none !important;
}

@media (max-width: 991px) {
	footer.edp-site-footer .edp-footer-brand-row,
	footer.edp-site-footer .edp-footer-contacts,
	footer.edp-site-footer .edp-footer-policies {
		align-items: flex-start;
		flex-direction: column;
	}

	footer.edp-site-footer .top-header {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	footer.edp-site-footer .edp-footer-bottom {
		grid-template-columns: 1fr;
	}

	footer.edp-site-footer .edp-footer-payments {
		width: 100%;
		max-width: 560px;
	}
}

@media (max-width: 767px) {
	.edp-info-page-hero {
		margin: 16px -4px 18px;
		padding: 24px 20px;
		border-radius: 20px;
	}

	.edp-info-page-hero h1 {
		font-size: 32px;
	}

	.edp-page-contacts .main-content > .row:nth-of-type(2) > .col-md-12 {
		display: block;
		padding: 18px;
		border-radius: 18px;
	}

	.edp-page-contacts .main-content > .row:nth-of-type(2) > .col-md-12::before,
	.edp-page-contacts .main-content > .row:nth-of-type(2) > .col-md-12::after {
		display: block;
	}

	.edp-page-contacts .main-content > .row:nth-of-type(2) p:has(strong) + p {
		min-height: 0;
	}

	.edp-page-actions .promo-page,
	.edp-page-actions .promo-list {
		grid-template-columns: 1fr;
	}

	.edp-page-actions .promo-hero,
	.edp-page-actions .promo-section:last-child {
		grid-column: auto;
	}

	.edp-page-actions .promo-hero,
	.edp-page-actions .promo-section {
		padding: 20px;
	}

	footer.edp-site-footer {
		margin-top: 32px;
		padding-top: 28px;
	}

	footer.edp-site-footer .edp-footer-brand-row {
		margin-bottom: 18px;
		padding-bottom: 22px;
	}

	footer.edp-site-footer .edp-footer-contact-links {
		grid-template-columns: 1fr;
	}

	footer.edp-site-footer .edp-footer-contact-links a:last-child {
		grid-column: auto;
	}

	footer.edp-site-footer .top-header {
		display: block;
		margin-bottom: 22px !important;
	}

	footer.edp-site-footer .top-header > .help,
	footer.edp-site-footer .top-header > .info,
	footer.edp-site-footer .top-header > .about,
	footer.edp-site-footer .top-header > .social {
		grid-column: auto;
	}

	footer.edp-site-footer .footer-nav-section,
	footer.edp-site-footer .social {
		margin: 0 0 9px;
		padding: 0 !important;
		border: 1px solid rgba(255, 255, 255, .09);
		border-radius: 13px;
		background: rgba(255, 255, 255, .045);
	}

	footer.edp-site-footer .footer-nav-toggle,
	footer.edp-site-footer .social > span {
		width: 100%;
		margin: 0;
		padding: 14px 15px;
	}

	footer.edp-site-footer .footer-nav-list {
		padding: 0 15px 13px;
	}

	footer.edp-site-footer .social .soc {
		padding: 0 15px 15px;
	}

	footer.edp-site-footer .edp-footer-policies {
		gap: 12px;
	}

	footer.edp-site-footer .edp-footer-policies ul {
		display: grid;
	}

	footer.edp-site-footer .edp-footer-legal-grid {
		grid-template-columns: 1fr;
	}

	footer.edp-site-footer .edp-footer-bottom {
		gap: 18px;
		padding-top: 22px;
	}

	footer.edp-site-footer .edp-footer-payments {
		padding: 14px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.edp-info-page-hero *,
	.edp-page-actions .promo-page *,
	footer.edp-site-footer * {
		transition: none !important;
	}
}

/* Articles: modern cards for the index and a readable editorial layout. */
.edp-page-articles .main-content {
	color: var(--edp-info-ink);
	font-family: Arial, sans-serif;
}

.edp-page-articles-index .main-content > h1 {
	position: relative;
	margin: 24px 0 26px;
	padding: 30px 34px;
	overflow: hidden;
	border: 1px solid rgba(245, 28, 97, .12);
	border-radius: 24px;
	background:
		radial-gradient(circle at 92% 20%, rgba(245, 28, 97, .11), transparent 22%),
		linear-gradient(135deg, #fff 0%, #fff8fa 68%, #f6faea 100%);
	box-shadow: 0 16px 42px rgba(38, 38, 42, .07);
	font-size: clamp(34px, 4.5vw, 52px);
	font-weight: 850;
	letter-spacing: -.035em;
	line-height: 1.02;
}

.edp-page-articles-index .main-content > h1::after {
	position: absolute;
	top: 50%;
	right: 34px;
	width: 54px;
	height: 54px;
	border: 12px solid rgba(168, 207, 56, .32);
	border-radius: 50%;
	content: "";
	transform: translateY(-50%);
}

.edp-page-articles-index .edp-articles-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 34px;
}

.edp-page-articles-index .edp-articles-grid .news-item {
	display: grid;
	grid-template-columns: 174px minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	gap: 14px 18px;
	align-content: start;
	min-width: 0;
	margin: 0 !important;
	padding: 20px;
	border: 1px solid var(--edp-info-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(38, 38, 42, .065);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.edp-page-articles-index .edp-articles-grid .news-item:hover {
	border-color: rgba(245, 28, 97, .2);
	box-shadow: 0 18px 42px rgba(38, 38, 42, .1);
	transform: translateY(-2px);
}

.edp-page-articles-index .edp-articles-grid .news-item > [class*="col-"] {
	float: none;
	width: auto;
	min-width: 0;
	padding: 0;
}

.edp-page-articles-index .edp-article-date {
	grid-column: 1 / -1;
	color: var(--edp-info-muted);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .035em;
}

.edp-page-articles-index .edp-article-media {
	grid-column: 1;
	grid-row: 2;
}

.edp-page-articles-index .edp-article-media > a {
	display: block;
	overflow: hidden;
	border-radius: 16px;
	background: var(--edp-info-soft);
}

.edp-page-articles-index .edp-article-media .news_img {
	display: block;
	float: none !important;
	width: 100%;
	height: 172px;
	margin: 0 !important;
	object-fit: cover;
	transition: transform .25s ease;
}

.edp-page-articles-index .news-item:hover .edp-article-media .news_img {
	transform: scale(1.025);
}

.edp-page-articles-index .edp-article-summary {
	grid-column: 2;
	grid-row: 2;
}

.edp-page-articles-index .news-item:not(:has(.news_img)) {
	grid-template-columns: 1fr;
}

.edp-page-articles-index .news-item:not(:has(.news_img)) .edp-article-summary {
	grid-column: 1;
}

.edp-page-articles-index .edp-article-summary .news_title {
	display: inline;
	color: var(--edp-info-ink);
	font-size: 19px;
	font-weight: 850;
	letter-spacing: -.015em;
	line-height: 1.25;
	text-decoration: none;
}

.edp-page-articles-index .edp-article-summary .news_title:hover,
.edp-page-articles-index .edp-article-summary .news_title:focus {
	color: var(--edp-info-pink-dark);
}

.edp-page-articles-index .edp-article-summary > div {
	display: -webkit-box;
	margin-top: 10px;
	overflow: hidden;
	color: #5c5d64;
	font-size: 14px;
	line-height: 1.58;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.edp-page-articles-index .edp-article-summary p {
	margin: 0;
}

.edp-page-articles-index .edp-article-summary .tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 14px;
}

.edp-page-articles-index .edp-article-summary .tags > img {
	display: none;
}

.edp-page-articles-index .edp-article-summary .tag {
	display: inline-flex;
	padding: 5px 9px;
	border: 1px solid rgba(168, 207, 56, .34);
	border-radius: 999px;
	background: #f7faed;
	color: #536126;
	font-size: 11px;
	font-weight: 750;
	text-decoration: none;
}

.edp-page-articles-index .edp-articles-grid + div {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 8px 0 24px;
	font-size: 0;
}

.edp-page-articles-index .edp-articles-grid + div > p {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.edp-page-articles-index .edp-articles-grid + div .page_link,
.edp-page-articles-index .edp-articles-grid + div .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--edp-info-border);
	border-radius: 12px;
	background: #fff;
	color: var(--edp-info-ink);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.edp-page-articles-index .edp-articles-grid + div .current {
	border-color: var(--edp-info-pink);
	background: var(--edp-info-pink);
	color: #fff;
	box-shadow: 0 8px 18px rgba(245, 28, 97, .2);
}

.edp-page-articles-index .edp-articles-grid + div .page_link:hover,
.edp-page-articles-index .edp-articles-grid + div .page_link:focus {
	border-color: rgba(245, 28, 97, .38);
	color: var(--edp-info-pink-dark);
}

.edp-page-articles-index .edp-articles-grid + div #id_prev,
.edp-page-articles-index .edp-articles-grid + div #id_next,
.edp-page-articles-index .edp-articles-grid + div .ctrl,
.edp-page-articles-index .edp-articles-grid + div > div[style*="clear"] {
	display: none !important;
}

.edp-page-articles-index .rss {
	margin: 0 0 34px;
	text-align: right;
}

.edp-page-articles-index .rss a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 9px 15px;
	border: 1px solid var(--edp-info-border);
	border-radius: 999px;
	background: #fff;
	color: var(--edp-info-muted);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.edp-page-article-detail .edp-article-detail {
	margin: 24px 0 38px;
	padding: clamp(24px, 4vw, 46px);
	overflow: hidden;
	border: 1px solid var(--edp-info-border);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 18px 46px rgba(38, 38, 42, .075);
}

.edp-page-article-detail .edp-article-detail > h1 {
	max-width: 980px;
	margin: 0 0 26px;
	color: var(--edp-info-ink);
	font-size: clamp(32px, 4.2vw, 50px);
	font-weight: 850;
	letter-spacing: -.035em;
	line-height: 1.07;
}

.edp-page-article-detail .edp-article-detail #gallery {
	float: left;
	width: min(36%, 360px);
	margin: 0 28px 18px 0;
}

.edp-page-article-detail .edp-article-detail #gallery a,
.edp-page-article-detail .edp-article-detail #gallery img {
	display: block;
	width: 100%;
}

.edp-page-article-detail .edp-article-detail #gallery img,
.edp-page-article-detail .edp-article-detail > .news_img {
	float: none !important;
	height: auto;
	max-height: 440px;
	margin: 0 !important;
	border-radius: 18px;
	object-fit: cover;
}

.edp-page-article-detail .edp-article-content {
	color: #4f5057;
	font-size: 17px;
	line-height: 1.75;
}

.edp-page-article-detail .edp-article-content::after,
.edp-page-article-detail .edp-article-detail::after {
	display: block;
	clear: both;
	content: "";
}

.edp-page-article-detail .edp-article-content h2,
.edp-page-article-detail .edp-article-content h3 {
	clear: both;
	margin: 30px 0 12px;
	color: var(--edp-info-ink);
	font-weight: 850;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.edp-page-article-detail .edp-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.edp-page-article-detail .is-property,
.edp-page-article-detail .shop_property {
	display: inline-flex;
	float: none;
	align-items: center;
	min-height: 36px;
	margin: 20px 7px 0 0;
	padding: 7px 11px;
	border: 1px solid var(--edp-info-border);
	border-radius: 999px;
	background: var(--edp-info-soft);
	color: var(--edp-info-muted);
	font-size: 12px;
}

/* Shared modern presentation for public account, feedback and mailing forms. */
.edp-page-form .main-content {
	color: var(--edp-info-ink);
	font-family: Arial, sans-serif;
}

.edp-page-form:not(.edp-page-article-detail) .main-content h1 {
	margin: 24px 0 22px;
	color: var(--edp-info-ink);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 850;
	letter-spacing: -.03em;
	line-height: 1.08;
}

.edp-page-account .main-content .formblock,
.edp-page-feedback .main-content .comment,
.edp-page-newsletter .main-content > .comment {
	width: 100%;
	max-width: 780px;
	margin: 0 0 38px;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--edp-info-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(38, 38, 42, .07);
}

.edp-page-form .main-content form,
.edp-page-form .main-content form table,
.edp-page-form .main-content form tbody,
.edp-page-form .main-content form tr,
.edp-page-form .main-content form td {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100%;
}

.edp-page-form .main-content form table {
	border-collapse: separate;
	border-spacing: 0 14px;
}

.edp-page-form .main-content form tr,
.edp-page-form .main-content form td {
	display: block;
}

.edp-page-form .main-content form > div:not(.privacy-confirmation):not(.privacy-notice),
.edp-page-form .main-content form > .row {
	margin: 0 0 17px;
}

.edp-page-form .main-content form .row {
	margin-right: 0;
	margin-left: 0;
}

.edp-page-form .main-content form .caption,
.edp-page-form .main-content form .field {
	float: none;
	width: 100%;
	padding: 0;
}

.edp-page-form .main-content form .caption,
.edp-page-form .main-content form .form_label,
.edp-page-form .main-content form label:not(.privacy-confirmation label) {
	margin: 0 0 7px;
	color: #55565d;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.4;
}

.edp-page-form .main-content form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="submit"]):not([type="button"]),
.edp-page-form .main-content form select,
.edp-page-form .main-content form textarea {
	box-sizing: border-box;
	width: 100% !important;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid #dfe0e5;
	border-radius: 12px;
	background: #fff;
	color: var(--edp-info-ink);
	font: 15px/1.4 Arial, sans-serif;
	box-shadow: inset 0 1px 2px rgba(38, 38, 42, .025);
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.edp-page-form .main-content form textarea {
	min-height: 150px;
	resize: vertical;
}

.edp-page-form .main-content form input[type="file"] {
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	border: 1px dashed #d7d8de;
	border-radius: 12px;
	background: var(--edp-info-soft);
}

.edp-page-form .main-content form input:focus,
.edp-page-form .main-content form select:focus,
.edp-page-form .main-content form textarea:focus {
	border-color: rgba(245, 28, 97, .58);
	box-shadow: 0 0 0 4px rgba(245, 28, 97, .09);
}

.edp-page-form .main-content form input[type="checkbox"],
.edp-page-form .main-content form input[type="radio"] {
	flex: 0 0 auto;
	width: 20px !important;
	height: 20px !important;
	margin: 1px 9px 0 0 !important;
}

.edp-page-form .main-content form .form_remember,
.edp-page-form .main-content form .privacy-confirmation label {
	display: flex;
	align-items: flex-start;
	gap: 0;
	min-width: 0;
	white-space: normal !important;
	overflow-wrap: anywhere;
	font-size: 13px;
	line-height: 1.5;
}

.edp-page-form .main-content form .privacy-confirmation {
	margin: 18px 0 12px;
	padding: 15px;
	border: 1px solid #e3e9cf;
	border-radius: 14px;
	background: #f7faee;
}

.edp-page-form .main-content form .privacy-confirmation a,
.edp-page-form .main-content form .privacy-notice a {
	color: var(--edp-info-pink-dark);
	font-weight: 750;
	white-space: normal !important;
	overflow-wrap: anywhere;
}

.edp-page-form .main-content form .privacy-notice {
	margin: 10px 0;
	padding: 13px 15px;
	border: 1px solid var(--edp-info-border);
	border-radius: 13px;
	background: var(--edp-info-soft);
	color: #65666d;
	font-size: 12px;
	line-height: 1.55;
}

.edp-page-form .main-content form details.privacy-notice summary {
	cursor: pointer;
	color: #4f5057;
	font-weight: 800;
}

.edp-page-form .main-content form img.captcha {
	display: inline-block;
	width: 126px;
	height: 42px;
	margin: 0 8px 10px 0;
	border: 1px solid var(--edp-info-border);
	border-radius: 10px;
	object-fit: contain;
}

.edp-page-form .main-content form div.captcha {
	display: inline-flex;
	align-items: center;
	vertical-align: top;
}

.edp-page-form .main-content form div.captcha > img {
	display: none;
}

.edp-page-form .main-content form .captcha-refresh {
	min-height: 42px;
	padding: 9px 14px;
	border: 1px solid #dfe0e5;
	border-radius: 999px;
	background: #fff;
	color: #55565d;
	font-size: 12px;
	font-weight: 750;
}

.edp-page-form .main-content form input[type="submit"],
.edp-page-form .main-content form button[type="submit"],
.edp-page-form .main-content form .btn-primary,
.edp-page-form .main-content form .button.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--edp-info-pink);
	border-radius: 999px;
	background: var(--edp-info-pink) !important;
	color: #fff !important;
	font: 800 14px/1.2 Arial, sans-serif;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(245, 28, 97, .18);
}

.edp-page-form .main-content form a.button,
.edp-page-form .main-content form a.btn:not(.btn-primary) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid rgba(245, 28, 97, .35);
	border-radius: 999px;
	background: #fff;
	color: var(--edp-info-pink-dark);
	font: 800 14px/1.2 Arial, sans-serif;
	text-decoration: none;
}

.edp-page-newsletter .main-content form > .row:has(input[type="checkbox"]) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 13px 15px;
	border: 1px solid var(--edp-info-border);
	border-radius: 13px;
	background: var(--edp-info-soft);
}

.edp-page-newsletter .main-content form > .row:has(input[type="checkbox"]) .caption {
	margin: 0;
}

.edp-page-newsletter .main-content form > .row:has(input[type="checkbox"]) .field {
	width: 20px;
}

/* Shopping cart: retain its checkout logic and unify the visible controls. */
.edp-page-cart .main-content {
	color: var(--edp-info-ink);
	font-family: Arial, sans-serif;
}

.edp-page-cart .edp-cart .zagbasket {
	margin: 22px 0 24px;
	color: var(--edp-info-ink);
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 850;
	letter-spacing: -.03em;
	line-height: 1.08;
}

.edp-page-cart .edp-cart .mainbasket {
	overflow: hidden;
	border: 1px solid var(--edp-info-border);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(38, 38, 42, .06);
}

.edp-page-cart .edp-cart .headbasket {
	padding: 14px 0;
	background: var(--edp-info-soft);
	color: #66676e;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .025em;
}

.edp-page-cart .edp-cart .content_basket {
	padding-top: 16px;
	padding-bottom: 16px;
	border-top: 1px solid var(--edp-info-border);
}

.edp-page-cart .edp-cart .content_basket:first-of-type {
	border-top: 0;
}

.edp-page-cart .edp-cart .edp-cart-product img {
	border-radius: 12px;
}

.edp-page-cart .edp-cart .number-spinner .btnpl,
.edp-page-cart .edp-cart .clearprod {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 40px;
	padding: 0;
	border: 1px solid #dfe0e5;
	border-radius: 10px;
	background: #fff;
	color: #55565d;
}

.edp-page-cart .edp-cart .number-spinner input {
	height: 40px;
	border-color: #dfe0e5;
	font-weight: 750;
}

.edp-page-cart .edp-cart .clearprod {
	border-radius: 50%;
	color: var(--edp-info-pink-dark);
}

.edp-page-cart .edp-cart > .inbasket,
.edp-page-cart .edp-cart #apply_coupon,
.edp-page-cart .edp-cart input.sub,
.edp-page-cart .edp-cart .modal-body .inbasket {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 18px;
	border-radius: 12px;
	font: 800 13px/1.25 Arial, sans-serif;
	text-decoration: none;
}

.edp-page-cart .edp-cart > .inbasket,
.edp-page-cart .edp-cart #apply_coupon,
.edp-page-cart .edp-cart .modal-body .inbasket {
	border: 1px solid rgba(245, 28, 97, .36);
	background: #fff;
	color: var(--edp-info-pink-dark);
}

.edp-page-cart .edp-cart input.sub {
	border: 1px solid var(--edp-info-pink);
	background: var(--edp-info-pink);
	color: #fff;
	box-shadow: 0 10px 22px rgba(245, 28, 97, .18);
}

.edp-page-cart .edp-cart .discount-code {
	display: grid;
	grid-template-columns: minmax(0, 240px) auto;
	gap: 10px;
	align-items: start;
	margin: 0;
}

.edp-page-cart .edp-cart .shop_coupon {
	position: relative;
	min-width: 0;
}

.edp-page-cart .edp-cart .promocode-input {
	width: 100%;
	height: 46px;
	padding-right: 42px;
	border: 1px solid #dfe0e5;
	border-radius: 12px;
	box-shadow: none;
}

.edp-page-cart .edp-cart #clearButton {
	position: absolute;
	top: 7px;
	right: 7px;
	display: inline-flex;
	width: 32px;
	height: 32px;
	padding: 0;
	align-items: center;
	justify-content: center;
	color: #777982;
	background: transparent;
	border: 0;
	border-radius: 8px;
	font-size: 20px;
	line-height: 1;
}

.edp-page-cart .edp-cart #clearButton:hover,
.edp-page-cart .edp-cart #clearButton:focus {
	color: var(--edp-info-pink-dark);
	background: rgba(245, 28, 97, .08);
	outline: 0;
}

.edp-page-cart .edp-cart .promocode-feedback {
	grid-column: 1 / -1;
	min-height: 18px;
	font-size: 12px;
}

.edp-page-cart .edp-cart :is(.promocode-error, .promocode-success) {
	position: static;
	margin: 0;
}

.edp-page-cart .edp-cart .promocode-error {
	color: #b4233e;
}

.edp-page-cart .edp-cart .promocode-success {
	color: #287a35;
}

.edp-page-cart .edp-cart .edp-cart-postpone :is(.checkboxes, .check, label) {
	display: flex;
	align-items: center;
	justify-content: center;
}

.edp-page-cart .edp-cart .edp-cart-postpone .check,
.edp-page-cart .edp-cart .edp-cart-postpone .check.active {
	position: static;
	width: 24px;
	height: 24px;
	padding: 0;
	background: none;
}

.edp-page-cart .edp-cart .edp-cart-postpone input[type="checkbox"] {
	position: static;
	display: block;
	appearance: none;
	width: 22px;
	height: 22px;
	margin: 0;
	background: #fff;
	border: 1.5px solid #c9cbd2;
	border-radius: 6px;
	cursor: pointer;
}

.edp-page-cart .edp-cart .edp-cart-postpone input[type="checkbox"]:checked {
	background: var(--edp-info-pink);
	border-color: var(--edp-info-pink);
	box-shadow: inset 0 0 0 4px #fff;
}

.edp-page-cart .address .checkout-privacy-label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.5;
}

.edp-page-cart .address .checkout-privacy-label > span {
	min-width: 0;
}

.edp-page-cart .edp-cart .zakaz {
	display: flex;
	align-items: center;
	margin-top: 22px;
	margin-bottom: 30px;
}

.edp-page-cart .edp-cart .total_sum {
	margin: 0 0 12px;
	color: #55565d;
	font-size: 15px;
}

.edp-page-cart .edp-cart .total_sum span {
	color: var(--edp-info-ink);
	font-size: 20px;
	font-weight: 850;
}

.edp-page-cart .main-content form:not(.edp-cart) input[type="submit"],
.edp-page-cart .main-content form:not(.edp-cart) button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--edp-info-pink);
	border-radius: 12px;
	background: var(--edp-info-pink);
	color: #fff;
	font: 800 14px/1.2 Arial, sans-serif;
	box-shadow: 0 10px 22px rgba(245, 28, 97, .18);
}

/* Empty article rows do not carry layout information. */
.edp-page-articles-index .row:empty {
	display: none;
}

@media (max-width: 991px) {
	.edp-page-articles-index .edp-articles-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.edp-page-cart .edp-cart .discount-code {
		grid-template-columns: minmax(0, 1fr);
	}

	.edp-page-cart .edp-cart .promocode-feedback {
		grid-column: 1;
	}

	/* Preserve the catalogue clear rows but remove Bootstrap's negative gutter. */
	.edp-page-popular form .right-block .row:empty {
		display: block;
		clear: both;
		width: 100%;
		height: 0;
		margin-right: 0;
		margin-left: 0;
	}

	.edp-page-articles-index .main-content > h1 {
		margin: 16px 0 18px;
		padding: 24px 20px;
		border-radius: 20px;
		font-size: 34px;
	}

	.edp-page-articles-index .main-content > h1::after {
		right: 20px;
		width: 38px;
		height: 38px;
		border-width: 9px;
	}

	.edp-page-articles-index .edp-articles-grid {
		gap: 14px;
	}

	.edp-page-articles-index .edp-articles-grid .news-item {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 16px;
		border-radius: 18px;
	}

	.edp-page-articles-index .edp-article-date,
	.edp-page-articles-index .edp-article-media,
	.edp-page-articles-index .edp-article-summary {
		grid-column: 1;
		grid-row: auto;
	}

	.edp-page-articles-index .edp-article-media .news_img {
		height: 190px;
	}

	.edp-page-articles-index .edp-article-summary .news_title {
		font-size: 18px;
	}

	.edp-page-article-detail .edp-article-detail {
		margin: 16px 0 28px;
		padding: 20px;
		border-radius: 20px;
	}

	.edp-page-article-detail .edp-article-detail > h1 {
		font-size: 32px;
	}

	.edp-page-article-detail .edp-article-detail #gallery {
		float: none;
		width: 100%;
		margin: 0 0 20px;
	}

	.edp-page-article-detail .edp-article-content {
		font-size: 16px;
		line-height: 1.68;
	}

	.edp-page-account .main-content .formblock,
	.edp-page-feedback .main-content .comment,
	.edp-page-newsletter .main-content > .comment {
		padding: 18px;
		border-radius: 18px;
	}

	.edp-page-form .main-content form input[type="submit"],
	.edp-page-form .main-content form button[type="submit"] {
		width: 100% !important;
	}

	.edp-page-account .main-content form a.button,
	.edp-page-account .main-content form a.btn:not(.btn-primary) {
		width: 100%;
		margin-top: 9px;
	}

	.edp-page-cart .edp-cart .mainbasket {
		overflow: visible;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.edp-page-cart .edp-cart .edp-cart-item {
		border-radius: 16px;
		box-shadow: 0 10px 26px rgba(38, 38, 42, .055);
	}

	.edp-page-cart .edp-cart > .inbasket,
	.edp-page-cart .edp-cart input.sub,
	.edp-page-cart .edp-cart #apply_coupon {
		width: 100%;
	}

	.edp-page-cart .edp-cart .zakaz {
		display: block;
		margin-right: 0;
		margin-left: 0;
	}

	.edp-page-cart .edp-cart .zakaz > [class*="col-"] {
		float: none;
		width: 100%;
		margin: 0 0 18px;
		padding: 0;
	}

	.edp-page-cart .main-content form:not(.edp-cart) input[type="submit"],
	.edp-page-cart .main-content form:not(.edp-cart) button[type="submit"] {
		width: 100%;
	}
}
