@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700');

body {
   background-color: #FFFFFF;
   color: #444444;
   font-family: 'Montserrat', sans-serif;
   font-size: 16px;
   line-height: 1.5;
}

a:link, a:visited {
   color: #444444;
   text-decoration: underline;
}

/*go-top button*/
#go-top {
   position: fixed;
   bottom: 50px;
   right: 50px;
   text-align: center;
   cursor: pointer;
   display: none;
   z-index: 99999;
   width: 40px;
   transition: background .3s ease-in-out, color .3s ease-in-out, bottom.5s ease-in-out, right.5s ease-in-out, height.5s ease-in-out, width.5s ease-in-out, opacity.5s ease-in-out;
   height: 70px;
   background-color: #46c6e9;
   border: 2px solid #46c6e9;
   box-shadow: 0 4px 15px 1px rgba(0,0,0,.2);
   border-radius: 30px;
}

#go-top .fa {
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, calc(-50% - 3px));
   font-size: 20px;
   color: #fff;
   transition: transform.7s ease-in-out;
}

#go-top .fa:last-child {
   transform: translate(-50%, calc(-50% + 4px));
}

#go-top:hover .fa {
   color: #46c6e9;
}

#go-top:hover {
   background-color: transparent;
}

#go-top.rotate_me {
   height: 40px;
   width: 70px;
}
/*go-top button*/

/* HEADER */
header {
   padding: 20px 0 0 0;
   position: relative;
}

ul {
   list-style-type: none;
}

header .logo {
   width: 100%;
   max-width: 346px; /* Ограничиваем максимальную ширину */
   height: auto; /* Чтобы сохранить пропорции */
}

header .slogan {
   margin-top: 20px;
   color: #666;
   font-size: 12px;
}

.viber_icon {
   width: 22px;
   height: 22px;
   position: absolute;
   top: 2px;
   left: -30px;
}

header ul.contacts {
   margin: 0;
   padding: 0;
   text-align: right;
}

header ul.contacts li a {
   color: #111111;
   text-decoration: none;
   -webkit-transition: color .1s ease-out;
   -moz-transition: color .1s ease-out;
   -ms-transition: color .1s ease-out;
   -o-transition: color .1s ease-out;
   transition: color .1s ease-out;
}

footer ul.contacts li a.viber {
   position: relative;
}

header ul.contacts li a.viber {
   color: #111111;
   position: relative;
}

footer ul.contacts li a:hover,
header ul.contacts li a:hover {
   color: #46c6e9;
}

header ul.contacts li:nth-child(1) {
   font-size: 20px;
   font-weight: 600;
}

header ul.contacts li {
   font-size: 16px;
   font-weight: 500;
}

header .order {
   text-align: right;
}

header .schedule {
   font-size: 12px;
   color: rgb(153, 153, 153);
}

header .schedule {
   font-size: 12px;
   color: rgb(0 0 0);
   padding: 0 0 0 55px;
   background-image: url("../image/clock.png");
   background-repeat: no-repeat;
   background-position: left top;
}

header .email_block {
   padding: 0 0 0 55px;
   margin-top: 5px;
}

header .email_block a {
   font-size: 12px;
   color: rgb(0 0 0);
   position: relative;
}

header .email_block i {
   color: #c4c4c4bf;
   position: absolute;
   left: -45px;
   bottom: -3px;
   font-size: 20px;
}

header .email_block a:hover {
   color: rgb(113, 113, 113);
   text-decoration: none;
}

a.button, a.button:link, a.button:visited {
   padding: 11px 24px 11px 24px;
   width: 170px;
   background-color: #46c6e9;
   text-decoration: none;
   font-weight: 600;
   font-size: 12px;
   color: #FFF;
   text-align: center;
   text-transform: uppercase;
   border-radius: 50px;
   border: 1px solid #46c6e9;
   z-index: 40;
   text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,  
        -1px  1px 0 #000,  
         1px  1px 0 #000; /* Черная обводка */
}

a.button:active, a.button:hover {
   background-color: #FFFFFF;
   color: #111;
}

a.button i {
   margin-right: 8px;
}

.header-banner {
   color: #444;
   text-align: center;
   font-weight: 900;
   font-size: 19px;
   padding: 9px;
   background: #264558;
}

header .menu {
   margin-top: 20px;
   border-top: 1px solid #ebebeb;
   background: #264558;
}

header .menu ul {
   margin: 0;
   padding: 0;
   display: table;
   width: 100%;
}

header .mobile-menu-btn-show {
   display: none;
}

header .mobile-menu {
   min-height: calc(100vh + 15px);
   max-height: calc(100vh + 15px);
   left: calc(-100% - 15px);
   position: absolute;
   box-shadow: 0 4px 15px 1px rgba(40,40,40,.3);
   z-index: 100;
   top: 0;
   overflow-y: auto;
   width: 375px;
   transition: left 1s ease-in-out;
   background: #ffffff;
   padding-top: 55px;
}

header .mobile-menu a {
   display: block;
   transition: background .1s ease-in-out, color .1s ease-in-out;
   padding: 10px 30px;
   border-bottom: 1px solid #e2e3e5;
   font-weight: 600;
   color: rgba(0,0,0,.8);
   text-decoration: none;
}

header .mobile-menu a:first-child {
   border-top: 1px solid #e2e3e5;
}

header .mobile-menu a:hover {
   background: #46c6e9;
   color: #fff;
}

header .mobile-menu .mobile-menu-btn-close .fa_close_menu {
   display: inline-block;
   width: 22px;
   height: 22px;
   background-image: url('../images/close-button.svg');
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;
   cursor: pointer;
}

header .mobile-menu .mobile-menu-btn-close {
   position: absolute;
   opacity: .8;
   right: 25px;
   top: 15px;
}

header .mobile-menu.show {
   left: 0;
}

header .mobile-menu-btn-show i {
   font-size: 24px;
   cursor: pointer;
}

header .mobile-menu-btn-show {
   position: absolute;
   left: 25px;
   top: 15px;
}

@media (max-width: 992px) {
   header {
      padding-top: 50px;
   }

   main #informations .delivery_block {
      margin-bottom: 60px;
   }

   header .mobile-menu-btn-show {
      display: block;
   }

   header .menu {
      height: 0;
      margin-top: 40px;
   }

   header .menu ul {
      display: none;
   }

   header .slogan {
      display: none;
   }

   header ul.contacts {
      text-align: center;
   }
}

@media (max-width: 770px) {
   header .menu {
      height: auto;
   }

   #slider {
      display: none;
   }

}

@media (max-width: 575.98px) {
   header ul.contacts {
      text-align: center;
   }

   header .mobile-menu {
      width: 100%;
   }
}

header .menu ul li {
   padding: 10px 0;
   margin: 0 10px;
   border-bottom: 4px solid #264558;
   transition: 0.5s;
   float: none;
   display: table-cell;
   text-align: center;
}

header .menu ul li a {
   text-decoration: none;
   text-transform: uppercase;
   font-size: 13px;
   color: #FFFFFF;
   font-weight: 600;
   padding: 16px 10px;

}

header .menu ul li:hover {
   border-bottom: 4px solid #46c6e9;
   transition: 0.5s;
}

/* MAIN */

main #slider {
   overflow-x: hidden;
   background: #000;
   margin-bottom: 40px;
}

main #slider:hover .owl-nav button.owl-prev {
   left: 20px;
   opacity: 1;
}

main #slider:hover .owl-nav button.owl-next {
   right: 20px;
   opacity: 1;
}

main #slider .text {
   bottom: 35%;
   position: absolute;
   color: #FFFFFF;
   z-index: 1;
   letter-spacing: 3px;
}

main #slider .text h2 {
   text-transform: uppercase;
   font-weight: 600;
   font-size: 38px;

}

main #slider .text p {
   width: 550px;
   font-weight: 400;
   font-size: 14px;

}

main #slider img {
   opacity: 0.4;
   z-index: -1;
}

main #slider .owl-nav {
   margin: 0;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -35px);
   width: 100%;
}

main #slider .owl-nav button {
   background: rgba(0, 0, 0, .5);
   position: absolute;
   transition: right.5s ease-in-out, left.5s ease-in-out, opacity.5s ease-in-out;
   opacity: 0;
   border-radius: 50%;
   outline: none;
}

main #slider .owl-nav button span {
   width: 70px;
   height: 70px;
   display: inline-block;
   line-height: 65px;
   font-size: 50px;
}

main #slider .owl-nav button:hover {
   background: rgba(0, 0, 0, .7);
}

main #slider .owl-nav button:active {
   background: rgba(0, 0, 0, .5);
}

main #slider .owl-nav button span {
   color: #fff;
}

main #slider .owl-nav button.disabled:hover,
main #slider .owl-nav button.disabled {
   background: rgba(0, 0, 0, 1);
   filter: grayscale(100%);
}

.fa_left_chevron,
.fa_right_chevron {
   width: 13px;
   height: 21px;
   position: relative;
   display: inline-block;
   top: -2px;
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
}

.fa_left_chevron {
   background-image: url("../images/left-arrow-chevron.png");
}

.fa_right_chevron {
   background-image: url("../images/right-arrow-chevron.png");
}

main #slider .owl-nav button.disabled:hover {
   cursor: pointer;
}

main #slider .owl-nav button.owl-prev {
   left: -40px;
}

main #slider .owl-nav button.owl-next {
   right: -40px;
}

main #slider .owl-nav button.owl-next span {
   padding-left: 4px;
}

main #slider .owl-dots {
   position: absolute;
   bottom: 30px;
   width: 100%;
   margin: 0;
}

main #slider .owl-dots .owl-dot span {
   border-color: rgba(255, 255, 255, .5);
   background: rgba(255, 255, 255, .5) !important;
   transition: background .3s ease-in-out, border .3s ease-in-out;
}

main #slider .owl-dots .owl-dot.active span {
   background: transparent !important;
}

.owl-theme .owl-dots {
   margin-top: 50px !important;
   margin-bottom: 40px;
   display: flex;
   justify-content: center;
}

.owl-theme .owl-dots .owl-dot {
   outline: none;
}

.owl-theme .owl-dots .owl-dot span {
   width: 7px !important;
   height: 7px !important;
   background: #333333 !important;
}

.owl-theme .owl-dots .owl-dot.active span {
   width: 15px !important;
   height: 15px !important;
   background: transparent !important;
   border: 2px solid #333;
   border-radius: 50%;
}

main #services {
   margin: 30px 0 60px 0;
}

main #services h3, main #about h3, main #testimonials h3, main #arguments h3 {
   font-weight: 600;
   color: #111111;
   font-size: 20px;
   text-transform: uppercase;
}

main #services h3:before, main #about h3:before, main #testimonials h3:before, main #arguments h3:before {
   content: '⚊';
   color: #46c6e9;
   margin-right: 10px;
}

main #services .item {
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   background-size: cover;
   position: relative;
   overflow: hidden;
    height: auto;
    min-height: 275px;
    padding: 20px 8.5% 20px 8.6%;
    margin: 30px 0 40px 0;
    border-radius: 30px;
}

main #services .item .overlay {
   background: rgba(0, 0, 0, 0.85);
   position: absolute;
   top: 0;
   left: 0;
   bottom: initial;
   height: 100%;
   width: 100%;
}

main #services .item li h4 {
   font-weight: 600;
   font-size: 18px;
   text-transform: uppercase;
   color: #46c6e9;
}

main #services .item .title a:hover, main #services .item .title a:active {
   text-decoration: underline;
}

main #services ul {
   position: absolute;
   margin: 0px 0 0 0;
   padding: 0;
}

main #services .item li:first-child {
   color: #FFFFFF;
   margin-bottom: 10px;
   margin-top: -15px;
}

main #services .item li {
   color: #FFFFFF;
}

main #services .item li:nth-child(3), main #services .item li:last-child {
   font-size: 14px;
}

main #services .item li.current_item {
   font-weight: 600;
}

main #services .item li span {
   font-weight: bold;
}

main #services .item li span.current_price {
   font-size: 19px;
   color: #00c9ff;
}

main #services .item li span.current_price sup {
   font-size: 65%;
}

main #services img {
   position: absolute;
   margin-top: -240px;
   right: -55px;
   width: auto;
   height: 260px;
   z-index: 10;
}
main #services.item__page img{
	margin: 0;
	position: initial;
	padding-right: 25px;
}
main #services.item__page .content_block{
	z-index: 1;
    position: relative;
	display: flex;
	padding-right: 8.6%;
}
.item .tvco{
	width: 60%;
}

.item__page .item .tvco{
	width: 90%;
}
main #services .button {
   margin-top: -62px;
   margin-left: 30px;
   position: absolute;
}

main #arguments {
   padding: 40px 0;
   border-bottom: 1px solid #e7e7e7;
}

main #arguments .item {
   text-align: center;
   font-size: 18px;
}

main #arguments .item img {
   margin: 30px 0;
}

main #arguments img {
   max-height: 61px;
}

main #arguments .order {
   border-top: 1px solid #e7e7e7;
   padding-top: 30px;
   text-align: center;
   margin-top: 50px;
}

main #testimonials {
   padding: 40px 0;
   background: #efefef;
}

main #testimonials .items {
   margin-top: 30px;
}

main #testimonials .item {
   background: #FFFFFF;
}

main #testimonials .item p {
   padding: 30px 40px 30px 40px;
   margin-bottom: 0;
   position: relative;
}

main #testimonials .item p.after_cut:after {
   content: "...";
   font-size: 40px;
   color: rgb(70, 198, 233);
   font-weight: 500;
   display: block;
   position: absolute;
   bottom: 2px;
   transition: opacity.7s ease-in-out;
   left: 50%;
   transform: translate(-50%);
}

main #testimonials .item p.after_cut:hover:after {
   opacity: 0;
}

main #testimonials .item p span {
   font-family: "Montserrat", sans-serif !important;
   font-size: 16px !important;
   line-height: 140% !important;
   display: inline-block;
}

main #testimonials .item p.after_cut span.cut {
   overflow: hidden;
   max-height: 132px;
   transition: max-height.7s ease-in-out;
}

main #testimonials .item p.after_cut:hover span.cut {
   max-height: 500px;
}


main #testimonials .item .info {
   border-top: 1px solid #e7e7e7;
   padding: 30px 40px 25px 40px;
}


main #testimonials .item .info .name {
   font-size: 16px;
   font-weight: bold;
   color: #444444;
   margin-top: 8px;
}

main #testimonials .item .info .city {
   font-size: 14px;
   color: #999999;
}

main #about {
   margin: 40px 0;
}

main #about .text {
   margin: 30px 0;
}

main #informations {
   margin-top: 160px;
   margin-bottom: 60px;
}

main #informations .payment_block:before,
main #informations .delivery_block:before {
   content: '';
   border-radius: 20px;
   display: block;
   position: absolute;
   background: rgba(0, 0, 0, 0.85);
   z-index: 0;
   left: 0;
   right: 0;
   bottom: 0;
   top: 0;
}

main #informations .payment_block .text,
main #informations .delivery_block .text {
   position: relative;
   z-index: 10;
   color: #ffffff;
}

main #informations .payment_block,
main #informations .delivery_block {
   position: relative;
   padding: 40px;
   min-height: 250px;
   border-radius: 20px;
   font-size: 16px;
   background-repeat: no-repeat;
   -webkit-background-size: cover;
   background-size: cover;
   background-position: center;
   line-height: 140%;
   color: #333333;
}

main #informations .delivery_block {
   background-image: url("../image/nova_banner.webp");
   padding-left: 80px;
}

main #informations .payment_block {
   background-image: url("../image/privat_banner.jpg");
   padding-right: 140px;
}

main #informations .payment_block .fa_icon,
main #informations .delivery_block .fa_icon {
   width: 150px;
   height: 150px;
   position: absolute;
   background-repeat: no-repeat;
   -webkit-background-size: cover;
   background-size: cover;
   background-position: center;
}

main #informations .delivery_block .fa_icon {
   background-image: url("../image/novaya.png");
   left: -15px;
   bottom: -15px;
}

main #informations .payment_block .fa_icon {
   background-image: url("../image/privat.png");;
   right: -15px;
   top: -15px;
}


@media screen and (max-width: 576px) {
   main #informations .payment_block .fa_icon,
   main #informations .delivery_block .fa_icon {
      width: 100px;
      height: 100px;
   }

   main #informations .payment_block {
      padding-right: 80px;
   }
	
	
}

/* FOOTER */

footer {
   background: #eaeaea;
}

footer #info {
   color: #aaa;
   font-size: 12px;
   padding: 40px 0;
}

footer #info ul {
   margin: 0;
   padding: 0;
}

footer .logo {
   margin-top: 10px;
}

footer .slogan {
   margin-top: 20px;
}

footer ul.contacts {
   text-align: right;
   margin: 0;
   padding: 0;
}

footer ul.contacts li a {
   color: #000;
   text-decoration: none;
}

footer ul.contacts li:nth-child(1) {
   font-size: 18px;
   font-weight: 600;
}

footer ul.contacts li {
   font-size: 14px;
   font-weight: 500;
}

footer #info .bottom {
   margin-top: 50px;
}

footer #info .bottom .developer {
   text-align: right;
}

footer #info .bottom .developer a {
   color: #aaa;
   text-decoration: none;
}

footer .order {
   text-align: right;
   position: static;
}

footer .order .button {
   display: inline-block;
}

footer a.button:link, footer a.button:visited {
   border: none;
}

footer a.button:active, footer a.button:hover {
   background-color: #FFFFFF;
   border: none;
   color: #111;
}

.error{
	color: red;
}
@media screen and (max-width: 1200px) {
   header .logo {
       width: 100%;
       max-width: 346px; /* Ограничиваем максимальную ширину */
       height: auto; /* Чтобы сохранить пропорции */
   }

   main #services .item {
      padding-top: 25px;
   }
}

@media screen and (max-width: 991.98px) {
   main #services ul {
      padding-right: 30px;
   }

   header .logotype {
      order: 0;
   }

   header .logo {
      width: 100%;
   }

   header ul.contacts {
      text-align: right;
   }

   header .contacts_block {
      order: 3;
   }

   header .schedule_block {
      order: 2;
   }

   header .contacts_block,
   header .schedule_block {
      margin-top: 20px;
   }

   header .order {
      order: 1;
   }

   footer #info .col-md-6,
   footer #info .col-md-6 ul {
      text-align: center;
   }

   footer .logo,
   footer .slogan {
      margin-bottom: 40px;
   }
}

@media screen and (max-width: 767.98px) {
   footer .contacts,
   footer .logo,
   footer .slogan {
      margin-bottom: 20px !important;
   }

   #go-top {
      bottom: 20px;
      right: 20px;
   }
	main #services.item__page .content_block {

		display: flex;
		padding-right: 0;
		flex-wrap: wrap;
		justify-content: center;
	}
}


@media screen and (max-width: 575.98px) {
   main #services h3,
   main #about h3,
   main #testimonials h3,
   main #arguments h3 {
      text-align: center;
   }

   header .order {
      margin-top: 20px;
      text-align: center;
      order: 3;
   }

   header .contacts_block {
      order: 1;
   }

   header ul.contacts {
      text-align: center !important;
   }

   header .schedule {
      max-width: 200px;
      margin: 0 auto;
   }

   header .email_block {
      max-width: 200px;
      margin: 0 auto 10px;
      padding-left: 30px;
   }


   header .contacts_block,
   header .logotype {
      text-align: center;
   }

   footer .bottom .col-12,
   footer #info .bottom .developer {
      text-align: center;
      margin-bottom: 20px;
   }

   footer .bottom .col-12:last-child {
      margin-bottom: 0;
   }
}

/* Бургер-кнопка */
#burger-button {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: #46c6e9;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

#burger-button span {
    display: block;
    width: 30px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

/* Оверлей меню */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Контейнер меню */
#menu-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 300px;
    text-align: center;
    position: relative;
}

/* Кнопка закрытия */
#close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Стили ссылок меню */
#menu-container nav a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
}

#menu-container nav a:hover {
    background: #eee;
}

/* Кнопка Telegram */
#telegram-button {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #00c9ff;
    border-radius: 5px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    animation: shake 1s infinite ease-in-out; /* Постоянная анимация */
}

/* Анимация покачивания */
@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Показывать кнопки только на узких экранах */
@media (max-width: 768px) {
    #burger-button, #telegram-button {
        display: flex;
    }
}

/* Запрещаем горизонтальный скролл */
body {
    overflow-x: hidden;
}

/* Учитываем ширину контейнера */
@media (max-width: 768px) {
    #telegram-button {
        right: min(15px, calc(100vw - 65px)); /* Ограничиваем кнопку по ширине экрана */
    }
}
/* Стили для звездного рейтинга в форме */
.custom-rating-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
  font-size: 30px;
}

.custom-rating-rating input[type="radio"] {
  display: none;
}

.custom-rating-rating label {
  cursor: pointer;
  color: lightgrey; /* Цвет пустой звезды */
  font-size: 30px;
}

.custom-rating-rating label:before {
  content: '★'; /* Символ звезды */
  font-family: Arial, sans-serif;
}

.custom-rating-rating input:checked ~ label {
  color: gold; /* Цвет активных звезд */
}

.custom-rating-rating label:hover,
.custom-rating-rating label:hover ~ label {
  color: gold; /* Подсветка при наведении */
}

/* Стили для отображения среднего рейтинга */
.custom-rating-average {
  display: flex;
  gap: 5px;
  font-size: 30px;
}

.custom-rating-average .star {
  font-size: 30px;
  color: lightgrey; /* Пустая звезда по умолчанию */
}

.custom-rating-average .star.full {
  color: gold; /* Полная звезда */
}

.custom-rating-average .star.empty {
  color: lightgrey; /* Пустая звезда */
}

/* Стили для половины звезды */
.custom-rating-average .star.half {
  background: linear-gradient(to right, gold 50%, lightgrey 50%); /* Золотая половина и светлая половина */
  -webkit-background-clip: text;
  color: transparent;
}

/* Контейнер для рейтинга в карточке товара */
.rating-wrapper-container {
  position: relative; /* Контекст позиционирования для рейтинга внутри блока */
}

/* Изменения для позиционирования рейтинга поверх изображения */
.rating-wrapper {
  position: absolute; /* Абсолютное позиционирование рейтинга */
  top: 10px; /* Расстояние от верхнего края */
  right: 10px; /* Расстояние от правого края */
  background: rgba(255, 255, 255, 0.8); /* Белый фон с прозрачностью */
  padding: 5px 10px; /* Внутренние отступы для рейтинга */
  border-radius: 5px; /* Закругленные углы */
  z-index: 10; /* Поверх других элементов */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Легкая тень */
}

/* Стили для позиционирования рейтинга поверх изображения */
.hed2-cent {
  position: relative; /* Контекст для абсолютного позиционирования рейтинга */
}

.product-rating {
  position: absolute;
  top: 10px; /* Расстояние от верхнего края изображения */
  right: 10px; /* Расстояние от правого края изображения */
  padding: 5px 10px;
  border-radius: 5px;
  color: #333; /* Цвет текста рейтинга */
  font-size: 12px; /* Размер шрифта */
  z-index: 5; /* Поверх изображения */
}

.product-comments {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Заголовки */
h1 {
    font-size: 32px; /* Размер шрифта для H1 */
    margin-bottom: 15px;  /* Отступ снизу */
    font-weight: bold;
}

h2 {
    font-size: 28px; /* Размер шрифта для H2 */
    margin-bottom: 12px;  /* Отступ снизу */
    font-weight: bold;
}

h3 {
    font-size: 24px; /* Размер шрифта для H3 */
    margin-bottom: 10px;  /* Отступ снизу */
    font-weight: bold;
}

h4 {
    font-size: 20px; /* Размер шрифта для H4 */
    margin-bottom: 8px;  /* Отступ снизу */
    font-weight: normal;
}

h5 {
    font-size: 18px; /* Размер шрифта для H5 */
    margin-bottom: 6px;  /* Отступ снизу */
    font-weight: normal;
}

h6 {
    font-size: 16px; /* Размер шрифта для H6 */
    margin-bottom: 4px;  /* Отступ снизу */
    font-weight: normal;
}

/* Основные отступы и стили */
.container {
    padding: 20px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 22px;  /* Основной заголовок, достаточно компактный */
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    h5 {
        font-size: 14px;
    }

    h6 {
        font-size: 12px;
    }

    body {
        font-size: 14px;  /* Базовый шрифт для основного текста */
    }
}


 /* Текст в блоке #about */
    #about .text {
        font-size: 16px; /* Размер шрифта для текста */
        line-height: 1.5; /* Межстрочный интервал */
        text-align: justify; /* Выравнивание текста по ширине */
        margin: 0 15px; /* Отступы по бокам */
    }

main #services .item li .menutitle {
    font-size: 18px; /* Размер шрифта */
    font-weight: normal; /* Если нужен жирный, используй 600 или bold */
    text-transform: uppercase; /* Заглавные буквы */
    color: #46c6e9; /* Цвет текста */
    margin-bottom: 0px; /* Отступ снизу */
    margin-top: 5px; /* Добавь или измени значение, если нужен отступ сверху */
}



/* Стили для .tvco на узких экранах */
@media (max-width: 650px) {
    .tvco {
        width: auto; /* Контейнер подстраивается по длине текста */
        display: inline-block; /* Контейнер будет расширяться по содержимому */
        padding: 10px; /* Отступы для лучшего восприятия */
        word-wrap: break-word; /* Длинные слова не выйдут за пределы контейнера */
        max-width: 100%; /* Контейнер не выйдет за пределы экрана */
        box-sizing: border-box; /* Чтобы padding не увеличивал размеры контейнера */
        cursor: pointer; /* Указатель мыши меняется на руку, чтобы показать, что элемент кликабельный */
		position: relative;
        z-index: 40; /* Повышаем z-index, чтобы элемент был выше других */
    }
}

/* === ГЛОБАЛЬНО глушим горизонтальную прокрутку страницы === */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Если поддерживается, обрезаем по X «аккуратнее» без полосы прокрутки */
@supports (overflow-x: clip) {
  html { overflow-x: clip; }
}

/* Сохраняем нормальную вертикаль внутри карточек/форм (никаких внутренних скролл-баров) */
main #services form,
main #services .item {
  overflow-y: visible !important;
  overflow-x: visible !important; /* горизонталь показывать внутри, а на уровне страницы она уже «заглушена» */
}

/* Страховка: фикс-элементы не будут «уезжать» при любом остаточном горизонтальном переполнении */
#telegram-button,
#go-top {
  position: fixed;
  right: 15px;
}

/* === Скругления карточек товара (#services) === */
main #services .item{
  border-radius: 30px;     /* твое значение */
  overflow: hidden;        /* чтобы все внутри повторяло скругление */
}

/* тёмный оверлей тоже со скруглёнными углами */
main #services .item .overlay{
  border-radius: inherit;  /* наследуем радиус родителя */
  position: absolute;
  inset: 0;                /* = top:0; right:0; bottom:0; left:0; */
}

