@charset "UTF-8";

/* ===== Base Styles ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 1.5px;
  line-height: 29px;
  color: #4d4d4d;
}

/* ===== Layout Structure ===== */
.header-plug {
  width: 100%;
  height: 80px;
}

.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.main-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ===== Header Styles ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  margin: auto;
  padding: 0 3%;
  height: 90px;
  display: flex;
  justify-content: space-between;
  background-color: white;
  z-index: 10;
  transition: transform 0.2s ease;
  will-change: transform;
}

.logo, .logo-main {
  width: 13%;
  display: flex;
  align-items: center;
  
}

.logo img { width: 5.7rem; }
.logo-main img { width: 5rem; }

.logo a {
  display: flex;
  align-content: center;
  align-items: center;
}

/* ===== Navigation ===== */
.topnav {
  width: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topnav a {
  text-align: center;
  padding: 10px 2rem 10px 1rem;
  text-transform: uppercase;
  font-weight: 300;
  color: black;
  cursor: pointer;
  text-decoration: none;
}

.topnav aside, a:hover { color: #ff4325; }
.topnav a.active {
  background-color: #ff4325;
  color: white;
}

.topnav a:last-child { padding-right: 0; }

.mobile-menu { display: none; }

/* ===== Sidebar ===== */
.aside-block {
  width: 21%;
  order: 2;
  margin-right: 3%;
}

aside {
  position: sticky;
  top: 100px;

}

aside ul {
  color: black;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  list-style-type: none;
  text-transform: uppercase;
  line-height: 27px;
}

aside ul:first-of-type li a {
  display: block;
  width: 100%;
}

.social {
  margin-top: 5px;
  width: 28px;
  opacity: 1;
}

/* ===== Main Content ===== */
main {
  display: block;
  width: 73%;
  padding-top: 30px;
  padding-left: 3%;
  text-align: justify;
  line-height: 28px;
  font-size: 17px;
  color: black;
  z-index: 5;
  letter-spacing: 0.3px;
}

main b { font-weight: 600; }
main p { text-indent: 3rem; margin-bottom: 20px; }

ul li {
  width: 100%;
  text-align: right;
  text-decoration: none;
  cursor: pointer;
}

ul li:first-child {
  cursor: default;
  font-weight: 500;
}

ul a {
  text-decoration: none;
  cursor: pointer;
  color: black;
}

main li {
  text-align: justify;
  text-decoration: none;
  cursor: default;
}

ul .sidepanel, hr {
  margin-left: 20%;
  width: 80%;
  border: none;
  color: #cacaca;
  height: 1px;
  background-color: #cacaca;
}

main hr {
  width: 100%;
  margin: 0 0 20px;
}

.active { color: red; }

/* ===== Breadcrumbs ===== */
.breadcrumb-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 10px;
  position: relative;
}

.breadcrumb, .breadcrumb-ru-en {
  padding: 0;
  text-align: right;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgb(139, 139, 139);
  margin-bottom: 0;
  text-indent: 0;
  max-width: 800px;
}

.breadcrumb {
  flex: 1;
  min-width: 0;
  white-space: normal;
  text-align: left;
  padding-right: 80px;
}

.breadcrumb-ru-en {
  position: absolute;
  top: 0;
  right: 0;
  flex-shrink: 0;
  text-align: right;
}

.breadcrumb a, .breadcrumb-ru-en a {
  text-transform: uppercase;
  font-weight: 300;
  cursor: pointer;
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.breadcrumb a:hover, .breadcrumb-ru-en a:hover { color: #ff4325; }
.breadcrumb a.active, .breadcrumb-ru-en a.active {
  background-color: #ff4325;
  color: white;
}

.breadcrumb a:last-child, .breadcrumb-ru-en a:last-child { padding-right: 0; }

/* ===== Side Panel ===== */
.sidepanel {
  position: fixed;
  top: 0;
  width: 0;
  height: calc(100vh - 90px);
  margin: 0;
  margin-top: 90px;
  padding-top: 7px;
  right: -4%;
 
  background-color: white;
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: center;
  list-style-type: none;
  
}

.sidepanel.open {
  width: auto; /* или фиксированная ширина */
  transform: translateX(6rem);
  padding-right: calc(3% + 3rem);
}

.sidepanel p {
  text-transform: uppercase;
  font-weight: 500;
}

.black {
  background-color: black !important;
  transition: 0 !important;
}

.black a { color: white !important; }

.sidepanel a {
  text-align: right;
  width: 100%;
  padding: 0;
}

.sidepanel .closebtn {
  position: absolute;
  width: 3vw;
  top: 0;
  left: 0;
  text-align: center;
  z-index: 2;
}

.btn-img-size {
  width: 0.8rem;
  opacity: 0.5;
}

.side-panel-width { 
  width: calc(24% + 3%);
  padding-right: calc(4% + 3%);

}

/* ===== Homepage Styles ===== */
.mainlogo {
  width: 100%;
  height: 95vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.mainlogo img { width: 85%; }

.tool-header::before {
  display: block;
  content: " ";
  margin-top: -90px;
  height: 180px;
  visibility: hidden;
  pointer-events: none;
}

.tool-body {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-content: center;
  align-items: center;
  text-align: center;
  font-size: 26px;
  line-height: 40px;
  text-indent: 0;
  color: black;
  margin-bottom: 20px;
}

.tool-left, .tool-right {
  display: flex;
  justify-content: center;
  align-content: center;
  width: 45%;
}

.tool-body img { width: 100%; }
.tool-body a { text-decoration: none; color: black; }

.cont { width: 25%; }
.cont-opis { width: 20%; font-size: 15px; }

/* ===== Typography ===== */
h1, h2, h3 {
  text-align: center;
  text-indent: 0;
  color: black;
  margin-bottom: 20px;
  text-transform: uppercase;
}

h1 {
  font-size: 47px;
  line-height: 57px;
  font-weight: 700;
  margin-bottom: 30px;
}

h2 {
  font-size: 33px;
  line-height: 40px;
}

h3 {
  font-size: 21px;
  line-height: 40px;
}

h6 { display: none; }

h2::before {
  display: block;
  content: " ";
  margin-top: -90px;
  height: 100px;
  visibility: hidden;
  pointer-events: none;
}

/* ===== Media Elements ===== */
iframe { border: 0; }

main p a, .mainp {
  text-decoration: none;
  border-bottom: 0.5px dashed #1c1d1d;
  color: #1c1d1d;
}

.textphoto {
  display: flex;
  align-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.textphoto p { margin: 0; }
.img-left { padding-right: 1rem; }
.img-right { padding-left: 1rem; }

.goods {
  text-align: center;
  text-indent: 0;
}

.goods img { width: 40%; }

.video {
  margin: 2rem 0;
  text-align: center;
}

video {
  width: 50%;
  height: auto;
  max-height: 80%;
}

.video2 {
  width: 100%;
  height: auto;
  max-height: 100%;
  display: flex;
  justify-content: center;
}

.youtube {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.youtube__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.youtube__button {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0;
  width: 68px;
  height: 48px;
  border: none;
  background-color: transparent;
  transform: translate(-50%, -50%);
  display: none;
  cursor: pointer;
}

.youtube__button-shape {
  fill: #212121;
  fill-opacity: 0.8;
}

.youtube__button:focus { outline: none; }

.youtube:hover .youtube__button-shape,
.youtube__button:focus .youtube__button-shape {
  fill: #ff0000;
  fill-opacity: 1;
}

.youtube__button-icon { fill: #ffffff; }
.youtube--enabled { cursor: pointer; }
.youtube--enabled .youtube__button { display: block; }

/* ===== Images ===== */
.pic, .gbapic, .smallpic, .largepic, .stickerpic, .toolpic, .catalogpic {
  text-indent: 0;
  text-align: center;
  margin-bottom: 40px;
}

.largepic img { width: 90%; }
.pic img { width: 70%; }
.gbapic img { width: 50%; }
.stickerpic img { width: 35%; }
.smallpic img { width: 20%; }
.catalogpic img { width: 20%; }
.sxsmallpic img { width: 10%; }

#includedrtb-begin,
#includedrtb-middle-1,
#includedrtb-middle-2,
#includedrtb-last {
  margin-bottom: 30px;
}

.icon { width: 5%; }

/* ===== Footer ===== */
footer {
  width: 100%;
  margin: auto;
  margin-top: 30px;
  border-top: 1px solid #cacaca;
  font-size: 14px;
  padding: 30px 5%;
  text-align: justify;
  line-height: 28px;
  color: #ccc;
  letter-spacing: 0.3px;
  background: #000;
}

footer p {
  line-height: 14px;
  margin-bottom: 13px;
}

footer p a {
  cursor: pointer;
  text-decoration: none;
  color: #ccc;
}

footer p a:hover {
  color: #ff4325;
}

footer p a.active {
  background-color: #ff4325;
  color: white;
}

.footer-rules, .contacts {
  width: 100%;
}

.footer-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-links {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

footer ul li {
  font-weight: normal;
  cursor: auto;
  text-align: left;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #ff4325;
}

.footer-rules {
  flex: 1;
  min-width: 250px;
  max-width: 500px;
}

  .footer-copy {
  text-align: center;
}

/* НЕ УДАЛЯТЬ, НУЖНЫ ДЛЯ СКРИПТОВ МЕНЮ СТАРТОВОЙ СТРАНИЦЫ */
.main-logo-trans {
	transition: 0.5s;
	margin-right: 20vw;
	
}
.main-logo-trans-back {
	transition: 0.5s;
	margin-right: 0vw;
}
.main-logo-trans-big {
	width: 75%;
}
.main-logo-trans-small {
	width: 50%;
}
.tool-button {
	font-size: 36px;
	line-height: 40px;
	font-family: 'FuturaDemiC';
	border-bottom: 0.5px dashed #1c1d1d;
}
.tool-button a {
	text-decoration: none;
	color: black;	
}
.tool-button a:hover {
	color: #ff4325;
}
/* КОНЕЦ */


/* ===== Article Styles ===== */
.article-header-text {
  margin-left: 30px;
  margin-right: 20px;
}

.article-header-text p { text-indent: 2rem; }

.article-wrap {
  display: flex;
  margin: 0 20px 20px 30px;
}

.article-wrap-sitemap {
  display: flex;
  justify-content: left;
  margin: 40px 20px;
}

.article-sitemap {
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.article-wrap-sitemap-podcatalog {
  display: flex;
  margin: 0 20px 20px 60px;
}

.article-image {
  width: 17%;
  margin-right: 3%;
}

.article-image img { width: 100%; }

.article {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-header {
  text-indent: 0;
  color: black;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.article-header-sitemap { font-size: 23px; }
.article-header a { text-decoration: none; color: black; }
.article-title { text-transform: uppercase; text-align: left; }

.article-text {
  color: #aaa;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 15px;
}

.accent-border {
  color: #3588e7;
  padding-right: 5px;
  border-right: 1px solid #eee;
}

.accent-border-red {
  color: #f65151;
  padding-right: 5px;
  border-right: 1px solid #eee;
}

.accent-border-green {
  color: #17962a;
  padding-right: 5px;
  border-right: 1px solid #eee;
}

.accent-border-orange {
  color: #e7951a;
  padding-right: 5px;
  border-right: 1px solid #eee;
}

.accent-border-blue {
  color: #9df0f3;
  padding-right: 5px;
  border-right: 1px solid #eee;
}

.accent-border-violet {
  color: #396fec;
  padding-right: 5px;
  border-right: 1px solid #eee;
}

.article-tags {
  margin-top: 5px;
  font-size: 15px;
}

.accent-tags {
  color: #878787;
  padding-right: 5px;
  border-right: 1px solid #eee;
}

.accent-tags:not(:first-child) { padding-left: 5px; }

.page-header {
  text-align: left;
  color: #a9a9a9;
  border-bottom: 1px solid #b6b6b6;
  font-size: 30px;
  margin-top: 10px;
}

/* ===== Tables ===== */
table {
  width: 95%;
  min-width: 800px;
  font-size: 14px;
  border-collapse: collapse;
  text-indent: 0;
  text-align: justify;
  margin: auto;
  margin-bottom: 30px;
}

th {
  background: #afcde7;
  color: #4d4d4d;
  padding: 10px 20px;
  text-align: center;
  font-weight: 300;
}

th, td {
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: white;
  padding: 5px;
  text-decoration: none;
  color: #4d4d4d;
}

td {
  background: #d8e6f3;
  text-align: center;
}

td a, th a { text-decoration: none; color: #4d4d4d; }

.table-flow {
  width: 100%;
  min-width: 100%;
  overflow-x: auto;
}

.table-center { text-align: center; }
.button_row { width: 20%; }
.btn_btwn_row { width: 3%; }

/* ===== Code & Notes ===== */
code {
  margin: 0 2px;
  padding: 0 5px;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
  font-weight: 300;
  font-size: 18px;
}

.div-notes { margin-bottom: 20px; }
.div-notes p { margin: 0; }

.red, .green, .blue, .yellow {
  padding: 15px;
  text-indent: 0;
}

.green a, .blue a, .red a, .yellow a {
  text-decoration: none;
  border-bottom: 0.5px dashed #1c1d1d;
  color: #1c1d1d;
}

.red {
  background-color: #ffdddd;
  border-left: 6px solid #f44336;
}

.green {
  background-color: #ddffdd;
  border-left: 6px solid #4caf50;
}

.blue {
  background-color: #e7f3fe;
  border-left: 6px solid #2196f3;
}

.yellow {
  background-color: #ffffcc;
  border-left: 6px solid #ffeb3b;
}

/* ===== Advertisement ===== */
.reklama-container {
  display: flex;
  justify-content: center;
}

.reklama {
  width: 80%;
  border: 1px solid #cfcfcf;
  padding: 10px 20px 10px 10px;
  display: flex;
  align-items: center;
  text-indent: 0;
}

.reklama img {
  width: 30%;
  margin-right: 15px;
}

.reklama p {
  text-indent: 0;
  margin-bottom: 0;
}

.rek {
  color: gray;
  opacity: 0.5;
}

.reklama-text {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
}

.reklama-button {
  background-color: #6ca3f2;
  border: none;
  color: white;
  padding: 5px 15px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 0;
  transition-duration: 0.4s;
  cursor: pointer;
  letter-spacing: 1px;
}

/* ===== Gallery/Slider ===== */
.row, .row-2 {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
  margin-bottom: 20px;
}

.column-2 {
  flex: 50%;
  max-width: 50%;
  padding: 0 4px;
  margin-bottom: 20px;
}

.column-3 {
  flex: 33%;
  max-width: 33%;
  padding: 0 4px;
  margin-bottom: 20px;
}

.column img, .column-2 img, .column-3 img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.button-center { text-align: center; }

.button {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  background-color: white;
  color: black;
  border: 2px solid #4caf50;
  margin-bottom: 20px;
}

.button1:hover {
  background-color: #4caf50;
  color: white;
}

/* ===== Pagination ===== */
.nav-links {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.current {
  padding: 8px 16px;
  background-color: #ff4325;
  color: white;
}

.nav-links a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
}

.nav-links a:hover { color: #ff4325; }
.screen-reader-text { visibility: hidden; }

/* ===== Blog Elements ===== */
.author, .data {
  opacity: 0.6;
  font-size: 13px;
  letter-spacing: 2px;
  margin: 0;
  text-indent: 3rem;
}

.blog-header {
  text-align: left;
  opacity: 0.9;
  color: black;
  border-bottom: 1px solid #b6b6b6;
  font-size: 30px;
  margin: 0;
  text-indent: 3rem;
}

h3:not(:first-child) { margin-top: 10px; }

/* ===== Forms ===== */
.loginform {
  text-align: right;
  list-style-type: none;
  text-decoration: none;
  line-height: 25px;
}

.form-registration {
  width: 400px;
  text-align: center;
  padding: 50px 0;
  border: 1px solid black;
}

.form-registration p {
  text-indent: 0;
  width: 100%;
}

.form-field {
  width: 80%;
  padding: 10px;
  margin-top: 10px;
}

.form-center {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ===== Comments ===== */
.comment-textarea {
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-left: 3rem;
  width: 95%;
  padding-bottom: 70px;
  text-indent: 10px;
  line-height: 1.5;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.children { margin-left: 20px; }
.reply { margin-bottom: 10px; }

.reply a, #cancel-comment-reply-link {
  text-decoration: none;
  cursor: pointer;
  color: black;
  border-bottom: 0.5px dashed #1c1d1d;
}

.reply a:hover, .comment-reply-title a:hover { color: #ff4325; }

.comment { padding-left: 3rem; }
.comment-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment_date {
  text-align: right;
  width: 80%;
}

.comment p {
  margin-top: 5px;
  text-indent: 0;
  padding-left: 10%;
  margin-bottom: 5px;
}

.submit {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

/* ===== Product Container ===== */
#product-container, #product-container-en {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
}

.r-block {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.r-block img:not(.r-info-icon) {
  width: 500px;
  height: auto;
  margin-right: 0;
}

.product-text { flex: 1; }
.product-text p {
  text-indent: 0;
  margin-bottom: 0;
}

.r-notice {
  opacity: 0.5;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-indent: 0;
}

.r-text { margin-left: 0; }

.r-text a {
  text-decoration: none;
  border-bottom: 0.5px dashed #1c1d1d;
  color: #1c1d1d;
}

.r-text a:hover { color: #ff4325; }

.r-image-wrapper { position: relative; display: inline-block; }

.r-info-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 10;
}

.r-info-icon:hover { opacity: 1; }

.r-tooltip {
  display: none;
  position: absolute;
  top: 30px;
  right: 5px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 11;
}

.r-tooltip.visible { display: block; }

/* ===== Announcement ===== */
.announcement { position: relative; padding: 20px; }
.announcement .blue {
  position: relative;
  padding: 15px;
  border-radius: 5px;
}

.announcement .blue p { text-indent: 0; }

.announcement-info-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  max-width: 24px;
  max-height: 24px;
  cursor: pointer;
  z-index: 10;
}

.announcement-info-icon img {
  width: 100%;
  height: auto;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.announcement-info-icon img:hover { opacity: 1; }

.announcement-tooltip {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  width: 200px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  text-align: center;
}

.announcement-info-icon:hover .announcement-tooltip { display: block; }

/* ===== Ad Blocks ===== */
div[id*="yandex_rtb_"] {
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#includedReka, #includedReka-en { min-height: 30px; }
#includedAnnouncement, #includedAnnouncement-en { min-height: 150px; }
#includedSocial, #includedSocial-en { min-height: 180px; }

#product-container, #product-container-en {
  height: 550px;
  margin-bottom: 20px;
}

/* ===== Slider ===== */
.slider { margin-bottom: 20px; }

.flexslider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: auto;
}

.slides {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  transition: transform 0.5s ease-in-out;
}

.slides li {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slides img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.flexslider:hover .slider-controls,
.slider-controls.mobile-visible { opacity: 1; }

.slider-controls button {
  background: rgba(128, 128, 128, 0.5);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

span.page-numbers.dots { display: inline !important; }

.dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: gray;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active { background: black; }

/* ===== SVG Icons ===== */
.icon-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: baseline;
  position: relative;
  top: 0.13em;
  transition: filter 0.2s;
}

.icon-svg-light { filter: brightness(1.2) contrast(0.5); }

/* Specific icons */
.icon-svg-bolt { background-image: url("/img/icons/bolt-solid.svg"); }
.icon-svg-info { background-image: url("/img/icons/circle-info-solid.svg"); }
.icon-svg-question { background-image: url("/img/icons/circle-question-solid.svg"); }
.icon-svg-circle { 
  background-image: url("/img/icons/circle-solid.svg"); 
  width: 0.5em;
  height: 0.5em;
  top: -0.09em;
}
.icon-svg-comment { background-image: url("/img/icons/comment-solid.svg"); }
.icon-svg-file { background-image: url("/img/icons/file-lines-regular.svg"); }
.icon-svg-minus { background-image: url("/img/icons/minus-solid.svg"); }
.icon-svg-plus { background-image: url("/img/icons/plus-solid.svg"); }
.icon-svg-thumbs-up { background-image: url("/img/icons/thumbs-up-solid.svg"); }
.icon-svg-warning { background-image: url("/img/icons/triangle-exclamation-solid.svg"); }
.icon-svg-xmark { background-image: url("/img/icons/xmark-solid.svg"); }

/* Navigation arrows */
.angle-left {
  display: inline-block;
  width: var(--arrow-size, 6px);
  height: var(--arrow-size, 6px);
  border-left: var(--arrow-thickness, 1.4px) solid black;
  border-bottom: var(--arrow-thickness, 1.4px) solid black;
  transform: rotate(45deg) translateZ(0);
  border-radius: var(--arrow-thickness, 1px);
  vertical-align: middle;
  position: relative;
  top: -1px;
  backface-visibility: hidden;
}

a:hover .angle-left {
  border-left-color: #ff4325;
  border-bottom-color: #ff4325;
}

.angle-up {
  display: inline-block;
  width: var(--arrow-size, 6px);
  height: var(--arrow-size, 6px);
  border-left: var(--arrow-thickness, 1.7px) solid black;
  border-top: var(--arrow-thickness, 1.7px) solid black;
  transform: rotate(45deg) translateZ(0);
  border-radius: var(--arrow-thickness, 1px);
  vertical-align: middle;
  position: relative;
  top: 0;
  backface-visibility: hidden;
}

.close-cross {
  display: inline-block;
  width: var(--cross-size, 12px);
  height: var(--cross-size, 12px);
  position: relative;
  vertical-align: middle;
  top: 7px;
}

.close-cross::before,
.close-cross::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: var(--cross-thickness, 1.7px);
  background: currentColor;
  border-radius: var(--cross-thickness, 1.7px);
}

.close-cross::before { transform: translateY(-50%) rotate(45deg); }
.close-cross::after { transform: translateY(-50%) rotate(-45deg); }

a:hover .close-cross::before,
a:hover .close-cross::after { background: #ff4325; }

/* Wide Monitors */

@media screen and (min-width: 1500px) {
  body {
    font-size: 16px; 
  }
  main {
    font-size: 20px;
  }
  aside ul {
    line-height: 28px;
  }
  .breadcrumb, .breadcrumb-ru-en {
    font-size: 15px;
  }

}


/* ===== Mobile Styles ===== */
@media screen and (max-width: 950px) {
  #includedAnnouncement, #includedAnnouncement-en { min-height: 250px; }
  #includedReka, #includedReka-en { min-height: 60px; }

  #product-container, #product-container-en {
    height: 410px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* убираем для iPhone стили, а то к ИНН применяются другие стили как к ссылке и его не видно */ 
  a[href^="tel:"] {
    color: inherit !important;
    text-decoration: none !important;
    cursor: default !important;
  }

  .r-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
  }

  .r-image-wrapper {
    position: relative;
    width: 90%;
    max-width: 500px;
  }

  .r-block img:not(.r-info-icon) { width: 350px; } 

  .r-info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    opacity: 0.8;
  }

  .r-info-icon:hover { opacity: 1; }

  .r-tooltip {
    top: 35px;
    right: 5px;
    width: 90%;
    white-space: normal;
  }

  .r-text { margin-top: 10px; }
  .r-notice { order: 3; margin-top: 10px; }

  .announcement {padding: 0;}
  .announcement-info-icon {
    position: absolute;
    top: -30px;
    right: 10px;
  }

  .slider-controls { opacity: 1; }
  .mainlogo img { width: 100%; }
  
  .tool-body { flex-wrap: wrap; }
  .cont { width: 45%; order: 1; }
  .cont-opis { width: 45%; order: 2; }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* две колонки */
    grid-template-rows: auto auto;        /* две строки */
    gap: 20px;
  }

  .footer-links ul {
    margin-bottom: 0;
  }

  .footer-rules {
    max-width: 100%;
    flex: none;
  }
  

  
  .main-container {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
    align-self: flex-start;
  }

  .header-plug { width: 0; height: 0; }

  header {
    width: 100%;
    margin: 0;
    padding: 0 3%;
  }

  .logo { width: 35%; padding: 0; }
  .topnav { width: 75%; }
  .topnav a { padding: 10px 0; }
  #button { padding-right: 0.5rem; }
  .topnav aside, a:hover { color: black; }

  .aside-block { 
    width: 100%; 
    padding: 0 3%;
    margin: 0;
  }

  aside {
    padding-top: 90px;
    padding-right: 0;
  }

  main {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 0 3%;
    text-align: justify;
    padding-top: 1rem;
  }

  .breadcrumb-container {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }

  .breadcrumb {
    width: 100%;
    padding-right: 0;
    text-align: right;
  }

  .breadcrumb-ru-en {
    position: static;
    order: -1;
    margin-left: 0;
  }

  .breadcrumb, .breadcrumb-ru-en {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 5px;
  }

  hr {
    margin-left: 20%;
    width: 80%;
  }

  .video {
    margin: 0 0 40px;
    text-align: center;
    text-indent: 0;
  }

  .video2 { width: 100%; }
  video { width: 70%; }
  .goods img { width: 100%; }

  .overlay {
    width: 100%;
    height: 0;
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    background-color: black;
    opacity: 1;
    overflow-y: auto;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    width: 100%;
    height: 90vh;
  }
  
  .overlay a {
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
    color: white;
    font-size: 1.2rem;
    display: block;
    font-weight: 700;
    text-align: center;
  }
  
  .open:after,
  .close:after {
    position: absolute;
    right: 0;
    content: "";
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-right: 13%;
    filter: brightness(0) invert(1);
    transform: translateY(25%);
    pointer-events: none;
    box-sizing: border-box;
  }
  
  .open:after {
    border-left: 0.15em solid currentColor;
    border-bottom: 0.15em solid currentColor;
    transform: translateY(25%) rotate(-45deg);
  }
  
  .close:after {
    border-left: 0.15em solid currentColor;
    border-top: 0.15em solid currentColor;
    transform: translateY(75%) rotate(45deg);
  }

  .overlay .closebtn {
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    width: 33%;
    height: 2rem;
    top: auto;
    z-index: 2;
    line-height: 10px;
    opacity: 0.9;
  }

  .mobile-menu { display: block; }
  .my-links-none { display: none; }
  
  .my-links-show {
    display: block;
    background-color: #f8f8f8;
  }
  
  .my-links-show a {
    border-bottom: 0;
    color: black;
  }
  
  h1, h2 { text-align: center; }
  h1 {
    font-size: 35px;
    line-height: 45px;
  }
  
  h2 {
    font-size: 25px;
    line-height: 30px;
  }
  
  .pic img, .gbapic img, .smallpic img, .largepic img { width: 90%; }
  .stickerpic img { width: 80%; }
  
  footer { display: flex; flex-wrap: wrap; }
  
  footer p {
    line-height: 14px;
    margin-bottom: 13px;
    font-size: 13px;
  }
  
  .footer-rules, .contacts { width: 100%; float: none; margin: 0; }
  
  .author, .data { text-indent: 0; }
  .blog-header {
    text-indent: 0;
    font-size: 25px;
  }

  .comment { padding-left: 0; }
  .comment p { padding-left: 0; }
  .logged-in-as { text-indent: 0; }
  
  .comment-textarea {
    width: 100%;
    margin-left: 0;
  }

  .comment-form-comment,
  .form-submit { text-indent: 0; }
  .pauthor { text-indent: 0; }

  .reklama {
    width: 80%;
    flex-direction: column;
  }

  .reklama img {
    width: 80%;
    margin: 0 0 10px;
  }

  .column {
    flex: 50%;
    max-width: 50%;
  }

  /* Страница с ссылками на статьи */

  .article-header-text {
    margin: 0px;
  }

  .article-wrap {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-bottom: 20px;
  }

  .article-wrap-sitemap {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-bottom: 20px;
  }

  .article-wrap-sitemap-podcatalog {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-bottom: 20px;
  }

  .article-image {
    width: 100%;
    order: 2;
    margin-bottom: 20px;
  }

  .article-image img {
    width: 100%;
    padding-bottom: 5px;
  }

  .article {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-bottom: 5px;
  }

  .article-tags {
    text-align: left;
  }

  .article-header {
    font-size: 16px;
  }



}

@media screen and (max-width: 550px) {
  h1 {
    font-size: 29px;
    line-height: 45px;
  }
  
  h2 {
    font-size: 25px;
    line-height: 30px;
  }
  
  p {
    font-size: 17px;
  }
}

@media screen and (max-height: 450px) {
  .mainlogo img { width: 50%; }
  
  .open:after, .close:after { margin-right: 23%; }
  
  h1 {
    font-size: 25px;
    line-height: 27px;
  }
  
  .cont {
    width: 25%;
    font-size: 15px;
  }
  
  .cont-opis { display: none; }
}

@media screen and (max-width: 350px) {
  .toolpic img { width: 30%; }
}