/*
 * main.css — единые стили сайта РОЗОВАЯ
 * Все страницы: 404.html, about.html, blog-post.html, checkout.html, contacts.html, delivery.html, index.html, order-review.html, products.html, promo.html
 */

/* ============================================================
   ОБЩИЕ СТИЛИ (используются на 2+ страницах)
   ============================================================ */

#cart-panel {
	transform: translateX(100%);
	transition: transform .35s ease;
}

#cart-panel.open {
	transform: translateX(0);
}

.modal {
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
}

.modal.open {
	opacity: 1;
	pointer-events: auto;
}

.modal-content {
	transform: scale(.9);
	transition: transform .3s;
}

.modal.open .modal-content {
	transform: scale(1);
	margin-top: 100px;
}

.overlay {
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
}

.overlay.open {
	opacity: 1;
	pointer-events: auto;
}

.phone-blink {
	animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

	0%,
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(196, 30, 58, .7)
	}

	50% {
		transform: scale(1.1);
		box-shadow: 0 0 0 14px rgba(196, 30, 58, 0)
	}
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: theme('fontFamily.sans');
	background-color: theme('colors.cream');
	color: theme('colors.dark');
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: theme('fontFamily.serif');
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

.petal {
	position: absolute;
	width: 12px;
	height: 12px;
	background: radial-gradient(circle, rgba(255, 122, 141, .8) 0%, rgba(196, 30, 58, .4) 100%);
	border-radius: 50% 0 50% 50%;
	pointer-events: none;
	opacity: .6;
	animation: float 15s linear infinite;
}

@keyframes float {
	0% {
		transform: translateY(0) rotate(0deg) translateX(0);
		opacity: 0
	}

	10% {
		opacity: .7
	}

	90% {
		opacity: .7
	}

	100% {
		transform: translateY(-100vh) rotate(360deg) translateX(50px);
		opacity: 0
	}
}

.btn-rose:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(196, 30, 58, .45);
	background: linear-gradient(135deg, #A11D34 0%, #5C0015 100%);
}

.btn-outline {
	background: white;
	color: #C41E3A !important;
	border: 2px solid #C41E3A;
	font-weight: 600;
	transition: all .3s ease;
}

.btn-outline:hover {
	background: #FFF5F5;
	transform: translateY(-2px);
}

.divider-rose {
	height: 4px;
	background: linear-gradient(90deg, transparent, #C41E3A, transparent);
	border-radius: 2px;
}

.modal {
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
}

.modal-content {
	transform: scale(.9);
	transition: transform .3s ease;
}

.overlay {
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
}

.phone-blink {
	animation: blink-phone 2s ease-in-out infinite;
}

@keyframes blink-phone {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(196, 30, 58, .7)
	}

	50% {
		transform: scale(1.1);
		opacity: .9;
		box-shadow: 0 0 0 15px rgba(196, 30, 58, 0)
	}
}

.btn-rose:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(196, 30, 58, .4);
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: all .65s cubic-bezier(.4, 0, .2, 1);
}

.petal {
	position: absolute;
	width: 10px;
	height: 10px;
	background: radial-gradient(circle, rgba(255, 122, 141, .8) 0%, rgba(196, 30, 58, .4) 100%);
	border-radius: 50% 0 50% 50%;
	pointer-events: none;
	opacity: .5;
	animation: float 16s linear infinite;
}

@keyframes float {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 0
	}

	10% {
		opacity: .6
	}

	90% {
		opacity: .6
	}

	100% {
		transform: translateY(-100vh) rotate(360deg) translateX(40px);
		opacity: 0
	}
}

.progress-dot.done {
	background: #C41E3A;
	color: white;
}

.progress-dot.active {
	background: linear-gradient(135deg, #C41E3A, #800020);
	color: white;
	box-shadow: 0 0 0 4px rgba(196, 30, 58, .2);
}

.progress-dot.pending {
	background: #FFE4E6;
	color: #C4A8AD;
}

.progress-line.done {
	background: #C41E3A;
}

.progress-line.pending {
	background: #FFE4E6;
}

@keyframes blink-phone {

	0%,
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(196, 30, 58, .7)
	}

	50% {
		transform: scale(1.1);
		box-shadow: 0 0 0 14px rgba(196, 30, 58, 0)
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: theme('fontFamily.serif');
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

@keyframes float {
	0% {
		transform: translateY(0) rotate(0deg) translateX(0);
		opacity: 0;
	}

	10% {
		opacity: 0.7;
	}

	90% {
		opacity: 0.7;
	}

	100% {
		transform: translateY(-100vh) rotate(360deg) translateX(50px);
		opacity: 0;
	}
}

.divider-rose {
	height: 4px;
	background: linear-gradient(90deg, transparent, #C41E3A, transparent);
	border-radius: 2px;
}

.form-input {
	width: 100%;
	border: 1px solid #E0B0B6;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 0.95rem;
	background: #fff;
	transition: border-color 0.3s;
}

.phone-blink {
	animation: blink-phone 2s ease-in-out infinite;
}

#cart-panel {
	transform: translateX(100%);
	transition: transform 0.35s ease;
}

#cart-panel.open {
	transform: translateX(0);
}

.modal {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.modal.open {
	opacity: 1;
	pointer-events: auto;
}

.modal-content {
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.modal.open .modal-content {
	transform: scale(1);
	margin-top: 100px;
}

.overlay {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.overlay.open {
	opacity: 1;
	pointer-events: auto;
}



/* ============================================================
   СТИЛИ КОНКРЕТНЫХ СТРАНИЦ
   ============================================================ */

/* ── 404 — страница не найдена ── */

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	font-family: theme('fontFamily.sans');
	background: #FAF7F5;
	color: #1A1A1A;
}

h1,
h2,
h3 {
	font-family: theme('fontFamily.serif');
}

.petal {
	position: fixed;
	pointer-events: none;
	border-radius: 50% 0 50% 50%;
	animation: fall linear infinite;
}

@keyframes fall {
	0% {
		transform: translateY(-60px) rotate(0deg) translateX(0);
		opacity: 0;
	}

	5% {
		opacity: .7;
	}

	95% {
		opacity: .6;
	}

	100% {
		transform: translateY(110vh) rotate(540deg) translateX(60px);
		opacity: 0;
	}
}

.four-o-four {
	font-family: theme('fontFamily.serif');
	font-size: clamp(100px, 20vw, 220px);
	font-weight: 700;
	line-height: .9;
	background: linear-gradient(135deg, #FFE4E6 0%, #FFC4CC 40%, #C41E3A 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	user-select: none;
	letter-spacing: -4px;
	position: relative;
	z-index: 1;
}

.rose-zero {
	position: relative;
	display: inline-block;
}

.rose-zero::after {
	content: '🌹';
	position: absolute;
	font-size: clamp(28px, 5vw, 64px);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -52%);
	-webkit-text-fill-color: initial;
	filter: drop-shadow(0 2px 8px rgba(196, 30, 58, .35));
	animation: roseSpin 6s ease-in-out infinite;
}

@keyframes roseSpin {

	0%,
	100% {
		transform: translate(-50%, -52%) rotate(-8deg) scale(1);
	}

	50% {
		transform: translate(-50%, -56%) rotate(8deg) scale(1.08);
	}
}

.btn-rose {
	background: linear-gradient(135deg, #C41E3A, #800020);
	color: #fff;
	font-weight: 600;
	transition: all .3s;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.btn-rose:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(196, 30, 58, .4);
}

.btn-ghost {
	background: white;
	color: #C41E3A;
	border: 2px solid #FFE4E6;
	font-weight: 600;
	transition: all .3s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.btn-ghost:hover {
	border-color: #FFC4CC;
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(196, 30, 58, .12);
}

.quick-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: white;
	border-radius: 16px;
	border: 1.5px solid #FFE4E6;
	text-decoration: none;
	color: #1A1A1A;
	transition: all .25s;
}

.quick-link:hover {
	border-color: #FFC4CC;
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(196, 30, 58, .12);
	background: #FFF5F5;
}

.quick-link-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #FFF5F5;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

#countdown {
	font-variant-numeric: tabular-nums;
}

.search-bar {
	background: white;
	border: 1.5px solid #E5D0D4;
	border-radius: 50px;
	display: flex;
	align-items: center;
	overflow: hidden;
	transition: border-color .25s, box-shadow .25s;
}

.search-bar:focus-within {
	border-color: #C41E3A;
	box-shadow: 0 0 0 3px rgba(196, 30, 58, .1);
}

.search-bar input {
	flex: 1;
	border: none;
	outline: none;
	padding: 13px 20px;
	font-size: .95rem;
	background: transparent;
	font-family: theme('fontFamily.sans');
	color: #1A1A1A;
}

.search-bar input::placeholder {
	color: #C4A8AD;
}

.search-bar button {
	background: linear-gradient(135deg, #C41E3A, #800020);
	color: white;
	border: none;
	padding: 10px 20px;
	margin: 4px;
	border-radius: 50px;
	font-weight: 600;
	font-size: .85rem;
	cursor: pointer;
	transition: all .2s;
	white-space: nowrap;
}

.search-bar button:hover {
	opacity: .9;
}

.wave-divider {
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.wave-divider svg {
	display: block;
}

/* ── О нас ── */

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
	opacity: 0;
	transform: translateX(-40px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
	opacity: 1;
	transform: translateX(0);
}

.reveal-right {
	opacity: 0;
	transform: translateX(40px);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
	opacity: 1;
	transform: translateX(0);
}



.card-rose {
	background: white;
	border-radius: 20px;
	transition: all .35s cubic-bezier(.25, .46, .45, .94);
	box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.card-rose:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(196, 30, 58, .15);
}

.page-hero {
	background: linear-gradient(135deg, #FFF5F5 0%, #FFE4E6 50%, #FFC4CC 100%);
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 50%, rgba(196, 30, 58, .06) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(196, 30, 58, .06) 0%, transparent 50%);
	pointer-events: none;
}

.stat-card {
	background: white;
	border-radius: 24px;
	border: 1.5px solid #FFE4E6;
	box-shadow: 0 4px 20px rgba(196, 30, 58, .06);
	transition: all .35s;
}

.stat-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(196, 30, 58, .14);
	border-color: #FFC4CC;
}

.stat-number {
	font-family: 'Playfair Display', serif;
	font-size: 3.5rem;
	font-weight: 700;
	color: #C41E3A;
	line-height: 1;
}

.timeline-item {
	position: relative;
	padding-left: 48px;
}

.timeline-item::before {
	content: '';
	position: absolute;
	left: 16px;
	top: 32px;
	bottom: -16px;
	width: 2px;
	background: linear-gradient(to bottom, #C41E3A, #FFE4E6);
}

.timeline-item:last-child::before {
	display: none;
}

.timeline-dot {
	position: absolute;
	left: 6px;
	top: 8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, #C41E3A, #800020);
	border: 3px solid white;
	box-shadow: 0 0 0 3px #FFE4E6;
}

.process-step {
	position: relative;
}

.process-step:not(:last-child)::after {
	content: '→';
	position: absolute;
	right: -18px;
	top: 50%;
	transform: translateY(-50%);
	color: #FFC4CC;
	font-size: 1.5rem;
	font-weight: 300;
}

@media(max-width:768px) {
	.process-step:not(:last-child)::after {
		display: none;
	}
}

.guarantee-card {
	background: white;
	border-radius: 20px;
	border: 1.5px solid #FFE4E6;
	padding: 28px;
	transition: all .3s;
}

.guarantee-card:hover {
	border-color: #C41E3A;
	box-shadow: 0 8px 28px rgba(196, 30, 58, .1);
	transform: translateY(-4px);
}

.team-card {
	background: white;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
	transition: all .35s;
}

.team-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 40px rgba(196, 30, 58, .15);
}

.team-img-wrap {
	position: relative;
	overflow: hidden;
	height: 280px;
}

.team-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.team-card:hover .team-img-wrap img {
	transform: scale(1.06);
}

.team-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(92, 0, 21, .7) 0%, transparent 50%);
}

.salon-photo {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
}

.salon-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
	display: block;
}

.salon-photo:hover img {
	transform: scale(1.04);
}

.quote-block {
	position: relative;
}

.quote-block::before {
	content: '\201C';
	position: absolute;
	top: -20px;
	left: -8px;
	font-size: 8rem;
	color: #FFE4E6;
	font-family: 'Playfair Display', serif;
	line-height: 1;
	pointer-events: none;
}

.trust-bar {
	background: linear-gradient(135deg, #5C0015 0%, #800020 50%, #C41E3A 100%);
}

@keyframes countUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.counter-animated {
	animation: countUp .6s ease forwards;
}

/* Лепестки */
.petal { position:absolute; width:12px; height:12px; background:radial-gradient(circle,rgba(255,122,141,.8) 0%,rgba(196,30,58,.4) 100%); border-radius:50% 0 50% 50%; pointer-events:none; opacity:.6; animation:float 15s linear infinite; }
@keyframes float { 0%{transform:translateY(0) rotate(0deg) translateX(0);opacity:0}10%{opacity:.7}90%{opacity:.7}100%{transform:translateY(-100vh) rotate(360deg) translateX(50px);opacity:0} }


.page-hero-about { background:linear-gradient(135deg,#FFF5F5 0%,#FFE4E6 50%,#FFC4CC 100%); position:relative; overflow:hidden; }
.page-hero-about::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 20% 50%,rgba(196,30,58,.06) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(196,30,58,.06) 0%,transparent 50%); pointer-events:none; }

/* ── Блог: внутренняя страница статьи ── */

html {
	scroll-behavior: smooth;
}

body {
	font-family: theme('fontFamily.sans');
	background: #FAF7F5;
	color: #1A1A1A;
}

.article-body {
	font-size: 1.05rem;
	line-height: 1.85;
	color: #374151;
}

.article-body h2 {
	font-family: theme('fontFamily.serif');
	font-size: 1.75rem;
	font-weight: 700;
	color: #800020;
	margin: 2.8rem 0 1rem;
	line-height: 1.25;
}

.article-body h3 {
	font-family: theme('fontFamily.serif');
	font-size: 1.3rem;
	font-weight: 600;
	color: #1A1A1A;
	margin: 2rem 0 .75rem;
}

.article-body p {
	margin-bottom: 1.2rem;
}

.article-body strong {
	font-weight: 600;
	color: #1A1A1A;
}

.article-body em {
	font-style: italic;
	color: #6B7280;
}

.article-body ul {
	margin: 0 0 1.4rem 0;
	padding-left: 0;
	list-style: none;
}

.article-body ul li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: .6rem;
}

.article-body ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: .65rem;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #C41E3A, #800020);
}

.article-body ol {
	counter-reset: ol-cnt;
	margin: 0 0 1.4rem 0;
	padding-left: 0;
	list-style: none;
}

.article-body ol li {
	counter-increment: ol-cnt;
	position: relative;
	padding-left: 2rem;
	margin-bottom: .6rem;
}

.article-body ol li::before {
	content: counter(ol-cnt);
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, #C41E3A, #800020);
	color: white;
	font-size: .75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.article-body a {
	color: #C41E3A;
	text-decoration: underline;
	text-decoration-color: rgba(196, 30, 58, .3);
	text-underline-offset: 3px;
	transition: text-decoration-color .2s;
}

.article-body a:hover {
	text-decoration-color: #C41E3A;
}

.blockquote {
	position: relative;
	margin: 2.5rem 0;
	padding: 24px 28px 24px 52px;
	background: linear-gradient(135deg, #FFF5F5, #FFE4E6);
	border-left: 4px solid #C41E3A;
	border-radius: 0 20px 20px 0;
}

.blockquote::before {
	content: '\201C';
	position: absolute;
	left: 14px;
	top: 4px;
	font-size: 4.5rem;
	color: #FFC4CC;
	font-family: theme('fontFamily.serif');
	line-height: 1;
	pointer-events: none;
}

.blockquote p {
	margin: 0 0 .5rem;
	font-size: 1.1rem;
	font-style: italic;
	color: #800020;
	font-family: theme('fontFamily.serif');
}

.blockquote cite {
	font-size: .85rem;
	color: #9CA3AF;
	font-style: normal;
}

.tip-box {
	background: #ECFDF5;
	border: 1.5px solid #BBF7D0;
	border-radius: 16px;
	padding: 18px 22px;
	margin: 2rem 0;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.tip-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #BBF7D0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tip-box p {
	margin: 0;
	font-size: .92rem;
	color: #166534;
	line-height: 1.6;
}

.warn-box {
	background: #FFFBEB;
	border: 1.5px solid #FDE68A;
	border-radius: 16px;
	padding: 18px 22px;
	margin: 2rem 0;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.warn-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #FDE68A;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.warn-box p {
	margin: 0;
	font-size: .92rem;
	color: #92400E;
	line-height: 1.6;
}

.section-break {
	height: 3px;
	background: linear-gradient(90deg, transparent, #FFC4CC, transparent);
	border-radius: 2px;
	margin: 2.5rem 0;
	border: none;
}

.gallery-grid {
	display: grid;
	gap: 12px;
	margin: 2rem 0;
}

.gallery-grid.cols-2 {
	grid-template-columns: 1fr 1fr;
}

.gallery-grid.cols-3 {
	grid-template-columns: 1fr 1fr 1fr;
}

.gallery-grid.featured {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: auto auto;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	cursor: pointer;
}

.gallery-item.tall {
	grid-row: span 2;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
	aspect-ratio: 4/3;
}

.gallery-item.tall img {
	aspect-ratio: unset;
	height: 100%;
}

.gallery-item:hover img {
	transform: scale(1.06);
}

.gallery-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(92, 0, 21, .75) 0%, transparent 100%);
	color: white;
	font-size: .78rem;
	font-weight: 600;
	padding: 20px 12px 10px;
	opacity: 0;
	transition: opacity .3s;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

@media(max-width:640px) {
	.gallery-grid.cols-3 {
		grid-template-columns: 1fr 1fr;
	}

	.gallery-grid.featured {
		grid-template-columns: 1fr;
	}

	.gallery-item.tall img {
		aspect-ratio: 4/3;
	}
}

#lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .92);
	z-index: 200;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

#lightbox.open {
	display: flex;
}

#lightbox img {
	max-width: 90vw;
	max-height: 88vh;
	object-fit: contain;
	border-radius: 12px;
}

#lightbox-close {
	position: absolute;
	top: 20px;
	right: 24px;
	color: white;
	font-size: 2rem;
	cursor: pointer;
	line-height: 1;
}

#lightbox-prev,
#lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, .15);
	color: white;
	border: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 1.4rem;
	cursor: pointer;
	transition: background .2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

#lightbox-prev {
	left: 16px;
}

#lightbox-next {
	right: 16px;
}

#lightbox-prev:hover,
#lightbox-next:hover {
	background: rgba(255, 255, 255, .3);
}

#lightbox-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, .6);
	font-size: .85rem;
}

.toc {
	background: white;
	border: 1.5px solid #FFE4E6;
	border-radius: 20px;
	padding: 24px 28px;
	margin-bottom: 2rem;
}

.toc-title {
	font-family: theme('fontFamily.serif');
	font-size: 1rem;
	font-weight: 700;
	color: #800020;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.toc ol {
	counter-reset: toc;
	list-style: none;
	margin: 0;
	padding: 0;
}

.toc ol li {
	counter-increment: toc;
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 5px 0;
	border-bottom: 1px dotted #FFE4E6;
}

.toc ol li:last-child {
	border-bottom: none;
}

.toc ol li::before {
	content: counter(toc);
	font-size: .72rem;
	font-weight: 700;
	color: white;
	background: #C41E3A;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	min-width: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.toc ol li a {
	font-size: .88rem;
	color: #374151;
	text-decoration: none;
	transition: color .2s;
	line-height: 1.4;
}

.toc ol li a:hover {
	color: #C41E3A;
}

.variety-card {
	background: white;
	border-radius: 20px;
	border: 1.5px solid #FFE4E6;
	overflow: hidden;
	transition: all .3s;
}

.variety-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 32px rgba(196, 30, 58, .12);
	border-color: #FFC4CC;
}

.variety-img {
	height: 160px;
	overflow: hidden;
}

.variety-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s;
}

.variety-card:hover .variety-img img {
	transform: scale(1.07);
}

.variety-body {
	padding: 16px;
}

.variety-badge {
	display: inline-block;
	font-size: .7rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 50px;
	margin-bottom: 8px;
}


.btn-outline {
	background: white;
	color: #C41E3A !important;
	border: 2px solid #FFE4E6;
	font-weight: 600;
	transition: all .3s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.btn-outline:hover {
	border-color: #FFC4CC;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(196, 30, 58, .1);
}

#reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, #C41E3A, #FF7A8D);
	z-index: 200;
	transition: width .1s;
	width: 0;
}

.author-card {
	background: white;
	border-radius: 20px;
	border: 1.5px solid #FFE4E6;
	padding: 24px;
}

.tag {
	display: inline-block;
	background: #FFF5F5;
	color: #800020;
	font-size: .78rem;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 50px;
	border: 1px solid #FFE4E6;
	transition: all .2s;
	text-decoration: none;
}

.tag:hover {
	background: #FFE4E6;
	border-color: #FFC4CC;
}

.share-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 50px;
	border: 1.5px solid #FFE4E6;
	background: white;
	font-size: .85rem;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	transition: all .2s;
}

.share-btn:hover {
	border-color: #FFC4CC;
	background: #FFF5F5;
}

.share-btn.copied {
	border-color: #16a34a;
	color: #16a34a;
	background: #ECFDF5;
}

.related-card {
	background: white;
	border-radius: 20px;
	border: 1.5px solid #FFE4E6;
	overflow: hidden;
	transition: all .3s;
	text-decoration: none;
	color: inherit;
	display: block;
}

.related-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 36px rgba(196, 30, 58, .12);
	border-color: #FFC4CC;
}

.related-img {
	height: 180px;
	overflow: hidden;
}

.related-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s;
}

.related-card:hover .related-img img {
	transform: scale(1.06);
}

.related-body {
	padding: 20px;
}

/* ── Оформление заказа ── */

.btn-outline {
	background: white;
	color: #C41E3A !important;
	border: 2px solid #C41E3A;
	font-weight: 600;
	transition: all .3s;
}

.form-label {
	font-size: .8rem;
	font-weight: 600;
	color: #6B7280;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-bottom: 6px;
	display: block;
}

.form-input {
	width: 100%;
	border: 1.5px solid #E5D0D4;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: .95rem;
	background: white;
	transition: border-color .25s, box-shadow .25s;
	font-family: theme('fontFamily.sans');
}

.form-input:focus {
	outline: none;
	border-color: #C41E3A;
	box-shadow: 0 0 0 3px rgba(196, 30, 58, .1);
}

.form-input::placeholder {
	color: #C4A8AD;
}

.form-input.error {
	border-color: #ef4444;
}

.form-input.valid {
	border-color: #16a34a;
}

select.form-input {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C41E3A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 40px;
}

textarea.form-input {
	resize: none;
}

.form-section {
	background: white;
	border-radius: 24px;
	border: 1.5px solid #FFE4E6;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
	padding: 32px;
}

.section-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #800020;
	margin-bottom: 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid #FFF0F2;
	display: flex;
	align-items: center;
	gap: 10px;
}

.section-icon {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #FFF5F5;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.delivery-toggle {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.delivery-option {
	flex: 1;
	min-width: 180px;
	border: 2px solid #FFE4E6;
	border-radius: 16px;
	padding: 16px 18px;
	cursor: pointer;
	transition: all .25s;
	background: white;
	position: relative;
}

.delivery-option:hover {
	border-color: #FFC4CC;
	background: #FFF5F5;
}

.delivery-option.selected {
	border-color: #C41E3A;
	background: #FFF5F5;
	box-shadow: 0 0 0 3px rgba(196, 30, 58, .1);
}

.delivery-option .radio-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #E0B0B6;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .2s;
	flex-shrink: 0;
}

.delivery-option.selected .radio-dot {
	border-color: #C41E3A;
	background: #C41E3A;
}

.delivery-option.selected .radio-dot::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
	display: block;
}

.pay-option {
	border: 2px solid #FFE4E6;
	border-radius: 16px;
	padding: 18px 20px;
	cursor: pointer;
	transition: all .25s;
	background: white;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.pay-option:hover {
	border-color: #FFC4CC;
	background: #FFF5F5;
}

.pay-option.selected {
	border-color: #C41E3A;
	background: #FFF5F5;
	box-shadow: 0 0 0 3px rgba(196, 30, 58, .1);
}

.pay-radio {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid #E0B0B6;
	flex-shrink: 0;
	margin-top: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .2s;
}

.pay-option.selected .pay-radio {
	border-color: #C41E3A;
	background: #C41E3A;
}

.pay-option.selected .pay-radio::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
	display: block;
}

.cart-item-row {
	display: flex;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid #FFF0F2;
}

.cart-item-row:last-child {
	border-bottom: none;
}

.cart-img {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
}

.cart-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	flex: 1;
}

.progress-dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: .8rem;
	transition: all .3s;
}

.progress-line {
	flex: 1;
	height: 2px;
	margin-top: 15px;
}

.delivery-cost-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 50px;
	font-size: .82rem;
	font-weight: 700;
}

.delivery-cost-badge.free {
	background: #ECFDF5;
	color: #16a34a;
	border: 1px solid #BBF7D0;
}

.delivery-cost-badge.paid {
	background: #FFF5F5;
	color: #C41E3A;
	border: 1px solid #FFC4CC;
}

.total-row {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
}

.total-row.final {
	padding-top: 14px;
	border-top: 2px solid #FFE4E6;
	margin-top: 6px;
}

.char-counter {
	font-size: .75rem;
	color: #9CA3AF;
	text-align: right;
	margin-top: 4px;
}

.char-counter.warn {
	color: #C41E3A;
}

#toast {
	position: fixed;
	bottom: 90px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: #1A1A1A;
	color: white;
	padding: 12px 24px;
	border-radius: 50px;
	font-size: .9rem;
	font-weight: 500;
	opacity: 0;
	pointer-events: none;
	transition: all .3s;
	z-index: 100;
	white-space: nowrap;
}

#toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* ── Контакты ── */

.petal {
	position: absolute;
	width: 12px;
	height: 12px;
	background: radial-gradient(circle, rgba(255, 122, 141, 0.8) 0%, rgba(196, 30, 58, 0.4) 100%);
	border-radius: 50% 0 50% 50%;
	pointer-events: none;
	opacity: 0.6;
	animation: float 15s linear infinite;
}


.btn-rose:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(196, 30, 58, 0.45);
	background: linear-gradient(135deg, #A11D34 0%, #5C0015 100%);
}

.card-rose {
	background: white;
	border-radius: 20px;
	transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-rose:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(196, 30, 58, 0.15);
}

.form-input:focus {
	outline: none;
	border-color: #C41E3A;
	box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

@keyframes blink-phone {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.7);
	}

	50% {
		transform: scale(1.1);
		opacity: 0.9;
		box-shadow: 0 0 0 15px rgba(196, 30, 58, 0);
	}
}

.contact-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	background: white;
	border-radius: 16px;
	border: 1.5px solid #FFE4E6;
	transition: all 0.3s ease;
	text-decoration: none;
	color: inherit;
}

.contact-link:hover {
	border-color: #C41E3A;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(196, 30, 58, 0.12);
	background: #FFF5F5;
}

.contact-link .icon-wrap {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.requisites-card {
	background: white;
	border-radius: 24px;
	border: 1.5px solid #FFE4E6;
	box-shadow: 0 4px 20px rgba(196, 30, 58, 0.06);
}

.requisite-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid #FFF0F2;
	gap: 16px;
}

.requisite-row:last-child {
	border-bottom: none;
}

.requisite-label {
	font-size: 0.8rem;
	color: #9CA3AF;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	flex-shrink: 0;
}

.requisite-value {
	font-size: 0.95rem;
	color: #1A1A1A;
	font-weight: 500;
	text-align: right;
}

.page-hero {
	background: linear-gradient(135deg, #FFF5F5 0%, #FFE4E6 50%, #FFC4CC 100%);
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.06) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(196, 30, 58, 0.06) 0%, transparent 50%);
	pointer-events: none;
}

.social-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s;
	text-decoration: none;
	border: 2px solid transparent;
}

.social-pill:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.map-frame {
	width: 100%;
	height: 400px;
	border-radius: 20px;
	overflow: hidden;
	border: 1.5px solid #FFE4E6;
	box-shadow: 0 4px 20px rgba(196, 30, 58, 0.08);
}

#promo-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 60;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	pointer-events: none;
}

#popup-content {
	background: white;
	border-radius: 24px 24px 0 0;
	padding: 28px 24px;
	width: 100%;
	max-width: 480px;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
	transform: translateY(0);
	transition: transform 0.5s ease;
	pointer-events: auto;
}

#popup-content.translate-y-32 {
	transform: translateY(200px);
}

/* ── Доставка и оплата ── */

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes float {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 0
	}

	10% {
		opacity: .7
	}

	90% {
		opacity: .7
	}

	100% {
		transform: translateY(-100vh) rotate(360deg) translateX(40px);
		opacity: 0
	}
}

.btn-rose:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(196, 30, 58, .45);
}

.page-hero {
	background: linear-gradient(135deg, #FFF5F5 0%, #FFE4E6 60%, #FFC4CC 100%);
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 15% 50%, rgba(196, 30, 58, .07) 0%, transparent 55%), radial-gradient(circle at 85% 80%, rgba(196, 30, 58, .06) 0%, transparent 55%);
	pointer-events: none;
}

.delivery-card {
	background: white;
	border-radius: 20px;
	border: 1.5px solid #FFE4E6;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
	transition: all .35s;
}

.delivery-card:hover {
	border-color: #FFC4CC;
	box-shadow: 0 10px 30px rgba(196, 30, 58, .12);
	transform: translateY(-5px);
}

.delivery-icon {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tariff-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0;
	border-bottom: 1px solid #FFF0F2;
}

.tariff-row:last-child {
	border-bottom: none;
}

.tariff-cell {
	padding: 14px 16px;
	font-size: .9rem;
}

.tariff-cell.label {
	color: #6B7280;
}

.tariff-cell.value {
	font-weight: 600;
	color: #1A1A1A;
}

.tariff-cell.free {
	font-weight: 700;
	color: #16a34a;
}

.tariff-cell.paid {
	font-weight: 700;
	color: #C41E3A;
}

.tariff-head {
	background: linear-gradient(135deg, #800020, #C41E3A);
	color: white;
	font-weight: 700;
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.step-line {
	position: relative;
}

.step-line:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -1px;
	top: 50%;
	transform: translateY(-50%);
	width: 2px;
	height: 60%;
	background: linear-gradient(to bottom, #FFE4E6, #C41E3A, #FFE4E6);
	display: none;
}

@media(min-width:768px) {
	.step-line:not(:last-child)::after {
		display: none;
	}
}

.pay-card {
	background: white;
	border-radius: 20px;
	border: 1.5px solid #FFE4E6;
	padding: 24px;
	transition: all .3s;
}

.pay-card:hover {
	border-color: #C41E3A;
	box-shadow: 0 8px 24px rgba(196, 30, 58, .1);
	transform: translateY(-4px);
}

.faq-item {
	border-bottom: 1px solid #FFF0F2;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height .35s ease;
}

.faq-item.open .faq-answer {
	max-height: 400px;
}

.faq-item.open .faq-chevron {
	transform: rotate(180deg);
}

.faq-chevron {
	transition: transform .3s ease;
	flex-shrink: 0;
}

.warning-block {
	background: linear-gradient(135deg, #FFF5F5, #FFE4E6);
	border: 1.5px solid #FFC4CC;
	border-radius: 20px;
}

.info-block {
	background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
	border: 1.5px solid #BBF7D0;
	border-radius: 20px;
}

.pay-logo {
	background: white;
	border: 1.5px solid #E5E7EB;
	border-radius: 12px;
	padding: 10px 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: .9rem;
	transition: all .25s;
}

.pay-logo:hover {
	border-color: #C41E3A;
	box-shadow: 0 4px 12px rgba(196, 30, 58, .12);
}

.page-nav {
	background: white/95;
	backdrop-filter: blur(8px);
	border-bottom: 1px solid #FFE4E6;
}

.page-nav a {
	font-size: .85rem;
	font-weight: 600;
	color: #6B7280;
	padding: 12px 16px;
	transition: color .2s;
	white-space: nowrap;
}

.page-nav a:hover,
.page-nav a.active {
	color: #C41E3A;
}

/* ── Главная страница ── */

.petal {
	position: absolute;
	width: 12px;
	height: 12px;
	background: radial-gradient(circle, rgba(255, 122, 141, 0.8) 0%, rgba(196, 30, 58, 0.4) 100%);
	border-radius: 50% 0 50% 50%;
	pointer-events: none;
	opacity: 0.6;
	animation: float 15s linear infinite;
}

.filter-btn {
	background: rgba(255, 255, 255, 0.9);
	color: #7A0026;
	border: 2px solid #E0B0B6;
	font-weight: 600;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
	background: #FFF0F3;
	color: #5C0015;
	border-color: #C41E3A;
	transform: translateY(-2px);
}

.filter-btn.active {
	background: linear-gradient(135deg, #C41E3A 0%, #800020 100%);
	color: #FFFFFF !important;
	border-color: #C41E3A;
	box-shadow: 0 4px 14px rgba(196, 30, 58, 0.35);
	transform: translateY(-2px);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.filter-btn.active:hover {
	background: linear-gradient(135deg, #A11D34 0%, #6B0018 100%);
	box-shadow: 0 6px 18px rgba(196, 30, 58, 0.45);
}


.btn-rose:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(196, 30, 58, 0.45);
	background: linear-gradient(135deg, #A11D34 0%, #5C0015 100%);
}

.card-rose {
	background: white;
	border-radius: 20px;
	transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-rose:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(196, 30, 58, 0.15);
}

.product-slider {
	position: relative;
	overflow: hidden;
	touch-action: pan-y;
	/* Разрешает вертикальный скролл, включает горизонтальный свайп */
	user-select: none;
	/* Запрещает выделение текста при перетаскивании */
}

.product-slider img {
	transition: opacity 0.4s ease;
}

.slider-dots {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
}

.slider-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: all 0.3s;
}

.slider-dot.active {
	background: white;
	width: 24px;
	border-radius: 4px;
}

.faq-item {
	border-bottom: 1px solid #f1e5e5;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
	max-height: 300px;
}

.faq-item.active .faq-icon {
	transform: rotate(180deg);
}

.master-card {
	position: relative;
	overflow: hidden;
}

.master-card::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(196, 30, 58, 0.1) 0%, transparent 70%);
	animation: rotate 20s linear infinite;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.blog-card {
	overflow: hidden;
	border-radius: 20px;
	transition: all 0.4s ease;
}

.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.blog-card img {
	transition: transform 0.5s ease;
}

.blog-card:hover img {
	transform: scale(1.08);
}

.promo-extravagant {
	background: linear-gradient(135deg, #FFF5F5 0%, #FFE4E6 50%, #FFC4CC 100%);
	position: relative;
	overflow: hidden;
}

.promo-extravagant::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(196, 30, 58, 0.05) 0%, transparent 50%);
	pointer-events: none;
}

.promo-badge {
	background: linear-gradient(135deg, #C41E3A 0%, #800020 100%);
	color: white;
	padding: 8px 20px;
	border-radius: 50px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 4px 15px rgba(196, 20, 58, 0.3);
	animation: pulse-slow 2s infinite;
}

.price-old {
	text-decoration: line-through;
	color: #999;
	font-size: 0.9em;
}

.price-new {
	color: #C41E3A;
	font-weight: 700;
	font-size: 1.3em;
}

@keyframes blink-phone {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.7);
	}

	50% {
		transform: scale(1.1);
		opacity: 0.9;
		box-shadow: 0 0 0 15px rgba(196, 30, 58, 0);
	}
}

.delivery-badge {
	background: linear-gradient(135deg, #C41E3A 0%, #A11D34 100%);
	color: white;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
}

.badge-hit {
	background: linear-gradient(135deg, #C41E3A 0%, #800020 100%);
	color: white;
	padding: 6px 16px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.75rem;
	box-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
}

.badge-new {
	background: linear-gradient(135deg, #A11D34 0%, #800020 100%);
	color: white;
	padding: 6px 16px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.75rem;
	box-shadow: 0 2px 10px rgba(196, 30, 58, 0.3);
}

.badge-limited {
	background: linear-gradient(135deg, #800020 0%, #5C0015 100%);
	color: white;
	padding: 6px 16px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.75rem;
	box-shadow: 0 2px 10px rgba(128, 0, 32, 0.3);
}

.btn-cart-small {
	background: linear-gradient(135deg, #C41E3A 0%, #800020 100%);
	color: white !important;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.85rem;
	transition: all 0.3s ease;
	flex: 1;
	text-align: center;
}

.btn-cart-small:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(196, 30, 58, 0.4);
}

.btn-details {
	background: white;
	color: #C41E3A !important;
	border: 2px solid #C41E3A;
	padding: 8px 16px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.85rem;
	transition: all 0.3s ease;
	flex: 1;
	text-align: center;
}

.btn-details:hover {
	background: #FFF5F5;
	transform: translateY(-2px);
}

.form-input:focus {
	outline: none;
	border-color: #C41E3A;
	box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

@media (min-width: 768px) {
	.md\:p-8 {
		padding: 2rem 2rem 4rem !important;
	}
}

/* ── Просмотр заказа ── */

h1,
h2,
h3 {
	font-family: theme('fontFamily.serif');
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: all .6s cubic-bezier(.4, 0, .2, 1);
}

.btn-ghost {
	background: transparent;
	color: #C41E3A !important;
	border: 2px solid #FFE4E6;
	font-weight: 600;
	transition: all .3s;
}

.btn-ghost:hover {
	border-color: #C41E3A;
	background: #FFF5F5;
	transform: translateY(-2px);
}

.review-card {
	background: white;
	border-radius: 24px;
	border: 1.5px solid #FFE4E6;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}

.review-card-header {
	padding: 20px 28px;
	border-bottom: 1px solid #FFF0F2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.review-card-body {
	padding: 24px 28px;
}

@media(max-width:640px) {

	.review-card-header,
	.review-card-body {
		padding: 18px 20px;
	}
}

.card-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
	font-weight: 700;
	color: #800020;
}

.card-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #FFF5F5;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.edit-btn {
	font-size: .78rem;
	font-weight: 600;
	color: #C41E3A;
	padding: 5px 14px;
	border: 1.5px solid #FFE4E6;
	border-radius: 50px;
	transition: all .2s;
	white-space: nowrap;
	cursor: pointer;
}

.edit-btn:hover {
	border-color: #C41E3A;
	background: #FFF5F5;
}

.data-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid #FFF5F5;
	align-items: start;
}

.data-row:last-child {
	border-bottom: none;
}

.data-label {
	font-size: .78rem;
	font-weight: 600;
	color: #9CA3AF;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding-top: 2px;
}

.data-value {
	font-size: .95rem;
	font-weight: 500;
	color: #1A1A1A;
	word-break: break-word;
}

.data-value.empty {
	color: #D1C5C7;
	font-style: italic;
	font-weight: 400;
}

@media(max-width:480px) {
	.data-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.data-label {
		font-size: .72rem;
	}
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 12px;
	border-radius: 50px;
	font-size: .78rem;
	font-weight: 700;
}

.badge-green {
	background: #ECFDF5;
	color: #16a34a;
	border: 1px solid #BBF7D0;
}

.badge-rose {
	background: #FFF5F5;
	color: #C41E3A;
	border: 1px solid #FFC4CC;
}

.badge-blue {
	background: #EFF6FF;
	color: #2563eb;
	border: 1px solid #BFDBFE;
}

.badge-gray {
	background: #F9FAFB;
	color: #6B7280;
	border: 1px solid #E5E7EB;
}

.order-item {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid #FFF0F2;
}

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

.item-img {
	width: 72px;
	height: 72px;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	background: #FFE4E6;
	display: flex;
	align-items: center;
	justify-content: center;
}

.item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.total-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
}

.total-line.separator {
	border-top: 1.5px dashed #FFE4E6;
	margin-top: 6px;
	padding-top: 16px;
}

.total-line.final-line {
	border-top: 2px solid #FFE4E6;
	margin-top: 4px;
	padding-top: 16px;
}

.progress-dot {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: .82rem;
}

.progress-line {
	flex: 1;
	height: 2px;
}

.postcard {
	background: linear-gradient(135deg, #FFF5F5, #FFE4E6);
	border: 1.5px dashed #FFC4CC;
	border-radius: 16px;
	padding: 18px 20px;
	position: relative;
	overflow: hidden;
}

.postcard::before {
	content: '\201C';
	position: absolute;
	top: -12px;
	left: 10px;
	font-size: 5rem;
	color: #FFC4CC;
	font-family: 'Playfair Display', serif;
	line-height: 1;
	pointer-events: none;
}

@media print {

	header,
	footer,
	.no-print,
	#petals-container {
		display: none !important;
	}

	body {
		background: white;
	}

	.review-card {
		box-shadow: none;
		border: 1px solid #ddd;
	}

	main {
		padding-top: 16px !important;
	}
}

/* ── Карточка товара ── */

.product-main-slider {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	touch-action: pan-y;
	user-select: none;
}

.product-main-slider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.4s ease;
}

.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.95);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border: 1px solid #FFC4CC;
}

.slider-arrow:hover {
	background: white;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 6px 20px rgba(196, 30, 58, 0.2);
}

.slider-arrow.prev {
	left: 16px;
}

.slider-arrow.next {
	right: 16px;
}

.thumbnail-container {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.thumbnail {
	width: 76px;
	height: 76px;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid #E5E7EB;
	transition: all 0.3s;
	flex-shrink: 0;
}

.thumbnail.active {
	border-color: #C41E3A;
}

.thumbnail:hover {
	border-color: #FF9EAB;
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}



.btn-rose:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(196, 30, 58, 0.4);
}

.btn-outline {
	background: white;
	color: #C41E3A !important;
	border: 2px solid #C41E3A;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-outline:hover {
	background: #FFF5F5;
	transform: translateY(-2px);
}

.btn-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #6B7280;
	font-weight: 500;
	padding: 10px 20px;
	border-radius: 50px;
	background: white;
	border: 1px solid #E5E7EB;
	transition: all 0.3s;
	text-decoration: none;
}

.btn-back:hover {
	background: #FFF5F5;
	border-color: #C41E3A;
	color: #C41E3A;
}

.rec-card {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.35s;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rec-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(196, 30, 58, 0.15);
}

#floating-cart-btn {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 40;
	width: 56px;
	height: 56px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	border: 1px solid #FFC4CC;
	transition: all 0.3s;
	cursor: pointer;
}

#floating-cart-btn:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 20px rgba(196, 30, 58, 0.25);
}

.spec-row {
	display: flex;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid #f1e5e5;
}

.spec-row:last-child {
	border-bottom: none;
}

.spec-label {
	color: #6B7280;
	font-size: 0.95rem;
}

.spec-value {
	font-weight: 600;
	color: #2d2d2d;
	font-size: 0.95rem;
}

@media (max-width: 768px) {
	.slider-arrow {
		width: 38px;
		height: 38px;
	}

	.slider-arrow.prev {
		left: 10px;
	}

	.slider-arrow.next {
		right: 10px;
	}

	.thumbnail {
		width: 64px;
		height: 64px;
	}
}

/* ── Акции ── */

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-rose {
	background: white;
	color: #C41E3A !important;
	border: 2px solid #C41E3A;
	font-weight: 600;
	transition: all .3s ease;
}

.btn-outline-rose:hover {
	background: #FFF5F5;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(196, 30, 58, .15);
}

.page-hero {
	background: linear-gradient(135deg, #5C0015 0%, #800020 40%, #C41E3A 100%);
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}

.countdown-block {
	background: rgba(255, 255, 255, .12);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 16px;
	padding: 8px 16px;
}

.countdown-num {
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	font-weight: 700;
	color: white;
	line-height: 1;
}

.countdown-label {
	font-size: .65rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .6);
	margin-top: 2px;
}

.promo-card {
	background: white;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
	border: 1.5px solid #FFE4E6;
	display: grid;
	grid-template-columns: 280px 1fr;
	transition: all .4s cubic-bezier(.25, .46, .45, .94);
	position: relative;
}

.promo-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(196, 30, 58, .14);
	border-color: #FFC4CC;
}

@media(max-width:768px) {
	.promo-card {
		grid-template-columns: 1fr;
	}
}

.promo-img-wrap {
	position: relative;
	overflow: hidden;
}

.promo-img-wrap img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	transition: transform .5s ease;
	display: block;
}

.promo-card:hover .promo-img-wrap img {
	transform: scale(1.06);
}

.discount-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: linear-gradient(135deg, #C41E3A, #800020);
	color: white;
	font-weight: 800;
	font-size: 1.1rem;
	padding: 6px 14px;
	border-radius: 50px;
	box-shadow: 0 4px 16px rgba(196, 30, 58, .5);
	font-family: 'Playfair Display', serif;
}

.promo-type-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(4px);
	color: #800020;
	font-weight: 700;
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: 5px 12px;
	border-radius: 50px;
	border: 1px solid rgba(196, 30, 58, .2);
}

.card-timer {
	position: absolute;
	bottom: 14px;
	left: 14px;
	right: 14px;
	background: rgba(0, 0, 0, .65);
	backdrop-filter: blur(6px);
	border-radius: 12px;
	padding: 8px 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: white;
	font-size: .8rem;
}

.card-timer-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #FF4D6D;
	animation: pulse-dot 1.5s infinite;
	flex-shrink: 0;
}

@keyframes pulse-dot {

	0%,
	100% {
		opacity: 1;
		transform: scale(1)
	}

	50% {
		opacity: .5;
		transform: scale(1.3)
	}
}

.promo-body {
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
}

@media(max-width:768px) {
	.promo-body {
		padding: 20px;
	}
}

.promo-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 1.3;
	margin-bottom: 8px;
}

.promo-desc {
	font-size: .92rem;
	color: #6B7280;
	line-height: 1.6;
}

.promo-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.promo-tag {
	background: #FFF5F5;
	color: #800020;
	font-size: .75rem;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 50px;
	border: 1px solid #FFE4E6;
}

.price-block {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}

.price-new {
	font-family: 'Playfair Display', serif;
	font-size: 2.2rem;
	font-weight: 700;
	color: #C41E3A;
	line-height: 1;
}

.price-old {
	font-size: 1.1rem;
	color: #9CA3AF;
	text-decoration: line-through;
}

.price-economy {
	background: #ECFDF5;
	color: #16a34a;
	font-size: .8rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 50px;
	border: 1px solid #BBF7D0;
	align-self: center;
}

.promo-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.promo-actions a,
.promo-actions button {
	flex: 1;
	min-width: 140px;
	padding: 13px 20px;
	border-radius: 50px;
	text-align: center;
	font-size: .9rem;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}

.section-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, #FFE4E6 20%, #FFE4E6 80%, transparent);
	margin: 4px 0;
}

.filter-btn {
	background: rgba(255, 255, 255, .9);
	color: #7A0026;
	border: 2px solid #E0B0B6;
	font-weight: 600;
	transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.filter-btn:hover {
	background: #FFF0F3;
	color: #5C0015;
	border-color: #C41E3A;
	transform: translateY(-2px);
}

.filter-btn.active {
	background: linear-gradient(135deg, #C41E3A 0%, #800020 100%);
	color: #fff !important;
	border-color: #C41E3A;
	box-shadow: 0 4px 14px rgba(196, 30, 58, .35);
	transform: translateY(-2px);
}

.promo-counter {
	background: linear-gradient(135deg, #FFF5F5, #FFE4E6);
	border: 1.5px solid #FFC4CC;
	border-radius: 50px;
	padding: 6px 18px;
	font-size: .85rem;
	font-weight: 600;
	color: #800020;
}

.new-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #FF4D6D;
	animation: pulse-dot 1.5s infinite;
	margin-right: 6px;
	vertical-align: middle;
}

/*Корзина*/
/* ── Карточка товара в корзине ── */
.cart-item {
	background: white;
	border-radius: 20px;
	border: 1.5px solid #FFE4E6;
	padding: 20px;
	display: grid;
	grid-template-columns: 100px 1fr auto;
	gap: 20px;
	align-items: center;
	transition: all .3s cubic-bezier(.25, .46, .45, .94);
	position: relative;
}

.cart-item:hover {
	border-color: #FFC4CC;
	box-shadow: 0 6px 24px rgba(196, 30, 58, .08);
}

.cart-item.removing {
	opacity: 0;
	transform: translateX(30px) scale(.97);
}

@media(max-width:560px) {
	.cart-item {
		grid-template-columns: 80px 1fr;
		grid-template-rows: auto auto;
	}

	.cart-item-actions {
		grid-column: 1/-1;
	}
}

/* ── Миниатюра ── */
.cart-item-img {
	width: 100px;
	height: 100px;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	border: 1.5px solid #FFE4E6;
}

.cart-item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s;
}

.cart-item:hover .cart-item-img img {
	transform: scale(1.06);
}

@media(max-width:560px) {
	.cart-item-img {
		width: 80px;
		height: 80px;
	}
}

/* ── Кнопка удаления ── */
.remove-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #FFF5F5;
	border: 1.5px solid #FFE4E6;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .25s;
	flex-shrink: 0;
	color: #C41E3A;
}

.remove-btn:hover {
	background: #FFC4CC;
	border-color: #C41E3A;
	transform: scale(1.1);
}

/* ── Счётчик количества ── */
.qty-control {
	display: inline-flex;
	align-items: center;
	gap: 0;
	background: #FFF5F5;
	border: 1.5px solid #FFE4E6;
	border-radius: 50px;
	overflow: hidden;
}

.qty-btn {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: 600;
	color: #C41E3A;
	cursor: pointer;
	border: none;
	background: transparent;
	transition: background .2s;
	flex-shrink: 0;
}

.qty-btn:hover {
	background: #FFE4E6;
}

.qty-num {
	min-width: 32px;
	text-align: center;
	font-size: .95rem;
	font-weight: 700;
	color: #1A1A1A;
	user-select: none;
}

/* ── Бейдж скидки ── */
.badge-discount {
	position: absolute;
	top: 14px;
	left: 14px;
	background: linear-gradient(135deg, #C41E3A, #800020);
	color: white;
	font-size: .7rem;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 50px;
	box-shadow: 0 2px 8px rgba(196, 30, 58, .4);
}

/* ── Итого-блок ── */
.summary-card {
	background: white;
	border-radius: 24px;
	border: 1.5px solid #FFE4E6;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
	overflow: hidden;
}

.summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px dashed #FFF0F2;
}

.summary-row:last-of-type {
	border-bottom: none;
}

.summary-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0 0;
	border-top: 2px solid #FFE4E6;
	margin-top: 8px;
}

/* ── Промокод ── */
.promo-bar {
	display: flex;
	gap: 8px;
	background: #FFF5F5;
	border: 1.5px solid #FFE4E6;
	border-radius: 14px;
	padding: 8px 8px 8px 16px;
	transition: border-color .25s;
}

.promo-bar:focus-within {
	border-color: #C41E3A;
}

.promo-bar input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	font-size: .9rem;
	color: #1A1A1A;
	font-family: theme('fontFamily.sans');
}

.promo-bar input::placeholder {
	color: #C4A8AD;
}

.promo-bar button {
	background: linear-gradient(135deg, #C41E3A, #800020);
	color: white;
	border: none;
	border-radius: 10px;
	padding: 8px 18px;
	font-size: .82rem;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s;
	white-space: nowrap;
}

.promo-bar button:hover {
	opacity: .9;
}

/* ── Бесплатная доставка прогресс-бар ── */
.free-delivery-bar {
	height: 6px;
	background: #FFE4E6;
	border-radius: 3px;
	overflow: hidden;
}

.free-delivery-progress {
	height: 100%;
	background: linear-gradient(90deg, #C41E3A, #FF7A8D);
	border-radius: 3px;
	transition: width .5s ease;
}

/* ── Пустая корзина ── */
.empty-cart {
	display: none;
}

.empty-cart.visible {
	display: flex;
}

/* ── Гарантии ── */
.guarantee-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #FFF5F5;
	border: 1px solid #FFE4E6;
	border-radius: 12px;
	padding: 10px 14px;
	font-size: .8rem;
	font-weight: 500;
	color: #6B7280;
}

/* ── Похожие товары ── */
.related-card {
	background: white;
	border-radius: 20px;
	border: 1.5px solid #FFE4E6;
	overflow: hidden;
	transition: all .3s;
	text-decoration: none;
	color: inherit;
	display: block;
}

.related-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(196, 30, 58, .12);
	border-color: #FFC4CC;
}

.related-card-img {
	height: 160px;
	overflow: hidden;
}

.related-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}

.related-card:hover .related-card-img img {
	transform: scale(1.06);
}

.related-card-body {
	padding: 16px;
}

/* ── Разделитель ── */
.divider-rose {
	height: 4px;
	background: linear-gradient(90deg, transparent, #C41E3A, transparent);
	border-radius: 2px;
}

.buy-now{
	display: flex; 
	align-items: center; 
	justify-content: center; 
	text-align: center;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  color: #1A1A1A;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cart-btn:hover {
  background-color: #FFE4E6;
  color: #A11D34;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;

  min-width: 18px;
  height: 20px;
  padding: 0 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #C41E3A;
  color: #fff;

  font-size: 11px;
  font-weight: 700;
  line-height: 1;

  border-radius: 999px;
  border: 2px solid #fff;

  box-sizing: border-box;
}

.cart-count.hidden {
  display: none;
}

