/* Условия заказа для корзины — стили виджета.
   Цвета и размеры приходят из CSS-переменных (Elementor → вкладка «Стиль»).
   Шрифт: два оттенка (--ppc-heading, --ppc-text) и единая шкала размеров.
   Шрифтовое семейство наследуется от темы сайта. */

.ppc {
	/* colors */
	--ppc-primary: #ff4242;
	--ppc-heading: #15181c;
	--ppc-text: #4a5058;
	--ppc-icon: #ff4242;
	--ppc-tile-bg: #ffe4e3;
	--ppc-card-bg: transparent;
	--ppc-delivery-bg: #fff1f1;
	--ppc-banner-bg: #fff1f1;
	--ppc-divider: #e1cfcf;
	--ppc-qr-bg: transparent;
	--ppc-badge: #ff4242;
	--ppc-callout-bg: transparent;
	--ppc-step-text: #fff;
	--ppc-security-bg: #fff1f1;
	--ppc-sign: #ff4242;
	--ppc-stamp: #ff4242;
	--ppc-page-bg: transparent;

	/* sizes */
	--ppc-gap: 24px;
	--ppc-check-bg: #ffe4e3;
	--ppc-radius: 18px;
	--ppc-pad: 25px;
	--ppc-tile: 60px;
	--ppc-glyph: 33px;

	/* type scale: H1 46 / intro 17 / H2 20 / H3 16 / body 13 / small 12 */
	--ppc-fs-h1: 46px;
	--ppc-fs-intro: 17px;
	--ppc-fs-h2: 22px;
	--ppc-fs-h3: 16px;
	--ppc-fs-body: 14px;
	--ppc-fs-small: 12px;
	--ppc-lh-body: 1.65;

	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	background: var(--ppc-page-bg);
	color: var(--ppc-text);
	font-size: var(--ppc-fs-body);
	line-height: var(--ppc-lh-body);
	word-wrap: break-word;
	overflow-wrap: break-word;
	-webkit-text-size-adjust: 100%;
}
.ppc *,
.ppc *::before,
.ppc *::after {
	box-sizing: border-box;
}
.ppc p,
.ppc ul,
.ppc li {
	margin: 0;
	padding: 0;
}
.ppc strong {
	color: var(--ppc-heading);
	font-weight: 600;
}

/* ---------- Icon tile (same size everywhere) ---------- */
.ppc .ppc-tile {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--ppc-tile);
	height: var(--ppc-tile);
	border-radius: calc(var(--ppc-radius) * 0.8);
	background: var(--ppc-tile-bg);
	color: var(--ppc-icon);
	line-height: 1;
}
.ppc .ppc-svg {
	display: block;
	width: var(--ppc-glyph);
	height: var(--ppc-glyph);
	max-width: none;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ppc .ppc-svg .ppc-fill {
	fill: currentColor;
	stroke: none;
}
.ppc .ppc-svg .ppc-badge-circle {
	fill: var(--ppc-primary);
	stroke: var(--ppc-tile-bg);
	stroke-width: 3;
}
.ppc .ppc-svg .ppc-white {
	stroke: #fff;
	stroke-width: 3;
}
.ppc .ppc-tile__font {
	display: flex;
	font-size: var(--ppc-glyph);
	line-height: 1;
}
.ppc .ppc-tile__font svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ---------- Rows (check / num) ---------- */
.ppc ul.ppc-rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ppc ul.ppc-rows > li.ppc-row {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ppc ul.ppc-rows > li.ppc-row::before,
.ppc ul.ppc-rows > li.ppc-row::after {
	content: none;
	display: none;
}
.ppc .ppc-row__mark {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.ppc .ppc-row__text {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--ppc-text);
	font-size: var(--ppc-fs-body);
	line-height: var(--ppc-lh-body);
}
.ppc .ppc-row--lead .ppc-row__text {
	color: var(--ppc-heading);
	font-weight: 600;
}

/* check: soft circle with a coloured tick */
.ppc .ppc-rows--check .ppc-row__mark {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	border-radius: 50%;
	background: var(--ppc-check-bg);
}
.ppc .ppc-rows--check .ppc-row__mark::after {
	content: "";
	width: 11px;
	height: 11px;
	background: var(--ppc-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.3 2.3 4.5-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.3 2.3 4.5-5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Cart: short terms block ---------- */
.ppc-cart { --ppc-cart-gap: 28px; }
.ppc .ppc-cart__heading {
	margin: 0 0 var(--ppc-gap);
	color: var(--ppc-heading);
	font-size: var(--ppc-fs-h2);
	font-weight: 600;
	line-height: 1.25;
}
.ppc ol.ppc-cart__steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px calc(var(--ppc-cart-gap) * 2);
	margin: 0;
	padding: 0;
	list-style: none;
}
.ppc ol.ppc-cart__steps > li.ppc-cart__step {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ppc .ppc-cart__top { display: flex; align-items: center; gap: 18px; margin-bottom: 4px; }
.ppc .ppc-cart__iconwrap { position: relative; display: inline-flex; }
.ppc .ppc-cart__num {
	position: absolute;
	top: -7px;
	right: -7px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ppc-primary);
	box-shadow: 0 0 0 3px #fff;
	color: var(--ppc-step-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
.ppc .ppc-cart__title {
	min-width: 0;
	color: var(--ppc-heading);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	text-wrap: balance;
}
.ppc .ppc-cart__text {
	color: var(--ppc-text);
	font-size: var(--ppc-fs-body);
	line-height: var(--ppc-lh-body);
}
.ppc .ppc-cart__facts { margin-top: 4px; gap: 8px; }
.ppc .ppc-cart__facts .ppc-row__text { font-size: 13px; line-height: 1.55; }
.ppc .ppc-cart__facts strong { color: var(--ppc-heading); font-weight: 600; }
.ppc a.ppc-cart__link {
	margin-top: 2px;
	align-self: flex-start;
	justify-self: start;
	color: var(--ppc-primary);
	font-size: var(--ppc-fs-body);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
@media (max-width: 1024px) {
	.ppc ol.ppc-cart__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--ppc-cart-gap); }
}
@media (max-width: 767px) {
	.ppc ol.ppc-cart__steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ppc .ppc-cart__top { gap: 14px; }
	.ppc .ppc-cart__title { font-size: var(--ppc-fs-h3); }
}
