@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
	--primary: #0C1B33;
	--accent: #00B4D8;
	--cta: #F77F00;
	--cta-hover: #e06d00;
	--bg: #F8FAFD;
	--white: #ffffff;
	--text: #1C2B40;
	--text-muted: #6B7A8D;
	--border: #DDE3ED;
	--shadow: 0 4px 20px rgba(12, 27, 51, 0.08);
	--radius: 12px;
}

* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	outline: none;
}

body {
	font-family: 'Poppins', Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	scroll-behavior: smooth;
}

a {
	color: var(--accent);
	font-weight: 600;
	text-decoration: underline;
	overflow-wrap: anywhere;
}

a:hover {
	color: var(--cta);
	text-decoration: none;
}

.container {
	width: 1000px;
	max-width: 100%;
	margin: 0 auto;
	position: relative;
}

/* ── Header & Logo ── */
.header {
	background: linear-gradient(135deg, var(--primary) 0%, #1a3255 100%);
	padding: 4px 0;
	box-shadow: 0 2px 12px rgba(12, 27, 51, 0.25);
}

.logo {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	color: var(--accent);
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	margin: 14px auto;
	display: block;
	font-size: 52px;
	letter-spacing: 4px;
	text-shadow: 0 2px 8px rgba(0, 180, 216, 0.3);
}

.logo:hover {
	color: var(--accent);
}

/* ── Navigation ── */
.nav {
	background: var(--primary);
	line-height: 44px;
	border-bottom: 2px solid var(--accent);
}

.nav li {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	padding: 0 10px;
}

.nav li a {
	text-decoration: none;
	color: rgba(255,255,255,0.85);
	text-transform: uppercase;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 1.5px;
	-webkit-transition: color .25s;
	transition: color .25s;
}

.nav li a:hover {
	color: var(--accent);
	-webkit-transition: color .25s;
	transition: color .25s;
}

.social {
	position: absolute;
	right: 5px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
}

.social li {
	display: inline-block;
	vertical-align: middle;
	font-size: 20px;
}

.social li .facebook { color: #3b5998; }
.social li .youtube  { color: #d8362a; }
.social li .twitter  { color: #55bfee; }

/* ── Content card ── */
.content {
	display: inline-block;
	width: 100%;
	background: var(--white);
	padding: 30px 28px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	margin-top: 14px;
	margin-bottom: 14px;
}

.soc_crumbs {
	font-size: 0;
	background: #EEF2F8;
	border-radius: 8px;
	padding: 8px 10px;
	margin-bottom: 14px;
}

.soc_crumbs .soc_img {
	display: inline-block;
	vertical-align: middle;
	width: 50%;
}

.content .soc_crumbs .soc_img img {
	width: auto;
	margin: 0;
}

.soc_crumbs span {
	display: inline-block;
	vertical-align: middle;
	width: 50%;
	font-size: 13px;
	text-align: right;
	color: var(--text-muted);
}

.content h1 {
	text-align: center;
	margin-bottom: 18px;
	color: var(--primary);
	line-height: 1.3;
}

.content h2 {
	font-size: 19px;
	border-bottom: 3px solid var(--accent);
	padding-bottom: 12px;
	padding-top: 10px;
	color: var(--primary);
}

.content .photo_block {
	font-size: 0;
	width: 100%;
	max-width: 100%;
}

.content .photo_block img {
	display: inline-block;
	vertical-align: top;
	width: 50%;
}

/* ── CTA Button ── */
.btn {
	text-transform: uppercase;
	background: linear-gradient(135deg, var(--cta) 0%, #e06d00 100%);
	border-radius: 50px;
	font-family: 'Poppins', Arial, sans-serif;
	font-weight: 700;
	color: #fff;
	font-size: 20px;
	padding: 13px 28px;
	text-decoration: none;
	cursor: pointer;
	display: block;
	text-align: center;
	width: 320px;
	max-width: 92%;
	margin: 22px auto;
	letter-spacing: 1px;
	box-shadow: 0 6px 18px rgba(247, 127, 0, 0.35);
	-webkit-transition: transform .2s, box-shadow .2s;
	transition: transform .2s, box-shadow .2s;
}

.btn:hover {
	background: linear-gradient(135deg, #e06d00 0%, var(--cta) 100%);
	text-decoration: none;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(247, 127, 0, 0.45);
}

.content p,
.content img,
.content h1,
.content h2 {
	margin-bottom: 16px;
}

.content p {
	line-height: 1.65;
	color: var(--text);
}

.content img {
	display: block;
	max-width: 100%;
	margin: 0 auto 10px;
	border-radius: 8px;
}

.content .prod {
	max-width: 220px;
	width: 100%;
	margin: 0 auto 16px;
}

.content .list { margin-bottom: 16px; }
.content .list p { margin-bottom: 0; }

/* ── Social block ── */
.social_block {
	border: 2px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 20px;
}

.content .social_block span {
	font-weight: 700;
	display: block;
	margin-bottom: 16px;
	color: var(--primary);
}

.content .social_block img {
	width: auto;
	max-width: 100%;
	margin: 0;
}

/* ── Comment badges ── */
.quantity {
	color: var(--primary);
	font-weight: 700;
	padding: 3px 8px;
	background: #DDE3ED;
	border-radius: 6px;
	margin-bottom: 20px;
	display: inline-block;
	font-size: 13px;
}

.comment {
	border-bottom: 1px solid var(--border);
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.content .comment .avatar {
	width: 48px;
	height: 48px;
	margin-right: 10px;
	display: inline-block;
	vertical-align: top;
	background-color: var(--bg);
	border-radius: 50%;
	border: 2px solid var(--border);
}

.comm_text {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 65px);
}

.content .comm_text .user_name {
	color: var(--primary);
	font-weight: 700;
	font-size: 12px;
	margin-bottom: 0;
}

.content .comm_text .text { font-size: 15px; }

.content .comm_text .time {
	color: var(--text-muted);
	margin-bottom: 0;
	font-size: 12px;
}

p > a { white-space: nowrap; }

/* ── Burger (mobile) ── */
.burg { display: none; }

/* ── Popup ── */
.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	        transform: translate(-50%, -50%);
	width: 781px;
	height: 460px;
	background: linear-gradient(135deg, var(--primary), #1a3255);
	border: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: 30px;
	display: none;
	box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.popup h1 {
	color: var(--accent);
	text-align: center;
	margin-bottom: 25px;
}

.popup img {
	width: 170px;
	margin-right: 20px;
	display: inline-block;
	vertical-align: middle;
	border-radius: 8px;
}

.popup .text {
	display: inline-block;
	vertical-align: middle;
	width: calc(100% - 270px);
}

.popup .text p {
	font-size: 22px;
	color: #fff;
	margin-bottom: 16px;
}

.popup .popup_btn {
	display: block;
	max-width: 345px;
	margin: 10px auto;
	font-size: 20px;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	border: 2px solid var(--accent);
	text-align: center;
	border-radius: 50px;
	padding: 12px 15px !important;
	margin-top: 25px;
	-webkit-transition: .25s;
	transition: .25s;
}

.popup .popup_btn:hover {
	background: var(--accent);
	color: var(--primary);
	-webkit-transition: .25s;
	transition: .25s;
}

.close {
	position: absolute;
	top: -39px;
	right: -43px;
	border: 2px solid var(--accent);
	border-radius: 50%;
	width: 31px;
	height: 31px;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	color: var(--accent);
	cursor: pointer;
	background: var(--primary);
}

/* ── Form inputs ── */
#order_form { margin: 30px auto; }

.text9 {
	font-size: 16px;
	font-weight: 700;
	color: var(--accent);
	padding: 0 12px 16px;
}

input,
select {
	height: 44px;
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	padding-left: 15px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	-webkit-box-shadow: 0 0 0 2px var(--border);
	        box-shadow: 0 0 0 2px var(--border);
	border: none;
	border-radius: 8px;
	outline: none;
	font-family: 'Poppins', sans-serif;
	-webkit-transition: box-shadow .2s;
	transition: box-shadow .2s;
}

input:focus,
select:focus {
	box-shadow: 0 0 0 2px var(--accent);
}

select {
	background: #EEF2F8 no-repeat 96% center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

select::-ms-expand { display: none; }

/* ── Price badge ── */
.price {
	position: absolute;
	font-family: 'Poppins', Arial, sans-serif;
	right: 0;
	bottom: 0;
	color: #000;
	box-shadow: rgba(0,0,0,0.6) 0 3px 20px;
	width: 165px;
	height: 98px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	-webkit-transform: rotateZ(-7deg);
	        transform: rotateZ(-7deg);
	text-align: center !important;
	margin: 0 auto;
	background: linear-gradient(to right, #EEA519 0%, #FDED13 100%);
	border: 2px solid #fff;
	border-radius: 19%;
}

span.discount {
	display: block;
	margin-top: 9px;
	font-size: 18px;
}

.price_main {
	border-bottom: 2px solid #d31812;
	font-size: 24px;
	line-height: 0;
	margin: 0 auto;
}

.price_s {
	display: inherit;
	margin-bottom: 9px;
}

.prod_img_wrapper {
	max-width: 300px;
	margin: 15px auto;
	position: relative;
}

.form__block { text-align: center; }

.ruletka-p h2 {
	font-size: 25px;
	margin-bottom: 15px;
	color: var(--primary);
}

.ruletka-p {
	text-indent: 0;
	color: var(--text);
	text-align: center !important;
	margin: 15px;
	line-height: 25px;
	font-weight: 700;
}

.main-lnk {
	text-decoration: none;
	color: inherit;
}

form .input-wrapper label {
	display: none;
	pointer-events: none;
}

form .input-wrapper {
	max-width: 274px;
	width: 100%;
	position: relative;
	margin: 0 auto 12px;
}

form .input-wrapper .error {
	border: 2px solid #e53e3e !important;
	padding-top: 6px !important;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

form .input-wrapper .error + label {
	width: 100%;
	height: 100%;
	color: #e53e3e;
	display: block !important;
	font-size: 11px;
	line-height: 17px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 111;
	padding-left: 15px;
	text-align: left;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

form .input-wrapper .error + label:before,
form .input-wrapper .error + label:after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 3px;
	height: 21px;
	background-color: #e53e3e;
}

form .input-wrapper .error + label:before {
	-webkit-transform: translate(0, -50%) rotate(135deg);
	transform: translate(0, -50%) rotate(135deg);
}

form .input-wrapper .error + label:after {
	-webkit-transform: translate(0, -50%) rotate(45deg);
	transform: translate(0, -50%) rotate(45deg);
}

.footer { background: transparent !important; }

/* ── Footer legal block ── */
.ac_footer {
	background: var(--primary);
	color: rgba(255,255,255,0.7);
	border-radius: var(--radius);
	margin-top: 24px;
	margin-bottom: 30px;
	padding: 24px 20px;
	text-align: center;
}

.ac_footer a {
	color: var(--accent);
	font-weight: 600;
}

.ac_footer a:hover {
	color: var(--cta);
}

.ac_footer p { text-align: center; }

/* ── Comments form ── */
.comments__form {
	margin-top: 45px;
	margin-bottom: 84px;
	text-align: center;
}

.comments__title {
	margin-bottom: 18px;
	color: var(--primary);
}

.comments__form-row {
	margin: 0 auto 10px;
	min-width: 273px;
	max-width: 300px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.comments__form-row label { font-size: 14px; }

.comments__form-row input {
	width: 200px;
	font-size: 12px;
}

.comments__form-row textarea { width: 150px; }

.comments__form .btn {
	width: 100px;
	background: var(--border);
	font-size: 15px;
	color: var(--text);
	border: 1px solid var(--text-muted);
	border-radius: 6px;
	text-transform: none;
	box-shadow: none;
}

/* ── Responsive ── */
@media all and (max-width: 1000px) {
	.social,
	.soc_crumbs,
	.sidebar,
	.social_block,
	.nav li {
		display: none;
	}

	.content { width: 100%; }

	.logo {
		font-size: 42px;
		margin: 8px auto;
	}

	.content h1 { font-size: 22px; }

	.btn { font-size: 17px; }

	.nav { line-height: 12px; }

	.burg {
		display: block;
		margin: 0 auto;
		text-align: center;
	}

	.burg img { width: 40px; }

	.popup {
		width: 315px;
		height: auto;
		padding: 10px;
		overflow: auto;
		max-height: 100%;
	}

	.popup img {
		width: 120px;
		margin: 0 auto;
		display: block;
	}

	.close {
		top: 5px;
		right: 5px;
		color: var(--accent);
	}

	.popup .text { width: 100%; }

	.popup h1 {
		margin-bottom: 16px;
		padding: 0 20px;
		font-size: 20px;
	}

	.popup .text p {
		font-size: 15px;
		margin-bottom: 10px;
	}

	.popup .popup_btn { font-size: 15px; }
}

@media screen and (max-width: 991px) {
	.main-lnk { display: contents; }

	.comment a img,
	.content .comment .avatar { float: left; }

	.comm_text {
		width: 100%;
		display: inline;
	}

	.blockRedLine3103__image { display: none; }
}

@media (max-width: 420px) {
	* {
		font-size: 22px !important;
		line-height: 1.3 !important;
	}

	.logo { font-size: 26px !important; }

	.content h1 { font-size: 24px !important; }

	.content .photo_block img { width: 100% !important; }

	.content { padding: 20px 10px; }
}
