/*
Theme Name: redsun
Theme URI:	https://rsq.kz
Author: kazweb.pro
Author URI: https://kazweb.pro
Description: The Minimal.
Version: 0.1.0
*/


@layer reset, layout, theme, base, components, utilities;

@layer reset {
	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}
	html {
		font-family: sans-serif;
		line-height: 1.15;
		-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: 100%;
		-ms-overflow-style: scrollbar;
		-webkit-tap-highlight-color: transparent;
	}
	@media (prefers-reduced-motion: no-preference) {
		html {
			scroll-behavior: smooth;
		}
	}
	@-ms-viewport {
		width: device-width;
	}
	article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
		display: block;
	}
	body {
		margin: 0;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
		font-size: 1rem;
		font-weight: 400;
		line-height: 1.5;
		color: #212529;
		text-align: left;
		background-color: #fff;
	}
	[tabindex="-1"]:focus {
		outline: 0 !important;
	}
	hr {
		box-sizing: content-box;
		height: 0;
		overflow: visible;
	}
	h1, h2, h3, h4, h5, h6 {
		margin-top: 0;
		margin-bottom: 0.5rem;
	}
	p {
		margin-top: 0;
		margin-bottom: 1rem;
	}
	abbr[title],
	abbr[data-original-title] {
		text-decoration: underline;
		-webkit-text-decoration: underline dotted;
		text-decoration: underline dotted;
		cursor: help;
		border-bottom: 0;
	}
	address {
		margin-bottom: 1rem;
		font-style: normal;
		line-height: inherit;
	}
	ol,
	ul,
	dl {
		margin-top: 0;
		margin-bottom: 1rem;
	}
	ol ol,
	ul ul,
	ol ul,
	ul ol {
		margin-bottom: 0;
	}
	dt {
		font-weight: 700;
	}
	dd {
		margin-bottom: .5rem;
		margin-left: 0;
	}
	blockquote {
		margin: 0 0 1rem;
	}
	dfn {
		font-style: italic;
	}
	b,
	strong {
		font-weight: bolder;
	}
	small {
		font-size: 80%;
	}
	sub,
	sup {
		position: relative;
		font-size: 75%;
		line-height: 0;
		vertical-align: baseline;
	}
	sub {
		bottom: -.25em;
	}
	sup {
		top: -.5em;
	}
	a {
		color: #007bff;
		text-decoration: none;
		background-color: transparent;
		-webkit-text-decoration-skip: objects;
	}
	a:hover {
		color: #0056b3;
		text-decoration: underline;
	}
	a:not([href]):not([tabindex]) {
		color: inherit;
		text-decoration: none;
	}
	a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
		color: inherit;
		text-decoration: none;
	}
	a:not([href]):not([tabindex]):focus {
		outline: 0;
	}
	pre,
	code,
	kbd,
	samp {
		font-family: monospace, monospace;
		font-size: 1em;
	}
	pre {
		margin-top: 0;
		margin-bottom: 1rem;
		overflow: auto;
		-ms-overflow-style: scrollbar;
	}
	figure {
		margin: 0 0 1rem;
	}
	img {
		vertical-align: middle;
		border-style: none;
	}
	svg:not(:root) {
		overflow: hidden;
	}
	table {
		border-collapse: collapse;
	}
	caption {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
		color: #6c757d;
		text-align: left;
		caption-side: bottom;
	}
	th {
		text-align: inherit;
	}
	label {
		display: inline-block;
		margin-bottom: .5rem;
	}
	button {
		border-radius: 0;
	}
	button:focus {
		outline: 1px dotted;
		outline: 5px auto -webkit-focus-ring-color;
	}
	input,
	button,
	select,
	optgroup,
	textarea {
		margin: 0;
		font-family: inherit;
		font-size: inherit;
		line-height: inherit;
	}
	button,
	input {
		overflow: visible;
	}
	button,
	select {
		text-transform: none;
	}
	button,
	html [type="button"],
	[type="reset"],
	[type="submit"] {
		-webkit-appearance: button;
	}
	button::-moz-focus-inner,
	[type="button"]::-moz-focus-inner,
	[type="reset"]::-moz-focus-inner,
	[type="submit"]::-moz-focus-inner {
		padding: 0;
		border-style: none;
	}
	input[type="radio"],
	input[type="checkbox"] {
		box-sizing: border-box;
		padding: 0;
	}
	input[type="date"],
	input[type="time"],
	input[type="datetime-local"],
	input[type="month"] {
		-webkit-appearance: listbox;
	}
	textarea {
		overflow: auto;
		resize: vertical;
	}
	fieldset {
		min-width: 0;
		padding: 0;
		margin: 0;
		border: 0;
	}
	legend {
		display: block;
		width: 100%;
		max-width: 100%;
		padding: 0;
		margin-bottom: .5rem;
		font-size: 1.5rem;
		line-height: inherit;
		color: inherit;
		white-space: normal;
	}
	progress {
		vertical-align: baseline;
	}
	[type="number"]::-webkit-inner-spin-button,
	[type="number"]::-webkit-outer-spin-button {
		height: auto;
	}
	[type="search"] {
		outline-offset: -2px;
		-webkit-appearance: none;
	}
	[type="search"]::-webkit-search-cancel-button,
	[type="search"]::-webkit-search-decoration {
		-webkit-appearance: none;
	}
	::-webkit-file-upload-button {
		font: inherit;
		-webkit-appearance: button;
	}
	output {
		display: inline-block;
	}
	summary {
		display: list-item;
		cursor: pointer;
	}
	template {
		display: none;
	}
	[hidden] {
		display: none !important;
	}
}

@layer layout {
	.container {
		width: 100%;
		padding-right: 20px;
		padding-left: 20px;
		margin-right: auto;
		margin-left: auto;
	}
	@media (min-width: 576px) {
		.container {
			max-width: 540px;
		}
	}
	@media (min-width: 768px) {
		.container {
			max-width: 720px;
		}
	}
	@media (min-width: 992px) {
		.container {
			max-width: 960px;
		}
	}
	@media (min-width: 1200px) {
		.container {
			max-width: 1240px;
		}
	}
	@media (min-width: 1400px) {
		.container {
			max-width: 1320px;
		}
	}
	.flex {
		display: flex;
		gap: var(--gap-lg);
	}
	.flex-col {
		flex-direction: column
	}
	.flex-col-reverse {
		flex-direction: column-reverse
	}
	.flex-row {
		flex-direction: row
	}
	.flex-row-reverse {
		flex-direction: row-reverse
	}
	.flex-nowrap {
		flex-wrap: nowrap
	}
	.flex-wrap {
		flex-wrap: wrap
	}
	.content-center {
		align-content: center
	}
	.items-baseline {
		align-items: baseline
	}
	.align-start {
		align-items: start;
	}
	.items-center {
		align-items: center
	}
	.items-end {
		align-items: flex-end
	}
	.items-start {
		align-items: flex-start
	}
	.items-stretch {
		align-items: stretch
	}
	.justify-around {
		justify-content: space-around
	}
	.justify-between {
		justify-content: space-between
	}
	.justify-center {
		justify-content: center
	}
	.justify-end {
		justify-content: flex-end
	}
	.justify-evenly {
		justify-content: space-evenly
	}
	.justify-start {
		justify-content: flex-start
	}
	.justify-stretch {
		justify-content: stretch
	}
	.justify-items-center {
		justify-items: center
	}
	.justify-items-end {
		justify-items: end
	}
	.justify-items-start {
		justify-items: start
	}
	.grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
		gap: var(--gap-lg);
	}
	.grid-cols-1 {
		grid-template-columns: repeat(1,minmax(0,1fr))
	}
	.grid-cols-2 {
		grid-template-columns: repeat(2,minmax(0,1fr))
	}
	.grid-cols-3 {
		grid-template-columns: repeat(3,minmax(0,1fr))
	}
	.grid-cols-4 {
		grid-template-columns: repeat(4,minmax(0,1fr))
	}
	.grid-cols-5 {
		grid-template-columns: repeat(5,minmax(0,1fr))
	}
	.grid-cols-6 {
		grid-template-columns: repeat(5,minmax(0,1fr))
	}
	.grid-item {
		display: flex;
	}
}

@layer theme {
	:root {
		--color-bg: #f0f4f7;
		--color-dark: #0d0d0c;
		--color-white: #ffffff;
		--color-primary: #d20a11;
		--color-primary-hover: #1d4ed8;
		--color-border: #e5e7eb;
		--color-muted: #64748b;
		--color-danger: #dc2626;
		--color-green: #10302a;
		--color-favorites: #f6e9e269;
		--color-grey: #e7eaea;
		--color-red: #c0392b;
		--color-grey-text: #696969;

		--fs-xs: 0.75rem;
		--fs-sm: 0.875rem;
		--fs-md: 0.9375rem;
		--fs-base: 1rem;
		--fs-lg: 1.125rem;
		--fs-xl: 1.25rem;
		--fs-2xl: 1.5rem;
		--fs-3xl: 1.875rem;
		--fs-4xl: 2rem;
		--fs-5xl: 2.5rem;
		--fs-6xl: 3rem;

		--font-weight-extralight: 200;
		--font-weight-light: 300;
		--font-weight-normal: 400;
		--font-weight-medium: 500;
		--font-weight-semibold: 600;
		--font-weight-bold: 700;
		--font-weight-black: 900;

		--line-height-xs: 1;
		--line-height-sm: 1.2;
		--line-height-md: 1.35;
		--line-height-base: 1.5;
		--line-height-lg: 1.625;
		--line-height-xl: 1.75;

		--space-1: 0.25rem;
		--space-2: 0.5rem;
		--space-3: 0.875rem;
		--space-4: 1rem;
		--space-5: 1.5rem;
		--space-6: 2rem;

		--radius-xs: .125rem;
		--radius-sm: .25rem;
		--radius-md: .375rem;
		--radius-lg: .5rem;
		--radius-xl: .75rem;
		--radius-2xl: 1rem;
		--radius-3xl: 1.5rem;
		--radius-4xl: 2rem;

		--gap-xs: .5rem;
		--gap-sm: .75rem;
		--gap-md: 1rem;
		--gap-lg: 1.5rem;
		--gap-xl: 2rem;
	}
}

@layer base {
	body {
		font-family: "Inter", sans-serif;
		font-size: var(--fs-base);
		font-weight: var(--font-weight-normal);
		line-height: var(--line-height-base);
		color: var(--color-dark);
		background: var(--color-white);
		text-wrap: balance;
	}
	h1 {
		font-size: clamp(1.875rem, 3vw, 2.5rem);
	}
	h2 {
		font-size: clamp(1.5rem, 2.5vw, 2rem);
	}
	h3 {
		font-size: clamp(1.25rem, 2vw, 1.75rem);
	}
	h4 {
		font-size: clamp(1.25rem, 2vw, 1.5rem);
	}
	h5 {
		font-size: clamp(1.125rem, 1.5vw, 1.25rem);
	}
	h6 {
		font-size: clamp(1rem, 1.2vw, 1.125rem);
	}
	p,
	li {
		line-height: var(--line-height-lg);
	}
	h1,
	h2 {
		line-height: var(--line-height-sm);
	}
	h3,
	h4,
	h5,
	h6 {
		line-height: var(--line-height-md);
	}
}

@layer components {
	/**
	* @section main
	*/
	html,
	body {
		min-height: 100%;
		margin: 0;
	}
	body {
		min-height: 100vh;
		display: flex;
		flex-direction: column;
	}
	main {
		flex: 1;
	}
	footer {
		margin-top: auto;
	}
	.container,
	.product-card,
	.product-item {
		position: relative;
	}
	main {
		padding-top: 109px;
	}
	/**
	* @section header
	*/
	.header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 20;
		padding-top: var(--space-5);
		padding-bottom: var(--space-5);
		background-color: var(--color-white);
	}
	.archive .header,
	.page .header,
	.single .header {
		border-bottom: 1px solid #99999929;
	}
	.home .header {
		border: 0;
	}
	.brand img {
		display: block;
		max-width: 100%;
		height: 60px;
	}
	/**
	* @section navigation
	*/
	.header-nav ul,
	.footer ul {
		padding: 0;
		margin: 0;
		list-style: none;
	}
	.header-nav a,
	.breadcrumbs,
	.breadcrumbs a,
	.feedback .card-desc a,
	.widget h4,
	.breadcrumbs,
	.breadcrumbs a {
		font-size: var(--fs-sm);
	}
	.header-nav a,
	.telephone a,
	.title p,
	.breadcrumbs,
	.breadcrumbs a {
		color: var(--color-grey-text);
	}
	.header-nav a,
	.telephone a,
	.feedback .card-desc a,
	.widget h4 {
		font-weight: var(--font-weight-medium);
	}
	.header-nav a,
	.telephone a,
	.feedback .card-desc a,
	.widget h4,
	.breadcrumbs,
	.breadcrumbs a {
		text-transform: uppercase;
	}
	.header-nav a:hover,
	.telephone a:hover,
	.feedback .card-desc a:hover,
	.product-card:hover {
		text-decoration: none;
	}
	.header-nav a,
	.telephone a {
		position: relative;
	}
	.header-nav a::after,
	.telephone a::after {
		position: absolute;
		top: 110%;
		left: 0;
		width: 100%;
		height: 2px;
		background: rgba(0,0,0,0.1);
		content: '';
		opacity: 0;
		-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
		-moz-transition: opacity 0.3s, -moz-transform 0.3s;
		transition: opacity 0.3s, transform 0.3s;
		-webkit-transform: translateY(10px);
		-moz-transform: translateY(10px);
		transform: translateY(10px);
	}
	.header-nav a:hover::after,
	.header-nav a:focus::after,
	.telephone a:hover::after,
	.telephone a:focus::after,
	.active  a::after {
		opacity: 1;
		-webkit-transform: translateY(0px);
		-moz-transform: translateY(0px);
		transform: translateY(0px);
	}
	/**
	* @section hero
	*/
	.hero {
		height: 800px;
		position: relative;
		overflow: hidden;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}
	.hero-desc h1 {
		font-size: var(--fs-6xl);
	}
	.hero-desc h1,
	.feedback .card-desc a,
	.widget h4 {
		color: var(--color-white);
	}
	.hero-desc > * {
		max-width: 30rem;
	}
	.hero-desc h1,
	.title h2,
	.card-desc h3,
	.feedback .card-desc h3 {
		letter-spacing: -1.68px;
	}
	.hero-desc h1,
	.title h2,
	.feedback .card-desc h3 {
		line-height: 1.1;
	}
	.hero-desc p,
	.title p,
	.about-us__text p,
	.card-desc p {
		font-size: var(--fs-xl);
	}
	.about-us__text p,
	.card-desc p {
		color: var(--color-grey-text);
	}
	.title h2,
	.feedback .card-desc h3 {
		font-size: var(--fs-5xl);
	}
	.title h2,
	.card-desc h3,
	.feedback .card-desc h3 {
		font-weight: var(--font-weight-normal);
	}
	.hero-left {
		width: 800px;
		height: 800px;
		position: absolute;
		pointer-events: none;
		top: 0%;
		left: -400px;
		display: flex;
		justify-content: center;
		min-height: 100%;
		align-items: center;
		z-index: 1;
	}
	.hero-desc {
		width: 800px;
		height: 800px;
		background-color: var(--color-red);
		border-radius: 50%;
	}
	.hero-right {
		width: 800px;
		height: 800px;
		position: absolute;
		pointer-events: none;
		top: 0%;
		right: -400px;
		display: flex;
		justify-content: center;
		min-height: 100%;
		align-items: center;
		z-index: -1;
		border-radius: 50%;
	}
	.hero-left img,
	.hero-right img {
		width: 800px;
		height: 800px;
		object-fit: cover;
		border-radius: 50%;
	}
	.hero-desc > *,
	.title > *,
	.card > *,
	.card-desc > *,
	.about-us__text > *,
	.widget > *,
	.category-description > * {
		margin-bottom: 0;
	}
	/**
	* @section flip text
	*/
	.about-us .title h2 {
		perspective: 1000px;
	}
	.flip-text {
		display: inline-block;
		transform-style: preserve-3d;
		backface-visibility: hidden;
		transform-origin: center center;
	}
	.flip-text.flip-out {
		animation: flipOut 0.6s ease forwards;
	}
	.flip-text.flip-in {
		animation: flipIn 0.6s ease forwards;
	}
	@keyframes flipOut {
		0% {
			transform: rotateX(0deg);
			opacity: 1;
		}

		100% {
			transform: rotateX(-90deg);
			opacity: 0;
		}
	}
	@keyframes flipIn {
		0% {
			transform: rotateX(90deg);
			opacity: 0;
		}

		100% {
			transform: rotateX(0deg);
			opacity: 1;
		}
	}
	.flip-words {
		display: none;
	}
	/**
	* @section cards
	*/
	.card {
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 1rem;
		padding: var(--space-5);
		border: 1px solid var(--color-border);
		border-radius: var(--radius-xl);
		background: var(--color-white);
	}
	.product-card,
	.category .product-card .product-item {
		height: 100%;
	}
	.product-item {
		padding: var(--space-5);
		background-color: var(--color-favorites);
		border: 1px solid var(--color-favorites);
		border-radius: var(--radius-xl);
	}
	.products .product-item:nth-child(1) img {
		height: 200px !important;
		margin: 0 auto;
	}
	@media (max-width: 991.98px) {
		.products .product-item:nth-child(1) img {
			height: 100px !important;
		}
	}
	.products .product-item:nth-child(2) img {
		height: 250px !important;
		margin: 0 auto;
	}
	.product-card h3 {
		color: var(--color-dark);
	}
	.category .product-card .product-item {
		background-color: transparent;
		border: 1px solid var(--color-border);
	}
	.home .product-card:hover .product-item {
		background-color: transparent;
		border: 1px solid var(--color-border);
	}
	.btn-arrow {
		padding: 5px 10px 0 10px;
		position: absolute;
		right: 0;
		bottom: 0;
		border: 1px solid var(--color-red);
		border-radius: var(--radius-xl) 0;
	}
	.btn-arrow svg,
	.mobile-nav,
	.mobile-nav a,
	.mobile-nav svg {
		width: 30px;
		height: 30px;
	}
	.the-content a[href$=".pdf"] {
		display: block;
		margin: 10px 0;
		color: #c0392b;
		text-decoration: none;
		font-weight: 600;
	}
	.the-content a[href$=".pdf"]::before {
		content: "📄 ";
	}
	.the-content a[href$=".pdf"]:hover {
		color: #e74c3c;
		text-decoration: underline;
	}
	.single .single-page .title img {
		max-width: 500px !important;
	}
	.category-image {
		width: 100%;
		height: 400px;
		display: block;
	}
	.category-image img {
		width: 100%;
		height: 400px;
		object-fit: cover;
	}
	.youtube {
		display: grid;
		grid-template-columns: repeat(3,minmax(0,1fr));
		gap: 1rem;
	}
	.gallery img {
		padding: 8px;
		border: 1px solid #cfcfcf !important;
		border-radius: 8px;
		height: auto;
		max-width: 95%;
	}
	/**
	* @section feedback
	*/
	.feedback .card-desc a {
		padding: var(--space-2) var(--space-5);
		border: 1px solid var(--color-border);
		border-radius: var(--radius-sm);
		background-color: var(--color-red);
		border: 1px solid var(--color-red);
	}
	.feedback .card-desc a:hover {
		background-color: transparent;
		border: 1px solid var(--color-red);
	}
	.feedback .card-desc a:hover,
	.mobile-nav a {
		color: var(--color-red);
	}
	/**
	* @section breadcrumbs
	*/
	.breadcrumbs {
		padding: 1.5rem 0;
	}
	.breadcrumbs__separator,
	.breadcrumbs__separator svg {
		width: 20px;
		height: 20px;
	}
	/**
	* @section advantages
	*/
	.about-us__count .flex .card:nth-child(1) {
		padding-left: 0;
	}
	.about-us__count > div:nth-child(2) {
		border-bottom: 1px solid var(--color-border);
	}
	.about-us__count .card {
		border-radius: 0;
		background-color: transparent;
		border: 0;
		border-right: 1px solid var(--color-border);
		border-bottom: 1px solid var(--color-border);
	}
	.about-us__count .card:last-child {
		border-radius: 0;
		background-color: transparent;
		border-right: 0;
	}
	.about-us__count > div:nth-child(2) .card:nth-child(1) {
		padding-left: 0;
	}
	.about-us__count svg,
	.about-us__count img {
		width: 64px;
		height: 64px;
	}
	/**
	* @section footer
	*/
	.footer {
		padding: 2.5rem 0;
		background-color: var(--color-dark);
		border-radius: 30px 30px 0 0;
	}
	.footer,
	.footer a {
		color: #ffffffa8;
	}
	.copyright {
		padding-top: 1.5rem;
		margin-top: 2.5rem;
		border-top: 1px solid #ffffff14;
	}
	/**
	* @section fancybox
	*/
	.fancybox-slide--html {
		padding: 0 !important;
	}
	.fancybox-content {
		vertical-align: top !important;
	}
}

@layer utilities {
	@media (max-width:575px) {
		.hidden {
			display:none !important;
		}
	}
	@media (min-width:576px) and (max-width:767px) {
		.hidden-sm {
			display: none !important;
		}
	}
	@media (min-width:768px) and (max-width:991px) {
		.hidden-md {
			display: none !important;
		}
	}
	@media (min-width:992px) and (max-width:1199px) {
		.hidden-lg {
			display: none !important;
		}
	}
	@media (min-width:1200px) and (max-width:1399px) {
		.hidden-xl {
			display: none !important;
		}
	}
	@media (min-width:1400px) {
		.hidden-xxl {
			display: none !important;
		}
	}
	.block {
		display: block;
	}
	.inline {
		display: inline;
	}
	.inline-block {
		display: inline-block;
	}
	.inline-flex {
		display: inline-flex;
	}
	.inline-grid {
		display: inline-grid;
	}
	.text-right {
		text-align: right;
	}
	.text-center {
		text-align: center;
	}
	.text-left {
		text-align: left;
	}
	.img-responsive {
		display: block;
		height: auto;
		max-width: 100%;
	}
	.gap-0 {
		gap: 0;
	}
	.gap-xs {
		gap: var(--gap-xs);
	}
	.gap-sm {
		gap: var(--gap-sm);
	}
	.gap-md {
		gap: var(--gap-md);
	}
	.gap-lg {
		gap: var(--gap-lg);
	}
	.gap-xl {
		gap: var(--gap-xl);
	}
	.section {
		margin-bottom: 5rem;
	}
	.title,
	.products .card-desc,
	.category-description,
	.youtube {
		margin-bottom: 2.5rem;
	}
	/**
	* @section media queries
	*/
	/* Устройства XX-Large (большие настольные компьютеры, более 1400 пикселей) */
	@media (max-width: 1799.98px) {}

	/* Устройства X-Large (большие настольные компьютеры, менее 1400 пикселей) */
	@media (max-width: 1399.98px) {
		.hero {
			height: 600px;
		}
		.hero-desc,
		.hero-left,
		.hero-right,
		.hero-left img,
		.hero-right img {
			width: 600px;
			height: 600px;
		}
		.hero-left {
			left: -200px;
		}
		.hero-right {
			right: -200px;
		}
		.hero-desc > * {
			max-width: 20rem;
		}
		.hero-desc h1,
		.title h2,
		.feedback .card-desc h3 {
			font-size: var(--fs-4xl);
		}
		.hero-desc h1,
		.title h2,
		.feedback .card-desc h3 {
			line-height: 1.2;
		}
	}

	/* Устройства Large (настольные компьютеры, менее 1200 пикселей) */
	@media (max-width: 1199.98px) {
		.flex {
			gap: var(--gap-md);
		}
		.gap-0 {
			gap: 0 !important;
		}
		.brand img {
			height: 50px !important;
		}
		.hero-left {
			left: -300px;
		}
		.hero-right {
			right: -300px;
		}
		.hero-desc p,
		.title p,
		.about-us__text p,
		.card-desc p {
			font-size: var(--fs-base);
		}
	}

	/* Устройства Medium (планшеты, менее 992 пикселей) */
	@media (max-width: 991.98px) {
		.hero-left {
			left: -450px;
		}
		.hero-right {
			right: -450px;
		}
		.product-item {
			height: 100%;
		}
		.products .product-item:nth-child(1) img {
			height: 130px !important;
		}
		.advantages .flex.gap-0 {
			flex-wrap: wrap;
		}
		.advantages .card {
			width: 50%;
		}
		.about-us__count .card:nth-child(2) {
			border-right: 0;
		}
		.about-us__count .card:nth-child(3),
		.about-us__count .card:nth-child(4) {
			border-bottom: 0;
		}
		.youtube {
			grid-template-columns: repeat(1, minmax(0, 1fr));
			gap: var(--gap-md);
		}
		.about-us__count .flex .card:nth-child(3) {
			padding-left: 0;
		}
		.footer .container .widget:nth-child(1),
		.footer .container .widget:nth-child(2) {
			width: 50%;
		}
		.footer .container .widget:nth-child(3) {
			width: 100%;
		}
	}

	/* Устройства Small (телефоны с горизонтальной ориентацией, менее 768 пикселей) */
	@media (max-width: 767.98px) {
		.brand img {
			height: 40px !important;
		}
		.hero {
			height: 400px;
		}
		.hero-desc,
		.hero-left,
		.hero-right,
		.hero-left img,
		.hero-right img {
			width: 400px;
			height: 400px;
		}
		.hero-left {
			left: -250px;
		}
		.hero-right {
			right: -250px;
		}
		.hero-desc > * {
			max-width: 13rem;
		}
		.hero-desc h1,
		.title h2,
		.feedback .card-desc h3 {
			font-size: var(--fs-2xl);
		}
		.grid-cols-2 {
			grid-template-columns: repeat(1, minmax(0, 1fr));
			gap: var(--gap-md);
		}
		.about-us .title {
			margin-bottom: 0;
		}
		.footer .container {
			flex-wrap: wrap;
		}
		.footer .container .widget:nth-child(3) {
			margin-top: 40px;
		}
	}

	/* Устройства X-Small (портретные телефоны, менее 576 пикселей) */
	@media (max-width: 575.98px) {
		.hero-left {
			left: -300px;
		}
		.hero-right {
			right: -300px;
		}
		.about-us__count svg,
		.about-us__count img {
			width: 48px;
			height: 48px;
		}
		.gallery {
			display: flex;
			flex-wrap: wrap;
		}
		.gallery .gallery-item {
			width: 50% !important;
		}
		.copyright {
			flex-wrap: wrap;
		}
	}

	@media (max-width: 415.98px) {
		.telephone {
			display: none;
		}
		.hero {
			height: 320px;
		}
		.hero-desc,
		.hero-left,
		.hero-right,
		.hero-left img,
		.hero-right img {
			width: 320px;
			height: 320px;
		}
		.hero-left {
			left: -250px;
		}
		.hero-right {
			right: -250px;
		}
		.hero-desc > * {
			max-width: 11rem;
		}
		.hero-desc h1,
		.title h2,
		.feedback .card-desc h3 {
			font-size: var(--fs-xl);
		}
	}
}